Package com.ericsson.otp.ic
Class LongHolder
- java.lang.Object
-
- com.ericsson.otp.ic.LongHolder
-
- All Implemented Interfaces:
Holder
,java.io.Serializable
public final class LongHolder extends java.lang.Object implements Holder
Holder class for Long, used by the Term class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description long
value
-
Constructor Summary
Constructors Constructor Description LongHolder()
LongHolder(long initial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(long l)
Comparisson method for Longs.boolean
equals(java.lang.Object obj)
Comparisson method for Longs.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Comparisson method for Longs.- Overrides:
equals
in classjava.lang.Object
- Returns:
- true if the input object equals the current object, false otherwize
-
equals
public boolean equals(long l)
Comparisson method for Longs.- Returns:
- true if the input long value equals the value of the current object, false otherwize
-
-