org.jclouds.util
Class Predicates2
java.lang.Object
org.jclouds.util.Predicates2
public class Predicates2
- extends Object
|
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 |
Predicates2
public Predicates2()
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.