Class PagedDataStructure<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long capacity()
      Return the capacity of this data structure.
      protected int numPages​(long capacity)  
      long release()  
      long size()
      Return the size of this data structure.
      • Methods inherited from class java.lang.Object

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

      • size

        public long size()
        Return the size of this data structure. Indices up to size have been filled with data.
      • capacity

        public final long capacity()
        Return the capacity of this data structure. Not all indices up to this value may have sensible data, but it can be safely written up to this index (exclusive).
      • release

        public long release()
      • numPages

        protected int numPages​(long capacity)