de.intarsys.tools.number
Class NumberWrapper

java.lang.Object
  extended by 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.Set

An abstract class for the implementation of objects that may occur in the definition of a number string.


Constructor Summary
NumberWrapper()
          NumberWrapper constructor comment.
 
Method Summary
 void clear()
           
 boolean containsAll(java.util.Collection arg0)
           
protected  java.lang.Number getFirst()
           
protected abstract  double getMax()
           
protected abstract  double getMin()
           
abstract  void increment(int i)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection arg0)
           
 boolean retainAll(java.util.Collection arg0)
           
 java.lang.Object[] toArray(java.lang.Object[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, contains, equals, hashCode, isEmpty, iterator, size, toArray
 

Constructor Detail

NumberWrapper

public NumberWrapper()
NumberWrapper constructor comment.

Method Detail

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection
Specified by:
remove in interface java.util.Set

removeAll

public boolean removeAll(java.util.Collection arg0)
Specified by:
removeAll in interface java.util.Collection
Specified by:
removeAll in interface java.util.Set

retainAll

public boolean retainAll(java.util.Collection arg0)
Specified by:
retainAll in interface java.util.Collection
Specified by:
retainAll in interface java.util.Set

clear

public void clear()
Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.Set

toArray

public java.lang.Object[] toArray(java.lang.Object[] arg0)
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.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:
containsAll in interface java.util.Collection
Specified by:
containsAll in interface java.util.Set

increment

public abstract void increment(int i)