Package com.pnfsoftware.jeb.util.collect
Interface VerifiedDeque.FailureHandler<E>
- Type Parameters:
E
-
- Enclosing class:
- VerifiedDeque<E>
public static interface VerifiedDeque.FailureHandler<E>
Failure handler for
VerifiedDeque
.-
Method Summary
-
Method Details
-
notInWhitelist
- Parameters:
e
- the element to be added is not in the provided white-list- Returns:
- 0=do not insert; 1=insert anyway; -1= failure (throw)
-
inBlacklist
- Parameters:
e
- the element to be added is in the provided black-list- Returns:
- 0=do not insert; 1=insert anyway; -1= failure (throw)
-