com.carrotsearch.hppc.predicates
Class GuavaPredicateAdapter<KType>

java.lang.Object
  extended by com.carrotsearch.hppc.predicates.GuavaPredicateAdapter<KType>
All Implemented Interfaces:
ObjectPredicate<KType>

public class GuavaPredicateAdapter<KType>
extends java.lang.Object
implements ObjectPredicate<KType>

An adapter between Guava's Predicate and HPPC's ObjectPredicate.


Constructor Summary
GuavaPredicateAdapter(com.google.common.base.Predicate<? super KType> predicate)
           
 
Method Summary
 boolean apply(KType value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuavaPredicateAdapter

public GuavaPredicateAdapter(com.google.common.base.Predicate<? super KType> predicate)
Method Detail

apply

public boolean apply(KType value)
Specified by:
apply in interface ObjectPredicate<KType>


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.