Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 4,619 for _new (0.02 sec)

  1. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

        @Test
        public void testSIllegalStateExceptionStringThrowable() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
            assertThat(clIllegalStateException.getMessage(), is("hoge"));
            assertThat(clIllegalStateException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
        public Iterable<Entry<E>> order(List<Entry<E>> insertionOrder) {
          // We mimic the order from gen.
          Map<E, Entry<E>> map = new LinkedHashMap<>();
          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(
              new UnhashableObject(1),
              new UnhashableObject(2),
              new UnhashableObject(3),
              new UnhashableObject(4),
              new UnhashableObject(5));
        }
      }
    
      public static class Colliders extends SampleElements<Object> {
        public Colliders() {
          super(new Collider(1), new Collider(2), new Collider(3), new Collider(4), new Collider(5));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            // Register all query commands needed for testing
            new TermQueryCommand().register();
            new MatchAllQueryCommand().register();
            new PhraseQueryCommand().register();
            new BooleanQueryCommand().register();
            new PrefixQueryCommand().register();
            new WildcardQueryCommand().register();
            new FuzzyQueryCommand().register();
    
            // Initialize BoostQueryCommand
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends DataConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends LabelType> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        if (boostList == null) {
                            boostList = new ArrayList<>();
                            queryMap.put(termKey, boostList);
                        }
                        boostList.add(
                                new Tuple3<>(keyMatch.getId(), boolQuery, ScoreFunctionBuilders.weightFactorFunction(keyMatch.getBoost())));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

                Subject ps = super.getSubject();
    
                if (this.configuration != null) {
                    lc = new LoginContext(this.serviceName, ps, this, this.configuration);
                } else if (ps != null) {
                    lc = new LoginContext(this.serviceName, ps, this);
                } else {
                    lc = new LoginContext(this.serviceName, this);
                }
                lc.login();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

        assertTrue(set.isEmpty());
        set.add(new Derived("foo"));
        set.add(new Derived("bar"));
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetEmptyNonGeneric() {
        TreeSet<LegacyComparable> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new LegacyComparable("foo"));
        set.add(new LegacyComparable("bar"));
        assertThat(set)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * {@snippet :
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top