Class Entry<T>

  • Type Parameters:
    T - is the type of the Table.
    All Implemented Interfaces:
    Comparable<Entry<T>>

    public class Entry<T>
    extends Object
    implements Comparable<Entry<T>>
    A tracker object used by Tables.
    Version:
    2016-06-26
    Author:
    Gaspar Sinai - gaspar.sinai@microspace.org
    • Constructor Detail

      • Entry

        public Entry​(T entry,
                     Accessor<T> accessor)
      • Entry

        public Entry​(Entry<T> entry)
        Make a shallow copy of fields and entry.
        Parameters:
        entry - the entry to copy from
    • Method Detail

      • getPrimaryKey

        public Object getPrimaryKey()
      • getField

        public Object getField​(int index)
      • getFields

        public Object[] getFields()
      • setRemoved

        public void setRemoved​(boolean removed)
      • isRemoved

        public boolean isRemoved()
      • getSpaceEntry

        public T getSpaceEntry()
      • getEntryCopy

        public T getEntryCopy()
      • getUpdateCount

        public BigInteger getUpdateCount()
      • setUpdateCount

        public void setUpdateCount​(BigInteger updateCount)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getAccessor

        public Accessor<T> getAccessor()