Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4651 - 4660 of 6,205 for new1 (0.1 seconds)

  1. guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class RelationshipTesterTest extends TestCase {
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, /* itemReporter */ Item::toString)
            .testNulls(RelationshipTester.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    /**
     * @author higa
     */
    public class CaseInsensitiveSetTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
            return new String[] {"perlookup"};
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

        private static final long serialVersionUID = 1L;
    
        /** The action class that requires specific user roles */
        private final Class<? extends RootAction> actionClass;
    
        /**
         * Constructs a new UserRoleLoginException with the specified action class.
         *
         * @param actionClass the action class that requires specific user roles
         */
        public UserRoleLoginException(final Class<? extends RootAction> actionClass) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            final ClassificationMeta onMainSchema = findOnMainSchema(classificationName);
            if (onMainSchema == null) {
                final String msg = "Not found the classification: " + classificationName;
                throw new ProvidedClassificationNotFoundException(msg);
            }
            return onMainSchema;
        }
    
        protected ClassificationMeta findOnMainSchema(final String classificationName) throws ProvidedClassificationNotFoundException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

         */
        public static String escapeValue(final String value) {
            if (value == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(value.length() * 2);
            for (int i = 0; i < value.length(); i++) {
                final char c = value.charAt(i);
                switch (c) {
                case '\\':
                    sb.append("\\5c");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

                    logger.debug("BoostQuery: query={}, boost={}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

     */
    @GwtIncompatible // untested
    @NullUnmarked
    public class MultimapsFilterEntriesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
      private static final Predicate<Entry<String, Integer>> PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556;
            }
          };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractMapEntry.java

      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
      public V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return new KeySetSerializedForm<K>(map);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      private static final class KeySetSerializedForm<K> implements Serializable {
        final ImmutableMap<K, ?> map;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top