Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for say (0.22 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-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Exactly so,' said Alice.
    
      `Then you should say what you mean,' the March Hare went on.
    
      `I do,' Alice hastily replied; `at least--at least I mean what
    I say--that's the same thing, you know.'
    
      `Not the same thing a bit!' said the Hatter.  `You might just
    as well say that "I see what I eat" is the same thing as "I eat
    what I see"!'
    
      `You might just as well say,' added the March Hare, `that "I
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.write(',');
        writer.write(0xBEEF0020); // only lower 16 bits are important
        writer.write("Wo");
        writer.write("Whirled".toCharArray(), 3, 2);
        writer.write("Mad! Mad, I say", 2, 2);
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testAppendMethods() throws IOException {
        StringBuilder builder = new StringBuilder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Function.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing function (say, named {@code function}) in a context where the <i>other
     * type</i> of function is expected, use the method reference {@code function::apply}. A future
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractSetMultimap.java

        return (Set<V>) super.replaceValues(key, values);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link Set}
       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
         * that NullPointerTester wants.
         *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix
       * will be to permit them, as it seems more likely that code would depend on that behavior than on
       * the other. Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top