Class AddableLongIntHashtable

  • All Implemented Interfaces:
    java.io.Serializable

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

      • AddableLongIntHashtable

        public AddableLongIntHashtable​(int capacity)
      • AddableLongIntHashtable

        public AddableLongIntHashtable()
    • Method Detail

      • add

        public void add​(long key,
                        int value)
        Adds value associated with the stored key