Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for columnMap (0.12 sec)

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

          columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue()));
        }
        this.columnMap = columnBuilder.buildOrThrow();
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue()));
        }
        this.columnMap = columnBuilder.buildOrThrow();
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
    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-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Set<C> columnKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnKeySet();
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnMap();
        }
    
        @Override
        public boolean contains(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingTable.java

        return delegate().column(columnKey);
      }
    
      @Override
      public Set<C> columnKeySet() {
        return delegate().columnKeySet();
      }
    
      @Override
      public Map<C, Map<R, V>> columnMap() {
        return delegate().columnMap();
      }
    
      @Override
      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        return delegate().contains(rowKey, columnKey);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

        RowSortedTable<Integer, String, Character> table = TreeBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableRowSortedTable(table).columnMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableTable(table).columnMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        original.put(1, "foo", 'a');
        assertSame(original.columnKeySet(), transpose.rowKeySet());
        assertSame(original.rowKeySet(), transpose.columnKeySet());
        assertSame(original.columnMap(), transpose.rowMap());
        assertSame(original.rowMap(), transpose.columnMap());
        assertSame(original.values(), transpose.values());
        assertEquals(original.row(1), transpose.column(1));
        assertEquals(original.row(2), transpose.column(2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Set<C> columnKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnKeySet();
        }
    
        @Override
        public Map<C, Map<R, V>> columnMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnMap();
        }
    
        @Override
        public boolean contains(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

        checkNotNull(columnKey);
        return containsColumn(columnKey)
            ? ImmutableMap.of(singleRowKey, singleValue)
            : ImmutableMap.<R, V>of();
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        return ImmutableMap.of(singleColumnKey, (Map<R, V>) ImmutableMap.of(singleRowKey, singleValue));
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.columnMap());
      }
    
      public void testContains() {
        assertFalse(INSTANCE.contains('a', 1));
      }
    
      public void testContainsColumn() {
        assertFalse(INSTANCE.containsColumn(1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top