- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
static String[] |
prefixSet(Set<String> set,
String prefix)
Extracts the Strings from a Set that start with a given prefix.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
prefixSet
public static String[] prefixSet(Set<String> set,
String prefix)
Extracts the Strings from a Set that start with a given prefix.
- Parameters:
set
- a Set of Strings (assumed to all be non-null
)prefix
- the prefix to look for in the string set
- Returns:
- an array of the matching strings from the given set
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 1999-2016 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.