Class CollectionsUtil.FilteringEnumeration<T>

  • All Implemented Interfaces:
    java.util.Enumeration<T>
    Enclosing class:
    CollectionsUtil

    public static class CollectionsUtil.FilteringEnumeration<T>
    extends java.lang.Object
    implements java.util.Enumeration<T>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasMoreElements()  
      T nextElement()  
      • Methods inherited from class java.lang.Object

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

        asIterator
    • Constructor Detail

      • FilteringEnumeration

        public FilteringEnumeration​(@NotNull
                                    java.util.Enumeration<? extends T> enumeration,
                                    @NotNull
                                    Predicate<T> filter)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<T>
      • nextElement

        public T nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<T>