Class MutableTimeDependentValues<T extends TimeDependent>
java.lang.Object
eu.europa.esig.dss.model.timedependent.TimeDependentValues<T>
eu.europa.esig.dss.model.timedependent.MutableTimeDependentValues<T>
- Type Parameters:
T- sub type of TimeDependent
- All Implemented Interfaces:
Serializable, Iterable<T>
Mutable list of time-dependent values.
- Author:
- jdvorak
- See Also:
-
Field Summary
Fields inherited from class TimeDependentValues
list -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorMutableTimeDependentValues(Iterable<T> srcList) Default constructor -
Method Summary
Methods inherited from class TimeDependentValues
getAfter, getCurrent, getLatest, iterator, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
MutableTimeDependentValues
public MutableTimeDependentValues()Empty constructor -
MutableTimeDependentValues
-
-
Method Details
-
clear
public void clear()Clears the current list -
addOldest
Adds the value only of it is the oldest in the current list- Parameters:
x- the time dependent value to add
-
getList
-