Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Harry (0.01 sec)

  1. android/guava/src/com/google/common/base/Supplier.java

     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public interface Supplier<T extends @Nullable Object> {
      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Supplier.java

     * needed, use {@code supplier::get}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @FunctionalInterface
    public interface Supplier<T extends @Nullable Object> extends java.util.function.Supplier<T> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SuppliersTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests com.google.common.base.Suppliers.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     */
    @NullMarked
    @GwtCompatible
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Joiner.java

     * them as a {@link String}. Example:
     *
     * {@snippet :
     * Joiner joiner = Joiner.on("; ").skipNulls();
     *  . . .
     * return joiner.join("Harry", null, "Ron", "Hermione");
     * }
     *
     * <p>This returns the string {@code "Harry; Ron; Hermione"}. Note that all input elements are
     * converted to strings using {@link Object#toString()} before being appended.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Joiner.java

     * them as a {@link String}. Example:
     *
     * {@snippet :
     * Joiner joiner = Joiner.on("; ").skipNulls();
     *  . . .
     * return joiner.join("Harry", null, "Ron", "Hermione");
     * }
     *
     * <p>This returns the string {@code "Harry; Ron; Hermione"}. Note that all input elements are
     * converted to strings using {@link Object#toString()} before being appended.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public final class Suppliers {
      private Suppliers() {}
    
      /**
       * Returns a new supplier which is the composition of the provided function and supplier. In other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public final class Suppliers {
      private Suppliers() {}
    
      /**
       * Returns a new supplier which is the composition of the provided function and supplier. In other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * options and then retried without them should the attempt fail.
     *
     * ## Connection Reuse
     *
     * Each connection can carry a varying number of streams, depending on the underlying protocol being
     * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        // If the host exactly matches, we're done: this connection can carry the address.
        if (address.url.host ==
          this
            .route()
            .address.url.host
        ) {
          return true // This connection is a perfect match.
        }
    
        // At this point we don't have a hostname match. But we still be able to carry the request if
        // our connection coalescing requirements are met. See also:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertEquals("bar", mmHeap.peek());
        assertEquals("sergey", mmHeap.peekLast());
        assertEquals(7, mmHeap.size());
        assertTrue("Could not remove larry", mmHeap.remove("larry"));
        assertEquals(6, mmHeap.size());
        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top