Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 3,329 for new1 (0.02 seconds)

  1. guava/src/com/google/common/base/Predicates.java

       * {@code pattern.matcher(arg).find()}
       *
       * @since 3.0
       */
      @GwtIncompatible // java.util.regex.Pattern
      public static Predicate<CharSequence> contains(Pattern pattern) {
        return new ContainsPatternPredicate(new JdkPattern(pattern));
      }
    
      // End public API, begin private implementation classes.
    
      private enum ObjectPredicate implements Predicate<@Nullable Object> {
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                crawlingInfo = new CrawlingInfo(sessionId);
                try {
                    getCrawlingInfoService().store(crawlingInfo);
                } catch (final Exception e) {
                    throw new FessSystemException("No crawling session.", e);
                }
            }
    
            if (infoMap != null) {
                final List<CrawlingInfoParam> crawlingInfoParamList = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      transient Class<K> keyTypeOrObjectUnderJ2cl;
    
      /**
       * Returns a new, empty {@code EnumHashBiMap} using the specified key type.
       *
       * @param keyType the key type
       */
      public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create(
          Class<K> keyType) {
        return new EnumHashBiMap<>(keyType);
      }
    
      /**
       * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MoreCollectors.java

        return (Collector) TO_OPTIONAL;
      }
    
      private static final Object NULL_PLACEHOLDER = new Object();
    
      private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT =
          Collector.<@Nullable Object, ToOptionalState<Object>, @Nullable Object>of(
              () -> new ToOptionalState<>(null),
              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
              ToOptionalState::combine,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      public void testListenersNotifiedOnError() throws Exception {
        CountDownLatch successLatch = new CountDownLatch(1);
        CountDownLatch listenerLatch = new CountDownLatch(1);
    
        ExecutorService exec = newCachedThreadPool();
    
        future.addListener(listenerLatch::countDown, exec);
    
        new Thread(
                () -> {
                  assertThrows(CancellationException.class, future::get);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
            if (nThreads < 1) {
                nThreads = 1;
            }
            final ExecutorService executorService = new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS,
                    new LinkedBlockingQueue<Runnable>(nThreads), new ThreadPoolExecutor.CallerRunsPolicy());
            try {
                while (!isInterrupted() && !stopIfLeisure()) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/TreeBasedTable.java

            new TreeBasedTable<>(
                requireNonNull(table.rowKeySet().comparator()), table.columnComparator());
        result.putAll(table);
        return result;
      }
    
      TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
        super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes the update.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException();
      static final OtherThrowable OTHER_THROWABLE = new OtherThrowable();
      static final Future<String> FAILED_FUTURE_OTHER_THROWABLE =
          immediateFailedFuture(OTHER_THROWABLE);
      static final Error ERROR = new Error("mymessage");
      static final Future<String> FAILED_FUTURE_ERROR = immediateFailedFuture(ERROR);
      static final Future<String> RUNTIME_EXCEPTION_FUTURE =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top