Class AddableLongDoubleHashtable

  • All Implemented Interfaces:
    java.io.Serializable

    public class AddableLongDoubleHashtable
    extends LongDoubleHashtable
    This class modifies the behavior of LongDoubleHashtable. May add to the value stored with the key rather than replacing the value.
    See Also:
    Serialized Form
    • Constructor Detail

      • AddableLongDoubleHashtable

        public AddableLongDoubleHashtable()
      • AddableLongDoubleHashtable

        public AddableLongDoubleHashtable​(int capacity)
        Constructor creates a table with an initial given capacity. The capacity will be adjusted to the next highest prime in the PRIMES table.
    • Method Detail

      • add

        public void add​(long key,
                        double value)
        Adds the value to the stored value rather than replacing it.