示例#1
0
 @Override
 public <T> Iterable<? extends T> all(TypeToken<T> type, Predicate<? super T> predicate) {
   return registry.all(type, predicate);
 }
示例#2
0
 @Override
 public <T> boolean each(
     TypeToken<T> type, Predicate<? super T> predicate, Action<? super T> action)
     throws Exception {
   return registry.each(type, predicate, action);
 }
示例#3
0
 @Override
 public <O> Iterable<? extends O> getAll(TypeToken<O> type) {
   return registry.getAll(type);
 }
示例#4
0
 @Nullable
 @Override
 public <T> T first(TypeToken<T> type, Predicate<? super T> predicate) {
   return registry.first(type, predicate);
 }
示例#5
0
 @Override
 public <O> O get(TypeToken<O> type) throws NotInRegistryException {
   return registry.get(type);
 }
示例#6
0
 @Override
 @Nullable
 public <O> O maybeGet(TypeToken<O> type) {
   return registry.maybeGet(type);
 }
示例#7
0
 @Override
 @Nullable
 public <O> O maybeGet(Class<O> type) {
   return registry.maybeGet(type);
 }
示例#8
0
 @Override
 public <O> void remove(Class<O> type) throws NotInRegistryException {
   registry.remove(type);
 }
示例#9
0
 @Override
 public <O> void registerLazy(Class<O> type, Factory<? extends O> factory) {
   registry.registerLazy(type, factory);
 }
示例#10
0
 @Override
 public void register(Object object) {
   registry.register(object);
 }
示例#11
0
 @Override
 public <O> void register(Class<O> type, O object) {
   registry.register(type, object);
 }