Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 820 for Element (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
    
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return new StandardImplForwardingQueue<>(new LinkedList<>(asList(elements)));
                      }
                    })
                .named("ForwardingQueue[LinkedList] with standard implementations")
                .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       */
      @Override
      <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result);
    
      /**
       * {@inheritDoc}
       *
       * <p>All elements in the returned list must be {@link ListenableFuture} instances. The easiest
       * way to obtain a {@code List<ListenableFuture<T>>} from this method is an unchecked (but safe)
       * cast:
       *
       * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

    /**
     * Represents the source of a model input, such as a POM file.
     * <p>
     * This class tracks the origin of model elements, including their location in source files
     * and relationships between imported models. It's used for error reporting and debugging
     * to help identify where specific model elements came from.
     *
     * @since 4.0.0
     */
    public class InputSource implements Serializable {
    
        private final String modelId;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                assertTrue("Content should contain 'Thread:'", content.contains("Thread:"));
                assertTrue("Content should contain stack trace elements", content.contains("\tat "));
    
            } finally {
                // Clean up
                Files.deleteIfExists(tempFile);
            }
        }
    
        public void test_writeThreadDump_withInvalidPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** constructor with array is of same size and has all elements */
      public void testConstructor2() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
        assertEquals(VALUES.length, aa.length());
        for (int i = 0; i < VALUES.length; i++) {
          assertBitEquals(VALUES[i], aa.get(i));
        }
      }
    
      /** constructor with empty array has size 0 and contains no elements */
      public void testConstructorEmptyArray() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

     */
    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * An empty {@link Enumeration}.
     *
     * @author higa
     * @param <T> the type of elements
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * Creates an {@link EmptyEnumeration}.
         */
        public EmptyEnumeration() {
            super(new EmptyIterator<T>());
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top