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.boolean
boolean
equalsIgnoreIndex
(XPathUtil.StepList propertyName) Compares this StepList with another for equivalence regardless of the indexes of each Step.void
Find the first steps matching the xpath within this list, and set an index to it.boolean
startsWith
(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, trimToSize
Methods inherited from class ArrayList
forEach, listIterator, listIterator, removeIf, removeRange, replaceAll, sort, spliterator
Methods inherited from class AbstractCollection
containsAll
Methods inherited from interface Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface List
containsAll
-
Constructor Details
-
StepList
-
-
Method Details
-
toString
Description copied from class:CheckedArrayList
Returns a string representation of this list.- Overrides:
toString
in classCheckedArrayList<XPathUtil.Step>
-
containsPredicate
public boolean containsPredicate() -
startsWith
-
subList
- Specified by:
subList
in interfaceList<XPathUtil.Step>
- Overrides:
subList
in classArrayList<XPathUtil.Step>
-
clone
Description copied from class:CheckedArrayList
Returns a shallow copy of this list.- Specified by:
clone
in interfaceCloneable
- Overrides:
clone
in 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:
true
if this step list has the same location paths thanpropertyName
ignoring the indexes in each step.false
otherwise.
-
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
-