js.dev.cam.sbig
Enum AD_SIZE
java.lang.Object
java.lang.Enum<AD_SIZE>
js.dev.cam.sbig.AD_SIZE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AD_SIZE>
public enum AD_SIZE
- extends java.lang.Enum<AD_SIZE>
Method Summary |
int |
getAdSize()
|
static AD_SIZE |
getAdSize(int value)
The getAdSize returns the AD_SIZE enum. |
static AD_SIZE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AD_SIZE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AD_UNKNOWN
public static final AD_SIZE AD_UNKNOWN
AD_12_BITS
public static final AD_SIZE AD_12_BITS
AD_16_BITS
public static final AD_SIZE AD_16_BITS
values
public static AD_SIZE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AD_SIZE c : AD_SIZE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AD_SIZE valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getAdSize
public final int getAdSize()
- Returns:
- the adSize.
getAdSize
public static final AD_SIZE getAdSize(int value)
- The getAdSize returns the AD_SIZE enum.
- Returns:
- the AD_SIZE.