Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toIntArray (0.1 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

            var value: IntArray? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitArrayMemberValue(node: ArrayMemberValue) {
                    value = node.value.map { it.intValue }.toIntArray()
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<IntArray>())
            return value!!
        }
    
    
    internal
    val MemberValue.stringArrayValue: Array<String>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       */
      public static int[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof IntArrayAsList) {
          return ((IntArrayAsList) collection).toIntArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        int[] array = new int[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top