Package org.microspace.table
Class Entry<T>
- java.lang.Object
-
- org.microspace.table.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Entry<T> o)booleanequals(Object o)Accessor<T>getAccessor()TgetEntryCopy()ObjectgetField(int index)Object[]getFields()ObjectgetPrimaryKey()TgetSpaceEntry()BigIntegergetUpdateCount()inthashCode()booleanisRemoved()voidserialize()voidsetRemoved(boolean removed)voidsetUpdateCount(BigInteger updateCount)
-
-
-
Method Detail
-
getPrimaryKey
public Object getPrimaryKey()
-
serialize
public void serialize() throws IOException- Throws:
IOException
-
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)
-
compareTo
public int compareTo(Entry<T> o)
- Specified by:
compareToin interfaceComparable<T>
-
-