Package adams.data.conversion
Class DataContainerToString.DummyContainer
- java.lang.Object
-
- adams.data.container.AbstractDataContainer
-
- adams.data.conversion.DataContainerToString.DummyContainer
-
- All Implemented Interfaces:
CloneHandler,Mergeable,UniqueIDHandler,DataContainer,IDHandler,MutableIDHandler,Serializable,Comparable,Iterable,Collection
- Enclosing class:
- DataContainerToString
public static class DataContainerToString.DummyContainer extends AbstractDataContainer
Dummy container.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.container.AbstractDataContainer
m_ID, m_Points, m_UUID
-
-
Constructor Summary
Constructors Constructor Description DummyContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Object o)DataPointComparatorgetComparator()Returns the comparator in use.voidmergeWith(Object other)Merges its own data with the one provided by the specified object.DataPointComparatornewComparator()Returns a new instance of the default comparator.DataPointnewPoint()Returns a new instance of a DataContainer point.-
Methods inherited from class adams.data.container.AbstractDataContainer
add, addAll, assign, clear, compareTo, compareToData, compareToHeader, contains, containsAll, ensureCapacity, equals, equalsData, equalsHeader, getClone, getHeader, getID, getUniqueID, hashCode, isEmpty, iterator, mergeWith, modifiedListener, newInstance, remove, removeAll, retainAll, setID, size, toArray, toArray, toList, toList, toString, toTreeSet, toTreeSet, trimToSize
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Method Detail
-
mergeWith
public void mergeWith(Object other)
Description copied from interface:MergeableMerges its own data with the one provided by the specified object.- Parameters:
other- the object to merge with
-
newComparator
public DataPointComparator newComparator()
Description copied from interface:DataContainerReturns a new instance of the default comparator.- Returns:
- the comparator instance
-
getComparator
public DataPointComparator getComparator()
Description copied from interface:DataContainerReturns the comparator in use.- Returns:
- the comparator in use
-
newPoint
public DataPoint newPoint()
Description copied from interface:DataContainerReturns a new instance of a DataContainer point.- Returns:
- the new DataContainer point
-
add
public boolean add(Object o)
-
-