public abstract class MclGroupElementImpl extends java.lang.Object implements GroupElementImpl
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
element |
protected MclGroupImpl |
group |
| Constructor and Description |
|---|
MclGroupElementImpl(MclGroupImpl group,
java.lang.Object element) |
MclGroupElementImpl(MclGroupImpl group,
Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
protected java.lang.Object |
getElement()
Returns this element as an object of mcl.G1, mcl.G2, or mcl.GT
|
Representation |
getRepresentation() |
GroupImpl |
getStructure() |
int |
hashCode() |
java.lang.String |
toString() |
ByteAccumulator |
updateAccumulator(ByteAccumulator accumulator) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitinv, isNeutralElement, op, pow, squaregetUniqueByteRepresentationprotected MclGroupImpl group
protected java.lang.Object element
public MclGroupElementImpl(MclGroupImpl group, java.lang.Object element)
public MclGroupElementImpl(MclGroupImpl group, Representation repr)
protected java.lang.Object getElement()
public GroupImpl getStructure()
getStructure in interface GroupElementImplpublic ByteAccumulator updateAccumulator(ByteAccumulator accumulator)
updateAccumulator in interface UniqueByteRepresentablepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Representation getRepresentation()
getRepresentation in interface Representablepublic java.lang.String toString()
toString in class java.lang.Object