Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for variable (0.39 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        private final String name;
        private final ImmutableList<Type> bounds;
    
        TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {
          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
        public Type[] getBounds() {
    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)
  3. guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        private final EqualsTester tester = new EqualsTester();
    
        TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) {
          if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            tester.addEqualityGroup(jvmType);
            tester.addEqualityGroup((Object[]) types);
          } else {
            tester.addEqualityGroup(Lists.asList(jvmType, types).toArray());
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
     * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this
     * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to
     * "undo" it as best we can.
     */
    @GwtCompatible
    @Retention(RUNTIME)
    @Target(TYPE)
    @TypeQualifierDefault({FIELD, METHOD, PARAMETER})
    @Nonnull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        Integer[] starting = Arrays.copyOf(array1, array1.length);
        Integer[] array2 = Arrays.copyOf(array1, array1.length);
        // TODO b/283448200 - Remove temporary variable when Kotlin smartcast issue is resolved.
        Integer[] array1Tmp = array1;
        Object[] reference = list.toArray(array1Tmp);
    
        Object[] target = ObjectArrays.toArrayImpl(list, array2);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypesTest.java

        private final EqualsTester tester = new EqualsTester();
    
        TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) {
          if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            tester.addEqualityGroup(jvmType);
            tester.addEqualityGroup((Object[]) types);
          } else {
            tester.addEqualityGroup(Lists.asList(jvmType, types).toArray());
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        Integer[] starting = Arrays.copyOf(array1, array1.length);
        Integer[] array2 = Arrays.copyOf(array1, array1.length);
        // TODO b/283448200 - Remove temporary variable when Kotlin smartcast issue is resolved.
        Integer[] array1Tmp = array1;
        Object[] reference = list.toArray(array1Tmp);
    
        Object[] target = ObjectArrays.toArrayImpl(list, array2);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        }
    
        TypeToken<V> valueType() {
          return new TypeToken<V>(getClass()) {};
        }
      }
    
      // The A and B type parameters are used inside the test to test type variable
      public <A, B> void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                TypeToken.of(String.class),
                TypeToken.of(String.class),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
      }
    
      /** Unblocks all threads and runs all listeners. */
      private static void complete(AbstractFuture<?> param, boolean callInterruptTask) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        AbstractFuture<?> future = param;
    
        Listener next = null;
        outer:
        while (true) {
          future.releaseWaiters();
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top