org.apache.jcs.engine.match
Class KeyMatcherPatternImpl<K extends Serializable>
java.lang.Object
org.apache.jcs.engine.match.KeyMatcherPatternImpl<K>
- All Implemented Interfaces:
- Serializable, IKeyMatcher<K>
public class KeyMatcherPatternImpl<K extends Serializable>
- extends Object
- implements IKeyMatcher<K>
This implementation of the KeyMatcher uses standard Java Pattern matching.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyMatcherPatternImpl
public KeyMatcherPatternImpl()
getMatchingKeysFromArray
public Set<K> getMatchingKeysFromArray(String pattern,
Set<K> keyArray)
- Creates a pattern and find matches on the array.
- Specified by:
getMatchingKeysFromArray in interface IKeyMatcher<K extends Serializable>
- Parameters:
pattern - keyArray -
- Returns:
- Set of the matching keys
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.