Uses of Interface
org.jppf.utils.ComparisonOperator
Packages that use ComparisonOperator
Package
Description
Utility and helper classes used throughout the JPPF code.
Utility and helper classes for concurrent programming.
-
Uses of ComparisonOperator in org.jppf.utils
Classes in org.jppf.utils that implement ComparisonOperatorModifier and TypeClassDescriptionenumEnumeration of the possible boolean operators that can be used as a comparison predicates for integer/long values. -
Uses of ComparisonOperator in org.jppf.utils.concurrent
Methods in org.jppf.utils.concurrent with parameters of type ComparisonOperatorModifier and TypeMethodDescriptionbooleanSynchronizedInteger.compareAndDecrement(ComparisonOperator operator, int expected) Compare the value with the expected value using the specified operator, and increment it if the comparison succeeds.booleanSynchronizedInteger.compareAndIncrement(ComparisonOperator operator, int expected) Compare the value with the expected value using the specified operator, and increment it if the comparison succeeds.booleanSynchronizedLong.compareAndRun(ComparisonOperator operator, long expected, Runnable action) Compare the value with the expected value, and run the action if they are equal.booleanSynchronizedInteger.compareAndSet(ComparisonOperator operator, int expectedUpdate) Compare the value with the expected update value using the specified operator, and set it to this update value if the comparison succeeds.booleanSynchronizedInteger.compareAndSet(ComparisonOperator operator, int expected, int update) Compare the value with the expected value using the specified operator, and set it to the update value if the comparison succeeds.booleanSynchronizedLong.compareAndSet(ComparisonOperator operator, long expectedUpdate) Compare the value with the expected update value using the specified operator, and set it to this update value if the comparison succeeds.booleanSynchronizedLong.compareAndSet(ComparisonOperator operator, long expected, long update) Compare the value with the expected value using the specified operator, and set it to the update value if the comparison succeeds.