public enum PaymentFrequency extends java.lang.Enum<PaymentFrequency>
Enum Constant and Description |
---|
ANNUAL |
QUARTERLY |
SEMIANNUAL |
Modifier and Type | Method and Description |
---|---|
static PaymentFrequency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentFrequency ANNUAL
public static final PaymentFrequency QUARTERLY
public static final PaymentFrequency SEMIANNUAL
public static PaymentFrequency 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 static PaymentFrequency[] values()
for (PaymentFrequency c : PaymentFrequency.values()) System.out.println(c);
Copyright © 2017, 2024, Oracle and/or its affiliates. All rights reserved.