Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 222 for emptytest (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.ListIterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
        }
      }
    
      public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
        checkNotNull(fromElement);
        if (!inclusive) {
          E tmp = higher(fromElement);
          if (tmp == null) {
            return emptySet(comparator());
          }
          fromElement = tmp;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        super(map);
      }
    
      @Override
      abstract List<V> createCollection();
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @Override
      List<V> createUnmodifiableEmptyCollection() {
        return emptyList();
      }
    
      @Override
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        }
    
        public void test_register_emptyEntityList() {
            RenderData data = new RenderData();
            List<BsUser> emptyList = new ArrayList<>();
    
            RenderDataUtil.register(data, "empty", emptyList);
    
            Object result = data.getDataMap().get("empty");
            assertEquals(emptyList, result); // Empty collections are registered as-is
        }
    
        public void test_register_nonEntityList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        protected ResolutionNode createResolutionNode(Artifact artifact) {
            return new ResolutionNode(artifact, Collections.emptyList());
        }
    
        protected ResolutionNode createResolutionNode(Artifact artifact, ResolutionNode parent) {
            return new ResolutionNode(artifact, Collections.emptyList(), parent);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            this.readings = readings;
            this.fields = fields;
            if (tags == null) {
                this.tags = Collections.emptyList();
            } else {
                this.tags = tags;
            }
            if (roles == null) {
                this.roles = Collections.emptyList();
            } else {
                this.roles = roles;
            }
        }
    
        /**
         * Returns the elevate word.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

       * than one, not just two.
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      private static final class ToOptionalState {
        static final int MAX_EXTRAS = 4;
    
        @Nullable Object element;
        List<Object> extras;
    
        ToOptionalState() {
          element = null;
          extras = emptyList();
        }
    
        IllegalArgumentException multiples(boolean overflow) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewArrayListWithCapacity() {
        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return java.util.Collections.emptyList();
            }
    
            @Override
            public java.util.List<jakarta.mail.Address> getSavedBccList() {
                return java.util.Collections.emptyList();
            }
    
            @Override
            public java.util.List<jakarta.mail.Address> getSavedCcList() {
                return java.util.Collections.emptyList();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top