Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getColumnKey (0.08 sec)

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

                if (rowCompare != 0) {
                  return rowCompare;
                }
                return (columnComparator == null)
                    ? 0
                    : columnComparator.compare(cell1.getColumnKey(), cell2.getColumnKey());
              };
          sort(cells, comparator);
        }
        return forCellsInternal(cells, rowComparator, columnComparator);
      }
    
    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/SparseImmutableTable.java

        int[] cellColumnInRowIndices = new int[cellList.size()];
        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

            return Objects.equal(getRowKey(), other.getRowKey())
                && Objects.equal(getColumnKey(), other.getColumnKey())
                && Objects.equal(getValue(), other.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(getRowKey(), getColumnKey(), getValue());
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          @SuppressWarnings("unchecked")
                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          columnKeys.add(cell.getColumnKey());
                        }
                        Table<String, Integer, Character> table =
                            ArrayTable.create(ImmutableList.of("bar"), columnKeys);
                        for (Object element : elements) {
    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-tests/test/com/google/common/collect/TableCollectionTest.java

                          @SuppressWarnings("unchecked")
                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          columnKeys.add(cell.getColumnKey());
                        }
                        Table<String, Integer, Character> table =
                            ArrayTable.create(ImmutableList.of("bar"), columnKeys);
                        for (Object element : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        int[] cellColumnInRowIndices = new int[cellList.size()];
        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      public void testToImmutableTableSanityTest() {
        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue);
        CollectorTester.of(collector)
            .expectCollects(ImmutableTable.of())
            .expectCollects(ImmutableTable.of("one", "uno", 1), immutableCell("one", "uno", 1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

        this.singleColumnKey = checkNotNull(columnKey);
        this.singleValue = checkNotNull(value);
      }
    
      SingletonImmutableTable(Cell<R, C, V> cell) {
        this(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
      }
    
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey);
        return containsColumn(columnKey)
            ? ImmutableMap.of(singleRowKey, singleValue)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Table.java

        /** Returns the row key of this cell. */
        @ParametricNullness
        R getRowKey();
    
        /** Returns the column key of this cell. */
        @ParametricNullness
        C getColumnKey();
    
        /** Returns the value of this cell. */
        @ParametricNullness
        V getValue();
    
        /**
         * Compares the specified object with this cell for equality. Two cells are equal when they have
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

        /** Returns the row key of this cell. */
        @ParametricNullness
        R getRowKey();
    
        /** Returns the column key of this cell. */
        @ParametricNullness
        C getColumnKey();
    
        /** Returns the value of this cell. */
        @ParametricNullness
        V getValue();
    
        /**
         * Compares the specified object with this cell for equality. Two cells are equal when they have
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top