Code example for HashMultimap

Methods: put

0
    Set<T> objects = (Set<T>) objectsForInterfaces.get(interfaceClass);
    return new ArrayList<>(objects);
  } 
 
  public void add(Class<?> interfaceClass, Object instance) {
    objectsForInterfaces.put(interfaceClass, instance);
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java