org.apache.jcs.engine.match
Class KeyMatcherPatternImpl<K extends Serializable>

java.lang.Object
  extended by 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

Constructor Summary
KeyMatcherPatternImpl()
           
 
Method Summary
 Set<K> getMatchingKeysFromArray(String pattern, Set<K> keyArray)
          Creates a pattern and find matches on the array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyMatcherPatternImpl

public KeyMatcherPatternImpl()
Method Detail

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.