public enum Network extends Enum<Network>
| Modifier and Type | Method and Description |
|---|---|
String |
getLogo()
This method returns the default logo for the network Operator.
|
String |
toString() |
static Network |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Network[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Network EMOBILE
public static final Network METEOR
public static final Network O2
public static final Network TESCO
public static final Network THREE
public static Network[] values()
for (Network c : Network.values()) System.out.println(c);
public static Network 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 String getLogo()
Copyright © 2015. All rights reserved.