Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for saya (1.49 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            if (to instanceof WildcardType) {
              return; // Okay to say Foo is <?>
            }
            // Can't map from a raw class to anything other than itself or a wildcard.
            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

              @Override
              public void tearDown() throws Exception {
                synchronized (result.stack) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
              }
            });
        return result;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClusterException.java

     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link
       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link
       * SortedSet} values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SetMultimap.java

     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method
     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        tester.testAllPublicStaticMethods(Predicates.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testCascadingSerialization() throws Exception {
        // Eclipse says Predicate<Integer>; javac says Predicate<Object>.
        Predicate<? super Integer> nasty =
            Predicates.not(
                Predicates.and(
                    Predicates.or(
                        Predicates.equalTo((Object) 1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // We can't check that the key is mightContain() == false before the
                  // put() because the key could have already been generated *or* the
                  // bloom filter might say true even when it's not there (false
                  // positive).
                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      private static final ImmutableSortedMap<Comparable<?>, Object> NATURAL_EMPTY_MAP =
          new ImmutableSortedMap<>(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top