public enum PortRange extends Enum<PortRange> implements org.refcodes.structure.Range<Integer>
org.refcodes.structure.Range.RangeBuilder<V extends Number & Comparable<V>>
org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V,B extends org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V,B>>, org.refcodes.mixin.MinValueAccessor.MinValueMutator<V>, org.refcodes.mixin.MinValueAccessor.MinValueProperty<V>
org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V,B extends org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V,B>>, org.refcodes.mixin.MaxValueAccessor.MaxValueMutator<V>, org.refcodes.mixin.MaxValueAccessor.MaxValueProperty<V>
Enum Constant and Description |
---|
DYNAMIC_PORTS |
LINUX_DYNAMIC_PORTS |
REGISTERED_PORTS |
SYSTEM_PORTS |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxValue() |
Integer |
getMinValue() |
static PortRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortRange SYSTEM_PORTS
public static final PortRange REGISTERED_PORTS
public static final PortRange DYNAMIC_PORTS
public static final PortRange LINUX_DYNAMIC_PORTS
public static PortRange[] values()
for (PortRange c : PortRange.values()) System.out.println(c);
public static PortRange valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getMinValue()
getMinValue
in interface org.refcodes.mixin.MinValueAccessor<Integer>
Copyright © 2017. All rights reserved.