Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 575 for Where (0.12 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

       */
      public TypeResolver where(Type formal, Type actual) {
        Map<TypeVariableKey, Type> mappings = Maps.newHashMap();
        populateTypeMappings(mappings, checkNotNull(formal), checkNotNull(actual));
        return where(mappings);
      }
    
      /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
      TypeResolver where(Map<TypeVariableKey, ? extends Type> mappings) {
    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)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

       */
      public void testTestEqualsEqualsObjects() {
        equalsTester.addEqualityGroup(reference, equalObject1, equalObject2);
        equalsTester.testEquals();
      }
    
      /** Test proper handling of case where an object is not equal to itself */
      public void testNonReflexiveEquals() {
        Object obj = new NonReflexiveObject();
        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // into the range of surrogate characters, but if they do we must not test
        // any values in that range. To see why, consider the case where:
        // safeMin <= {hi,lo} <= safeMax
        // where {hi,lo} are characters forming a surrogate pair such that:
        // codePointOf(hi, lo) > safeMax
        // which would result in the surrogate pair being (wrongly) considered safe.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <pre>{@code
     * double myMedian = median().compute(myDataset);
     * }</pre>
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * <pre>{@code
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }</pre>
     *
     * where {@link #percentiles()} has been statically imported.
     *
     * <p>To compute median and the 90th and 99th percentiles:
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

       * where this collection's elements start.
       */
      int internalArrayStart() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements end.
       */
      int internalArrayEnd() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * should override {@code equals} as well, either providing your own implementation, or delegating
     * to the provided {@code standardEquals} method.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/UrlEscapers.java

       *   <li>The space character " " is converted into a plus sign "+".
       *   <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        }
        checkPositionIndex(n, alternatingKeysAndValues.length >> 1);
        int tableSize = ImmutableSet.chooseTableSize(n);
        // If there are no duplicate keys, hashTablePlus is the final hashTable value. If there *are*
        // duplicate keys, hashTablePlus consists of 3 elements: [0] the hashTable; [1] the number of
        // entries in alternatingKeysAndValues that are still valid after rewriting to remove
    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)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        protected void doStop() {
          notifyFailed(new IllegalStateException("stop failure"));
        }
      }
    
      public void testServiceStartupTimes() {
        if (isWindows() && isJava8()) {
          // Flaky there: https://github.com/google/guava/pull/6731#issuecomment-1736298607
          return;
        }
        Service a = new NoOpDelayedService(150);
        Service b = new NoOpDelayedService(353);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type t = aTypeVariable();
        assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t));
      }
    
      public <T> void testWhere_indirectMapping() {
        Type t1 = new TypeCapture<T>() {}.capture();
        Type t2 = aTypeVariable();
        assertEquals(
            String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1));
      }
    
      public void testWhere_typeVariableSelfMapping() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.7K bytes
    - Viewed (0)
Back to top