- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 594 for It (0.17 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
if (index >= 0) { return inclusive ? index : index + 1; } else { return ~index; } } // Pretend the comparator can compare anything. If it turns out it can't // compare two elements, it'll throw a CCE. Only methods that are specified to // throw CCE should call this. @SuppressWarnings("unchecked") Comparator<Object> unsafeComparator() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
* parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case. */ @GwtCompatible(emulated = true) final class LenientSerializableTester { /* * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so * that it can be GWTified? */ @CanIgnoreReturnValue @GwtIncompatible // SerializableTester
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingListIterator.java
* default} methods. Specifically, it forwards calls only for methods that existed <a * href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code * default} methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it * inherits their default implementations. When those implementations invoke methods, they invoke
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
TestByteSink okSink = new TestByteSink(); assertThrows(IOException.class, () -> failSource.copyTo(okSink)); // ensure stream was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newInputStream() throws). assertTrue( "stream not closed when copying from source with option: " + option,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java
try { executor.execute(listener); } catch (Exception e) { // sneaky checked exception // ListenableFuture's contract is that it will not throw unchecked exceptions, so log the bad // runnable and/or executor and swallow it. log.get() .log( Level.SEVERE, "RuntimeException while executing runnable " + listener
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
} catch (NullPointerException expected) { } } /** * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the * code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
public FakeTicker advance(Duration duration) { return advance(duration.toNanos()); } /** * Sets the increment applied to the ticker whenever it is queried. * * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when * queried. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* This classloader disallows AtomicReferenceFieldUpdater and AtomicIntegerFieldUpdate which will * prevent us from selecting our {@code SafeAtomicHelper} strategy. * * <p>Stashing this in a static field avoids loading it over and over again and speeds up test * execution significantly. */ private static final ClassLoader NO_ATOMIC_FIELD_UPDATER = getClassLoader( ImmutableSet.of(
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
} dummy ^= sb.toString().length(); } return dummy; } /** * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate * implementation for Joiner since it fails on leading empty components. */ @Benchmark int stringBuilderIsEmpty(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.9K bytes - Viewed (0)