public static class PortRanges.SinglePort extends java.lang.Object implements PortRange, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean()
Note: this method is only here for use with "groovy truth".
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isEmpty()
Whether there are any ports in the range.
|
java.util.Iterator<java.lang.Integer> |
iterator() |
java.lang.String |
toString() |
public java.util.Iterator<java.lang.Integer> iterator()
iterator
in interface java.lang.Iterable<java.lang.Integer>
public boolean isEmpty()
PortRange
public boolean asBoolean()
PortRange
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object