Documentation of 'hep.physics.filter.Filter' Java class
Filter
hep.physics.filter

Class Filter

  • All Implemented Interfaces:
    java.util.Iterator


    public class Filter
    extends java.lang.Object
    implements java.util.Iterator
    An iterator that filters an input iterator to only accept items that are accepted by a given predicate.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Filter(java.util.Iterator e, Predicate p) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasNext() 
      java.lang.Object next() 
      void remove() 
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Constructor Detail

      • Filter

        public Filter(java.util.Iterator e,
                      Predicate p)
    • Method Detail

      • next

        public java.lang.Object next()
        Specified by:
        next in interface java.util.Iterator
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator
      • remove

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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.