public static enum NricNumber.Type extends java.lang.Enum<NricNumber.Type>
Enum Constant and Description |
---|
FOREIGNER_TWENTIETH_CENTURY |
FOREIGNER_TWENTY_FIRST_CENTURY |
SINGAPOREAN_TWENTIETH_CENTURY |
SINGAPOREAN_TWENTY_FIRST_CENTURY |
Modifier and Type | Method and Description |
---|---|
static NricNumber.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NricNumber.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NricNumber.Type SINGAPOREAN_TWENTIETH_CENTURY
public static final NricNumber.Type FOREIGNER_TWENTIETH_CENTURY
public static final NricNumber.Type SINGAPOREAN_TWENTY_FIRST_CENTURY
public static final NricNumber.Type FOREIGNER_TWENTY_FIRST_CENTURY
public static NricNumber.Type[] values()
for (NricNumber.Type c : NricNumber.Type.values()) System.out.println(c);
public static NricNumber.Type 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 nullCopyright © 2023. All rights reserved.