Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isTransient (0.15 sec)

  1. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         * <code>transient</code>かどうか返します。
         *
         * @param field
         *            フィールド
         * @return <code>transient</code>なら{@literal true}
         * @see #isTransient(int)
         */
        public static boolean isTransient(final Field field) {
            return isTransient(field.getModifiers());
        }
    
        /**
         * <code>transient</code>かどうか返します。
         *
         * @param modifier
         *            モディファイヤ
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

         * @throws Exception
         */
        public void testIsTransient() throws Exception {
            Field f = Hoge.class.getDeclaredField("bbb");
            assertTrue(ModifierUtil.isTransient(f));
            f = Hoge.class.getDeclaredField("s");
            assertFalse(ModifierUtil.isTransient(f));
        }
    
        /**
         * @throws Exception
         */
        public void testIsAbstract() throws Exception {
            assertTrue(ModifierUtil.isAbstract(Map.class));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top