Package rekit.primitives.operable
Interface Operable<T extends Operable<T>>
- Type Parameters:
T- the class itself !
public interface Operable<T extends Operable<T>>
This interface defines the kind of Objects a
USAGE: class XYZ implements Operable<XYZ>
OpProgress will handle.
USAGE: class XYZ implements Operable<XYZ>
-
Method Summary
-
Method Details
-
scalar
Apply scalar.- Parameters:
scalar- the scalar- Returns:
- the object itself
-
multiply
Apply multiplicand.- Parameters:
other- the other- Returns:
- the object itself
-
add
Apply summand.- Parameters:
other- the other- Returns:
- the object itself
-
sub
Apply subtrahend.- Parameters:
other- the other- Returns:
- the object itself
-
get
T get()Always ! Enter the code:return this;- Returns:
this
-