Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 332 for setValue (0.08 seconds)

  1. guava/src/com/google/common/reflect/TypeResolver.java

          builder.putAll(map);
          for (Entry<TypeVariableKey, ? extends Type> mapping : mappings.entrySet()) {
            TypeVariableKey variable = mapping.getKey();
            Type type = mapping.getValue();
            checkArgument(!variable.equalsType(type), "Type variable %s bound to itself", variable);
            builder.put(variable, type);
          }
          return new TypeTable(builder.buildOrThrow());
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              // ExampleStackTrace(preAcquiredLock, this) to the returned chain of
              // ExampleStackTraces.
              ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
              path.setStackTrace(entry.getValue().getStackTrace());
              path.initCause(found);
              return path;
            }
          }
          return null;
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys));
        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertThat(result.get(key)).isSameInstanceAs(value);
          assertThat(result.get(value)).isNull();
          assertThat(cache.asMap().get(key)).isSameInstanceAs(value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                Object value = null;
    
                PlexusConfiguration config = configuration.getChild(parameter.getName(), false);
                if (config != null) {
                    String expression = config.getValue(null);
    
                    try {
                        value = expressionEvaluator.evaluate(expression);
    
                        if (value == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              }
            };
        for (Entry<Class<?>, Collection<Object>> entry : distinctValues.asMap().entrySet()) {
          generator.addSampleInstances((Class) entry.getKey(), entry.getValue());
        }
        return generator;
      }
    
      private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator)
          throws ParameterNotInstantiableException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                        V oldValue = map.get(key);
                        // JDK8: this should be a call to map.merge( key, v, remapping )
                        V newValue = (oldValue == null) ? e.getValue() : remapping.merge(oldValue, e.getValue());
                        if (newValue == null) {
                            remove(key);
                        } else if (newValue != oldValue) {
                            map.put(key, newValue);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              // ExampleStackTrace(preAcquiredLock, this) to the returned chain of
              // ExampleStackTraces.
              ExampleStackTrace path = new ExampleStackTrace(preAcquiredLock, this);
              path.setStackTrace(entry.getValue().getStackTrace());
              path.initCause(found);
              return path;
            }
          }
          return null;
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  8. docs/recipes.md

              for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
                System.out.println(entry.getKey());
                System.out.println(entry.getValue().content);
              }
            }
          }
    
          static class Gist {
            Map<String, GistFile> files;
          }
    
          static class GistFile {
            String content;
          }
        ```
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                stk.push(new ActivationFrame("name", Optional.empty()));
                validator.accept(pa.getName());
                stk.peek().location = "value";
                validator.accept(pa.getValue());
                stk.pop();
                stk.pop();
            });
            root.map(Activation::getJdk).ifPresent(jdk -> {
                stk.push(new ActivationFrame("jdk", Optional.empty()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys));
        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertThat(result.get(key)).isSameInstanceAs(value);
          assertThat(result.get(value)).isNull();
          assertThat(cache.asMap().get(key)).isSameInstanceAs(value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
Back to Top