public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
public boolean isCached(R resolvable) { return resolved.getValueIfPresent(wrap(resolvable)) != null; }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }
/** * Get the possible beans for the given element * * @param resolvable The resolving criteria * @return An unmodifiable set of matching beans */ public F resolve(R resolvable, boolean cache) { R wrappedResolvable = wrap(resolvable); if (cache) { return resolved.getValue(wrappedResolvable); } else { return resolverFunction.apply(wrappedResolvable); } }