- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 365 for seront (0.03 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); final long startNanos = System.nanoTime(); final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(() -> { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
keyStrength = checkNotNull(strength); if (strength != Strength.STRONG) { // STRONG could be used during deserialization. useCustomMap = true; } return this; } Strength getKeyStrength() { return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); } /** * Specifies that each value (not key) stored in the map should be wrapped in a {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
if (first == null) { actionWhenFirstParamIsNull.act(); } if (second == null) { actionWhenSecondParamIsNull.act(); } } /** Two-arg method with no Nullable params. */ public void normalNormal(String first, Integer second) { reactToNullParameters(first, second); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0; } else if (first == null) { return -1; } else if (second == null) { return 1; } else if (first.length() != second.length()) { return first.length() - second.length(); } else { return first.compareTo(second); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lock2 = factory2.newReentrantLock(MyOrder.SECOND); lock3 = factory2.newReentrantLock(MyOrder.THIRD); CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 = newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW); lock01 = factory3.newReentrantLock(OtherOrder.FIRST); lock02 = factory3.newReentrantLock(OtherOrder.SECOND); lock03 = factory3.newReentrantLock(OtherOrder.THIRD); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lock2 = factory2.newReentrantLock(MyOrder.SECOND); lock3 = factory2.newReentrantLock(MyOrder.THIRD); CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 = newInstanceWithExplicitOrdering(OtherOrder.class, Policies.THROW); lock01 = factory3.newReentrantLock(OtherOrder.FIRST); lock02 = factory3.newReentrantLock(OtherOrder.SECOND); lock03 = factory3.newReentrantLock(OtherOrder.THIRD); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple5.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
*/ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) { return true; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* as a false predicate is found. * * <p><b>Discouraged:</b> Prefer using {@code first.and(second)}. */ public static <T extends @Nullable Object> Predicate<T> and( Predicate<? super T> first, Predicate<? super T> second) { return new AndPredicate<>(Predicates.<T>asList(checkNotNull(first), checkNotNull(second))); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0)