public class IntegerTupleLoader extends TupleLoader<java.lang.Integer>
Constructor and Description |
---|
IntegerTupleLoader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dataMatches(java.lang.Integer data,
prefuse.data.Tuple tuple)
Determine whether the given data and tuple represent the same data
|
java.lang.Integer |
getData(prefuse.data.Tuple tuple)
Find the original data element which matches the provided tuple.
|
void |
loadData(java.lang.Integer data,
prefuse.data.Tuple tuple)
Load data from the data element into the tuple.
|
addData, findTuple, getLabelField, getTable, setLabelField, setTable
protected boolean dataMatches(java.lang.Integer data, prefuse.data.Tuple tuple)
dataMatches
in class TupleLoader<java.lang.Integer>
data
- the data elementtuple
- the tuplepublic java.lang.Integer getData(prefuse.data.Tuple tuple)
getData
in class TupleLoader<java.lang.Integer>
tuple
- the Tuple to matchpublic void loadData(java.lang.Integer data, prefuse.data.Tuple tuple)
loadData
in class TupleLoader<java.lang.Integer>
data
- the data elementtuple
- the tuple to load