public final class ExistsOperationValidator extends OperationValidator
FilterOperator.EXISTS
operator applied to it. Since this class does not need state, and the
methods can't be static because it implements an interface, it seems to be one of the few places where the Singleton pattern seems
appropriate.Modifier and Type | Method and Description |
---|---|
static ExistsOperationValidator |
getInstance()
Get the instance.
|
apply
public static ExistsOperationValidator getInstance()
Copyright © 2016. All rights reserved.