Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Staples (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        return new SampleElements<>(
                            Tables.immutableCell("bar", 1, 'a'),
                            Tables.immutableCell("bar", 2, 'b'),
                            Tables.immutableCell("bar", 3, (Character) null),
                            Tables.immutableCell("bar", 4, 'b'),
                            Tables.immutableCell("bar", 5, 'b'));
                      }
    
                      @Override
    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)
  2. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

    public class RegularImmutableTableTest extends AbstractImmutableTableTest {
      private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
          ImmutableSet.of(
              Tables.immutableCell('a', 1, "foo"),
              Tables.immutableCell('b', 1, "bar"),
              Tables.immutableCell('a', 2, "baz"));
    
      private static final ImmutableSet<Character> ROW_SPACE = ImmutableSet.of('a', 'b');
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

        return Tables.immutableCell(
            checkNotNull(rowKey, "rowKey"),
            checkNotNull(columnKey, "columnKey"),
            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * <pre>{@code
    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)
  4. guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java

        return Tables.transformValues(original, FIRST_CHARACTER);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, String> table = HashBasedTable.create();
        table.put(1, "foo", "apple");
        table.put(1, "bar", "banana");
        table.put(3, "foo", "cat");
        return Tables.transformValues(table, FIRST_CHARACTER).columnMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowTest.java

        return Tables.unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
        table.put('b', "four", 4);
        return Tables.unmodifiableTable(table).row('a');
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TablesTransposeRowTest.java

        super(false, true, true, true, false);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<String, Character, Integer> original = TreeBasedTable.create();
        return Tables.transpose(original);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashMultimap.java

    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimap} using hash tables.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Tables.immutableCell;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

          return true;
        }
        return false;
      }
    
      /**
       * Coerces an IPv6 address into an IPv4 address.
       *
       * <p>HACK: As long as applications continue to use IPv4 addresses for indexing into tables,
       * accounting, et cetera, it may be necessary to <b>coerce</b> IPv6 addresses into IPv4 addresses.
       * This method does so by hashing 64 bits of the IPv6 address into {@code 224.0.0.0/3} (64 bits
       * into 29 bits):
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top