Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for columnKeySet (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForColumnKeySet(table, elements);
                        return table.columnKeySet();
                      }
                    })
                .named("ArrayTable.columnKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForColumnKeySet(table, elements);
                        return table.columnKeySet();
                      }
                    })
                .named("ArrayTable.columnKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                'X');
        assertEquals("[20, 15, 10, 5, 3, 2, 1]", table.columnKeySet().toString());
      }
    
      public void testColumnKeySet_empty() {
        table = create();
        assertEquals("[]", table.columnKeySet().toString());
      }
    
      public void testColumnKeySet_oneRow() {
        table = create("a", 2, 'X', "a", 1, 'X');
        assertEquals("[1, 2]", table.columnKeySet().toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertThat(copy.cellSet()).containsExactlyElementsIn(original.cellSet()).inOrder();
        assertThat(copy.rowKeySet()).containsExactlyElementsIn(original.rowKeySet()).inOrder();
        assertThat(copy.columnKeySet()).containsExactlyElementsIn(original.columnKeySet()).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Mind-bogglingly slow in GWT
      @AndroidIncompatible // slow
      public void testOverflowCondition() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public Set<R> rowKeySet() {
          return fromTable.rowKeySet();
        }
    
        @Override
        public Set<C> columnKeySet() {
          return fromTable.columnKeySet();
        }
    
        @Override
        Collection<V2> createValues() {
          return Collections2.transform(fromTable.values(), function);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        Table<String, Integer, Character> transpose = transpose(original);
        original.put(1, "foo", 'a');
        assertSame(original.columnKeySet(), transpose.rowKeySet());
        assertSame(original.rowKeySet(), transpose.columnKeySet());
        assertSame(original.columnMap(), transpose.rowMap());
        assertSame(original.rowMap(), transpose.columnMap());
        assertSame(original.values(), transpose.values());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

       * table.rowKeySet()} and the column keys in {@code table.columnKeySet()}. Calling {@link #put}
       * with other keys leads to an {@code IllegalArgumentException}.
       *
       * <p>The ordering of {@code table.rowKeySet()} and {@code table.columnKeySet()} determines the
       * row and column iteration ordering of the returned table.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

        checkNotNull(columnKey, "columnKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of());
      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<R, V>} instances in the returned map are {@link ImmutableMap} instances
       * as well.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertEquals(ImmutableMap.of(), testTable.column(0));
        assertEquals(ImmutableMap.of('a', "blah"), testTable.column(1));
      }
    
      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(1), testTable.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap());
      }
    
      public void testRow() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testColumnSetPartialOverlap() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
        assertThat(table.columnKeySet()).containsExactly(1, 2, 3);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerInstance() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top