Enum Class Track

java.lang.Object
java.lang.Enum<Track>
de.teamholycow.acc.data.Track
All Implemented Interfaces:
Serializable, Comparable<Track>, Constable

public enum Track extends Enum<Track>
  • Enum Constant Details

    • BARCELONA

      public static final Track BARCELONA
    • BRANDS_HATCH

      public static final Track BRANDS_HATCH
    • HUNGARORING

      public static final Track HUNGARORING
    • MISANO

      public static final Track MISANO
    • MONZA

      public static final Track MONZA
    • NURBURGRING

      public static final Track NURBURGRING
    • PAUL_RICARD

      public static final Track PAUL_RICARD
    • SILVERSTONE

      public static final Track SILVERSTONE
    • SPA

      public static final Track SPA
    • ZOLDER

      public static final Track ZOLDER
    • ZANDVOORT

      public static final Track ZANDVOORT
    • DONINGTON

      public static final Track DONINGTON
    • KYALAMI

      public static final Track KYALAMI
    • LAGUNA_SECA

      public static final Track LAGUNA_SECA
    • MOUNT_PANORAMA

      public static final Track MOUNT_PANORAMA
    • OULTON_PARK

      public static final Track OULTON_PARK
    • SNETTERTON

      public static final Track SNETTERTON
    • SUZUKA

      public static final Track SUZUKA
    • IMOLA

      public static final Track IMOLA
    • COTA

      public static final Track COTA
    • INDIANAPOLIS

      public static final Track INDIANAPOLIS
    • WATKINS_GLEN

      public static final Track WATKINS_GLEN
  • Method Details

    • values

      public static Track[] 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

      public static Track valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public static Track get(String internalName)
    • getTrackLengthInMiles

      public double getTrackLengthInMiles()