Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for columnKeys (0.97 sec)

  1. guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * {@inheritDoc}
       *
       * @throws NullPointerException if {@code columnKey} is {@code null}
       */
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey, "columnKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of());
      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * {@inheritDoc}
       *
       * @throws NullPointerException if {@code columnKey} is {@code null}
       */
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey, "columnKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<R, V>) columnMap().get(columnKey), ImmutableMap.<R, V>of());
      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ArrayTable.java

      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        this.rowList = ImmutableList.copyOf(rowKeys);
        this.columnList = ImmutableList.copyOf(columnKeys);
        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
         * do, when columnKeys is empty but rowKeys isn't, rowKeyList() can contain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        List<Integer> columnKeys = new ArrayList<>();
                        for (Object element : elements) {
                          @SuppressWarnings("unchecked")
                          Cell<String, Integer, Character> cell =
                              (Cell<String, Integer, Character>) element;
                          columnKeys.add(cell.getColumnKey());
                        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractTable.java

      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

            @ParametricNullness C columnKey,
            @ParametricNullness V value) {
          this.rowKey = rowKey;
          this.columnKey = columnKey;
          this.value = value;
        }
    
        @Override
        @ParametricNullness
        public R getRowKey() {
          return rowKey;
        }
    
        @Override
        @ParametricNullness
        public C getColumnKey() {
          return columnKey;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

      SingletonImmutableTable(R rowKey, C columnKey, V value) {
        this.singleRowKey = checkNotNull(rowKey);
        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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/StandardTable.java

      @Override
      public Map<R, V> column(C columnKey) {
        return new Column(columnKey);
      }
    
      private final class Column extends ViewCachingAbstractMap<R, V> {
        final C columnKey;
    
        Column(C columnKey) {
          this.columnKey = checkNotNull(columnKey);
        }
    
        @Override
        public @Nullable V put(R key, V value) {
          return StandardTable.this.put(key, columnKey, value);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        }
    
        @Override
        public boolean contains(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(rowKey, columnKey);
        }
    
        @Override
        public boolean containsColumn(Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsColumn(columnKey);
        }
    
        @Override
        public boolean containsRow(Object rowKey) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top