- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isFair (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair()); } public void testOccupiedMethods() { Monitor monitor = new Monitor(); verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair()); } public void testOccupiedMethods() { Monitor monitor = new Monitor(); verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
} } finally { lock.unlock(); // Will throw IllegalMonitorStateException if not held } } /** Returns whether this monitor is using a fair ordering policy. */ public boolean isFair() { return fair; } /** * Returns whether this monitor is occupied by any thread. This method is designed for use in * monitoring of the system state, not for synchronization control. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* * <p>Java 8+ users: you can get the equivalent from {@link Booleans#trueFirst()}. For example: * * <pre> * Comparator.comparing(Foo::isBar, {@link Booleans#trueFirst()}) * </pre> * * @since 12.0 */ public abstract ComparisonChain compareTrueFirst(boolean left, boolean right); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.1K bytes - Viewed (0)