public enum PredecessorShorteningMode extends Enum<PredecessorShorteningMode>
| Enum Constant and Description |
|---|
AlwaysShorten
Always maximally shorten predecessor chains.
|
NeverShorten
Never shorten any predecessor chains.
|
ShortenIfEqual
Shorten predecessor chains by skipping over elements that are equal to their
respective predecessor.
|
| Modifier and Type | Method and Description |
|---|---|
static PredecessorShorteningMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredecessorShorteningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredecessorShorteningMode NeverShorten
public static final PredecessorShorteningMode ShortenIfEqual
public static final PredecessorShorteningMode AlwaysShorten
public static PredecessorShorteningMode[] values()
for (PredecessorShorteningMode c : PredecessorShorteningMode.values()) System.out.println(c);
public static PredecessorShorteningMode 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 Fraunhofer SIT. All rights reserved.