[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLink\u003c/code\u003e class represents a URL with a maximum length of 2083 characters, longer than a standard Text value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLink\u003c/code\u003e objects are immutable after construction and implement the \u003ccode\u003eSerializable\u003c/code\u003e and \u003ccode\u003eComparable<Link>\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eTwo \u003ccode\u003eLink\u003c/code\u003e objects are considered equal if their string values match precisely, as determined by the overridden \u003ccode\u003eequals()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetValue()\u003c/code\u003e method retrieves the string value of a \u003ccode\u003eLink\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e returns the entire text of the \u003ccode\u003eLink\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLink\u003c/code\u003e class can be compared to other \u003ccode\u003eLink\u003c/code\u003e objects using the compareTo() method.\u003c/p\u003e\n"]]],[],null,["# Class Link (2.0.0)\n\n public final class Link implements Serializable, Comparable\u003cLink\u003e\n\nA `Link` is a URL of limited length.\n\nIn addition to adding the meaning of `URL` onto a String, a `Link` can also be\nlonger than a Text value, with a limit of 2083 characters. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e Link \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html), [Comparable\\\u003cLink\\\u003e](https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable\u003ccom/google/appengine/api/datastore/Link\u003e.html) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### serialVersionUID\n\n public static final long serialVersionUID\n\nConstructors\n------------\n\n### Link(String value)\n\n public Link(String value)\n\nConstructs a new `Link` object with the specified value. This object cannot be modified\nafter construction.\n\nMethods\n-------\n\n### compareTo(Link l)\n\n public int compareTo(Link l)\n\n### equals(@Nullable Object object)\n\n public boolean equals(@Nullable Object object)\n\nTwo `Link` objects are considered equal if their content strings match exactly.\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getValue()\n\n public String getValue()\n\nReturns the value of this `Link`.\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### toString()\n\n public String toString()\n\nReturns the entire text of this `Link`.\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]