Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for Sentry (0.19 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

          extends Sets.ImprovedAbstractSet<Entry<E>> {
        abstract Multiset<E> multiset();
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          if (o instanceof Entry) {
            Entry<?> entry = (Entry<?>) o;
            if (entry.getCount() <= 0) {
              return false;
            }
            int count = multiset().count(entry.getElement());
            return count == entry.getCount();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each key
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
            entries.add(Helpers.mapEntry(keysArray[i++], entry.getValue()));
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals("foo", entry.getKey());
        assertThat(entry.getValue()).containsExactly(1, 3, 7);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
        assertThat(entry.getValue()).containsExactly(2, 6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
      // TODO: call conversion constructors or factory methods instead of using
      // populate() on an empty map
      private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) {
        for (Entry<T, String> entry : entries) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @Weak private final transient ImmutableSetMultimap<K, V> multimap;
    
        EntrySet(ImmutableSetMultimap<K, V> multimap) {
          this.multimap = multimap;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

          } else {
            // we need to update a pointer in an entry
            int entryIndex;
            int entry;
            do {
              entryIndex = next - 1;
              entry = entries[entryIndex];
              next = CompactHashing.getNext(entry, mask);
            } while (next != srcNext);
            // here, entries[entryIndex] points to the old entry location; update it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator();
            Entry<TypeVariable<?>, Type> entry = it.next();
            assertThat(entry.getKey().getName(), is("T1"));
            assertThat(entry.getValue(), is(sameClass(Integer.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T2"));
            assertThat(entry.getValue(), is(sameClass(Long.class)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

          for (Object object : entries) {
            Entry<Country, Currency> entry = (Entry<Country, Currency>) object;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, Currency>> samples() {
          return new SampleElements<>(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top