Class TableEntry<T>

  • Type Parameters:
    T - The entry type
    Direct Known Subclasses:
    EmptyObject, NestedTableEntry, WeightedObject

    public abstract class TableEntry<T>
    extends java.lang.Object
    An abstract entry which may be contained in any table.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TableEntry​(double weight)
      Creates a new TableEntry with the desired weight.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double weight()
      Gets the weight of this entry.
      • Methods inherited from class java.lang.Object

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

      • TableEntry

        protected TableEntry​(double weight)
        Creates a new TableEntry with the desired weight.
        Parameters:
        weight - The weight to associate with this entry
    • Method Detail

      • weight

        public double weight()
        Gets the weight of this entry.
        Returns:
        The weight