T
- classpublic final class ClassCollectionConstraint<T> extends SubCollectionConstraint<Class<? extends T>>
Copyright (c) 2013-2018 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> ClassCollectionConstraint<T> |
newInstance(Class<? extends T>... objs)
Creates a new instance with given collection.
|
String |
toString() |
accept, failMessage, newInstance
@SafeVarargs public static <T> ClassCollectionConstraint<T> newInstance(Class<? extends T>... objs)
T
- type classobjs
- acceptable classespublic String toString()
toString
in class SubCollectionConstraint<Class<? extends T>>
Copyright © 2014–2018 Delft University of Technology. All rights reserved.