All Packages Class Hierarchy This Package Previous Next Index
Class vnet.LinkId
java.lang.Object
|
+----vnet.LinkId
- public class LinkId
- extends Object
- implements Serializable
Class to represent a link identity
- Version:
- 0.2, august-1997
- Author:
- LuisM Pena
- See Also:
- NetLink
-
LinkId(int)
-
-
equals(Object)
-
-
getId()
-
-
hashCode()
-
-
toString()
-
LinkId
public LinkId(int id)
- Parameters:
- id - the short representing the link
equals
public boolean equals(Object element)
- Parameters:
- element - other Linkd to be compared to
- Returns:
- true if bot have the same identity
- Overrides:
- equals in class Object
hashCode
public int hashCode()
- Returns:
- a valid hash code
- Overrides:
- hashCode in class Object
toString
public String toString()
- Returns:
- a printable form of the LinkId
- Overrides:
- toString in class Object
getId
public int getId()
- Returns:
- the identity
All Packages Class Hierarchy This Package Previous Next Index