public class Categorization extends Object implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
static Categorization |
UNCATEGORIZED
Empty categorization.
|
| Constructor and Description |
|---|
Categorization(String id,
Class<?> class1,
Class<?>... classes) |
public static final Categorization UNCATEGORIZED
public Categorization(String id, Class<?> class1, Class<?>... classes)
id - Idclass1 - 1st classclasses - other classesIllegalArgumentException - if any class is given multiple timesNullPointerException - if any input is nullpublic final int size()
public final Class<?> get(int i)
i - index of the classIndexOutOfBoundsException - if index i is out of boundspublic final String getId()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.