|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PortRange
A range of ports (indicator for Location and other APIs).
Using methods PortRanges.fromXxx(...) this is adaptable from a number, a string, or a collection of numbers or a strings.
String may be of the form:
brooklyn.location.basic.PortRanges| Method Summary | |
|---|---|
boolean |
asBoolean()
Note: this method is only here for use with "groovy truth". |
boolean |
isEmpty()
Whether there are any ports in the range. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
boolean isEmpty()
boolean asBoolean()
!isEmpty(); i.e. true if there is at least one port in the range; false otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||