Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 820 for Element (0.04 sec)

  1. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

            assertNotSame(thrower1, thrower2);
        }
    
        // Helper method to check if array contains a value
        private boolean containsValue(String[] array, String value) {
            for (String element : array) {
                if (element.equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3())));
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
    
            // Should contain this test method in stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().contains("testStackTracePreservation")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    
    /**
     * Creates iterators to be tested.
     *
     * @param <E> the element type of the iterator.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface TestIteratorGenerator<E> {
      Iterator<E> get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 938 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/EmptyIterator.java

    package org.codelibs.core.collection;
    
    import java.util.Iterator;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An empty {@link Iterator}.
     *
     * @author higa
     * @param <T> the element type
     */
    public class EmptyIterator<T> implements Iterator<T> {
    
        /**
         * Creates an {@link EmptyIterator}.
         */
        public EmptyIterator() {
        }
    
        @Override
        public void remove() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nullable.java

     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    
    /**
     * The annotated element can be {@code null}.
     *
     * @see Nonnull
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 2];
                        arraycopy(elements, 2, rest, 0, elements.length - 2);
                        return Lists.asList(elements[0], elements[1], rest);
                      }
                    })
                .named("Lists.asList, 3 parameter")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return parent.get(index);
            }
    
            public E set(final int index, final E element) {
                return parent.set(index, element);
            }
    
            public void add(final int index, final E element) {
                parent.add(index, element);
            }
    
            public E remove(final int index) {
                return parent.remove(index);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        delegateFuture = (ScheduledFuture<?>) delegateQueue.element();
        assertTrue(delegateFuture.isCancelled());
    
        delegateQueue.clear();
    
        future = service.scheduleAtFixedRate(runnable, 5, 5, MINUTES);
        future.cancel(true);
        assertTrue(future.isCancelled());
        delegateFuture = (ScheduledFuture<?>) delegateQueue.element();
        assertTrue(delegateFuture.isCancelled());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top