tools.jce
Class Sets
java.lang.Object
tools.jce.Sets
- public class Sets
- extends Object
Provides some useful utitlity methods for operating
on sets and maps such as intersecting sets or resolving
sets against maps.
- Version:
- "$Id: Sets.java 1913 2007-08-08 02:41:53Z jpeters $"
- Author:
- Volker Roth
Constructor Summary |
private |
Sets()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sets
private Sets()
intersect
public static Set intersect(Collection s,
Collection t)
resolve
public static Set resolve(Collection s,
Map t)
prefixMatch
public static Set prefixMatch(String prefix,
Collection s)
- Extracts all Strings from set s that start with the
given prefix. Returns a new set. The given one remains
unmodified.
minus
public static Set minus(Collection s,
Collection t)
- Returns the set resulting from s-t.
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.