public class DeviceIterator extends FilterIterator<Device>
| Modifier and Type | Field and Description |
|---|---|
private IEntityClass[] |
entityClasses |
private java.lang.Integer |
ipv4Address |
private java.lang.Long |
macAddress |
private java.lang.Long |
switchDPID |
private java.lang.Integer |
switchPort |
private java.lang.Short |
vlan |
next, subIterator| Constructor and Description |
|---|
DeviceIterator(java.util.Iterator<Device> subIterator,
IEntityClass[] entityClasses,
java.lang.Long macAddress,
java.lang.Short vlan,
java.lang.Integer ipv4Address,
java.lang.Long switchDPID,
java.lang.Integer switchPort)
Constructs a new device iterator over the key fields.
|
private IEntityClass[] entityClasses
private java.lang.Long macAddress
private java.lang.Short vlan
private java.lang.Integer ipv4Address
private java.lang.Long switchDPID
private java.lang.Integer switchPort
public DeviceIterator(java.util.Iterator<Device> subIterator, IEntityClass[] entityClasses, java.lang.Long macAddress, java.lang.Short vlan, java.lang.Integer ipv4Address, java.lang.Long switchDPID, java.lang.Integer switchPort)
subIterator - an iterator over the full data structure to scanentityClasses - the entity classes to search formacAddress - The MAC addressvlan - the VLANipv4Address - the IPv4 addressswitchDPID - the switch dpidswitchPort - the switch portprotected boolean matches(Device value)
FilterIteratormatches in class FilterIterator<Device>value - the value to check