Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 197 for Haddad (0.19 sec)

  1. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClusterException.java

       * </ul>
       *
       * <p>Though this method takes any {@link Collection}, it often makes most sense to pass a {@link
       * java.util.List} or some other collection that preserves the order in which the exceptions got
       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
       * @throws IllegalArgumentException if {@code exceptions} is empty
       */
      static RuntimeException create(Collection<? extends Throwable> exceptions) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of elements to be added.
       *
       * <p>If {@code expectedSize} is exactly the number of 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
    - 30K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    as well say that "I see what I eat" is the same thing as "I eat
    what I see"!'
    
      `You might just as well say,' added the March Hare, `that "I
    like what I get" is the same thing as "I get what I like"!'
    
      `You might just as well say,' added the Dormouse, who seemed to
    be talking in his sleep, `that "I breathe when I sleep" is the
    same thing as "I sleep when I breathe"!'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

          return this;
        }
    
        /**
         * Returns a new immutable type-to-instance map containing the entries provided to this builder.
         *
         * @throws IllegalArgumentException if duplicate keys were added
         */
        public ImmutableTypeToInstanceMap<B> build() {
          return new ImmutableTypeToInstanceMap<>(mapBuilder.buildOrThrow());
        }
      }
    
      private final ImmutableMap<TypeToken<? extends B>, B> delegate;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSortedSet}. If the {@code ImmutableSortedSet}
         * already contains {@code element}, then {@code add} has no effect. (only the previously added
         * element is retained).
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 36.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        listenableFuture.addListener(singleCallListener, directExecutor());
        assertEquals(DATA1, listenableFuture.get());
    
        // 'spy' should have been ignored since 'abstractFuture' was done before
        // a listener was added.
        assertFalse(spy.wasExecuted);
        assertTrue(singleCallListener.wasCalled());
        assertTrue(listenableFuture.isDone());
      }
    
      public void testListenInPoolThreadUsesGivenExecutor() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
Back to top