T - public class ConstantPredicate<T> extends Object implements EPredicate<T>
EPredicate that always returns a specified value, true or false.
Useful in scenarios using the Null Object and Chain of Command patterns and
in testing.| Constructor and Description |
|---|
ConstantPredicate(boolean result) |
Copyright © 2013 Atomic Leopard. All Rights Reserved.