public class ItemPath extends Object
| Modifier and Type | Method and Description |
|---|---|
ItemPath |
child(ItemPath path) |
ItemPath |
child(String... items) |
boolean |
equals(Object o) |
String |
first() |
String |
get(int index) |
int |
hashCode() |
ItemPath |
head(int size) |
boolean |
isEmpty() |
String |
name() |
static ItemPath |
of(String... items) |
ItemPath |
parent() |
int |
size() |
ItemPath |
skipFirst() |
ItemPath |
skipLast() |
boolean |
startsWith(ItemPath child) |
ItemPath |
subPath(int from) |
ItemPath |
subPath(int from,
int to) |
ItemPath |
tail(int size) |
String |
toString() |
public String get(int index)
public boolean startsWith(ItemPath child)
public ItemPath parent()
public boolean isEmpty()
public int size()
public String name()
public String first()
public ItemPath skipLast()
public ItemPath skipFirst()
public ItemPath subPath(int from)
public ItemPath subPath(int from, int to)
public ItemPath tail(int size)
public ItemPath head(int size)
Copyright © 2021 vpc open source initiative. All rights reserved.