Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rowComparator (0.13 sec)

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

        }
      }
    
      static <R, C, V> RegularImmutableTable<R, C, V> forCells(
          List<Cell<R, C, V>> cells,
          @CheckForNull Comparator<? super R> rowComparator,
          @CheckForNull Comparator<? super C> columnComparator) {
        checkNotNull(cells);
        if (rowComparator != null || columnComparator != null) {
          /*
           * This sorting logic leads to a cellSet() ordering that may not be expected and that isn't
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeBasedTable.java

       *
       * @param rowComparator the comparator that orders the row keys
       * @param columnComparator the comparator that orders the column keys
       */
      public static <R, C, V> TreeBasedTable<R, C, V> create(
          Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
        checkNotNull(rowComparator);
        checkNotNull(columnComparator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

        public Builder() {}
    
        /** Specifies the ordering of the generated table's rows. */
        @CanIgnoreReturnValue
        public Builder<R, C, V> orderRowsBy(Comparator<? super R> rowComparator) {
          this.rowComparator = checkNotNull(rowComparator, "rowComparator");
          return this;
        }
    
        /** Specifies the ordering of the generated table's columns. */
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      protected TreeBasedTable<String, Integer, Character> create(
          Comparator<? super String> rowComparator,
          Comparator<? super Integer> columnComparator,
          Object... data) {
        TreeBasedTable<String, Integer, Character> table =
            TreeBasedTable.create(rowComparator, columnComparator);
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top