静态 Public 成员函数 | |
| static< T > T | checkNotNull (T obj) |
| static void | checkArgument (boolean condition) |
A simple utility class used to check method Preconditions.
public long divideBy(long value) {
Preconditions.checkArgument(value != 0);
return this.value / value;
}
|
inlinestatic |
|
inlinestatic |
1.8.8