Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for rowKeySet (0.09 sec)

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

        assertSame("bar", sortedTable.rowKeySet().first());
      }
    
      public void testRowKeySetLast() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("foo", sortedTable.rowKeySet().last());
      }
    
      public void testRowKeySetHeadSet() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Set<String> set = sortedTable.rowKeySet().headSet("cat");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      private static <R, C, V> void validateViewOrdering(Table<R, C, V> original, Table<R, C, V> copy) {
        assertThat(copy.cellSet()).containsExactlyElementsIn(original.cellSet()).inOrder();
        assertThat(copy.rowKeySet()).containsExactlyElementsIn(original.rowKeySet()).inOrder();
        assertThat(copy.values()).containsExactlyElementsIn(original.values()).inOrder();
      }
    
      public void testCopyOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .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)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .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)
  5. guava/src/com/google/common/collect/TreeBasedTable.java

          checkArgument(rangeContains(checkNotNull(key)));
          return super.put(key, value);
        }
      }
    
      // rowKeySet() and rowMap() are defined here so they appear in the Javadoc.
    
      @Override
      public SortedSet<R> rowKeySet() {
        return super.rowKeySet();
      }
    
      @Override
      public SortedMap<R, Map<C, V>> rowMap() {
        return super.rowMap();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        @Override
        Iterator<Cell<R, C, V2>> cellIterator() {
          return Iterators.transform(fromTable.cellSet().iterator(), cellFunction());
        }
    
        @Override
        public Set<R> rowKeySet() {
          return fromTable.rowKeySet();
        }
    
        @Override
        public Set<C> columnKeySet() {
          return fromTable.columnKeySet();
        }
    
        @Override
        Collection<V2> createValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

       *
       * <p>The returned table allows subsequent {@code put} calls with the row keys in {@code
       * 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(rowKey, "rowKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.<C, V>of());
      }
    
      @Override
      public ImmutableSet<R> rowKeySet() {
        return rowMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<C, 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. guava/src/com/google/common/collect/DenseImmutableTable.java

        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        int columnIndex = cellColumnIndices[index];
        R rowKey = rowKeySet().asList().get(rowIndex);
        C columnKey = columnKeySet().asList().get(columnIndex);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        int columnIndex = cellColumnIndices[index];
        R rowKey = rowKeySet().asList().get(rowIndex);
        C columnKey = columnKeySet().asList().get(columnIndex);
        // requireNonNull is safe because we use indexes that were populated by the constructor.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top