Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 582 for getValue (0.26 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey());
        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
        map.putInstance(String.class, "test");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty() && predicate.apply(Maps.immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
            changed = true;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            String title = DocumentUtil.getValue(document, fessConfig.getIndexFieldTitle(), String.class);
            if (StringUtil.isBlank(title)) {
                title = DocumentUtil.getValue(document, fessConfig.getIndexFieldFilename(), String.class);
                if (StringUtil.isBlank(title)) {
                    title = DocumentUtil.getValue(document, fessConfig.getIndexFieldUrl(), String.class);
                }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  6. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(2, 6);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
        assertThat(entry.getValue()).containsExactly(0, 4);
      }
    
      public void testOrderedEntries() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java

            return context.getValue(expression) != null;
        }
    
        public Object getValue(String expression) {
            try {
                return context.getValue(expression);
            } catch (JXPathNotFoundException e) {
                return null;
            }
        }
    
        public boolean xPathExpressionEqualsValue(String expression, String value) {
            return context.getValue(expression) != null
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
Back to top