Class BinaryConditionProfile

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class BinaryConditionProfile
    extends ConditionProfile
    Utility class to speculate on conditions to be never true or to be never false. Condition profiles are intended to be used as part of if conditions.
    See Also:
    ConditionProfile.createBinaryProfile()
    • Method Detail

      • wasTrue

        public boolean wasTrue()
      • wasFalse

        public boolean wasFalse()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object