public final class SetUtils extends Object
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.
|
public static String[] prefixSet(Set<String> set, String prefix)
set
- a Set of Strings (assumed to all be non-null
)prefix
- the prefix to look for in the string setCopyright © 1999-2017. 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.