Package jodd.props

Class PropsEntries.PropsIterator

  • All Implemented Interfaces:
    java.util.Iterator<PropsEntry>
    Enclosing class:
    PropsEntries

    private class PropsEntries.PropsIterator
    extends java.lang.Object
    implements java.util.Iterator<PropsEntry>
    Props iterator.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PropsIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean accept​(PropsEntry entry)
      Accepts an entry and returns true if entry should appear in this iteration.
      boolean hasNext()  
      PropsEntry next()  
      void remove()  
      private void start()
      Starts with the iterator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • firstTime

        private boolean firstTime
      • profiles

        private java.util.List<java.lang.String> profiles
      • sections

        private java.util.List<java.lang.String> sections
      • skipDuplicatesByValue

        private boolean skipDuplicatesByValue
      • skipDuplicatesByPosition

        private boolean skipDuplicatesByPosition
      • keys

        private java.util.Set<java.lang.String> keys
    • Constructor Detail

      • PropsIterator

        private PropsIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<PropsEntry>
      • start

        private void start()
        Starts with the iterator.
      • accept

        private boolean accept​(PropsEntry entry)
        Accepts an entry and returns true if entry should appear in this iteration.
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<PropsEntry>