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 int
compareTo(Entry<T> o)
boolean
equals(Object o)
Accessor<T>
getAccessor()
T
getEntryCopy()
Object
getField(int index)
Object[]
getFields()
Object
getPrimaryKey()
T
getSpaceEntry()
BigInteger
getUpdateCount()
int
hashCode()
boolean
isRemoved()
void
serialize()
void
setRemoved(boolean removed)
void
setUpdateCount(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:
compareTo
in interfaceComparable<T>
-
-