Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for removed (0.18 sec)

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

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("1"), is("test"));
            assertThat(map.size(), is(2));
            assertThat(map.remove("dummy"), is(nullValue()));
            assertThat(map.remove(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove2() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                }
                final int style = STYLES[index++];
                return DateFormat.getDateInstance(style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
         * ロケールが持つスタイルに対応する{@link DateFormat}を反復する{@link Iterator}です。
         *
         * @author koichik
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    setupWriteMethod(m, propertyName);
                }
            }
            for (final String name : invalidPropertyNames) {
                propertyDescCache.remove(name);
            }
            invalidPropertyNames.clear();
        }
    
        /**
         * getterメソッドを準備します。
         *
         * @param readMethod
         *            getterメソッド
         * @param propertyName
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                }
                final int style = STYLES[index++];
                return DateFormat.getTimeInstance(style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
         * ロケールが持つスタイルに対応する{@link DateFormat}を反復する{@link Iterator}です。
         *
         * @author koichik
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayMap.java

                    }
    
                    @Override
                    public boolean remove(final Object o) {
                        if (!(o instanceof Entry)) {
                            return false;
                        }
                        final Entry<K, V> entry = (Entry<K, V>) o;
                        return ArrayMap.this.remove(entry.key) != null;
                    }
    
                    @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.next.remove();
            return first;
        }
    
        /**
         * 最後の要素を削除します。
         *
         * @return 最後の要素
         */
        public E removeLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E last = header.previous.element;
            header.previous.remove();
            return last;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

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

         *
         * @param <T>
         *            配列の要素の型
         * @param array
         *            配列
         * @param obj
         *            配列から削除する要素
         * @return 削除後の配列
         */
        public static <T> T[] remove(final T[] array, final T obj) {
            final int index = indexOf(array, obj);
            if (index < 0) {
                return array;
            }
            @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final int style = STYLES[index++];
                return DateFormat.getDateTimeInstance(style, style, locale);
            }
    
            @Override
            public void remove() {
                throw new ClUnsupportedOperationException("remove");
            }
    
        }
    
        /**
         * ロケールが持つスタイルに対応する{@link DateFormat}を反復する{@link Iterator}です。
         *
         * @author koichik
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top