Class Reference
java.lang.Object
org.wildfly.clustering.marshalling.protostream.Reference
- All Implemented Interfaces:
IntSupplier
Encapsulates an object reference.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Reference
public Reference(int id) Constructs a new reference with the specified identifier.- Parameters:
id- a reference identifier
-
-
Method Details
-
getAsInt
public int getAsInt()- Specified by:
getAsIntin interfaceIntSupplier
-
hashCode
-
equals
-
toString
-