Serializable
, Comparable<Integer>
, org.refcodes.mixin.MaxValueAccessor<Integer>
, org.refcodes.mixin.MinValueAccessor<Integer>
, org.refcodes.struct.Range<Integer>
public enum PortRange extends Enum<PortRange> implements org.refcodes.struct.Range<Integer>
org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V extends Object,B extends org.refcodes.mixin.MaxValueAccessor.MaxValueBuilder<V,B>>, org.refcodes.mixin.MaxValueAccessor.MaxValueMutator<V extends Object>, org.refcodes.mixin.MaxValueAccessor.MaxValueProperty<V extends Object>
org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V extends Object,B extends org.refcodes.mixin.MinValueAccessor.MinValueBuilder<V,B>>, org.refcodes.mixin.MinValueAccessor.MinValueMutator<V extends Object>, org.refcodes.mixin.MinValueAccessor.MinValueProperty<V extends Object>
org.refcodes.struct.Range.RangeBuilder<V extends Number & Comparable<V>>
Enum Constant | Description |
---|---|
DYNAMIC_PORTS |
|
LINUX_DYNAMIC_PORTS |
|
REGISTERED_PORTS |
|
SYSTEM_PORTS |
Modifier and Type | Method | 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 © 2021. All rights reserved.