Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 478 for examples (0.19 sec)

  1. android/guava/src/com/google/common/collect/Range.java

       * Returns the maximal range {@linkplain #encloses enclosed} by both this range and {@code
       * connectedRange}, if such a range exists.
       *
       * <p>For example, the intersection of {@code [1..5]} and {@code (3..7)} is {@code (3..5]}. The
       * resulting range may be empty; for example, {@code [1..5)} intersected with {@code [5..7)}
       * yields the empty range {@code [5..5)}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * @author Bob Lee
     * @author Ben Yu
     * @author Gregory Kick
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
      - Fixing a bug without changing a public API.
      - Fixing or improving documentation.
      - Improvements to Maven configuration.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * <p>When chaining together a graph of asynchronous operations, you will often find it easier to
     * use a framework. Frameworks automate the process, often adding features like monitoring,
     * debugging, and cancellation. Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <h4>{@link java.util.concurrent.CompletableFuture} / {@link java.util.concurrent.CompletionStage}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * <pre>{@code
     * // Building a mutable network
     * MutableNetwork<String, Integer> network =
     *     NetworkBuilder.directed().allowsParallelEdges(true).build();
     * flightNetwork.addEdge("LAX", "ATL", 3025);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

    import java.util.Collection;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * Provides a fluent API for calculating <a
     * href="http://en.wikipedia.org/wiki/Quantile">quantiles</a>.
     *
     * <h3>Examples</h3>
     *
     * <p>To compute the median:
     *
     * <pre>{@code
     * double myMedian = median().compute(myDataset);
     * }</pre>
     *
     * where {@link #median()} has been statically imported.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[]:", 1, null, 99, false);
        checkFromStringCase("[]:80", 1, null, 99, false);
        checkFromStringCase("[]bad", 1, null, 99, false);
      }
    
      public void testFromStringParseableNonsense() {
        // Examples of nonsense that gets through.
        checkFromStringCase("[[:]]", 86, "[:]", 86, false);
        checkFromStringCase("x:y:z", 87, "x:y:z", 87, false);
        checkFromStringCase("", 88, "", 88, false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test &amp; test &amp; test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * registrar, and have such registrations lawfully protected by internet-governing bodies such as
       * ICANN. Examples of registry suffixes include {@code com}, {@code co.uk}, and {@code
       * pvt.k12.wy.us}. Examples of domain names that are <i>not</i> registry suffixes include {@code
       * google.com} and {@code foo.co.uk}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top