Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,094 for Entry (0.03 seconds)

  1. android/guava/src/com/google/common/cache/RemovalCause.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractMultiset.java

          return elementIterator();
        }
      }
    
      abstract Iterator<E> elementIterator();
    
      @LazyInit private transient @Nullable Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        if (result == null) {
          entrySet = result = createEntrySet();
        }
        return result;
      }
    
      @WeakOuter
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/LoadedCoreExtension.java

    /**
     * Represents a core extension that has been selected to be loaded.
     * @param coreExtension The extension configuration entry with location tracking.
     * @param entry The loaded entry with descriptor.
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        {
          Entry<Integer, String> entry = unmod.lowerEntry(1);
          assertThat(entry).isNull();
        }
        {
          Entry<Integer, String> entry = unmod.floorEntry(2);
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          Entry<Integer, String> entry = unmod.ceilingEntry(2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      private List<E> snapshotElementsToList() {
        List<E> list = newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
          for (int i = entry.getCount(); i > 0; i--) {
            list.add(element);
          }
        }
        return list;
      }
    
      // Modification Operations
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            }
          };
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            Object k = entry.getKey();
            Object v = entry.getValue();
            return v != null && v.equals(map.get(k));
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
          K k = entry.getKey();
          V v = entry.getValue();
    
          Set<V> values = multimap().get(k);
          Set<V> expectedValues = copyToSet(values);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenShellCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top