Package org.jaxen

Class JaxenConstants


  • public class JaxenConstants
    extends java.lang.Object
    Thread-safe constant iterators used to avoid the overhead of creating empty lists.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Iterator EMPTY_ITERATOR
      An iterator with no elements.
      static java.util.ListIterator EMPTY_LIST_ITERATOR
      A list iterator with no elements.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JaxenConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_ITERATOR

        public static final java.util.Iterator EMPTY_ITERATOR
        An iterator with no elements. hasNext() always returns false. This is thread-safe.
      • EMPTY_LIST_ITERATOR

        public static final java.util.ListIterator EMPTY_LIST_ITERATOR
        A list iterator with no elements. hasNext() always returns false. This is thread-safe.
    • Constructor Detail

      • JaxenConstants

        private JaxenConstants()