@Experimental public enum AuctionType extends Enum<AuctionType>
| Enum Constant and Description |
|---|
CLOSING
Represents a closing auction.
|
OPENING
Represents an opening auction.
|
OTHER
Other auction types.
|
REOPENING
Represents a reopening auction, after a halt or pause and IPO.
|
UNDEFINED
Type is undefined, unknown or inapplicable.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the integer code used in flag bits.
|
static AuctionType |
valueOf(int code)
Returns the auction type by integer code bit pattern.
|
static AuctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuctionType UNDEFINED
public static final AuctionType OPENING
public static final AuctionType CLOSING
public static final AuctionType REOPENING
public static final AuctionType OTHER
public static AuctionType[] values()
for (AuctionType c : AuctionType.values()) System.out.println(c);
public static AuctionType 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 static AuctionType valueOf(int code)
code - integer code.ArrayIndexOutOfBoundsException - if code is invalid.public int getCode()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.