Example usage for org.apache.commons.collections.functors NotPredicate getPredicates

List of usage examples for org.apache.commons.collections.functors NotPredicate getPredicates

Introduction

In this page you can find the example usage for org.apache.commons.collections.functors NotPredicate getPredicates.

Prototype

public Predicate[] getPredicates() 

Source Link

Document

Gets the predicate being decorated.

Usage

From source file:org.springmodules.validation.valang.javascript.ValangJavaScriptTranslator.java

void visit(NotPredicate p) throws IOException {
    Assert.isTrue(p.getPredicates().length == 1);
    append("! (");
    doVisit(p.getPredicates()[0]);/*from   ww w .j a va 2  s. c  o  m*/
    append(')');
}