public enum TapVersion extends Enum<TapVersion>
Enum Constant and Description |
---|
V10
TAP version 1.0.
|
V11
TAP version 1.1.
|
Modifier and Type | Method and Description |
---|---|
boolean |
is11()
True if this version is greater than or equal to TAP version 1.1.
|
String |
toString() |
static TapVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TapVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TapVersion V10
public static final TapVersion V11
public static TapVersion[] values()
for (TapVersion c : TapVersion.values()) System.out.println(c);
public static TapVersion 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 boolean is11()
public String toString()
toString
in class Enum<TapVersion>
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.