public abstract class RingGroupImpl extends java.lang.Object implements GroupImpl
| Modifier and Type | Class and Description |
|---|---|
class |
RingGroupImpl.RingGroupElementImpl
Common base class of ring subgroup elements
|
| Constructor and Description |
|---|
RingGroupImpl(Representation repr) |
RingGroupImpl(Ring ring)
Construct a ring group from a given ring.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
abstract RingGroupImpl.RingGroupElementImpl |
getElement(RingElement ringElement)
Creates an element of this group from the given ring element.
|
Representation |
getRepresentation()
The representation of this object.
|
Ring |
getRing()
Retrieves the base ring.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitestimateCostInvPerOp, exp, getGenerator, getNeutralElement, getUniformlyRandomElement, getUniformlyRandomNonNeutral, getUniqueByteLength, hasPrimeSize, implementsOwnExp, implementsOwnMultiExp, isCommutative, multiexp, restoreElement, restoreFromRepresentation, sizeprotected final Ring ring
public RingGroupImpl(Ring ring)
ring - the ring to wrappublic RingGroupImpl(Representation repr)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Representation getRepresentation()
RepresentableReprUtilgetRepresentation in interface RepresentableRepresentationpublic Ring getRing()
public abstract RingGroupImpl.RingGroupElementImpl getElement(RingElement ringElement)
ringElement - the ring element to convertpublic java.lang.String toString()
toString in class java.lang.Object