Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 829 for element1 (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/additional-status-codes.md

    Sie möchten aber auch, dass sie neue Artikel akzeptiert. Und wenn die Elemente vorher nicht vorhanden waren, werden diese Elemente erstellt und der HTTP-Statuscode 201 „Created“ zurückgegeben.
    
    Um dies zu erreichen, importieren Sie `JSONResponse`, und geben Sie Ihren Inhalt direkt zurück, indem Sie den gewünschten `status_code` setzen:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherContainsNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
        Set<E> other = MinimalSet.from(elements);
    
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherContainsNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
        Set<E> other = MinimalSet.from(elements);
    
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSet.java

        return Spliterators.spliterator(elements, SPLITERATOR_CHARACTERISTICS);
      }
    
      @Override
      Object[] internalArray() {
        return elements;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return elements.length;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        arraycopy(elements, 0, dst, offset, elements.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
          for (Object element : that) {
            if (!(element instanceof Double) || !areEqual(parent.array[i++], (Double) element)) {
              return false;
            }
          }
          return true;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    Ce qui signifie : "la variable `items` est une `list`, et chacun de ses éléments a pour type `str`.
    
    En faisant cela, votre éditeur pourra vous aider, même pendant que vous traitez des éléments de la liste.
    
    <img src="/img/python-types/image05.png">
    
    Sans types, c'est presque impossible à réaliser.
    
    Vous remarquerez que la variable `item` n'est qu'un des éléments de la list `items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top