Interface ContainerContext

All Known Subinterfaces:
PositionBasedContext<T>, ValueBasedContext<T>
All Known Implementing Classes:
IntervalContext, KeySetContext, UnknownContext

public interface ContainerContext
A context definition for distinguishing individual elements inside a container
Author:
Steven Arzt
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the context definition
    boolean
    Returns whether this entails other.
    boolean
    Gets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation.
  • Method Details

    • containsInformation

      boolean containsInformation()
      Returns whether the context definition
      Returns:
      true if it still restricts
    • isImprecise

      boolean isImprecise()
      Gets whether the given context is imprecise, for example, because the context is built conditionally through multiple paths or the value itself contains some approximation. Users of this context should respect this flag and refrain from performing strong updates.
      Returns:
      true if the context is imprecise
    • entails

      boolean entails(ContainerContext other)
      Returns whether this entails other.
      Parameters:
      other - other context definition
      Returns:
      true if this entails other