public enum ABDirection extends Enum<ABDirection> implements Direction
Copyright (c) 2014 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved.
See for project information www.opentrafficsim.org.
The OpenTrafficSim project is distributed under the following BSD-style license:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
| Modifier and Type | Method and Description |
|---|---|
static ABDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ABDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ABDirection A
public static final ABDirection B
public static ABDirection[] values()
for (ABDirection c : ABDirection.values()) System.out.println(c);
public static ABDirection 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 nullCopyright © 2002–2014 Delft University of Technology. All rights reserved.