Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for elements (0.14 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * Returns an iterator over the elements in this set. The elements are
         * returned in no particular order.
         *
         * @return an Iterator over the elements in this set.
         * @see ConcurrentModificationException
         */
        @Override
        public Iterator<E> iterator() {
            return map.keySet().iterator();
        }
    
        /**
         * Returns the number of elements in this set (its cardinality).
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            return elements;
        }
    
        /**
         * Returns an array of {@literal byte}.
         *
         * @param elements the elements of the array
         * @return the array
         */
        public static byte[] asByteArray(final byte... elements) {
            return elements;
        }
    
        /**
         * Returns an array of {@literal short}.
         *
         * @param elements the elements of the array
         * @return the array
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayIterator.java

     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T> the type of array elements
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
        /** The array of elements to iterate over */
        protected final T[] items;
    
        /** The index of the currently referenced element */
        protected int index = 0;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements());
            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNext() throws Exception {
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements());
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/StringUtil.java

         *
         * @param delimiter the separator to use between elements
         * @param elements the elements to join
         * @return elements separated by delimiter
         */
        public static String join(final CharSequence delimiter, final CharSequence... elements) {
            final StringBuilder sb = new StringBuilder();
            for (final CharSequence element : elements) {
                if (sb.length() > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #ROLES} - The roles field.</li>
     * <li>{@link #FIELDS} - The fields field.</li>
     * <li>{@link #LANGUAGES} - The languages field.</li>
     * <li>{@link #ARRAY_KEY} - The key for array elements.</li>
     * <li>{@link #ARRAY_VALUE} - The value for array elements.</li>
     * <li>{@link #ANALYZER_SETTINGS_TYPE} - The analyzer settings type field.</li>
     * <li>{@link #ANALYZER_SETTINGS_FIELD_NAME} - The analyzer settings field name.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Adds an element to the beginning of a sequenced collection.
         *
         * @param <E> the element type
         * @param collection the sequenced collection
         * @param element the element to add
         * @since Java 21
         */
        public static <E> void addFirst(final SequencedCollection<E> collection, final E element) {
            collection.addFirst(element);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/stream/StreamUtil.java

        }
    
        /**
         * Creates a {@link StreamOf} instance from the provided values.
         * If the input array is {@code null}, an empty stream is returned.
         *
         * @param <T> The type of elements in the stream.
         * @param values The elements to be included in the stream. Can be {@code null}.
         * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.
         */
        @SafeVarargs
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <li>If <code>type</code> is an array, the actual class of its elements is returned.</li>
         * <li>Otherwise, <code>null</code> is returned.</li>
         * </ul>
         *
         * @param type
         *            the type to analyze
         * @param map
         *            the map that contains the type variables and type arguments
         * @return the actual element type of the array, or null if not an array of parameterized types
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/PrunedTag.java

         * Each tag configuration follows the pattern: tagname[attr=value].classname#id
         *
         * Examples:
         * - "div.content" matches div elements with class "content"
         * - "span#header" matches span elements with ID "header"
         * - "p[data-type=ad]" matches p elements with data-type attribute equal to "ad"
         *
         * @param value the comma-separated string of pruned tag configurations
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top