Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for example (0.21 sec)

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

       * start}, calling {@link #matches} for each character.
       *
       * @param sequence the character sequence to examine
       * @param start the first index to examine; must be nonnegative and no greater than {@code
       *     sequence.length()}
       * @return the index of the first matching character, guaranteed to be no less than {@code start},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.<K>natural().reverse());
      }
    
      /**
       * A builder for creating immutable sorted map instances, especially {@code public static final}
       * maps ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

     * {@code Type}, for example {@link #isSubtypeOf}, {@link #isArray} and {@link #getComponentType}.
     * It also provides additional utilities such as {@link #getTypes}, {@link #resolveType}, etc.
     *
     * <p>There are three ways to get a {@code TypeToken} instance:
     *
     * <ul>
     *   <li>Wrap a {@code Type} obtained via reflection. For example: {@code
     *       TypeToken.of(method.getGenericReturnType())}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

       * start}, calling {@link #matches} for each character.
       *
       * @param sequence the character sequence to examine
       * @param start the first index to examine; must be nonnegative and no greater than {@code
       *     sequence.length()}
       * @return the index of the first matching character, guaranteed to be no less than {@code start},
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

     * </ul>
     *
     * <p>These features are all optional; caches can be created using all or none of them. By default,
     * cache instances created by {@code CacheBuilder} will not perform any type of eviction.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * cause a concurrent read operation to see inconsistent data. This is made easier by the
         * nature of the read operations in Map. For example, no operation can reveal that the table
         * has grown but the threshold has not yet been updated, so there are no atomicity requirements
         * for this with respect to reads.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       * if the primary input succeeds, it is never invoked. If, during the invocation of {@code
       * fallback}, an exception is thrown, this exception is used as the result of the output {@code
       * Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.<K>natural().reverse());
      }
    
      /**
       * A builder for creating immutable sorted map instances, especially {@code public static final}
       * maps ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default implementation of this method in {@code AbstractFuture} does nothing. This is
       * intended for very lightweight cleanup work, for example, timing statistics or clearing fields.
       * If your task does anything heavier consider, just using a listener with an executor.
       *
       * @since 20.0
       */
      @ForOverride
      protected void afterDone() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top