Interface CompositeMapAccessor<T>

Type Parameters:
T - the value type
All Superinterfaces:
MapAccessor<T>
All Known Implementing Classes:
SetValueMapAccessor

public interface CompositeMapAccessor<T> extends MapAccessor<T>
CompositeMapAccessor composes one or more MapAccessors.
Author:
Werner Randelshofer
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Serial version UID:
      See Also:
  • Method Details

    • containsKey

      default boolean containsKey(Map<Key<?>,Object> map)
      Description copied from interface: MapAccessor
      Whether the map contains all keys required by this map accessor.
      Specified by:
      containsKey in interface MapAccessor<T>
      Parameters:
      map - a map
      Returns:
      true if map contains all keys required by this map accessor.
    • getSubAccessors

      ImmutableSequencedSet<MapAccessor<?>> getSubAccessors()
      Gets all MapAccessors that this accessor is composing.
      Returns:
      the sub-accessors