Interface HashTable<T extends Node>


  • public interface HashTable<T extends Node>
    A data structure that uses a hash function to compute an index into an array of buckets from which node objects can be quickly obtained.
    • Method Detail

      • get

        T get​(long value)
        Gets a node by its hash value.
        Parameters:
        value - the node value
        Returns:
        the associated node
      • getNodes

        Collection<T> getNodes()
        Gets a collection of all nodes stored in this table.
        Returns:
        the nodes stored