public class GlyphUInt32Id extends GlyphId
Represents integer glyph id.
Constructor and Description |
---|
GlyphUInt32Id(long value)
Initializes new
GlyphUInt32Id object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if Ids are equal.
|
static GlyphUInt32Id |
getNotDefId()
Gets not defined glyph id.
|
long |
getValue()
Gets int value of the ID.
|
int |
hashCode()
GetHashCode implementation.
|
static boolean |
op_Equality(GlyphUInt32Id obj1,
Object obj2)
Equality operator implementation.
|
static boolean |
op_Inequality(GlyphUInt32Id obj1,
Object obj2)
Inequality operator implementation.
|
void |
setValue(long value)
Sets int value of the ID.
|
GlyphUInt32Id |
toGlyphUInt32Id()
Cast GlyphId to GlyphUInt32Id
|
String |
toString()
Gets string representation of the integer value.
|
op_Equality, op_Inequality, toGlyphStringId
public GlyphUInt32Id(long value)
Initializes new GlyphUInt32Id
object.
value
- Glyph identifier.public static GlyphUInt32Id getNotDefId()
Gets not defined glyph id.
public long getValue()
Gets int value of the ID.
public void setValue(long value)
Sets int value of the ID.
value
- Int value of the ID.public String toString()
Gets string representation of the integer value.
public boolean equals(Object obj)
Returns true if Ids are equal.
public static boolean op_Equality(GlyphUInt32Id obj1, Object obj2)
Equality operator implementation.
obj1
- first glyph identifier to compareobj2
- second glyph identifier to comparepublic static boolean op_Inequality(GlyphUInt32Id obj1, Object obj2)
Inequality operator implementation.
obj1
- first glyph identifier to compareobj2
- second glyph identifier to comparepublic int hashCode()
GetHashCode implementation.
public GlyphUInt32Id toGlyphUInt32Id()
Cast GlyphId to GlyphUInt32Id
toGlyphUInt32Id
in class GlyphId