public final class EmptyPath extends java.lang.Object implements Path
Path. By definition it has no path segments and is not absolute.| Constructor and Description |
|---|
EmptyPath() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isAbsolute()
Returns whether this path is absolute, i.e. starts with a "/".
|
boolean |
isEmpty()
Returns whether this path is empty, i.e. contains no path segments.
|
java.util.Iterator<UriEncoded> |
iterator() |
public static final EmptyPath INSTANCE
public boolean isEmpty()
Pathpublic boolean isAbsolute()
PathisAbsolute in interface Pathtrue if this path is absolute, false otherwise.public java.util.Iterator<UriEncoded> iterator()
iterator in interface java.lang.Iterable<UriEncoded>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object