Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for ColumnKeySet (0.06 seconds)

  1. guava/src/com/google/common/collect/StandardTable.java

      }
    
      @WeakOuter
      private final class ColumnKeySet extends TableSet<C> {
        @Override
        public Iterator<C> iterator() {
          return createColumnKeyIterator();
        }
    
        @Override
        public int size() {
          return Iterators.size(iterator());
        }
    
        @Override
        public boolean remove(@Nullable Object obj) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Tables.java

              this::applyToValue);
        }
    
        @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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  4. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/HashBasedTable.java

    import java.util.Map;
    
    /**
     * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration
     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/HashBasedTable.java

    import java.util.Map;
    
    /**
     * Implementation of {@link Table} using linked hash tables. This guarantees predictable iteration
     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

        return Maps.safeContainsKey(columnMap(), columnKey);
      }
    
      @Override
      public Set<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      @Override
      public Set<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                'X');
        assertThat(table.columnKeySet().toString()).isEqualTo("[20, 15, 10, 5, 3, 2, 1]");
      }
    
      public void testColumnKeySet_empty() {
        table = create();
        assertThat(table.columnKeySet().toString()).isEqualTo("[]");
      }
    
      public void testColumnKeySet_oneRow() {
        table = create("a", 2, 'X', "a", 1, 'X');
        assertThat(table.columnKeySet().toString()).isEqualTo("[1, 2]");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        Table<String, Integer, Character> transpose = transpose(original);
        original.put(1, "foo", 'a');
        assertThat(transpose.rowKeySet()).isSameInstanceAs(original.columnKeySet());
        assertThat(transpose.columnKeySet()).isSameInstanceAs(original.rowKeySet());
        assertThat(transpose.rowMap()).isSameInstanceAs(original.columnMap());
        assertThat(transpose.columnMap()).isSameInstanceAs(original.rowMap());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testColumn() {
        assertEquals(ImmutableMap.of(), INSTANCE.column(1));
      }
    
      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.columnMap());
      }
    
      public void testContains() {
        assertFalse(INSTANCE.contains('a', 1));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top