|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OperaProduct>
com.opera.core.systems.OperaProduct
public enum OperaProduct
A list of all Opera products. Use the is(OperaProduct) to compare and check products.
| Enum Constant Summary | |
|---|---|
ALL
Never returned, but can be used to request any product. |
|
CORE
|
|
DESKTOP
|
|
MINI
|
|
MOBILE
|
|
SDK
|
|
| Method Summary | |
|---|---|
static OperaProduct |
get(String product)
|
boolean |
is(OperaProduct compareWith)
Compares current product with given product. |
String |
toString()
|
static OperaProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperaProduct[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OperaProduct CORE
public static final OperaProduct DESKTOP
public static final OperaProduct SDK
public static final OperaProduct MOBILE
public static final OperaProduct MINI
public static final OperaProduct ALL
| Method Detail |
|---|
public static OperaProduct[] values()
for (OperaProduct c : OperaProduct.values()) System.out.println(c);
public static OperaProduct valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<OperaProduct>public boolean is(OperaProduct compareWith)
compareWith - the product to compare the current one with
public static OperaProduct get(String product)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||