Class ConstraintTrace

    • Field Detail

      • storageOptimised

        protected final java.util.Set<Constraint> storageOptimised
    • Constructor Detail

      • ConstraintTrace

        public ConstraintTrace()
      • ConstraintTrace

        public ConstraintTrace​(boolean concurrent)
        Parameters:
        concurrent -
        Since:
        1.6
    • Method Detail

      • addAll

        public void addAll​(java.util.Collection<? extends ConstraintTrace> others)
        Parameters:
        others -
        Since:
        1.6
      • addAll

        public void addAll​(ConstraintTrace... others)
        Parameters:
        others -
        Since:
        1.6
      • addCheckedOptimised

        public void addCheckedOptimised​(Constraint constraint)
        Indicates that this constraint was checked in an optimised manner, so we only have the trace items for the invalid items and anything else is considered checked and valid.
      • addChecked

        public void addChecked​(Constraint constraint,
                               java.lang.Object object,
                               boolean result)
      • isChecked

        public boolean isChecked​(Constraint constraint,
                                 java.lang.Object instance)
      • isSatisfied

        public boolean isSatisfied​(Constraint constraint,
                                   java.lang.Object instance)
      • clear

        public void clear()
        Since:
        1.6
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        Since:
        1.6
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
        Since:
        1.6