T - super type for all possible classes, e.g. TacticalPlannerpublic class ClassConstraint<T> extends CollectionConstraint<Class<? extends T>>
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
objects| Modifier and Type | Method and Description | 
|---|---|
| static <T> ClassConstraint<T> | newInstance(Class<? extends T>... objs)Creates a new instance with given collection. | 
| String | toString() | 
accept, failMessage, newInstance@SafeVarargs public static <T> ClassConstraint<T> newInstance(Class<? extends T>... objs)
T - type classobjs - Class<? extends T>...; acceptable classespublic String toString()
toString in class CollectionConstraint<Class<? extends T>>Copyright © 2014–2019 Delft University of Technology. All rights reserved.