Class AdapterUtils

java.lang.Object
tools.refinery.store.adapter.AdapterUtils

public class AdapterUtils extends Object
  • Method Details

    • tryGetAdapter

      public static <T, U extends T> Optional<U> tryGetAdapter(Collection<T> adapters, Class<? extends U> type)
    • getAdapter

      public static <T> T getAdapter(Collection<? super T> adapters, Class<T> type)