public class Count<T extends jlibs.core.lang.Count.Unit> extends Object implements Comparable<Count<T>>
| Modifier and Type | Method and Description |
|---|---|
Count<T> |
add(Count<T> other) |
Count<T> |
add(long amount,
T unit) |
Count<T> |
clear() |
int |
compareTo(Count<T> that) |
boolean |
equals(Object obj) |
long |
get(T unit) |
int |
hashCode() |
static <T extends jlibs.core.lang.Count.Unit> |
newInstance(Class<T> unitClass) |
Count<T> |
set(Count<T> other) |
Count<T> |
set(long amount,
T unit) |
double |
to(T unit) |
String |
toString() |
Copyright © 2021. All rights reserved.