Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for arraytype (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              }
            }
          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
      // Internal implementations of some classes, with public default constructor that get() needs.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              }
            }
          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
      // Internal implementations of some classes, with public default constructor that get() needs.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof TypeVariable) {
            return type;
          }
          if (type instanceof GenericArrayType) {
            GenericArrayType arrayType = (GenericArrayType) type;
            return Types.newArrayType(
                notForTypeVariable().capture(arrayType.getGenericComponentType()));
          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

          }
          if (type instanceof TypeVariable) {
            return type;
          }
          if (type instanceof GenericArrayType) {
            GenericArrayType arrayType = (GenericArrayType) type;
            return Types.newArrayType(
                notForTypeVariable().capture(arrayType.getGenericComponentType()));
          }
          if (type instanceof ParameterizedType) {
            ParameterizedType parameterizedType = (ParameterizedType) type;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  6. doc/go_spec.html

    string, <code>&amp;s[i]</code> is invalid.
    </p>
    
    
    <h3 id="Array_types">Array types</h3>
    
    <p>
    An array is a numbered sequence of elements of a single
    type, called the element type.
    The number of elements is called the length of the array and is never negative.
    </p>
    
    <pre class="ebnf">
    ArrayType   = "[" ArrayLength "]" ElementType .
    ArrayLength = Expression .
    ElementType = Type .
    </pre>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top