public class InstanceOfPredicate<T> extends Object implements IUnaryPredicate<T>
true
if the object is an instance of the given class
or interface.Constructor and Description |
---|
InstanceOfPredicate(Class<?> type) |
public InstanceOfPredicate(Class<?> type)
public boolean apply(T obj)
apply
in interface IUnaryPredicate<T>
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.