public abstract class IlvClusterId extends Object implements Serializable, IlvPersistentObject
Note that this class implements the IlvPersistentObject
interface. The implementation of the method write does
nothing. If you write a subclass of IlvClusterId that
needs to be persistent, you must create a constructor with the
signature MyClusterId(IlvInputStream stream) so that it
can be read by IlvInputStream, and you must override the
method write to write the attributes of the cluster
identifier.
| Constructor and Description |
|---|
IlvClusterId()
Creates a new
IlvClusterId. |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj)
Compares the
IlvClusterId to the specified object. |
abstract int |
hashCode()
Returns a hash code for the cluster identifier.
|
abstract String |
toString()
Returns a string representation of the cluster identifier.
|
void |
write(IlvOutputStream stream)
Writes the cluster identifier to an
IlvOutputStream. |
public abstract int hashCode()
hashCode in class ObjectObject.hashCode()public abstract boolean equals(Object obj)
IlvClusterId to the specified object. The
result must be true if and only if the argument is not
null and both cluster identifiers represent the same
cluster.public abstract String toString()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream. The
current implementation does nothing.write in interface IlvPersistentObjectstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.