Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3931 - 3940 of 4,785 for New (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/dict/ProtwordsTests.java

        @Override
        protected String getDictType() {
            return DICT_TYPE;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

    public class ConcurrentMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> ConcurrentMapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        ConcurrentMapTestSuiteBuilder<K, V> result = new ConcurrentMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      static final List<? extends Class<? extends AbstractTester>> TESTERS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

    public class ConcurrentMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> ConcurrentMapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        ConcurrentMapTestSuiteBuilder<K, V> result = new ConcurrentMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      static final List<? extends Class<? extends AbstractTester>> TESTERS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/JdkPattern.java

      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
      public CommonMatcher matcher(CharSequence t) {
        return new JdkMatcher(pattern.matcher(t));
      }
    
      @Override
      public String pattern() {
        return pattern.pattern();
      }
    
      @Override
      public int flags() {
        return pattern.flags();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    
      public void testFailed() {
        Exception failureCause = new Exception();
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause)));
        assertThat(expected).hasCauseThat().isEqualTo(failureCause);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsScheduledJobCQ.java

            ScheduledJobCQ cq = new ScheduledJobCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    ScheduledJobCQ cf = new ScheduledJobCQ();
                    cqLambda.callback(cf);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 98.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/GroupService.java

            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
        protected void setupListCondition(final GroupCB cb, final GroupPager groupPager) {
            if (groupPager.id != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/RoleService.java

            userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> {
                entity.setRoles(
                        stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
        }
    
        protected void setupListCondition(final RoleCB cb, final RolePager rolePager) {
            if (rolePager.id != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

            .build()
        assertThat(response.body.contentType()).isNull()
        assertThat(response.body.contentLength()).isEqualTo(0L)
        assertThat(response.body.byteString()).isEqualTo(EMPTY)
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top