Class BuilderIterator

  • All Implemented Interfaces:
    java.util.Iterator<Packet.Builder>

    public final class BuilderIterator
    extends java.lang.Object
    implements java.util.Iterator<Packet.Builder>
    Since:
    pcap4j 0.9.9
    Author:
    Kaito Yamada
    • Method Summary

      Modifier and Type Method Description
      boolean hasNext()  
      Packet.Builder 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
    • Constructor Detail

      • BuilderIterator

        public BuilderIterator​(Packet.Builder b)
        Parameters:
        b - b
    • Method Detail

      • hasNext

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

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Packet.Builder>
        Throws:
        java.lang.UnsupportedOperationException - always.