Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,100 for ndarray (0.07 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            final String[] newArray = ArrayUtil.remove(array, "333");
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is("111"));
            assertThat(newArray[1], is("222"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemoveNothing() throws Exception {
            final String[] array = new String[] { "111", "222", "333" };
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            assertArgumentNotNull("array", array);
            final boolean[] newArray = (boolean[]) Array.newInstance(boolean.class, array.length + 1);
            System.arraycopy(array, 0, newArray, 0, array.length);
            newArray[array.length] = value;
            return newArray;
        }
    
        /**
         * {@literal byte}配列の末尾に{@literal byte}の値を追加した配列を返します。
         *
         * @param array
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
        assertThat(Bytes.toArray(floats)).isEqualTo(array);
        assertThat(Bytes.toArray(longs)).isEqualTo(array);
        assertThat(Bytes.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(bytes)).isEqualTo(array);
        assertThat(Bytes.toArray(shorts)).isEqualTo(array);
        assertThat(Bytes.toArray(ints)).isEqualTo(array);
        assertThat(Bytes.toArray(floats)).isEqualTo(array);
        assertThat(Bytes.toArray(longs)).isEqualTo(array);
        assertThat(Bytes.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(bytes)).isEqualTo(array);
        assertThat(Doubles.toArray(shorts)).isEqualTo(array);
        assertThat(Doubles.toArray(ints)).isEqualTo(array);
        assertThat(Doubles.toArray(floats)).isEqualTo(array);
        assertThat(Doubles.toArray(longs)).isEqualTo(array);
        assertThat(Doubles.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.toArray(none)).isEqualTo(EMPTY);
    
        List<Character> one = Arrays.asList((char) 1);
        assertThat(Chars.toArray(one)).isEqualTo(ARRAY1);
    
        char[] array = {(char) 0, (char) 1, 'A'};
    
        List<Character> three = Arrays.asList((char) 0, (char) 1, 'A');
        assertThat(Chars.toArray(three)).isEqualTo(array);
    
        assertThat(Chars.toArray(Chars.asList(array))).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

          array = newArray(array, size);
        }
        fillArray(c, array);
        if (array.length > size) {
          @Nullable Object[] unsoundlyCovariantArray = array;
          unsoundlyCovariantArray[size] = null;
        }
        return array;
      }
    
      /**
       * Implementation of {@link Collection#toArray(Object[])} for collections backed by an object
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

          array = newArray(array, size);
        }
        fillArray(c, array);
        if (array.length > size) {
          @Nullable Object[] unsoundlyCovariantArray = array;
          unsoundlyCovariantArray[size] = null;
        }
        return array;
      }
    
      /**
       * Implementation of {@link Collection#toArray(Object[])} for collections backed by an object
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.toArray(bytes)).isEqualTo(array);
        assertThat(Floats.toArray(shorts)).isEqualTo(array);
        assertThat(Floats.toArray(ints)).isEqualTo(array);
        assertThat(Floats.toArray(floats)).isEqualTo(array);
        assertThat(Floats.toArray(longs)).isEqualTo(array);
        assertThat(Floats.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(bytes)).isEqualTo(array);
        assertThat(Ints.toArray(shorts)).isEqualTo(array);
        assertThat(Ints.toArray(ints)).isEqualTo(array);
        assertThat(Ints.toArray(floats)).isEqualTo(array);
        assertThat(Ints.toArray(longs)).isEqualTo(array);
        assertThat(Ints.toArray(doubles)).isEqualTo(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top