Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for rows (0.38 sec)

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

        this.cellColumnInRowIndices = cellColumnInRowIndices;
        ImmutableMap.Builder<R, ImmutableMap<C, V>> rowBuilder =
            new ImmutableMap.Builder<>(rows.size());
        for (Entry<R, Map<C, V>> row : rows.entrySet()) {
          rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue()));
        }
        this.rowMap = rowBuilder.buildOrThrow();
    
        ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose iteration ordering across row keys is sorted by their
     * natural ordering or by a supplied comparator. Note that iterations across the columns keys for a
     * 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.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableTable.java

           * documented in the Javadoc. If a row Comparator is provided, cellSet() iterates across the
           * columns in the first row, the columns in the second row, etc. If a column Comparator is
           * provided but a row Comparator isn't, cellSet() iterates across the rows in the first
           * column, the rows in the second column, etc.
           */
          Comparator<Cell<R, C, V>> comparator =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RowSortedTable.java

    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Interface that extends {@code Table} and whose rows are sorted.
     *
     * <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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, value, or merging functions return null on any input.
    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)
  6. android/guava/src/com/google/common/collect/TreeBasedTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, value, or merging functions return null on any input.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

       *
       * <pre>{@code
       * Table<R, C, V> table = Tables.synchronizedTable(HashBasedTable.<R, C, V>create());
       * ...
       * Map<C, V> row = table.row(rowKey);  // Needn't be in synchronized block
       * ...
       * synchronized (table) {  // Synchronizing on table, not row!
       *   Iterator<Entry<C, V>> i = row.entrySet().iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top