Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for example (0.17 sec)

  1. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * code point. An additional safe range is provided that determines whether code points without
     * specific replacements are to be considered safe and left unescaped or should be escaped in a
     * general way.
     *
     * <p>A good example of usage of this class is for HTML escaping where the replacement array
     * contains information about the named HTML entities such as {@code &amp;} and {@code &quot;} while
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Cache.java

       * value. Otherwise, a call that passes one {@code loader} may return the result of another call
       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
       * unprivileged user may return a resource accessible only to a privileged user making a similar
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/cache/CacheLoader.java

     * overridden as desired.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }</pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingDeque.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingDeque} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #offer} which can lead to unexpected behavior. In this case, you should
     * override {@code offer} as well.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingBlockingDeque} forward <b>indiscriminately</b>
     * to the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change
     * the behaviour of {@link #offer} which can lead to unexpected behaviour. In this case, you should
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closeables.java

       * not propagated (otherwise the original exception will be lost).
       *
       * <p>If {@code swallowIOException} is true then we never throw {@code IOException} but merely log
       * it.
       *
       * <p>Example:
       *
       * <pre>{@code
       * public void useStreamNicely() throws IOException {
       *   SomeStream stream = new SomeStream("foo");
       *   boolean threw = true;
       *   try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: Please describe the issue you encountered.
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
Back to top