|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infinispan.schematic.internal.document.Paths.EmptyPath
@Immutable @SerializeWith(value=Paths.Externalizer.class) protected static final class Paths.EmptyPath
| Constructor Summary | |
|---|---|
protected |
Paths.EmptyPath()
|
| Method Summary | |
|---|---|
int |
compareTo(Path that)
|
boolean |
equals(Object obj)
|
String |
get(int index)
Get a particular segment within this path. |
String |
getFirst()
Get the first segment in the path. |
String |
getLast()
Get the last segment in the path. |
int |
hashCode()
|
Iterator<String> |
iterator()
|
Path |
parent()
Get the parent path, which may be an empty path. |
int |
size()
Get the number of segments in this path. |
boolean |
startsWith(Path ancestor)
Determine if the first segments of this path are equal to the segments in the supplied path. |
String |
toString()
|
Path |
with(String fieldName)
Obtain a path that has this path as the parent and which has as the last segment the supplied field name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Paths.EmptyPath()
| Method Detail |
|---|
public Iterator<String> iterator()
iterator in interface Iterable<String>public String get(int index)
Path
get in interface Pathindex - the 0-based index of the segment in this path
public String getLast()
Path
getLast in interface Pathpublic String getFirst()
Path
getFirst in interface Pathpublic int size()
Path
size in interface Pathpublic boolean startsWith(Path ancestor)
Path
startsWith in interface Pathancestor - the other path; may not be null
public Path with(String fieldName)
Path
with in interface PathfieldName - the field name for the last segment in the new path; may be null
fieldName parameter is null; never nullpublic Path parent()
Path
parent in interface Pathpublic int compareTo(Path that)
compareTo in interface Comparable<Path>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||