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 eu.europa.esig.dss.model.timedependent.TimeDependentValues
list
-
Constructor Summary
ConstructorDescriptionEmpty constructorMutableTimeDependentValues
(Iterable<T> srcList) Default constructor -
Method Summary
Methods inherited from class eu.europa.esig.dss.model.timedependent.TimeDependentValues
getAfter, getCurrent, getLatest, iterator, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.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
-