Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for rowKeySet (0.06 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/src/com/google/common/collect/StandardRowSortedTable.java

     * single row key may or may not be ordered, depending on the implementation. When rows and columns
     * are both sorted, it's easier to use the {@link TreeBasedTable} subclass.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/collect/ForwardingTable.java

      }
    
      @Override
      public Map<C, V> row(@ParametricNullness R rowKey) {
        return delegate().row(rowKey);
      }
    
      @Override
      public Set<R> rowKeySet() {
        return delegate().rowKeySet();
      }
    
      @Override
      public Map<R, Map<C, V>> rowMap() {
        return delegate().rowMap();
      }
    
      @Override
      public int size() {
        return delegate().size();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top