|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.graphlayout.circular.IlvClusterId
ilog.views.graphlayout.circular.IlvClusterName
public class IlvClusterName
An object that is used to identify a cluster by a unique name (a string).
| Constructor Summary | |
|---|---|
IlvClusterName(IlvInputStream stream)
Reads an IlvClusterName from
an IlvInputStream. |
|
IlvClusterName(String name)
Creates a new IlvClusterName to identify a
cluster using a name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the IlvClusterName to the specified object. |
String |
getName()
Returns the name attribute of the cluster identifier. |
int |
hashCode()
Returns a hash code for the IlvClusterName. |
String |
toString()
Returns a string representation of the IlvClusterName. |
void |
write(IlvOutputStream stream)
Writes the object to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvClusterName(String name)
IlvClusterName to identify a
cluster using a name.
public IlvClusterName(IlvInputStream stream)
throws IlvReadFileException
IlvClusterName from
an IlvInputStream.
stream - The input stream.
IlvReadFileException - when an error occurs while reading.| Method Detail |
|---|
public String getName()
public int hashCode()
IlvClusterName.
hashCode in class IlvClusterIdIlvClusterNameObject.hashCode()public boolean equals(Object obj)
IlvClusterName to the specified object.
The result is true if and only if the argument is not
null, and if the argument is an instance of IlvClusterName
and the method getName() called on
it returns the same string as the name attribute of the IlvClusterName.
equals in class IlvClusterIdobj - The object with which to compare the IlvClusterName
true if the IlvClusterName are equal;
false otherwise.public String toString()
IlvClusterName.
toString in class IlvClusterId
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvClusterIdstream - The output stream.
IOException - thrown when an exception occurs during
the write operation for this object.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||