Class PerformanceLoggingField<E>
java.lang.Object
dk.jonaslindstrom.ruffini.common.helpers.PerformanceLoggingRing<E>
dk.jonaslindstrom.ruffini.common.helpers.PerformanceLoggingField<E>
- All Implemented Interfaces:
AdditiveGroup<E>,CommutativeMonoid<E>,Field<E>,Group<E>,Monoid<E>,Ring<E>,Semigroup<E>,SemiRing<E>,Set<E>
Wrapper for the ring class which logs the number of operations performed in this ring.
-
Field Summary
Fields inherited from class dk.jonaslindstrom.ruffini.common.helpers.PerformanceLoggingRing
additions, equalities, multiplications, negations -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dk.jonaslindstrom.ruffini.common.helpers.PerformanceLoggingRing
add, equals, getAdditions, getEqualities, getMultiplications, getNegations, identity, multiply, negate, toString, zeroMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, negate, scale, scale, subtract, sumMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, add, add, zeroMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Monoid
identity, isIdentity, powerMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.Semigroup
multiply, multiply, multiply
-
Constructor Details
-
PerformanceLoggingField
-
-
Method Details
-
invert
Description copied from interface:GroupReturn the inverse a-1. -
getInversions
public int getInversions() -
toString
- Overrides:
toStringin classPerformanceLoggingRing<E>
-
reset
public void reset()- Overrides:
resetin classPerformanceLoggingRing<E>
-