public class TLProperty<T> extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TLProperty.Record<T> |
| Constructor and Description |
|---|
TLProperty(String name,
Class propertyType)
Create a new named proprty that will store values of type propertyType.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object value,
long timestamp) |
protected TLProperty.Record |
getLast() |
String |
getName()
Get name of property.
|
Class |
getType() |
Object |
getValue() |
T |
getValue(long time)
Get latest value of property that is stored before time.
|
List<TLProperty.Record> |
getValues() |
void |
printDebug() |
void |
setValue(Object arg0) |
public Object getValue()
public T getValue(long time)
time - public void setValue(Object arg0)
public Class getType()
public void addValue(Object value, long timestamp)
public List<TLProperty.Record> getValues()
protected TLProperty.Record getLast()
public String getName()
public void printDebug()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.