Class ManyToManyMapUtil

java.lang.Object
com.github.tadukoo.util.map.ManyToManyMapUtil

public final class ManyToManyMapUtil extends Object
Util functions for dealing with ManyToManyMaps.
Version:
Alpha v.0.2
Author:
Logan Ferree (Tadukoo)
  • Constructor Details

    • ManyToManyMapUtil

      private ManyToManyMapUtil()
      Not allowed to make a ManyToManyMapUtil
  • Method Details

    • isBlank

      public static boolean isBlank(ManyToManyMap<?,?> map)
      Checks if the given ManyToManyMap is blank (either null or an empty manyToManyMap).
      Parameters:
      map - The ManyToManyMap to check
      Returns:
      true if the ManyToManyMap is null or empty
    • isNotBlank

      public static boolean isNotBlank(ManyToManyMap<?,?> map)
      Checks if the given ManyToManyMap is NOT blank (blank = either null or an empty manyToManyMap).
      Parameters:
      map - The ManyToManyMap to check
      Returns:
      true if the ManyToManyMap is not null and not empty