Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 827 for entryOf (0.05 sec)

  1. guava/src/com/google/common/collect/TreeMultiset.java

      @Override
      Iterator<E> elementIterator() {
        return Multisets.elementIterator(entryIterator());
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Iterator<Entry<E>>() {
          @CheckForNull AvlNode<E> current = firstNode();
          @CheckForNull Entry<E> prevEntry;
    
          @Override
          public boolean hasNext() {
            if (current == null) {
              return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/LruHashMap.java

        /**
         * エントリ数の上限を返します。
         *
         * @return エントリ数の上限
         */
        public int getLimitSize() {
            return limitSize;
        }
    
        @Override
        protected boolean removeEldestEntry(final Map.Entry<K, V> entry) {
            return size() > limitSize;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", SEARCH_ALL_NUM);
            for (Map.Entry<String, Object> entry : updateMap.entrySet()) {
                List<String> updatedList = getPropList(searchBody, entry.getKey());
                for (String val : updatedList) {
                    assertEquals(entry.getValue().toString(), val);
                }
            }
        }
    
        protected void testDelete() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import java.util.IdentityHashMap;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    public class AbstractBiMapTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import java.util.IdentityHashMap;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    public class AbstractBiMapTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

       * implementation.
       *
       * @since 7.0
       */
      protected int standardCount(@CheckForNull Object object) {
        for (Entry<?> entry : this.entrySet()) {
          if (Objects.equal(entry.getElement(), object)) {
            return entry.getCount();
          }
        }
        return 0;
      }
    
      /**
       * A sensible definition of {@link #add(Object)} in terms of {@link #add(Object, int)}. If you
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      public Map<Element, Element> create() throws Exception {
        return mapsImpl.create(contents);
      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/RemovalListener.java

     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
     * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.SetCreationTester;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code Synchronized#map}.
     *
     * @author Mike Bostock
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top