Package pl.project13.core
Class AheadBehind
- java.lang.Object
-
- pl.project13.core.AheadBehind
-
public class AheadBehind extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static AheadBehindNO_REMOTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringahead()java.lang.Stringbehind()booleanequals(java.lang.Object obj)inthashCode()static AheadBehindof(int ahead, int behind)static AheadBehindof(java.lang.String ahead, java.lang.String behind)
-
-
-
Field Detail
-
NO_REMOTE
public static final AheadBehind NO_REMOTE
-
-
Method Detail
-
of
public static AheadBehind of(int ahead, int behind)
-
of
public static AheadBehind of(java.lang.String ahead, java.lang.String behind)
-
ahead
public java.lang.String ahead()
-
behind
public java.lang.String behind()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-