Package org.jaxen
Class JaxenConstants
- java.lang.Object
-
- org.jaxen.JaxenConstants
-
public class JaxenConstants extends Object
Thread-safe constant iterators used to avoid the overhead of creating empty lists.
-
-
Field Summary
Fields Modifier and Type Field Description static IteratorEMPTY_ITERATORAn iterator with no elements.static ListIteratorEMPTY_LIST_ITERATORA list iterator with no elements.
-
-
-
Field Detail
-
EMPTY_ITERATOR
public static final Iterator EMPTY_ITERATOR
An iterator with no elements.hasNext()always returns false. This is thread-safe.
-
EMPTY_LIST_ITERATOR
public static final ListIterator EMPTY_LIST_ITERATOR
A list iterator with no elements.hasNext()always returns false. This is thread-safe.
-
-