Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 587 for retValue (0.06 seconds)

  1. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            });
        }
    
        @Test
        public void testHandleType() {
            assertEquals(0, HandleType.NONE.getValue());
            assertEquals(1, HandleType.DURABLE_V1.getValue());
            assertEquals(2, HandleType.DURABLE_V2.getValue());
            assertEquals(3, HandleType.PERSISTENT.getValue());
    
            assertEquals(HandleType.NONE, HandleType.fromValue(0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getValue(),
                  mapSamples.e1().getValue(),
                  mapSamples.e2().getValue(),
                  mapSamples.e3().getValue(),
                  mapSamples.e4().getValue());
        }
    
        @Override
        public SampleElements<V> samples() {
          return samples;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(entry.getKey()).isEqualTo("foo");
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("google");
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("tree");
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    
      public void testOrderedEntries() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multimap.java

       * underlying multimap, and vice versa. The map does not support {@code put} or {@code putAll},
       * nor do its entries support {@link Entry#setValue setValue}.
       */
      Map<K, Collection<V>> asMap();
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multimap for equality. Two multimaps are equal when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

            Map<Object, Object> sourceMap = new LinkedHashMap<>();
            for (Entry<?, ?> entry : entries) {
              if (sourceMap.put(entry.getKey(), entry.getValue()) != null) {
                throw new UnsupportedOperationException("duplicate key");
              }
            }
            return ImmutableBiMap.copyOf(sourceMap);
          }
        },
        COPY_OF_ENTRIES {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
            Path normal = Paths.get(javahome.getValue()).normalize();
            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
                throw new MisconfiguredToolchainException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          K key = entry.getKey();
          V value = entry.getValue();
    
          Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator();
          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            Map<K, V> orderPreservingCopy = Maps.newLinkedHashMap();
            for (Entry<? extends K, ? extends V> e : map.entrySet()) {
              orderPreservingCopy.put(checkNotNull(e.getKey()), checkNotNull(e.getValue()));
            }
            return new RegularImmutableMap<K, V>(orderPreservingCopy);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top