Package org.jcsp.net
Class Profile
java.lang.Object
org.jcsp.net.Profile
This class is used to hold profiles of Nodes and Links.
Node profiles are not currently used.
Profile functionality is still being implemented.- Author:
- Quickstone Technologies Limited
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this Profile with another object.static ProfilegetLinkProfile(String name) Returns a link profile of a certain name from a static collection of link profiles.static ProfilegetNodeProfile(String name) Returns a Node profile of a certain name from a static collection of Node profiles.inthashCode()Returns a hash code for this object that follows the standard rule for hash codes stated in theObjectclass.
-
Method Details
-
getLinkProfile
Returns a link profile of a certain name from a static collection of link profiles.- Parameters:
name- the name of theProfileto obtain.- Returns:
- a matching link profile or null if no match is found.
-
getNodeProfile
Returns a Node profile of a certain name from a static collection of Node profiles.- Parameters:
name- the name of theProfileto obtain.- Returns:
- a matching Node profile or null if no match is found.
-
equals
Compares this Profile with another object. -
hashCode
public int hashCode()Returns a hash code for this object that follows the standard rule for hash codes stated in theObjectclass.
-