public class IntegerResourceVersion extends Object implements ResourceVersion<IntegerResourceVersion>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(IntegerResourceVersion other) |
boolean |
equals(Object obj) |
int |
getValue() |
int |
hashCode() |
boolean |
isExisting()
Check whether the state handle is existing.
|
static IntegerResourceVersion |
notExisting() |
String |
toString() |
static IntegerResourceVersion |
valueOf(int value)
Create a
IntegerResourceVersion with given integer value. |
public int compareTo(@Nonnull IntegerResourceVersion other)
compareTo 在接口中 Comparable<IntegerResourceVersion>public boolean isExisting()
ResourceVersionisExisting 在接口中 ResourceVersion<IntegerResourceVersion>ResourceVersion on external storage.
Or false it does not exist.public int getValue()
public static IntegerResourceVersion notExisting()
public static IntegerResourceVersion valueOf(int value)
IntegerResourceVersion with given integer value.value - resource version integer value. The value should not be negative.IntegerResourceVersion with given value.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.