Class Entry<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) T entry  
      (package private) int index  
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(T entry, int index)
      Creates a new entry with an object and its position in the FixedInstancePool
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()
      Returns the object stored in this FixedInstancePool entry.
      • Methods inherited from class java.lang.Object

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

      • entry

        final T entry
      • index

        final int index
    • Constructor Detail

      • Entry

        Entry​(T entry,
              int index)
        Creates a new entry with an object and its position in the FixedInstancePool
        Parameters:
        entry - the value in this entry
        index - the position of this entry in the FixedInstancePool