Class Arguments
- java.lang.Object
-
- org.opendaylight.controller.sal.common.util.Arguments
-
@Deprecated(forRemoval=true) public final class Arguments extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> T
checkInstanceOf(Object value, Class<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.This utility is not used in this project, please brew your own or usePreconditions.checkArgument()
.
-
-
-
Method Detail
-
checkInstanceOf
@Deprecated(forRemoval=true) public static <T> T checkInstanceOf(Object value, Class<T> type)
Deprecated, for removal: This API element is subject to removal in a future version.This utility is not used in this project, please brew your own or usePreconditions.checkArgument()
.Checks if value is instance of provided class.- Parameters:
value
- Value to checktype
- Type to check- Returns:
- Reference which was checked
-
-