public abstract class MclGroupImpl extends java.lang.Object implements GroupImpl
| Constructor and Description |
|---|
MclGroupImpl() |
MclGroupImpl(Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected abstract MclGroupElementImpl |
getElement(java.lang.String string) |
protected abstract java.lang.Object |
getInternalObjectFromString(java.lang.String str)
Outputs an object of type mcl.G1, mcl.G2, or mcl.GT
|
Representation |
getRepresentation() |
java.util.Optional<java.lang.Integer> |
getUniqueByteLength() |
int |
hashCode() |
boolean |
hasPrimeSize() |
boolean |
isCommutative() |
java.math.BigInteger |
size() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitestimateCostInvPerOp, exp, getGenerator, getNeutralElement, getUniformlyRandomElement, getUniformlyRandomNonNeutral, implementsOwnExp, implementsOwnMultiExp, multiexp, restoreElement, restoreFromRepresentationpublic MclGroupImpl()
public MclGroupImpl(Representation repr)
public java.math.BigInteger size()
throws java.lang.UnsupportedOperationException
public boolean hasPrimeSize()
throws java.lang.UnsupportedOperationException
hasPrimeSize in interface GroupImpljava.lang.UnsupportedOperationExceptionprotected abstract MclGroupElementImpl getElement(java.lang.String string)
protected abstract java.lang.Object getInternalObjectFromString(java.lang.String str)
public java.util.Optional<java.lang.Integer> getUniqueByteLength()
getUniqueByteLength in interface GroupImplpublic boolean isCommutative()
isCommutative in interface GroupImplpublic Representation getRepresentation()
getRepresentation in interface Representablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object