public static enum TopologyGenerator.Topology extends Enum<TopologyGenerator.Topology>
Modifier and Type | Method and Description |
---|---|
static TopologyGenerator.Topology |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopologyGenerator.Topology[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyGenerator.Topology ring
public static final TopologyGenerator.Topology random
public static final TopologyGenerator.Topology complete
public static TopologyGenerator.Topology[] values()
for (TopologyGenerator.Topology c : TopologyGenerator.Topology.values()) System.out.println(c);
public static TopologyGenerator.Topology 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 nullCopyright © 2021. All rights reserved.