Class MultiMapUtil

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

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

    Constructors
    Modifier
    Constructor
    Description
    private
    Not allowed to make a MultiMapUtil
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isBlank(MultiMap<?,?> map)
    Checks if the given MultiMap is blank (either null or an empty multiMap).
    static boolean
    isNotBlank(MultiMap<?,?> map)
    Checks if the given MultiMap is NOT blank (blank = either null or an empty multiMap).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MultiMapUtil

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

    • isBlank

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

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