Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for rowKeySet (0.18 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-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Map<C, V> row(R rowKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.row(rowKey);
        }
    
        @Override
        public Set<R> rowKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowKeySet();
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowMap();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Map<C, V> row(R rowKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.row(rowKey);
        }
    
        @Override
        public Set<R> rowKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowKeySet();
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowMap();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top