public final class RevId extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ABBREV_LEN |
protected String |
id |
static int |
LEN |
Modifier | Constructor and Description |
---|---|
protected |
RevId() |
|
RevId(String str) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
get() |
int |
hashCode() |
boolean |
isComplete() |
boolean |
matches(String str) |
RevId |
max() |
String |
toString() |
public static final int ABBREV_LEN
public static final int LEN
protected String id
protected RevId()
public RevId(String str)
public String get()
public boolean isComplete()
public RevId max()
isComplete()
, this
; otherwise a new RevId with 'z' appended on the
end.public boolean matches(String str)