- Sort Score
- Num 10 results
- Language All
Results 4241 - 4250 of 5,779 for classe (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java
import com.google.common.collect.testing.SortedMapInterfaceTest; import java.util.SortedMap; import org.jspecify.annotations.NullUnmarked; @GwtCompatible @NullUnmarked public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> { public TreeBasedTableRowMapInterfaceTest() { super(false, false, true, true, true); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interner.java
import com.google.errorprone.annotations.DoNotMock; /** * Provides similar behavior to {@link String#intern} for any immutable type. Common implementations * are available from the {@link Interners} class. * * <p>Note that {@code String.intern()} has some well-known performance limitations, and should * generally be avoided. Prefer {@link Interners#newWeakInterner} or another {@code Interner}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
import java.io.Serializable; import java.util.Arrays; import java.util.Comparator; import org.jspecify.annotations.Nullable; /** An ordering that tries several comparators in order. */ @GwtCompatible final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T> implements Serializable { final Comparator<? super T>[] comparators; @SuppressWarnings("unchecked") // Generic array creation
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Present.java
import java.util.Collections; import java.util.Set; import org.jspecify.annotations.Nullable; /** Implementation of an {@link Optional} containing a reference. */ @GwtCompatible final class Present<T> extends Optional<T> { private final T reference; Present(T reference) { this.reference = reference; } @Override public boolean isPresent() { return true; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
* * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SingletonImmutableTable.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Map; /** * An implementation of {@link ImmutableTable} that holds a single cell. * * @author Gregory Kick */ @GwtCompatible final class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> { final R singleRowKey; final C singleColumnKey; final V singleValue; SingletonImmutableTable(R rowKey, C columnKey, V value) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePeekTester<E> extends AbstractQueueTester<E> { @CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
/** * Quick and dirty benchmark of {@link Throwables#lazyStackTrace(Throwable)}. We benchmark a "caller * finder" implementation that might be used in a logging framework. */ @NullUnmarked public class LazyStackTraceBenchmark { @Param({"20", "200", "2000"}) int stackDepth; @Param({"-1", "3", "15"}) int breakAt; int recursionCount; private static final Object duh = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestOutputStream.java
} @Override public void write(int b) throws IOException { throwIf(closed); throwIf(WRITE_THROWS); super.write(b); } @Override public void close() throws IOException { closed = true; super.close(); throwIf(CLOSE_THROWS); } private void throwIf(TestOption option) throws IOException { throwIf(options.contains(option)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
/** * A skeletal implementation of {@code RangeSet}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtIncompatible abstract class AbstractRangeSet<C extends Comparable> implements RangeSet<C> { AbstractRangeSet() {} @Override public boolean contains(C value) { return rangeContaining(value) != null; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.4K bytes - Click Count (0)