Enum Constant and Description |
---|
INFINITY |
INFINITY_NOROOT |
ONE |
ONE_NOROOT |
ZERO |
Modifier and Type | Method and Description |
---|---|
static Depth |
fromHeader(java.lang.String s) |
java.lang.String |
toString() |
static Depth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Depth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Depth ZERO
public static final Depth ONE
public static final Depth ONE_NOROOT
public static final Depth INFINITY
public static final Depth INFINITY_NOROOT
public static Depth[] values()
for (Depth c : Depth.values()) System.out.println(c);
public static Depth valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Depth>
public static final Depth fromHeader(java.lang.String s)
Copyright © 2021. All Rights Reserved.