Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 999 for Bounds (0.39 sec)

  1. guava-tests/test/com/google/common/collect/FauxveridesTest.java

             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return bounds.hashCode();
        }
    
        @Override
        public String toString() {
          return (bounds.equals(ImmutableList.of(Object.class)))
              ? name
              : name + " extends " + getTypesString(bounds);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

             */
            return bounds.equals(other.bounds);
          }
    
          return false;
        }
    
        @Override
        public int hashCode() {
          return bounds.hashCode();
        }
    
        @Override
        public String toString() {
          return (bounds.equals(ImmutableList.of(Object.class)))
              ? name
              : name + " extends " + getTypesString(bounds);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      @CheckForNull
      private static Type subtypeOfComponentType(Type[] bounds) {
        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
          if (componentType != null) {
            // Only the first bound can be a class or array.
            // Bounds after the first can only be interfaces.
    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)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

      }
    
      private static Bounds every(Type[] bounds) {
        // Every bound must match. On any false, result is false.
        return new Bounds(bounds, false);
      }
    
      private static Bounds any(Type[] bounds) {
        // Any bound matches. On any true, result is true.
        return new Bounds(bounds, true);
      }
    
      private static class Bounds {
        private final Type[] bounds;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    
    private
    fun ApiTypeProvider.Context.apiTypeParametersFor(visitedSignature: BaseSignatureVisitor?): List<ApiTypeUsage> =
        visitedSignature?.typeParameters?.map { (binaryName, bounds) -> apiTypeUsageFor(binaryName, bounds = bounds) }
            ?: emptyList()
    
    
    private
    fun ApiTypeProvider.Context.apiFunctionParametersFor(function: ApiFunction, delegate: MethodNode, visitedSignature: MethodSignatureVisitor?) =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

           * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
           * bounds, or Cut.belowAll().
           *
           * positiveItr starts at the first positive range with lower bound greater than
           * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
           * upper bounds.)
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeMap.java

       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

        }
    
        for (C value : values) {
          if (!contains(value)) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if the bounds of {@code other} do not extend outside the bounds of this
       * range. Examples:
       *
       * <ul>
       *   <li>{@code [3..6]} encloses {@code [4..5]}
       *   <li>{@code (3..6)} encloses {@code (3..6)}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashingTest.java

          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
          HashTestUtils.assertInvariants(hasher);
        }
      }
    
      // goodFastHash(32) uses Murmur3_32. Use the same epsilon bounds.
      public void testGoodFastHash32() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(32), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(32), 250, 0.17);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static <D extends GenericDeclaration> TypeVariable<D> withBounds(
          TypeVariable<D> typeVariable, Type... bounds) {
        return Types.newArtificialTypeVariable(
            typeVariable.getGenericDeclaration(), typeVariable.getName(), bounds);
      }
    
      private static class TypeVariableEqualsTester {
        private final EqualsTester tester = new EqualsTester();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top