@Override public V getFrom(final NamespaceStorageNode storage, final K key) { return delegate.getFrom(storage, key); }
final <V> boolean isRequestedValue(final NamespaceBehaviour<K, ? , ?> behavior, final NamespaceStorageNode storage, final V value) { return value == behavior.getFrom(getCtxNode(), key); }
public final <K, V, N extends IdentifierNamespace<K, V>> Optional<Entry<K, V>> getFromNamespace( final Class<N> type, final NamespaceKeyCriterion<K> criterion) { return getBehaviourRegistry().getNamespaceBehaviour(type).getFrom(this, criterion); }
/** * Return a value associated with specified key within a namespace. * * @param type Namespace type * @param key Key * @param <K> namespace key type * @param <V> namespace value type * @param <N> namespace type * @param <T> key type * @return Value, or null if there is no element * @throws NamespaceNotAvailableException when the namespace is not available. */ public final <K, V, T extends K, N extends IdentifierNamespace<K, V>> V getFromNamespace(final Class<N> type, final T key) { return getBehaviourRegistry().getNamespaceBehaviour(type).getFrom(this, key); }