Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,882 for contain (0.15 sec)

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

        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
            firstIndex == getList().indexOf(duplicate));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Map artifactMap = project.getArtifactMap();
    
            assertNotNull( artifactMap, "artifact-map should not be null." );
            assertEquals( 1, artifactMap.size(), "artifact-map should contain 1 element." );
    
            Artifact artifact = (Artifact) artifactMap.get( key );
    
            assertNotNull( artifact, "dependency artifact not found in map." );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
        };
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set
       * contains all elements that are contained in either {@code set1} or {@code set2} but not in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectArrays.java

       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
       * <p>TODO(kevinb): support concurrently modified collections?
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         * contain.
         */
        @CanIgnoreReturnValue
        public Builder add(int value) {
          ensureRoomFor(1);
          array[count] = value;
          count += 1;
          return this;
        }
    
        /**
         * Appends {@code values}, in order, to the end of the values the built {@link
         * ImmutableIntArray} will contain.
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      public void testElementSet_contains() {
        assertTrue(
            "multiset.elementSet().contains(present) returned false",
            getMultiset().elementSet().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEntrySet_contains() {
        assertTrue(
            "multiset.entrySet() didn't contain [present, 1]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns an {@code UnsignedInteger} holding the value of the specified {@code String}, parsed as
       * an unsigned {@code int} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int}
       *     value
       */
      public static UnsignedInteger valueOf(String string) {
        return valueOf(string, 10);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
       *   <li>{@code 0}<i>OctalDigits</i>
       * </ul>
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

         * contain.
         */
        @CanIgnoreReturnValue
        public Builder add(double value) {
          ensureRoomFor(1);
          array[count] = value;
          count += 1;
          return this;
        }
    
        /**
         * Appends {@code values}, in order, to the end of the values the built {@link
         * ImmutableDoubleArray} will contain.
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheLoader.java

       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
Back to top