Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,047 for collection (0.06 seconds)

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

        /**
         * Returns the element type of a parameterized {@link Collection}.
         * <p>
         * If <code>type</code> is not a parameterized {@link Collection}, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the collection, or null if not a parameterized collection
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

            return json.toString();
        }
    
        private void appendJsonValue(final StringBuilder json, final Object value) {
            if (value instanceof Collection) {
                json.append("[");
                boolean first = true;
                for (final Object item : (Collection<?>) value) {
                    if (!first) {
                        json.append(", ");
                    }
                    first = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        }
    
        /**
         *
         */
        public static class Baz {
    
            /** */
            @SuppressWarnings("rawtypes")
            public Collection collectionOfRawtype;
    
            /** */
            public Collection<String> collectionOfString;
    
            /** */
            public Map<String, Integer> map;
    
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setArtifactExists(boolean artifactExists) {
            this.artifactExists = artifactExists;
        }
    
        public Collection<ArtifactMetadata> getDependencies() {
            return dependencies;
        }
    
        public void setDependencies(Collection<ArtifactMetadata> dependencies) {
            this.dependencies = dependencies;
        }
    
        public String getArtifactUri() {
            return artifactUri;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          warmUp(cache, 0, 100);
    
          Collection<Object> values = cache.asMap().values();
          values.clear();
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
      public void testValues_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
          assertThat(values.remove(null)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

    import org.elasticsearch.common.util.set.Sets;
    import org.elasticsearch.gateway.GatewayAllocator;
    import org.elasticsearch.snapshots.EmptySnapshotsInfoService;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    
    public final class Allocators {
        private static class NoopGatewayAllocator extends GatewayAllocator {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collection;
    
    /**
     * Implementation of {@link ImmutableListMultimap} with no entries.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    final class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      public void testIn_apply() {
        Collection<Integer> nums = Arrays.asList(1, 5);
        Predicate<@Nullable Integer> isOneOrFive = Predicates.in(nums);
    
        assertTrue(isOneOrFive.apply(1));
        assertTrue(isOneOrFive.apply(5));
        assertFalse(isOneOrFive.apply(3));
        assertFalse(isOneOrFive.apply(null));
      }
    
      public void testIn_equality() {
        Collection<Integer> nums = ImmutableSet.of(1, 5);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

      void register(Object listener) {
        Multimap<Class<?>, Subscriber> listenerMethods = findAllSubscribers(listener);
    
        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return parent.remove(o);
            }
    
            public boolean containsAll(final Collection<?> c) {
                return parent.containsAll(c);
            }
    
            public boolean addAll(final Collection<? extends E> c) {
                return parent.addAll(c);
            }
    
            public boolean addAll(final int index, final Collection<? extends E> c) {
                return parent.addAll(index, c);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (0)
Back to Top