- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 199 for ImmutableSet (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
} @GwtIncompatible // ArrayTable public void testEqualsObjectNullValues() { new EqualsTester() .addEqualityGroup(INSTANCE) .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) .testEquals(); } public void testToString() { assertEquals("{}", INSTANCE.toString()); } public void testSize() { assertEquals(0, INSTANCE.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Set<Set<Integer>> expected = newHashSet(); expected.add(ImmutableSet.<Integer>of()); expected.add(ImmutableSet.of(1)); expected.add(ImmutableSet.of(2)); expected.add(ImmutableSet.of(3)); expected.add(ImmutableSet.of(1, 2)); expected.add(ImmutableSet.of(1, 3)); expected.add(ImmutableSet.of(2, 3)); expected.add(ImmutableSet.of(1, 2, 3));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
if (mapEntries.isEmpty()) { return of(); } ImmutableMap.Builder<K, ImmutableSet<V>> builder = new ImmutableMap.Builder<>(mapEntries.size()); int size = 0; for (Entry<K, ImmutableCollection.Builder<V>> entry : mapEntries) { K key = entry.getKey(); ImmutableSet.Builder<? extends V> values = (ImmutableSet.Builder<V>) entry.getValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
import java.util.function.Consumer; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> { abstract E get(int index); @Override public UnmodifiableIterator<E> iterator() { return asList().iterator(); } @Override public Spliterator<E> spliterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// invalidate setToTest wrappedSet.remove(1); // sanity check on update of wrappedSet assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet); ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3} // sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING; private static final Set<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS = Sets.difference( ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM)); private double[] dataset; @Override protected void setUp() { dataset = new double[DATASET_SIZE]; for (int i = 0; i < DATASET_SIZE; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
*/ public ImmutableSet<ResourceInfo> scanResources(Set<File> scannedFiles) throws IOException { ImmutableSet.Builder<ResourceInfo> builder = ImmutableSet.builder(); scannedFiles.add(home); scan(home, scannedFiles, builder); return builder.build(); } private void scan(File file, Set<File> scannedUris, ImmutableSet.Builder<ResourceInfo> builder)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
if (mapEntries.isEmpty()) { return of(); } ImmutableMap.Builder<K, ImmutableSet<V>> builder = new ImmutableMap.Builder<>(mapEntries.size()); int size = 0; for (Entry<K, ImmutableCollection.Builder<V>> entry : mapEntries) { K key = entry.getKey(); ImmutableSet.Builder<? extends V> values = (ImmutableSet.Builder<V>) entry.getValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
} public void testCreate_empty() { assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.closedOpen(1, 1), integers())); assertEquals(ImmutableSet.of(), ContiguousSet.closedOpen(1, 1)); assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers())); assertEquals( ImmutableSet.of(), ContiguousSet.create(Range.lessThan(Integer.MIN_VALUE), integers())); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected Set<String> create(String[] elements) { return ImmutableSet.copyOf(elements); } } public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator { @Override protected Set<String> create(String[] elements) { ImmutableSet.Builder<String> builder = ImmutableSet.builder(); for (String e : elements) { builder.add(e); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0)