Class PackedInts.ReaderImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int valueCount  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ReaderImpl​(int valueCount)  
    • Field Detail

      • valueCount

        protected final int valueCount
    • Constructor Detail

      • ReaderImpl

        protected ReaderImpl​(int valueCount)
    • Method Detail

      • get

        public abstract long get​(int index)
        Description copied from class: PackedInts.Reader
        Get the long at the given index. Behavior is undefined for out-of-range indices.
        Specified by:
        get in class PackedInts.Reader
      • size

        public final int size()
        Specified by:
        size in class PackedInts.Reader
        Returns:
        the number of values.