T - the timeV - the valuepublic abstract class AbstractTimeAndValueModel<T,V> extends AbstractValueModel<V>
Abstract model which handles time and value.
| Constructor and Description |
|---|
AbstractTimeAndValueModel()
Default constructor.
|
AbstractTimeAndValueModel(T time,
List<ValueNode<V>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
T |
getTime()
Getter for time.
|
int |
hashCode() |
void |
setTime(T time)
Setter for time.
|
abstract String |
toString() |
getValue, getValues, setValue, setValuespublic AbstractTimeAndValueModel()
Default constructor.
public T getTime()
Getter for time.
public void setTime(T time)
Setter for time.
time - the timepublic int hashCode()
hashCode in class AbstractValueModel<V>public boolean equals(Object obj)
equals in class AbstractValueModel<V>public abstract String toString()
toString in class AbstractValueModel<V>Copyright © 2017. All rights reserved.