Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for Haddad (0.16 sec)

  1. guava/src/com/google/common/cache/Striped64.java

       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/RemovalListener.java

      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

       *     which case the input string is always returned.
       * @param padChar the character to insert at the beginning of the result until the minimum length
       *     is reached
       * @return the padded string
       */
      public static String padStart(String string, int minLength, char padChar) {
        checkNotNull(string); // eager for GWT.
        if (string.length() >= minLength) {
          return string;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Cache.java

    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import javax.annotation.CheckForNull;
    
    /**
     * A semi-persistent mapping from keys to values. Cache entries are manually added using {@link
     * #get(Object, Callable)} or {@link #put(Object, Object)}, and are stored in the cache until either
     * evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      public enum Modifiability {
        NONE, // immutable lists
        BY_ELEMENT, // elements can change (set), but not structure
        DIRECT_ONLY, // Element can be added and removed only via direct calls, not through iterators
        ALL // Elements can be added and removed as well as modified.
      }
    
      /** Handles the creation of lists needed for the tests */
      public abstract static class ListExample {
    
        private final String name;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of distinct elements to be added.
       *
       * <p>If {@code expectedSize} is exactly the number of distinct elements added to the builder
       * before {@link Builder#build} is called, the builder is likely to perform better than an unsized
       * {@link #builder()} would have.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        return new EquivalenceTester<>(equivalence);
      }
    
      /**
       * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to
       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
     * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (Even if supported added {@code @NonNull}, that would not help, since the problem case
       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/BiMap.java

       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top