Package org.apache.commons.collections.functors

Examples of org.apache.commons.collections.functors.PredicateTransformer


    if (conventions == null) conventions = new ArrayList<Convention>();
    return conventions;
  }
 
  public Collection<ModelConvention> getModelConventions() {
    Transformer transformer = new PredicateTransformer(new InstanceofPredicate(ModelConvention.class));
    return CollectionUtils.transformedCollection(getConventions(), transformer);
  }
View Full Code Here


    Transformer transformer = new PredicateTransformer(new InstanceofPredicate(ModelConvention.class));
    return CollectionUtils.transformedCollection(getConventions(), transformer);
  }
 
  public Collection<KernelConvention> getKernelConventions() {
    Transformer transformer = new PredicateTransformer(new InstanceofPredicate(KernelConvention.class));
    return CollectionUtils.transformedCollection(getConventions(), transformer);
  }
View Full Code Here

TOP

Related Classes of org.apache.commons.collections.functors.PredicateTransformer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.