Class ItemIdentity.LongIdentity
Object
ItemIdentity
LongIdentity
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ItemIdentity
@PublicApi
public static final class ItemIdentity.LongIdentity
extends ItemIdentity
implements Serializable
Represents long-based ID.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ItemIdentity
ItemIdentity.LongIdentity, ItemIdentity.StringIdentity -
Field Summary
Fields inherited from class ItemIdentity
ITEM_ZERO -
Method Summary
Methods inherited from class ItemIdentity
getItemType, getStringId, isStringId, longId, parse, stringId
-
Method Details
-
isLongId
public boolean isLongId()Description copied from class:ItemIdentityReturnstrueif this ID is long-based.- Overrides:
isLongIdin classItemIdentity
-
getLongId
public long getLongId()Description copied from class:ItemIdentityGets the long ID from a long-basedItemIdentity.- Overrides:
getLongIdin classItemIdentity- Returns:
- long ID, not
0
-
equals
-
hashCode
public int hashCode() -
toString
-
toSimplifiedString
- Specified by:
toSimplifiedStringin classItemIdentity
-