Interface HashTable<T extends Node>

  • All Superinterfaces:
    java.lang.Iterable<T>

    public interface HashTable<T extends Node>
    extends java.lang.Iterable<T>
    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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T get​(long value)
      Gets a node by its hash value.
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Method Detail

      • get

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