Package org.cip4.jdflib.util
Class MyLong
- java.lang.Object
-
- org.cip4.jdflib.util.MyLong
-
-
Field Summary
Fields Modifier and Type Field Description longithe long value of this
-
Constructor Summary
Constructors Constructor Description MyLong(long _i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(MyLong o1, MyLong o2)booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- the value of long as a string
- See Also:
Object.toString()
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacejava.util.Comparator<MyLong>- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
-