/** @see LenskitConfigContext#bind(Class, Class) */ @Override public <T> LenskitBinding<T> bind(Class<? extends Annotation> qual, Class<T> type) { return context.bind(qual, type); }
/** @see LenskitConfigContext#bind(Class) */ @Override public <T> LenskitBinding<T> bind(Class<T> type) { return context.bind(type); }
@Override public <T> LenskitBinding<T> bind(Class<T> type) { return wrapContext(bindings.getRootContext()).bind(type); }
/** @see LenskitConfigContext#bind(Class, Class) */ @Override public <T> LenskitBinding<T> bind(Class<? extends Annotation> qual, Class<T> type) { return context.bind(qual, type); }
/** @see LenskitConfigContext#bind(Class) */ @Override public <T> LenskitBinding<T> bind(Class<T> type) { return context.bind(type); }
config.bind(NeighborFinder.class).to(LiveNeighborFinder.class); config.within(UserSimilarity.class) .bind(VectorSimilarity.class) .to(PearsonCorrelation.class);
@Override public <T> LenskitBinding<T> bind(Class<T> type) { return wrapContext(bindings.getRootContext()).bind(type); }
try { config.within(ItemSimilarity.class). bind(VectorSimilarity.class). to((Class<? extends VectorSimilarity>) Class.forName(getProperties().getProperty(RecommendationRunner.SIMILARITY))); } catch (ClassNotFoundException e) {