Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,250 for contains (0.07 sec)

  1. guava/src/com/google/common/collect/CompactHashSet.java

        setHashTableMask(newMask);
        return newMask;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (needsAllocArrays()) {
          return false;
        }
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.contains(object);
        }
        int hash = smearedHash(object);
        int mask = hashTableMask();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/site/apt/index.apt

     []
    
     Depending on what the directory represents ("groupId", "groupId/artifactId" or "groupId/artifactId/version"),
     the Maven Repository Metadata file contains 3 different sets of metadata:
    
     [[1]] in a "groupId" directory: a "groupId" directory may contain Maven plugins artifacts, which are described in metadata's <<<plugins>>> element,
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(long target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertFalse(entries.contains(mapEntry(k3(), v3())));
        multimap().put(k3(), v3());
        assertContains(entries, mapEntry(k3(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutPresentKeyPropagatesToEntries() {
        Collection<Entry<K, V>> entries = multimap().entries();
        assertFalse(entries.contains(mapEntry(k0(), v3())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import java.io.IOException
    import java.util.concurrent.LinkedBlockingQueue
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertFalse(entries.contains(mapEntry(k3(), v3())));
        multimap().put(k3(), v3());
        assertContains(entries, mapEntry(k3(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutPresentKeyPropagatesToEntries() {
        Collection<Entry<K, V>> entries = multimap().entries();
        assertFalse(entries.contains(mapEntry(k0(), v3())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                }
              };
            }
    
            @Override
            public int size() {
              return adjacentNodeValues.size();
            }
    
            @Override
            public boolean contains(@CheckForNull Object obj) {
              return adjacentNodeValues.containsKey(obj);
            }
          };
        }
      }
    
      @Override
      public Set<N> predecessors() {
        return new AbstractSet<N>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
     * occurrences of an element are removed, after which that element is added to the multiset, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return new AbstractSet<Entry<K, V>>() {
          private Set<Entry<K, V>> delegate() {
            return delegate.entrySet();
          }
    
          @Override
          public boolean contains(Object object) {
            try {
              return delegate().contains(object);
            } catch (NullPointerException | ClassCastException e) {
              return false;
            }
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top