org.jclouds.util
Class Predicates2

java.lang.Object
  extended by org.jclouds.util.Predicates2

public class Predicates2
extends Object


Constructor Summary
Predicates2()
           
 
Method Summary
static com.google.common.base.Predicate<String> endsWith(String suffix)
          Returns a predicate that evaluates to true if the String being tested ends with a prefix.
static com.google.common.base.Predicate<String> startsWith(String prefix)
          Returns a predicate that evaluates to true if the String being tested starts with a prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Predicates2

public Predicates2()
Method Detail

startsWith

public static com.google.common.base.Predicate<String> startsWith(String prefix)
Returns a predicate that evaluates to true if the String being tested starts with a prefix.


endsWith

public static com.google.common.base.Predicate<String> endsWith(String suffix)
Returns a predicate that evaluates to true if the String being tested ends with a prefix.



Copyright © 2009-2013 jclouds. All Rights Reserved.