public class MclGroup2ElementImpl extends MclGroupElementImpl
element, group| Constructor and Description |
|---|
MclGroup2ElementImpl(MclGroup2Impl group,
G2 elem) |
MclGroup2ElementImpl(MclGroup2Impl group,
Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
protected G2 |
getElement()
Returns this element as an object of mcl.G1, mcl.G2, or mcl.GT
|
MclGroup2Impl |
getStructure() |
int |
hashCode() |
MclGroup2ElementImpl |
inv() |
boolean |
isNeutralElement() |
MclGroup2ElementImpl |
op(GroupElementImpl e) |
MclGroup2ElementImpl |
pow(java.math.BigInteger k) |
MclGroup2ElementImpl |
pow(Zn.ZnElement k) |
getRepresentation, toString, updateAccumulatorclone, finalize, getClass, notify, notifyAll, wait, wait, waitsquaregetUniqueByteRepresentationpublic MclGroup2ElementImpl(MclGroup2Impl group, Representation repr)
public MclGroup2ElementImpl(MclGroup2Impl group, G2 elem)
protected G2 getElement()
MclGroupElementImplgetElement in class MclGroupElementImplpublic MclGroup2Impl getStructure()
getStructure in interface GroupElementImplgetStructure in class MclGroupElementImplpublic MclGroup2ElementImpl inv()
public MclGroup2ElementImpl op(GroupElementImpl e) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic MclGroup2ElementImpl pow(java.math.BigInteger k)
public MclGroup2ElementImpl pow(Zn.ZnElement k)
public boolean isNeutralElement()
public boolean equals(java.lang.Object other)
equals in class MclGroupElementImplpublic int hashCode()
hashCode in class MclGroupElementImpl