Package de.intarsys.tools.number
Class NumberWrapper
java.lang.Object
de.intarsys.tools.number.NumberWrapper
- All Implemented Interfaces:
Iterable,Collection,Set
- Direct Known Subclasses:
NumberInstance,NumberInterval,NumberList
An abstract class for the implementation of objects that may occur in the
definition of a number string.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsAll(Collection arg0) protected NumbergetFirst()protected abstract doublegetMax()protected abstract doublegetMin()abstract voidincrement(int i) booleanbooleanremoveAll(Collection arg0) booleanretainAll(Collection arg0) Object[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
NumberWrapper
public NumberWrapper()NumberWrapper constructor comment.
-
-
Method Details
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceSet
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceSet
-
retainAll
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceSet
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceSet
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceSet
-
getMin
protected abstract double getMin() -
getMax
protected abstract double getMax() -
getFirst
-
containsAll
- Specified by:
containsAllin interfaceCollection- Specified by:
containsAllin interfaceSet
-
increment
public abstract void increment(int i)
-