Class PcapInterfaceIterator

java.lang.Object
pcap.api.internal.util.PcapInterfaceIterator
All Implemented Interfaces:
java.util.Iterator<pcap.spi.Interface>

@Inclubating
public class PcapInterfaceIterator
extends java.lang.Object
implements java.util.Iterator<pcap.spi.Interface>
Interface iterator.
Author:
Ardika Rommy Sanjaya
  • Constructor Summary

    Constructors 
    Constructor Description
    PcapInterfaceIterator​(pcap.spi.Interface pcapInterface)  
  • Method Summary

    Modifier and Type Method Description
    boolean hasNext()  
    pcap.spi.Interface next()  

    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, remove
  • Constructor Details

  • Method Details

    • hasNext

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

      public pcap.spi.Interface next()
      Specified by:
      next in interface java.util.Iterator<pcap.spi.Interface>