Class MultimapWrapper

java.lang.Object
com.conveyal.object_differ.MultimapWrapper

public class MultimapWrapper extends Object
Enable comparison of Guava Multimaps, treating them as maps from keys to Collections of values. Created by abyrd on 2018-11-02
  • Constructor Details

    • MultimapWrapper

      public MultimapWrapper(com.google.common.collect.Multimap multimap)
  • Method Details

    • allKeys

      public Iterable<?> allKeys()
    • containsKey

      public boolean containsKey(Object key)
    • get

      public Object get(Object key)
    • size

      public int size()
    • getNoEntryValue

      public Object getNoEntryValue()
      Returns:
      the value this map uses to represent a missing entry. This is usually null but must be a numeric value for primitive maps.