org.softsmithy.lib.util
Class Matchers

java.lang.Object
  extended by org.softsmithy.lib.util.Matchers

public class Matchers
extends Object

Author:
puce

Method Summary
static
<T> void
unwrap(Collection<MatchableObject<T>> inputCollection, Collection<T> outputCollection)
           
static
<T> List<T>
unwrap(List<MatchableObject<T>> list)
           
static
<T> Set<T>
unwrap(Set<MatchableObject<T>> list)
           
static
<T> void
wrap(Collection<T> inputCollection, Collection<MatchableObject<T>> outputCollection, Matcher<T> matcher)
           
static
<T> List<MatchableObject<T>>
wrap(List<T> list, Matcher<T> matcher)
           
static
<T> Set<MatchableObject<T>>
wrap(Set<T> list, Matcher<T> matcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrap

public static <T> List<MatchableObject<T>> wrap(List<T> list,
                                                Matcher<T> matcher)
                                     throws MatchingException
Throws:
MatchingException

unwrap

public static <T> List<T> unwrap(List<MatchableObject<T>> list)

wrap

public static <T> Set<MatchableObject<T>> wrap(Set<T> list,
                                               Matcher<T> matcher)
                                    throws MatchingException
Throws:
MatchingException

unwrap

public static <T> Set<T> unwrap(Set<MatchableObject<T>> list)

wrap

public static <T> void wrap(Collection<T> inputCollection,
                            Collection<MatchableObject<T>> outputCollection,
                            Matcher<T> matcher)
                 throws MatchingException
Throws:
MatchingException

unwrap

public static <T> void unwrap(Collection<MatchableObject<T>> inputCollection,
                              Collection<T> outputCollection)


Copyright © 2002-2011 SoftSmithy. All Rights Reserved.