public class Id extends Subitem
Constructor and Description |
---|
Id(long id)
The sole constructor; it takes the required integer value.
|
public Id(long id)
public long getId()
public java.lang.String toString()
String
to the value that this class represents.toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
Id
values and returns true
if they are equal.equals
in class java.lang.Object