edu.mit.jverbnet.util
Interface Checks.IMask<S>
- Type Parameters:
S
- the superclass of the objects dealt with by this mask
- All Superinterfaces:
- Checks.ICondition<S>
- All Known Implementing Classes:
- Checks.Mask
- Enclosing class:
- Checks
public static interface Checks.IMask<S>
- extends Checks.ICondition<S>
A mask object provides the ability to substitute different values for
a specified object if it matches the condition.
- Since:
- JVerbnet 1.0.0
- Version:
- 1.0.0
- Author:
- Mark A. Finlayson
Method Summary |
|
mask(T value,
T mask)
Returns the mask value if the specified value satisfies the
condition; otherwise, the original value. |
mask
<T extends S> T mask(T value,
T mask)
- Returns the mask value if the specified value satisfies the
condition; otherwise, the original value.
- Parameters:
value
- the value to be masked, if necessarymask
- the mask value
- Returns:
- the mask value if the specified value satisfies the
condition; otherwise, the original value.
- Since:
- JVerbnet 1.0.0
Copyright © 2012 ${project.organization.name}. All Rights Reserved.