public class AbstractOrderedField<E> extends java.lang.Object implements OrderedField<E>, java.io.Serializable
Constructor and Description |
---|
AbstractOrderedField(AbelianGroup<E> additionGroup,
AbelianGroup<E> multiplicationGroup,
BinaryPredicate<E> lessOrEqual) |
Modifier and Type | Method and Description |
---|---|
AbelianGroup<E> |
additionStructure()
Returns the grouplike structure representing the addition of elements.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
BinaryPredicate<E> |
lessOrEqualPredicate()
Has to retrieve the predicate which represents the less-or-equal condition.
|
AbelianGroup<E> |
multiplicationStructure()
Returns the grouplike structure representing the multiplication of elements.
|
java.lang.String |
toString() |
public AbstractOrderedField(AbelianGroup<E> additionGroup, AbelianGroup<E> multiplicationGroup, BinaryPredicate<E> lessOrEqual)
public AbelianGroup<E> additionStructure()
RinglikeStructure
additionStructure
in interface Ring<E>
additionStructure
in interface RinglikeStructure<E>
additionStructure
in interface Semiring<E>
public AbelianGroup<E> multiplicationStructure()
RinglikeStructure
multiplicationStructure
in interface Field<E>
multiplicationStructure
in interface RinglikeStructure<E>
multiplicationStructure
in interface Semiring<E>
public BinaryPredicate<E> lessOrEqualPredicate()
OrderedField
lessOrEqualPredicate
in interface OrderedField<E>
true
if the left argument is less than the right argument and
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object