public enum AesVersion extends Enum<AesVersion>
Modifier and Type | Method and Description |
---|---|
static AesVersion |
getFromVersionNumber(int versionNumber) |
int |
getVersionNumber() |
static AesVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AesVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AesVersion ONE
public static final AesVersion TWO
public static AesVersion[] values()
for (AesVersion c : AesVersion.values()) System.out.println(c);
public static AesVersion 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 int getVersionNumber()
public static AesVersion getFromVersionNumber(int versionNumber)
Copyright © 2020. All rights reserved.