public Match get(final IAddress addr, final ESide side) {
    if (addr == null) {
      return null;
    }
    final long plainAddress = addr.toLong();
    final Map<Long, Match> rowOrColumn =
        ESide.PRIMARY.equals(side) ? store.row(plainAddress) : store.column(plainAddress);
    final Collection<Match> matches = rowOrColumn.values();
    return !matches.isEmpty() ? matches.iterator().next() : null;
  }
Dual indexed container for storing BinDiff matches and optional associated metadata. This is a
thin wrapper around Guava's Table class and indexes primary and secondary addresses.

@param <Match> type of the match to store. Useful for associating additional data to matches.
java/ui/src/main/java/com/google/security/zynamics/bindiff/types/Matches.java