Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ArrayTable (0.07 sec)

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

       */
      @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types?
      public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) {
        return (table instanceof ArrayTable)
            ? new ArrayTable<R, C, V>((ArrayTable<R, C, V>) table)
            : new ArrayTable<R, C, V>(table);
      }
    
      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayTableColumnMapTest.java

    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableColumnMapTest extends ColumnMapTests {
      public ArrayTableColumnMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        return ArrayTable.create(asList(1, 2, 3), asList("foo", "bar", "dog"));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        Table<String, Integer, Character> table =
                            ArrayTable.create(ImmutableList.copyOf(elements), ImmutableList.of(1, 2));
                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        Table<String, Integer, Character> table =
                            ArrayTable.create(ImmutableList.copyOf(elements), ImmutableList.of(1, 2));
                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.TableCollectionTest.ColumnTests;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableColumnTest extends ColumnTests {
      public ArrayTableColumnTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Map;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    public class ArrayTableRowTest extends RowTests {
      public ArrayTableRowTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

            .addEqualityGroup(nonEmptyTable)
            .testEquals();
      }
    
      @GwtIncompatible // ArrayTable
      public void testEqualsObjectNullValues() {
        new EqualsTester()
            .addEqualityGroup(INSTANCE)
            .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1)))
            .testEquals();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

            .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, "")))
            .testEquals();
      }
    
      @GwtIncompatible // ArrayTable
      public void testEqualsObjectNullValues() {
        new EqualsTester()
            .addEqualityGroup(testTable)
            .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1)))
            .testEquals();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top