public abstract class ObjectProperty<T> extends Property
Constructor and Description |
---|
ObjectProperty(java.lang.String name,
int expected) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
acceptValue(T value) |
void |
cloneValuesTo(Property otherProperty) |
long |
getMemoryFootprintInBytes() |
T |
getValue(int id) |
java.lang.String |
getValueAsString(int id) |
boolean |
haveSameValues(int a,
int b) |
void |
setAllValues(it.unimi.dsi.fastutil.ints.IntSet s,
T v) |
void |
setValue(int id,
T newValue) |
protected abstract long |
sizeOf(T o) |
findProperty, getListeners, getName, isSetted, setStatus, setValue, toString, unsetItAll
public boolean haveSameValues(int a, int b)
haveSameValues
in class Property
public T getValue(int id)
public java.lang.String getValueAsString(int id)
getValueAsString
in class Property
public void cloneValuesTo(Property otherProperty)
cloneValuesTo
in class Property
public void setValue(int id, T newValue)
public abstract boolean acceptValue(T value)
public void setAllValues(it.unimi.dsi.fastutil.ints.IntSet s, T v)
public long getMemoryFootprintInBytes()
protected abstract long sizeOf(T o)