Package br.unip.aps.sorting
Enum Class CriterioOrdenacao
- All Implemented Interfaces:
Serializable,Comparable<CriterioOrdenacao>,Constable
Criterios de ordenacao disponiveis para os focos de incendio.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionchaveNumerica(Ordem ordem) Chave inteira cuja ordem numerica equivale a ordem do comparador (para Radix Sort).comparador(Ordem ordem) Comparador do criterio na ordem pedida;nullsempre no final.static intHora do dia em Sao Paulo (UTC-3): data_pas vem em GMT.booleanopcional()rotulo()booleantoString()valor(FocoIncendio foco) static CriterioOrdenacaoReturns the enum constant of this class with the specified name.static CriterioOrdenacao[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATA
-
HORA_LOCAL
-
BIOMA
-
MUNICIPIO
-
LATITUDE
-
LONGITUDE
-
ID
-
SATELITE
-
FRP
-
RISCO_FOGO
-
DIAS_SEM_CHUVA
-
PRECIPITACAO
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
rotulo
-
opcional
public boolean opcional() -
valor
-
comparador
Comparador do criterio na ordem pedida;nullsempre no final. -
chaveNumerica
Chave inteira cuja ordem numerica equivale a ordem do comparador (para Radix Sort). -
temChaveNumerica
public boolean temChaveNumerica() -
horaLocal
Hora do dia em Sao Paulo (UTC-3): data_pas vem em GMT. -
toString
- Overrides:
toStringin classEnum<CriterioOrdenacao>
-