Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for somehow (0.06 sec)

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

            return of();
          } else {
            return new ImmutableClassToInstanceMap<>(map);
          }
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadStart_negativeMinLength() {
        assertSame("x", Strings.padStart("x", -1, '-'));
      }
    
      // TODO: could remove if we got NPT working in GWT somehow
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
        assertSame("", Strings.padEnd("", 0, '-'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    The status codes in the 400 range mean that there was an error from the client.
    
    Remember all those **"404 Not Found"** errors (and jokes)?
    
    ## Use `HTTPException`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

            if (lowerBounds.length == 0) { // ? extends something changes to capture-of
              return captureAsTypeVariable(wildcardType.getUpperBounds());
            } else {
              // TODO(benyu): handle ? super T somehow.
              return type;
            }
          }
          throw new AssertionError("must have been one of the known types");
        }
    
        TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) {
          String name =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          throw new UnsupportedOperationException("Not supported for bimaps");
        }
      }
    
      /**
       * Returns an immutable bimap containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            for (int i = 0; i < sz; i++) {
                char ch = str.charAt(i);
                if (inUnicode) {
                    // if in unicode, then we're reading unicode
                    // values in somehow
                    unicode.append(ch);
                    if (unicode.length() == UNICODE_LEN) {
                        // unicode now contains the four hex digits
                        // which represents our unicode character
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeResolver.java

            if (lowerBounds.length == 0) { // ? extends something changes to capture-of
              return captureAsTypeVariable(wildcardType.getUpperBounds());
            } else {
              // TODO(benyu): handle ? super T somehow.
              return type;
            }
          }
          throw new AssertionError("must have been one of the known types");
        }
    
        TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) {
          String name =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * unlikely that cancel() will be slow, so we can probably get away with calling it while
             * holding a lock. Still, it would be nice to avoid somehow.
             */
            lock.lock();
            try {
              currentFuture.cancel(mayInterruptIfRunning);
            } finally {
              lock.unlock();
            }
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top