Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Supplier (0.68 sec)

  1. src/main/java/org/codelibs/core/stream/StreamUtil.java

        }
    
        public static class StreamOf<T> {
    
            private final Supplier<Stream<T>> supplier;
    
            public StreamOf(final Supplier<Stream<T>> supplier) {
                this.supplier = supplier;
            }
    
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
                    stream.accept(s);
                }
            }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                }
            }
            return locale;
        }
    
        private static Supplier<Locale> defaultLocaleSupplier;
    
        public static Locale getDefault() {
            if (defaultLocaleSupplier != null) {
                return defaultLocaleSupplier.get();
            }
            return Locale.ENGLISH;
        }
    
        public static void setDefault(final Supplier<Locale> localeSupplier) {
            defaultLocaleSupplier = localeSupplier;
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import javax.annotation.PostConstruct;
    import javax.annotation.PreDestroy;
    
    import org.apache.commons.lang3.LocaleUtils;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
Back to top