Package de.intarsys.tools.number
Class NumberWrapper
- java.lang.Object
-
- de.intarsys.tools.number.NumberWrapper
-
- All Implemented Interfaces:
java.lang.Iterable,java.util.Collection,java.util.Set
- Direct Known Subclasses:
NumberInstance,NumberInterval,NumberList
public abstract class NumberWrapper extends java.lang.Object implements java.lang.Iterable, java.util.SetAn abstract class for the implementation of objects that may occur in the definition of a number string.
-
-
Constructor Summary
Constructors Constructor Description NumberWrapper()NumberWrapper constructor comment.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsAll(java.util.Collection arg0)protected java.lang.NumbergetFirst()protected abstract doublegetMax()protected abstract doublegetMin()abstract voidincrement(int i)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection arg0)booleanretainAll(java.util.Collection arg0)java.lang.Object[]toArray(java.lang.Object[] arg0)
-
-
-
Method Detail
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection- Specified by:
removein interfacejava.util.Set
-
removeAll
public boolean removeAll(java.util.Collection arg0)
- Specified by:
removeAllin interfacejava.util.Collection- Specified by:
removeAllin interfacejava.util.Set
-
retainAll
public boolean retainAll(java.util.Collection arg0)
- Specified by:
retainAllin interfacejava.util.Collection- Specified by:
retainAllin interfacejava.util.Set
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection- Specified by:
clearin interfacejava.util.Set
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] arg0)
- Specified by:
toArrayin interfacejava.util.Collection- Specified by:
toArrayin interfacejava.util.Set
-
getMin
protected abstract double getMin()
-
getMax
protected abstract double getMax()
-
getFirst
protected java.lang.Number getFirst()
-
containsAll
public boolean containsAll(java.util.Collection arg0)
- Specified by:
containsAllin interfacejava.util.Collection- Specified by:
containsAllin interfacejava.util.Set
-
increment
public abstract void increment(int i)
-
-