public interface IElementFilter<E> extends IFilterTest, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
canAccept(Object o)
Return true iff this this filter can be used on the specified object
(filter on the object class).
|
isValid
boolean canAccept(Object o)
Note: This was added to make it possible filter out cases where the
runtime type system was throwing a ClassCastException
in the
IFilterTest.isValid(Object)
implementation.
o
- An object of some type.true
if the element can be inspected by this filter.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.