public static final class IndexHandler.Link extends Object implements Comparable<IndexHandler.Link>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IndexHandler.Link o) |
boolean |
equals(Object o) |
int |
hashCode() |
static IndexHandler.Link |
link(String label,
String path)
Create a link.
|
String |
toString() |
public static IndexHandler.Link link(String label, String path)
label - the label to display as the linkpath - the path that the link should lead topublic int compareTo(IndexHandler.Link o)
compareTo in interface Comparable<IndexHandler.Link>Copyright © 2013–2020 Hotels.com. All rights reserved.