Module kivakit.interfaces
Interface Maximizable<Value>
- Type Parameters:
Value
- The type of object to compare
- All Known Subinterfaces:
IntegerNumeric<Value>
public interface Maximizable<Value>
Determines which of two objects is the maximum. For example, the Angle object is
Maximizable
and implements
this method:
public Angle maximum( Angle that) { ... }
- Author:
- jonathanl (shibo)
-
Method Summary
-
Method Details
-
maximum
- Returns:
- The maximum of this value and the given value.
-
maximum
Value maximum()Returns the maximum possible Value
-