Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 281 for removeIf (2.48 sec)

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

            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ResourceManager.java

        }
    
        /**
         * Unregister a resource
         *
         * @param resourceId the resource ID
         */
        public void unregisterResource(String resourceId) {
            ResourceHolder holder = activeResources.remove(resourceId);
            if (holder != null) {
                if (!holder.closed) {
                    holder.closed = true;
                    totalReleased.incrementAndGet();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassIterator.java

            }
            final Class<?> result = clazz;
            clazz = clazz.getSuperclass();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/ShareEnumIterator.java

         */
        @Override
        public void close() {
            // nothing to clean up
            this.next = null;
        }
    
        @Override
        public void remove() {
            throw new UnsupportedOperationException("remove");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            }
    
            @Override
            public boolean add(final E e) {
                return parent.add(e);
            }
    
            @Override
            public boolean remove(final Object o) {
                return parent.remove(o);
            }
    
            @Override
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
            @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. 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 Iterator} that iterates over {@link DateFormat}s corresponding to the styles held by the locale.
         *
         * @author koichik
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("ONE"), is("1"));
            assertThat(map.size(), is(1));
            assertThat(map.remove("dummy"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

            assertArgumentNotNull("enumeration", enumeration);
            this.enumeration = enumeration;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
        @Override
        public boolean hasNext() {
            return enumeration.hasMoreElements();
        }
    
        @Override
        public T next() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

            if (c != null) {
                childUrlSet.addAll(c);
            }
        }
    
        /**
         * Remove a child URL.
         * @param url the request data to remove from the child URL set
         */
        public void removeUrl(final RequestData url) {
            childUrlSet.remove(url);
        }
    
        /**
         * Get the transformer name.
         * @return transformer
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Assert
            verify(tree, times(1)).release(); // release called in finally exactly once
        }
    
        @Test
        @DisplayName("remove() throws UnsupportedOperationException with 'remove' message")
        void removeUnsupported() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top