Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RegularImmutableTable (0.27 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableTable.java

     * An implementation of {@link ImmutableTable} holding an arbitrary number of cells.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. 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"})
    @ElementTypesAreNonnullByDefault
    final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      static final ImmutableTable<Object, Object, Object> EMPTY =
          new SparseImmutableTable<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. 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"})
    @ElementTypesAreNonnullByDefault
    final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      static final ImmutableTable<Object, Object, Object> EMPTY =
          new SparseImmutableTable<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top