Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for table (0.19 sec)

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

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<String, Integer, Character> makeTable();
    
        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testCreateExplicitComparators() {
        table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        table.put("foo", 3, 'a');
        table.put("foo", 12, 'b');
        table.put("bar", 5, 'c');
        table.put("cat", 8, 'd');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int result = 0;
        for (Segment<K, V, ?, ?> segment : map.segments) {
          AtomicReferenceArray<? extends InternalEntry<K, V, ?>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int result = 0;
        for (Segment<K, V, ?, ?> segment : map.segments) {
          AtomicReferenceArray<? extends InternalEntry<K, V, ?>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<String, Integer, Character> makeTable();
    
        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderForceCopy() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
       * ordering of all views in the returned table. Note that some views of the original table and the
       * copied table may have different iteration orders. For more control over the ordering, create a
    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)
  9. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testCreateExplicitComparators() {
        table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        table.put("foo", 3, 'a');
        table.put("foo", 12, 'b');
        table.put("bar", 5, 'c');
        table.put("cat", 8, 'd');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

       * <p>The returned table will be serializable if the specified table is serializable.
       *
       * @param table the table to be wrapped in a synchronized view
       * @return a synchronized view of the specified table
       * @since 22.0
       */
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> synchronizedTable(Table<R, C, V> table) {
        return Synchronized.table(table, null);
      }
    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