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

Constructor Index

 o LinkId(int)

Method Index

 o equals(Object)
 o getId()
 o hashCode()
 o toString()

Constructors

 o LinkId
 public LinkId(int id)
Parameters:
id - the short representing the link

Methods

 o 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
 o hashCode
 public int hashCode()
Returns:
a valid hash code
Overrides:
hashCode in class Object
 o toString
 public String toString()
Returns:
a printable form of the LinkId
Overrides:
toString in class Object
 o getId
 public int getId()
Returns:
the identity

All Packages  Class Hierarchy  This Package  Previous  Next  Index