public enum Segment extends Enum<Segment>
| Enum Constant and Description |
|---|
ARC |
FIRST_ARC |
FIRST_LINE |
LINE |
| Modifier and Type | Method and Description |
|---|---|
static Segment |
findSegment(int value) |
static Segment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Segment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Segment LINE
public static final Segment ARC
public static final Segment FIRST_LINE
public static final Segment FIRST_ARC
public static Segment[] values()
for (Segment c : Segment.values()) System.out.println(c);
public static Segment 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 static Segment findSegment(int value)
Copyright © 1996–2021 Geotools. All rights reserved.