21 package org.matsim.core.modal;
23 import java.lang.annotation.Annotation;
25 import com.google.inject.Key;
26 import com.google.inject.TypeLiteral;
34 default <T> Key<T>
key(Class<T> type, String mode) {
35 return Key.get(type,
mode(mode));
38 default <T> Key<T>
key(TypeLiteral<T> typeLiteral, String mode) {
39 return Key.get(typeLiteral,
mode(mode));
default< T > Key< T > key(TypeLiteral< T > typeLiteral, String mode)
default< T > Key< T > key(Class< T > type, String mode)