Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for hinter (0.23 sec)

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

        Enumeration<Integer> enumer = enumerate(1, 2, 3);
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(2, (int) iter.next());
        assertTrue(iter.hasNext());
        assertEquals(3, (int) iter.next());
        assertFalse(iter.hasNext());
      }
    
      public void testAsEnumerationEmpty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
        Iterable<TypeB> blist = Iterables.filter(alist, TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

                (ImmutableList) TypeCollector.FOR_GENERIC_TYPE.collectTypes(TypeToken.this);
            return (types =
                FluentIterable.from(collectedTypes)
                    .filter(TypeFilter.IGNORE_TYPE_VARIABLE_OR_WILDCARD)
                    .toSet());
          } else {
            return filteredTypes;
          }
        }
    
        /** Returns the raw types of the types in this set, in the same order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

     * <i>not</i> include cache contents, but only configuration.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/CachesExplained">caching</a> for a higher-level
     * explanation.
     *
     * @param <K> the most general key type this builder will be able to create caches for. This is
     *     normally {@code Object} unless it is constrained by using a method like {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Striped.java

     * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
     * lock. The lower the number of stripes, the higher the probability of this happening.
     *
     * <p>There are three flavors of this class: {@code Striped<Lock>}, {@code Striped<Semaphore>}, and
     * {@code Striped<ReadWriteLock>}. For each type, two implementations are offered: {@linkplain
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  6. android/pom.xml

              <configuration>
                <includes>
                  <include>${test.include}</include>
                </includes>
                <!-- By having our own entries here, we also override the default exclusion filter, which excludes all nested classes. -->
                <excludes>
                  <!-- https://github.com/google/guava/issues/2840 -->
                  <exclude>%regex[.*PackageSanityTests.*.class]</exclude>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

      public InternetDomainName parent() {
        checkState(hasParent(), "Domain '%s' has no parent", name);
        return ancestor(1);
      }
    
      /**
       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            assertFalse(filter(createUnfiltered(contents), EVEN).contains(new Object()));
          }
        }
    
        public void testAddAllFailsAtomically() {
          ImmutableList<Integer> toAdd = ImmutableList.of(2, 4, 3);
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
            C filteredToModify = filter(createUnfiltered(contents), EVEN);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/SmallCharMatcher.java

      static final int MAX_SIZE = 1023;
      private final char[] table;
      private final boolean containsZero;
      private final long filter;
    
      private SmallCharMatcher(char[] table, long filter, boolean containsZero, String description) {
        super(description);
        this.table = table;
        this.filter = filter;
        this.containsZero = containsZero;
      }
    
      private static final int C1 = 0xcc9e2d51;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Combines this Bloom filter with another Bloom filter by performing a bitwise OR of the
       * underlying data. The mutations happen to <b>this</b> instance. Callers must ensure the Bloom
       * filters are appropriately sized to avoid saturating them.
       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top