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 TypeMethodDescriptionvoid
clear()
boolean
containsAll
(Collection arg0) protected Number
getFirst()
protected abstract double
getMax()
protected abstract double
getMin()
abstract void
increment
(int i) boolean
boolean
removeAll
(Collection arg0) boolean
retainAll
(Collection arg0) Object[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
NumberWrapper
public NumberWrapper()NumberWrapper constructor comment.
-
-
Method Details
-
remove
- Specified by:
remove
in interfaceCollection
- Specified by:
remove
in interfaceSet
-
removeAll
- Specified by:
removeAll
in interfaceCollection
- Specified by:
removeAll
in interfaceSet
-
retainAll
- Specified by:
retainAll
in interfaceCollection
- Specified by:
retainAll
in interfaceSet
-
clear
public void clear()- Specified by:
clear
in interfaceCollection
- Specified by:
clear
in interfaceSet
-
toArray
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceSet
-
getMin
protected abstract double getMin() -
getMax
protected abstract double getMax() -
getFirst
-
containsAll
- Specified by:
containsAll
in interfaceCollection
- Specified by:
containsAll
in interfaceSet
-
increment
public abstract void increment(int i)
-