Class KeyIndex<T>


  • public class KeyIndex<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int size  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyIndex​(T[] elements)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int get​(T key)  
      T[] keys()  
      • Methods inherited from class java.lang.Object

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

      • size

        public final int size
    • Constructor Detail

      • KeyIndex

        public KeyIndex​(T[] elements)
    • Method Detail

      • get

        public int get​(T key)
      • keys

        public T[] keys()