Class DefaultEvaluationMethod.Dates
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Temporal>, Collection<Temporal>, List<Temporal>, CheckedContainer<Temporal>
- Enclosing class:
DefaultEvaluationMethod
private static final class DefaultEvaluationMethod.Dates
extends AbstractList<Temporal>
implements CheckedContainer<Temporal>, Cloneable, Serializable
The start and end times as a list of O, 1 or 2 elements.
- Since:
- 1.3
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TemporalStart time (date1) and end time (date2) on which a data quality measure was applied.private TemporalStart time (date1) and end time (date2) on which a data quality measure was applied.private static final longFor cross-version compatibility.Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a date at the given position.booleanaddAll(Collection<? extends Temporal> dates) Adds all content from the given collection into this collection.voidclear()Removes all dates in this list.clone()Returns a clone of this list.get(int index) Returns the value at the given index.Returns the type of elements in this list.remove(int index) Removes the value at the given index.Sets the value at the given index.intsize()Returns the number of elements in this list.Methods inherited from class AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface List
contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
date1
Start time (date1) and end time (date2) on which a data quality measure was applied. Value isnullif this information is not available. -
date2
Start time (date1) and end time (date2) on which a data quality measure was applied. Value isnullif this information is not available.
-
-
Constructor Details
-
Dates
Dates()Creates a new list initialized with no dates.
-
-
Method Details
-
getElementType
Returns the type of elements in this list.- Specified by:
getElementTypein interfaceCheckedContainer<Temporal>- Returns:
- the element type.
-
clear
public void clear()Removes all dates in this list.- Specified by:
clearin interfaceCollection<Temporal>- Specified by:
clearin interfaceList<Temporal>- Overrides:
clearin classAbstractList<Temporal>
-
size
public int size()Returns the number of elements in this list.- Specified by:
sizein interfaceCollection<Temporal>- Specified by:
sizein interfaceList<Temporal>- Specified by:
sizein classAbstractCollection<Temporal>
-
get
-
set
-
remove
-
add
-
addAll
Adds all content from the given collection into this collection.- Specified by:
addAllin interfaceCollection<Temporal>- Specified by:
addAllin interfaceList<Temporal>- Overrides:
addAllin classAbstractCollection<Temporal>
-
clone
-