- All Implemented Interfaces:
Serializable
,Comparable<DataResourceType>
,java.lang.constant.Constable
Represents a static dataset.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Katsute
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNew York City Transit Bus / BronxNew York City Transit Bus / BrooklynBus CompanyNew York City Transit Bus / ManhattanNew York City Transit Bus / QueensNew York City Transit Bus / Staten IslandLong Island Rail RoadMetro-North RailroadNew York City Transit Subway -
Method Summary
Modifier and TypeMethodDescriptionstatic DataResourceType
Returns the enum constant of this class with the specified name.static DataResourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Subway
New York City Transit Subway -
Bus_Bronx
New York City Transit Bus / Bronx -
Bus_Brooklyn
New York City Transit Bus / Brooklyn -
Bus_Manhattan
New York City Transit Bus / Manhattan -
Bus_Queens
New York City Transit Bus / Queens -
Bus_StatenIsland
New York City Transit Bus / Staten Island -
Bus_Company
Bus Company -
LongIslandRailroad
Long Island Rail Road -
MetroNorthRailroad
Metro-North Railroad
-
-
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
-