Class Container<T>

  • Type Parameters:
    T - the Java type of the object held by this container
    All Implemented Interfaces:

    public class Container<T>
    extends java.lang.Object
    A simple container of objects that you can get and set.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      void readFields​( dataInput)  
      void set​(T newValue)  
      void write​( dataOutput)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Container

        public Container()
    • Method Detail

      • get

        public T get()
      • set

        public void set​(T newValue)
      • write

        public void write​( dataOutput)
        Specified by:
        write in interface
      • readFields

        public void readFields​( dataInput)
        Specified by:
        readFields in interface