org.hudsonci.maven.plugin.dependencymonitor.internal
Class CollectionsHelper

java.lang.Object
  extended by org.hudsonci.maven.plugin.dependencymonitor.internal.CollectionsHelper

public class CollectionsHelper
extends Object

Collection helpers.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
CollectionsHelper()
           
 
Method Summary
static boolean containsAny(Collection bag1, Collection bag2)
          Check to see if bag1 contains any elements from bag2.
static boolean differs(Collection bag1, Collection bag2)
          Check to see if bag1 contains the same elements from bag2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionsHelper

public CollectionsHelper()
Method Detail

containsAny

public static boolean containsAny(Collection bag1,
                                  Collection bag2)
Check to see if bag1 contains any elements from bag2.


differs

public static boolean differs(Collection bag1,
                              Collection bag2)
Check to see if bag1 contains the same elements from bag2.



Copyright © 2004-2011 Hudson. All Rights Reserved.