Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Number | +--nl.coffee.math.AbstractRealNumber | +--nl.coffee.math.AbstractCompositeNumber
CompositeNumber
implementations. This
implementation is based on an array. Concrete subclasses should initialize
the array upon construction.
Field Summary | |
RealNumber[] | elements
The elements of this operation. |
Constructor Summary | |
AbstractCompositeNumber()
|
Method Summary | |
RealNumber | getElement(int n)
|
int | getElementCount()
|
RealNumber[] | getElements()
|
Methods inherited from class nl.coffee.math.AbstractRealNumber | |
abs, add, byteValue, compareTo, divide, doubleValue, equals, fitsByte, fitsDouble, fitsFloat, fitsInt, fitsLong, fitsShort, floatValue, hashCode, intValue, invert, longValue, multiply, negate, pow, retryCompare, shortValue, subtract, toBigDecimal, toBigInteger |
Methods inherited from class java.lang.Number | |
byteValue, doubleValue, floatValue, intValue, longValue, shortValue |
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Field Detail |
protected RealNumber[] elements
Concrete subclasses must initialize this field upon construction.
Constructor Detail |
public AbstractCompositeNumber()
Method Detail |
public RealNumber[] getElements()
public int getElementCount()
CompositeNumber
.public RealNumber getElement(int n) throws java.lang.IndexOutOfBoundsException
CompositeNumber
.Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |