Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for spre (0.1 sec)

  1. guava-tests/test/com/google/common/net/HostAndPortTest.java

          int expectPort,
          boolean expectHasExplicitPort) {
        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIsNull_serialization() {
        Predicate<String> pre = Predicates.isNull();
        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
       *   throwIfInstanceOf(failure, BarException.class);
       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
         * StringUtil.decapitalize("ABC")     = "ABC"
         * </pre>
         *
         * @param name
         *            the string to decapitalize
         * @return the decapitalized string
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

     *
     * <pre>
     * import static org.codelibs.core.beans.util.CopyOptionsUtil.*;
     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
     * <p>
     * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions},
     * so you can specify multiple options using method chaining.
     * </p>
     *
     * <pre>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        AtomicInteger totalCalls = new AtomicInteger();
        Runnable intCounter =
            new Runnable() {
              @Override
              public void run() {
                totalCalls.incrementAndGet();
                // Make sure that no other tasks are scheduled to run while this is running.
                assertFalse(fakePool.hasNext());
              }
            };
    
        assertFalse(fakePool.hasNext());
        e.execute(intCounter);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * </p>
     *
     * <pre>
     * import static org.codelibs.core.beans.util.BeanUtil.*;
     *
     * copyBeanToBean(srcBean, destBean);
     * </pre>
     * <p>
     * It is also possible to copy from a JavaBean to a {@link Map} or from a {@link Map} to a JavaBean.
     * </p>
     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top