ewe.net
Class Link

java.lang.Object
  extended byewe.net.Link

public class Link
extends Object

A link is just a String that specifies a URL or hyperlink or even a File name. It is used to distinguish between text that specfies a Link and text that specifies data.


Constructor Summary
Link(String link)
           
 
Method Summary
 int hashCode()
          Returns a hashCode for the object.
 String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass
 

Constructor Detail

Link

public Link(String link)
Method Detail

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.

hashCode

public int hashCode()
Description copied from class: Object
Returns a hashCode for the object. The general contract of hashCode is:
  • An object must return the same hash code for its entire existence.
  • If two objects are considered equal by the equals() method, they should return the same hash code. Not all Objects will do this and you should only use hashCode() from Objects which declare an overrided version of hashCode(). The only Objects which provide consistent and correct hash codes under Ewe are Object, String and Class.

    Overrides:
    hashCode in class Object