|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the field elementspublic interface FieldElement<T>
Interface representing field elements.
Field
Method Summary | |
---|---|
T |
add(T a)
Compute this + a. |
T |
divide(T a)
Compute this ÷ a. |
Field<T> |
getField()
Get the Field to which the instance belongs. |
T |
multiply(T a)
Compute this × a. |
T |
subtract(T a)
Compute this - a. |
Method Detail |
---|
T add(T a)
a
- element to add
T subtract(T a)
a
- element to subtract
T multiply(T a)
a
- element to multiply
T divide(T a) throws ArithmeticException
a
- element to add
ArithmeticException
- if a is the zero of the
additive operation (i.e. additive identity)Field<T> getField()
Field
to which the instance belongs.
Field
to which the instance belongs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |