Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for dice (0.47 sec)

  1. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        int h2 = Objects.hashCode(Integer.valueOf(1), new String("two"), Double.valueOf(3.0));
        // repeatable
        assertEquals(h1, h2);
    
        // These don't strictly need to be true, but they're nice properties.
        assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2));
        assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, null, 2));
        assertTrue(Objects.hashCode(1, null, 2) != Objects.hashCode(1, 2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), Lists.newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
       *       that when equal parameters are passed, the result instance should also be equal; and vice
       *       versa.
       *   <li>If a non-private constructor or non-private static factory method exists:
       *       <ul>
       *         <li>Test will fail if default value for a parameter cannot be determined.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
       *       that when equal parameters are passed, the result instance should also be equal; and vice
       *       versa.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingTest.java

        Collections.shuffle(hashCodes);
        HashCode hashCode2 = Hashing.combineUnordered(hashCodes);
    
        assertEquals(hashCode1, hashCode2);
      }
    
      // This isn't specified by contract, but it'll still be nice to know if this behavior changes.
      public void testConcatenating_equals() {
        new EqualsTester()
            .addEqualityGroup(Hashing.concatenating(asList(Hashing.md5())))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      /**
       * Generates a decorated collection that remains consistent with the values in the multimap for
       * the provided key. Changes to the multimap may alter the returned collection, and vice versa.
       */
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedCollection(key, collection, null);
      }
    
      final List<V> wrapList(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimap.java

       */
      Collection<V> get(@ParametricNullness K key);
    
      /**
       * Returns a view collection of all <i>distinct</i> keys contained in this multimap. Note that the
       * key set contains a key if and only if this multimap maps that key to at least one value.
       *
       * <p>Changes to the returned set will update the underlying multimap, and vice versa. However,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * <i>adding</i> to the returned set is not possible.
       */
      @Override
      public Set<K> keySet() {
        return super.keySet();
      }
    
      /**
       * Returns a collection of all values in the multimap. Changes to the returned collection will
       * update the underlying multimap, and vice versa.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EquivalenceTest.java

       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
       * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor.
       */
    
      public void testEqualsEquivalent() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top