Class BeanPropertyIterator<T>

  • All Implemented Interfaces:
    java.util.Iterator<BeanProperty<T>>

    final class BeanPropertyIterator<T>
    extends java.lang.Object
    implements java.util.Iterator<BeanProperty<T>>
    Read-only Iterator that picks out potential bean properties from declared members.
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanPropertyIterator​(java.lang.Iterable<java.lang.reflect.Member> members)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      private static boolean isSetter​(java.lang.reflect.Member member)  
      BeanProperty<T> next()  
      void remove()  
      • 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

      • memberIterator

        private final java.util.Iterator<java.lang.reflect.Member> memberIterator
    • Constructor Detail

      • BeanPropertyIterator

        BeanPropertyIterator​(java.lang.Iterable<java.lang.reflect.Member> members)
    • Method Detail

      • hasNext

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

        public BeanProperty<T> next()
        Specified by:
        next in interface java.util.Iterator<T>
      • remove

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

        private static boolean isSetter​(java.lang.reflect.Member member)