ucar.unidata.data.sounding
Class Link.End

java.lang.Object
  extended by ucar.unidata.data.sounding.Link.End
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
RAOB.Contribution.End
Enclosing class:
Link

public static class Link.End
extends Object
implements Comparable

Provides support for the end of a Link.


Constructor Summary
Link.End(String name)
          Constructs.
 
Method Summary
 int compareTo(Object that)
          Compares this end to another end.
 String getName()
          Gets the name of this end of the link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link.End

public Link.End(String name)
Constructs.

Parameters:
name - The name of the end of the link.
Method Detail

getName

public String getName()
Gets the name of this end of the link.

Returns:
The name of this end of the link.

compareTo

public int compareTo(Object that)
Compares this end to another end.

Specified by:
compareTo in interface Comparable
Parameters:
that - The other end.
Returns:
A number that is less that, equal to, or greater than zero depending on whether this end is less than, equal to, or greater than the other end, respectively.