private static class Schemas.PathImpl extends java.util.AbstractList<Pair<java.lang.String,Schema>> implements Path
Path
.Modifier and Type | Field and Description |
---|---|
private static Schemas.PathImpl |
EMPTY |
private com.google.common.collect.ImmutableList<Pair<java.lang.String,Schema>> |
pairs |
Constructor and Description |
---|
PathImpl(com.google.common.collect.ImmutableList<Pair<java.lang.String,Schema>> pairs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Pair<java.lang.String,Schema> |
get(int index) |
int |
hashCode() |
java.util.List<java.lang.String> |
names()
Returns the names of this path, not including the name of the root.
|
Path |
parent()
Returns the parent path, or null if the path is empty.
|
java.util.List<Schema> |
schemas()
Returns the schemas of this path.
|
int |
size() |
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final Schemas.PathImpl EMPTY
public boolean equals(java.lang.Object o)
public int hashCode()
public int size()
public Path parent()
Path
public java.util.List<java.lang.String> names()
Path
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.