Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for SECOND (0.38 sec)

  1. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            String first = "first";
            String second = "second";
            String componentName = "testComponent";
    
            ComponentUtil.register(first, componentName);
            String retrieved1 = ComponentUtil.getComponent(componentName);
            assertSame(first, retrieved1);
    
            ComponentUtil.register(second, componentName);
            String retrieved2 = ComponentUtil.getComponent(componentName);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          if (first == null) {
            actionWhenFirstParamIsNull.act();
          }
          if (second == null) {
            actionWhenSecondParamIsNull.act();
          }
        }
    
        /** Two-arg method with no Nullable params. */
        public void normalNormal(String first, Integer second) {
          reactToNullParameters(first, second);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        public int compare(@Nullable String first, @Nullable String second) {
          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ObjectArrays.java

       * @param second the second array of elements to concatenate
       * @param type the component type of the returned array
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         */
        protected ObjectUtil() {
        }
    
        /**
         * Returns true if the two objects are equal, or both are null.
         *
         * @param object1 the first object
         * @param object2 the second object
         * @return true if equal or both null, false otherwise
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
                return true;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicates.java

       * as a false predicate is found.
       *
       * <p><b>Discouraged:</b> Prefer using {@code first.and(second)}.
       */
      public static <T extends @Nullable Object> Predicate<T> and(
          Predicate<? super T> first, Predicate<? super T> second) {
        return new AndPredicate<>(Predicates.<T>asList(checkNotNull(first), checkNotNull(second)));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

       * @param second the second array of elements to concatenate
       * @param type the component type of the returned array
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            InvertibleCryptographer first = securityResourceProvider.providePrimaryInvertibleCryptographer();
            InvertibleCryptographer second = securityResourceProvider.providePrimaryInvertibleCryptographer();
    
            assertNotNull(first);
            assertNotNull(second);
            assertSame(first, second);
            assertSame(invertibleCryptographer, first);
        }
    
        public void test_providePrimaryInvertibleCryptographer_consistency() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            TestScriptEngine engine1 = new TestScriptEngine("first");
            TestScriptEngine engine2 = new TestScriptEngine("second");
    
            scriptEngineFactory.add("test", engine1);
            scriptEngineFactory.add("test", engine2);
    
            // Should get the second engine
            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("test");
            assertEquals(engine2, retrieved);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        TestCallable secondCallable = new TestCallable(SettableFuture.<Void>create());
        Future<?> second = serializer.submitAsync(secondCallable, directExecutor());
        assertThat(secondCallable.called).isFalse();
        assertThat(second.toString()).contains(secondCallable.toString());
        firstFuture.set(null);
        assertThat(second.toString()).contains(secondCallable.future.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top