V - value typepublic interface AdditiveValue<V> extends Comparable<V>
| Modifier and Type | Method and Description |
|---|---|
void |
add(V other)
Adding two values must result in a value that compares greater than or
equal to both input values.
|
V |
clone()
Clones this value and produces another one that can be modified
independently.
|
boolean |
isZero() |
compareTovoid add(V other)
other - boolean isZero()
V clone()
Copyright © 2014. All Rights Reserved.