List of usage examples for org.apache.commons.collections4 MultiMapUtils unmodifiableMultiValuedMap
public static <K, V> MultiValuedMap<K, V> unmodifiableMultiValuedMap( final MultiValuedMap<? extends K, ? extends V> map)
UnmodifiableMultiValuedMap
backed by the given map. From source file:com.github.sevntu.checkstyle.ordering.MethodOrder.java
public MethodOrder(Dependencies dependencies) { this.methods = MapUtils.unmodifiableMap(getAllMethods(dependencies)); this.initialOrdering = ListUtils.unmodifiableList(getInitialMethodOrdering(methods)); this.currentOrdering = this.initialOrdering; final Map<ResolvedCall, MethodInvocation> callsToInvocations = getAllInvocations(dependencies, methods); this.invocations = SetUtils.unmodifiableSet(new HashSet<>(callsToInvocations.values())); this.invocationNesting = MultiMapUtils .unmodifiableMultiValuedMap(getMethodInvocationsNesting(callsToInvocations)); }