Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 876 for entry (0.04 sec)

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

        assertEquals(
            "multiset.count() should return the value passed to setCount()",
            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("a", 2);
        filtered.put("b", 4);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        Entry<String, Integer> entry = filtered.entrySet().iterator().next();
        assertThrows(IllegalArgumentException.class, () -> entry.setValue(5));
    
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
      }
    
      public void testFilteredValuesClear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * {@code new FIFOEntry(anEntry)} instead of a plain entry object.
     *
     * <pre>{@code
     * class FIFOEntry<E extends Comparable<? super E>> implements Comparable<FIFOEntry<E>> {
     *   static final AtomicLong seq = new AtomicLong();
     *
     *   final long seqNum;
     *   final E entry;
     *
     *   public FIFOEntry(E entry) {
     *     seqNum = seq.getAndIncrement();
     *     this.entry = entry;
     *   }
     *
     *   public E getEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/BiMap.java

       *
       * <p><b>Warning:</b> If an existing entry with this value is removed, the key for that entry is
       * discarded and not returned.
       *
       * @param key the key with which the specified value is to be associated
       * @param value the value to be associated with the specified key
       * @return the value that was previously associated with the key, or {@code null} if there was no
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/EditForm.java

        }
    
        /**
         * The unique identifier of the stopwords dictionary entry being edited.
         * This is a required field for identifying which dictionary entry to update.
         */
        @Required
        @ValidateTypeFailure
        public Long id;
    
        /**
         * Returns a display-friendly identifier combining the dictionary ID and entry ID.
         * This method creates a composite identifier for UI display purposes.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                        if (m != null && !m.isEmpty()) {
                                            for (Map.Entry<Object, Object> entry : m.entrySet()) {
                                                Object value = entry.getValue();
    
                                                if (value != null) {
                                                    if (String.class == value.getClass()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.SortedMapNavigationTester;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         * @param error The error, if applicable.
         */
        record Entry(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error) {}
    
        /**
         * If this is an accumulating log, it will "drain" this instance. It returns the accumulated log entries, and
         * also "resets" this instance to empty (initial) state.
         */
        @Nonnull
        default List<Entry> drain() {
            return List.of();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top