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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Temporal
Start time (date1
) and end time (date2
) on which a data quality measure was applied.private Temporal
Start time (date1
) and end time (date2
) on which a data quality measure was applied.private static final long
For cross-version compatibility.Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a date at the given position.boolean
addAll
(Collection<? extends Temporal> dates) Adds all content from the given collection into this collection.void
clear()
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.int
size()
Returns the number of elements in this list.Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.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 isnull
if this information is not available. -
date2
Start time (date1
) and end time (date2
) on which a data quality measure was applied. Value isnull
if 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:
getElementType
in interfaceCheckedContainer<Temporal>
- Returns:
- the element type.
-
clear
public void clear()Removes all dates in this list.- Specified by:
clear
in interfaceCollection<Temporal>
- Specified by:
clear
in interfaceList<Temporal>
- Overrides:
clear
in classAbstractList<Temporal>
-
size
public int size()Returns the number of elements in this list.- Specified by:
size
in interfaceCollection<Temporal>
- Specified by:
size
in interfaceList<Temporal>
- Specified by:
size
in classAbstractCollection<Temporal>
-
get
Returns the value at the given index. -
set
Sets the value at the given index. Null values are not allowed. -
remove
Removes the value at the given index. -
add
Adds a date at the given position. Null values are not allowed. -
addAll
Adds all content from the given collection into this collection.- Specified by:
addAll
in interfaceCollection<Temporal>
- Specified by:
addAll
in interfaceList<Temporal>
- Overrides:
addAll
in classAbstractCollection<Temporal>
-
clone
Returns a clone of this list.
-