Package org.geotools.data.complex.util
Class XPathUtil.StepList
Object
AbstractCollection<E>
AbstractList<E>
ArrayList<E>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<XPathUtil.Step>,Collection<XPathUtil.Step>,List<XPathUtil.Step>,RandomAccess,Cloneable,CheckedCollection<XPathUtil.Step>
- Enclosing class:
- XPathUtil
- See Also:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a shallow copy of this list.booleanbooleanequalsIgnoreIndex(XPathUtil.StepList propertyName) Compares this StepList with another for equivalence regardless of the indexes of each Step.voidFind the first steps matching the xpath within this list, and set an index to it.booleanstartsWith(XPathUtil.StepList other) subList(int fromIndex, int toIndex) toString()Returns a string representation of this list.Methods inherited from class CheckedArrayList
add, add, addAll, addAll, checkWritePermission, clear, contains, ensureCapacity, ensureValidType, equals, get, getElementType, getLock, hashCode, indexOf, isEmpty, iterator, lastIndexOf, remove, remove, removeAll, retainAll, set, size, toArray, toArray, trimToSizeMethods inherited from class ArrayList
forEach, listIterator, listIterator, removeIf, removeRange, replaceAll, sort, spliteratorMethods inherited from class AbstractCollection
containsAllMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
containsAll
-
Constructor Details
-
StepList
-
-
Method Details
-
toString
Description copied from class:CheckedArrayListReturns a string representation of this list.- Overrides:
toStringin classCheckedArrayList<XPathUtil.Step>
-
containsPredicate
public boolean containsPredicate() -
startsWith
-
subList
- Specified by:
subListin interfaceList<XPathUtil.Step>- Overrides:
subListin classArrayList<XPathUtil.Step>
-
clone
Description copied from class:CheckedArrayListReturns a shallow copy of this list.- Specified by:
clonein interfaceCloneable- Overrides:
clonein classCheckedArrayList<XPathUtil.Step>- Returns:
- A shallow copy of this list.
- See Also:
-
equalsIgnoreIndex
Compares this StepList with another for equivalence regardless of the indexes of each Step.- Returns:
trueif this step list has the same location paths thanpropertyNameignoring the indexes in each step.falseotherwise.
-
setIndex
Find the first steps matching the xpath within this list, and set an index to it.- Parameters:
index- the new index for the matching stepsxpath- the xpath to be searched
-