public interface IOperable<T>
#equals(Object).| Modifier and Type | Method and Description |
|---|---|
T |
add(T operand)
returns the addition of current value and given operand
|
T |
divide(T operand)
returns the division of current value and given operand
|
T |
getDiff(T operand)
returns the difference between current value and given operand
|
T |
getValue()
returns the current operand
|
boolean |
isGreater(T operand)
returns true, if the current value is greater than the given operand value
|
boolean |
isLower(T operand)
returns true, if the current value is lower than the given operand value
|
T |
max(T operand)
returns the maximum of current value and given operand
|
T |
min(T operand)
returns the mimimum of current value and given operand
|
T |
multiply(T operand)
returns the multiplication of current value and given operand
|
T |
subtract(T operand)
returns the subtraction of current value and given operand
|
Copyright © 2012–2022. All rights reserved.