Enum Class Track.Field
- All Implemented Interfaces:
Serializable,Comparable<Track.Field>,Constable
- Enclosing class:
Track
Enum que define os campos que podem ser utilizados para busca na faixa.
Inclui também membros que não são campos, mas mecanismos de busca, como os
algoritmos de casamento de padrões.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNome do álbum.Data de lançamento do álbum.Tipo do álbum (e.g., "single", "album").Algoritmo de casamento de padrões Boyer-Moore.Dançabilidade da faixa.Energia da faixa.Indica se a faixa contém conteúdo explícito.Gêneros musicais da faixa.Identificador único da faixa.Chave musical da faixa.Algoritmo de casamento de padrões KMP.Volume da faixa.Nome da faixa.Popularidade da faixa.Tempo da faixa.Artistas da faixa.Identificador único da faixa.Valência (humor) da faixa. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Track.FieldReturns the enum constant of this class with the specified name.static Track.Field[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID
Identificador único da faixa. -
NAME
Nome da faixa. -
TRACK_ARTISTS
Artistas da faixa. -
ALBUM_NAME
Nome do álbum. -
ALBUM_RELEASE_DATE
Data de lançamento do álbum. -
ALBUM_TYPE
Tipo do álbum (e.g., "single", "album"). -
GENRES
Gêneros musicais da faixa. -
EXPLICIT
Indica se a faixa contém conteúdo explícito. -
TRACK_ID
Identificador único da faixa. -
POPULARITY
Popularidade da faixa. -
KEY
Chave musical da faixa. -
DANCEABILITY
Dançabilidade da faixa. -
ENERGY
Energia da faixa. -
LOUDNESS
Volume da faixa. -
TEMPO
Tempo da faixa. -
VALENCE
Valência (humor) da faixa. -
KMP
Algoritmo de casamento de padrões KMP. -
BOYER_MOORE
Algoritmo de casamento de padrões Boyer-Moore.
-
-
Constructor Details
-
Field
private Field()
-
-
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
-