Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 245 for Othman (0.16 sec)

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

       * IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}. Similarly, this method keeps the original {@code
       * toElement}, instead of throwing an exception, if passed a {@code toElement} greater than an
       * earlier {@code toElement}.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

      public static boolean isUpperCase(char c) {
        return (c >= 'A') && (c <= 'Z');
      }
    
      /**
       * Truncates the given character sequence to the given maximum length. If the length of the
       * sequence is greater than {@code maxLength}, the returned string will be exactly {@code
       * maxLength} chars in length and will end with the given {@code truncationIndicator}. Otherwise,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * the permits issued each second steadily increases until it hits the stable rate.
     *
     * <p>As an example, imagine that we have a list of tasks to execute, but we don't want to submit
     * more than 2 per second:
     *
     * <pre>{@code
     * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
     * void submitTasks(List<Runnable> tasks, Executor executor) {
     *   for (Runnable task : tasks) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

      @Deprecated
      public final ComparisonChain compare(Boolean left, Boolean right) {
        return compareFalseFirst(left, right);
      }
    
      /**
       * Compares two {@code boolean} values, considering {@code true} to be less than {@code false},
       * <i>if</i> the result of this comparison chain has not already been determined.
       *
       * <p>Java 8+ users: you can get the equivalent from {@link Booleans#trueFirst()}. For example:
       *
       * <pre>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * @param position position of the element to return
       * @param defaultValue the default value to return if {@code position} is greater than or equal to
       *     the size of the iterable
       * @return the element at the specified position in {@code iterable} or {@code defaultValue} if
       *     {@code iterable} contains fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
     *       than MEDIUM. And so on. These constants are set to conservative values, but even so, if
     *       there is ever any doubt, they can all be increased in one spot to rerun tests on slower
     *       platforms.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(4, list.lastIndexOf("b"));
      }
    
      public void testCopyOfDefensiveCopy() {
        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
        // rather than mocking to ensure that one of those methods is called.
        class TestArrayList<E> extends ArrayList<E> {
          boolean toArrayCalled = false;
    
          @Override
          public Object[] toArray() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

        if (componentType instanceof WildcardType) {
          WildcardType wildcard = (WildcardType) componentType;
          Type[] lowerBounds = wildcard.getLowerBounds();
          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
            Type[] upperBounds = wildcard.getUpperBounds();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * message must mention two values that were associated with the duplicate key in two different
       * calls to Builder.put (though we don't really care *which* two values if there were more than
       * two). These considerations lead us to have a field of type DuplicateKey in the Builder, which
       * will remember the first duplicate key we encountered. All later calls to buildOrThrow() can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

          @Override
          void visitClass(Class<?> fromClass) {
            if (to instanceof WildcardType) {
              return; // Okay to say Foo is <?>
            }
            // Can't map from a raw class to anything other than itself or a wildcard.
            // You can't say "assuming String is Integer".
            // And we don't support "assuming String is T"; user has to say "assuming T is String".
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
Back to top