org.geotools.data.complex.filter
Class XPathUtil.StepList
Object
AbstractCollection<E>
AbstractList<E>
ArrayList<E>
CheckedArrayList<XPathUtil.Step>
XPathUtil.StepList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<XPathUtil.Step>, Collection<XPathUtil.Step>, List<XPathUtil.Step>, RandomAccess, CheckedCollection<XPathUtil.Step>
- Enclosing class:
- XPathUtil
public static class XPathUtil.StepList
- extends CheckedArrayList<XPathUtil.Step>
- See Also:
- Serialized Form
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 |
XPathUtil.StepList
public XPathUtil.StepList(XPathUtil.StepList steps)
toString
public String toString()
- Description copied from class:
CheckedArrayList
- Returns a string representation of this list.
- Overrides:
toString
in class CheckedArrayList<XPathUtil.Step>
containsPredicate
public boolean containsPredicate()
startsWith
public boolean startsWith(XPathUtil.StepList other)
subList
public XPathUtil.StepList subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface List<XPathUtil.Step>
- Overrides:
subList
in class AbstractList<XPathUtil.Step>
clone
public XPathUtil.StepList clone()
- Description copied from class:
CheckedArrayList
- Returns a shallow copy of this list.
- Overrides:
clone
in class CheckedArrayList<XPathUtil.Step>
- Returns:
- A shallow copy of this list.
- See Also:
Object.clone()
equalsIgnoreIndex
public boolean equalsIgnoreIndex(XPathUtil.StepList propertyName)
- Compares this StepList with another for equivalence regardless of the indexes of each
Step.
- Parameters:
propertyName
-
- Returns:
true
if this step list has the same location paths than
propertyName
ignoring the indexes in each step. false
otherwise.
setIndex
public void setIndex(int index,
String xpath,
String separator)
- 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
Copyright © 1996-2014 Geotools. All Rights Reserved.