Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for table (0.15 sec)

  1. android/guava/src/com/google/common/collect/Table.java

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashBasedTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testIterationOrder() {
        Table<String, String, String> table = HashBasedTable.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<String, Integer, Character> makeTable();
    
        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
       * ordering of all views in the returned table. Note that some views of the original table and the
       * copied table may have different iteration orders. For more control over the ordering, create a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowTest.java

      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        return Tables.unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java

      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        Table<Integer, String, String> original = HashBasedTable.create();
        return Tables.transformValues(original, FIRST_CHARACTER);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, String> table = HashBasedTable.create();
        table.put(1, "foo", "apple");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      public void testToTable() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, HashBasedTable::create);
        BiPredicate<Table<String, String, Integer>, Table<String, String, Integer>> equivalence =
            pairwiseOnResultOf(Table::cellSet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              }
            }
          }
          table = newTable;
          this.count = newCount;
        }
    
        boolean replace(K key, int hash, V oldValue, V newValue) {
          lock();
          try {
            preWriteCleanup();
    
            AtomicReferenceArray<E> table = this.table;
            int index = hash & (table.length() - 1);
            E first = table.get(index);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

        return Collector.of(
            tableSupplier,
            (table, input) ->
                mergeTables(
                    table,
                    rowFunction.apply(input),
                    columnFunction.apply(input),
                    valueFunction.apply(input),
                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

      }
    
      /** Fast matcher using a {@link BitSet} table of matching characters. */
      @GwtIncompatible // used only from other GwtIncompatible code
      private static final class BitSetMatcher extends NamedFastMatcher {
    
        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top