Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 232 for Supplier (0.16 sec)

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

    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.LinkedHashMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import java.util.Map;
    import java.util.function.Supplier;
    
    import org.apache.http.auth.UsernamePasswordCredentials;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java

     * model builder.
     *
     */
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

    @ElementTypesAreNonnullByDefault
    public class NewCustomTableTest extends AbstractTableTest<Character> {
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Supplier<TreeMap<Integer, Character>> factory =
            new Supplier<TreeMap<Integer, Character>>() {
              @Override
              public TreeMap<Integer, Character> get() {
                return Maps.newTreeMap();
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        }
    
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
                throws PluginDescriptorParsingException, PluginResolutionException, InvalidPluginDescriptorException {
    
            try {
                PluginDescriptor desc = descriptors.get(key);
                if (desc == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FunctionsTest.java

        }
      }
    
      public void testForSupplier() {
        Supplier<Integer> supplier = new CountingSupplier();
        Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier);
    
        assertEquals(1, (int) function.apply(null));
        assertEquals(2, (int) function.apply("foo"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forSupplier(supplier))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        }
      }
    
      public void testForSupplier() {
        Supplier<Integer> supplier = new CountingSupplier();
        Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier);
    
        assertEquals(1, (int) function.apply(null));
        assertEquals(2, (int) function.apply("foo"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forSupplier(supplier))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            protected Activation.Builder transformActivation_ActiveByDefault(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
                return builder;
            }
    
            @Override
            protected Activation.Builder transformActivation_File(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

    import java.util.Hashtable;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.BiConsumer;
    import java.util.function.Consumer;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import javax.annotation.PostConstruct;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.naming.directory.Attribute;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        static Construction<Map<Object, Object>> mapFromKeys(
            Supplier<Map<Object, Object>> mutableSupplier) {
          return keys -> {
            Map<Object, Object> map = mutableSupplier.get();
            for (Object key : keys) {
              map.put(key, new Object());
            }
            return map;
          };
        }
    
        static Construction<Set<Object>> setFromElements(Supplier<Set<Object>> mutableSupplier) {
          return elements -> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top