Class CollectionUtils

java.lang.Object
org.apache.gravitino.utils.CollectionUtils

public class CollectionUtils extends Object
Utility class for working with collection.
  • Method Details

    • isEqualCollection

      public static boolean isEqualCollection(Collection<?> c1, Collection<?> c2)
      Returns true if the two collections are equal.
      Parameters:
      c1 - the first collection, may be null
      c2 - the second collection, may be null
      Returns:
      true if the two collections are equal