net.sf.japaki.basic
Interface Quasigroup<T>

All Known Implementing Classes:
Duration

public interface Quasigroup<T>

An interface representing the algebra structure "Quasigroup".


Method Summary
 T add(T other)
          Add other to this object and return the sum.
 T inverse()
          Returns the inverse of this object.
 

Method Detail

add

T add(T other)
Add other to this object and return the sum.

Parameters:
other - the other summand
Returns:
the sum of this and the other object
Throws:
OutOfRangeException - if the sum is no valid element of the quasigroup

inverse

T inverse()
Returns the inverse of this object.

Returns:
the inverse of this object.