- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RegularImmutableTable (0.1 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableTable.java
/** * An implementation of {@link ImmutableTable} holding an arbitrary number of cells. * * @author Gregory Kick */ @GwtCompatible abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> { RegularImmutableTable() {} abstract Cell<R, C, V> getCell(int iterationIndex); @Override final ImmutableSet<Cell<R, C, V>> createCellSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 08 13:05:15 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
switch (size) { case 0: return of(); case 1: return new SingletonImmutableTable<>(getOnlyElement(cells)); default: return RegularImmutableTable.forCells(cells, rowComparator, columnComparator); } } } ImmutableTable() {} @Override public ImmutableSet<Cell<R, C, V>> cellSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
assertFalse(testInstance.isEmpty()); } } public void testForCells() { assertTrue(RegularImmutableTable.forCells(CELLS) instanceof DenseImmutableTable<?, ?, ?>); assertTrue( RegularImmutableTable.forCells( ImmutableSet.of( immutableCell('a', 1, "blah"), immutableCell('b', 2, "blah"),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; /** A {@code RegularImmutableTable} optimized for sparse data. */ @GwtCompatible @Immutable(containerOf = {"R", "C", "V"}) final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> { static final ImmutableTable<Object, Object, Object> EMPTY = new SparseImmutableTable<>(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
switch (size) { case 0: return of(); case 1: return new SingletonImmutableTable<>(getOnlyElement(cells)); default: return RegularImmutableTable.forCells(cells, rowComparator, columnComparator); } } } ImmutableTable() {} @Override public ImmutableSet<Cell<R, C, V>> cellSet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0)