public enum BrokersRankingSort extends Enum<BrokersRankingSort>
Um dos itens do enum deve ser usado para obter o ranking ordenado através do método
BrokersRanking.getSorted(BrokersRankingSort).
| Enum Constant and Description |
|---|
BY_BUY
Ordenará o ranking de corretoras pelo volume de compra.
|
BY_QUANTITY
Ordenará o ranking de corretoras pela quantidade.
|
BY_SELL
Ordenará o ranking de corretoras pelo volume de venda.
|
BY_VOLUME
Ordenará o ranking de corretoras pelo volume financeiro.
|
SUM_BY_TRADES
Ordenará o ranking pelo total de negócios.
|
SUM_BY_VOLUME
Ordenará o ranking pelo volume total negociado.
|
| Modifier and Type | Method and Description |
|---|---|
static BrokersRankingSort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokersRankingSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokersRankingSort BY_QUANTITY
public static final BrokersRankingSort BY_VOLUME
public static final BrokersRankingSort BY_SELL
public static final BrokersRankingSort BY_BUY
public static final BrokersRankingSort SUM_BY_VOLUME
public static final BrokersRankingSort SUM_BY_TRADES
public static BrokersRankingSort[] values()
for (BrokersRankingSort c : BrokersRankingSort.values()) System.out.println(c);
public static BrokersRankingSort 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 null