T
- The type of items to filter.public interface IFilter<T>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isItemAllowed(T item)
Check if an item is allowed.
|
abstract boolean |
isTypeAllowed(Incident.IncidentType type) |
boolean isItemAllowed(T item)
item
- item to check.true
if item is allowed, false
otherwiseboolean isTypeAllowed(Incident.IncidentType type)
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.