Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getList (0.2 sec)

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

            assertThat(e.getPrevious().getElement(), is("2"));
            list.getEntry(1).remove();
            assertThat(list.getFirst(), is("1"));
            assertThat(list.getLast(), is("3"));
            list.getLastEntry().remove();
            assertThat(list.getLast(), is("1"));
            list.getLastEntry().remove();
            assertThat(list.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getInt(Field, Object)
         */
        public static int getInt(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getInt(field, null);
        }
    
        /**
         * {@link Field}の値をintとして取得します。
         *
         * @param field
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, new Integer(testData));
            assertThat(FieldUtil.getInt(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntFieldObject() throws Exception {
            final Field field = getClass().getField("INT_DATA");
            assertThat(FieldUtil.getInt(field), is(INT_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

        }
    
        /**
         * 最初の要素を返します。
         *
         * @return 最初の要素
         */
        public E getFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * 最後の要素を返します。
         *
         * @return 最後の要素
         */
        public E getLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/core/misc/Pair.java

         */
        public Pair(final T1 first, final T2 second) {
            this.first = first;
            this.second = second;
        }
    
        /**
         * 1番目の値を返します。
         *
         * @return 1番目の値
         */
        public T1 getFirst() {
            return first;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param first
         *            1番目の値
         */
        public void setFirst(final T1 first) {
            this.first = first;
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top