Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isNotArray (0.14 sec)

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

        /**
         *
         */
        @Test
        public void testIsNotArray() {
            assertTrue(ArrayUtil.isNotArray(null));
            assertTrue(ArrayUtil.isNotArray("hoge"));
            assertFalse(ArrayUtil.isNotArray(new Object[] {}));
            assertFalse(ArrayUtil.isNotArray(new Object[] { "" }));
            assertFalse(ArrayUtil.isNotArray(new Object[] { "aaa" }));
        }
    
    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

         * を返します。
         *
         * @param object
         *            オブジェクト
         * @return オブジェクトが配列でない場合は{@literal true}。{@literal null}の場合は{@literal true}
         */
        public static boolean isNotArray(final Object object) {
            return !isArray(object);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top