Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 235 for what (0.23 sec)

  1. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. .github/workflows/ci.yml

                java: 21
                root-pom: pom.xml
        runs-on: ${{ matrix.os }}
        env:
          ROOT_POM: ${{ matrix.root-pom }}
        steps:
          # Cancel any previous runs for the same branch that are still running.
          - name: 'Cancel previous runs'
            uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
            with:
              access_token: ${{ github.token }}
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a List
     * implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class ListTestSuiteBuilder<E>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
            FreshInvocationHandler that = (FreshInvocationHandler) obj;
            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public ImmutableCollection<V> values() {
        if (cachedValues != null) {
          return cachedValues;
        }
        return cachedValues = createValues();
      }
    
      // cached so that this.multimapView().inverse() only computes inverse once
      private transient @Nullable ImmutableSetMultimap<K, V> multimapView;
    
      public ImmutableSetMultimap<K, V> asMultimap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        }
    
        @Override
        public Map<String, Collection<Integer>> create(Object... elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          // assumes that each set is a singleton or less (as is done for the samples)
          for (Object elem : elements) {
            @SuppressWarnings("unchecked") // safe by generator contract
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        multimap.put("google", 6);
        multimap.put(null, 3);
        multimap.put(null, 1);
        multimap.put(null, 7);
        multimap.put("tree", 0);
        multimap.put("tree", null);
        return multimap;
      }
    
      /** Test that a TreeMultimap created from another uses the natural ordering. */
      public void testMultimapCreateFromTreeMultimap() {
        TreeMultimap<String, Integer> tree =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

      private static final ImmutableRangeMap<Comparable<?>, Object> EMPTY =
          new ImmutableRangeMap<>(ImmutableList.<Range<Comparable<?>>>of(), ImmutableList.of());
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeMap}. As in {@link Builder}, overlapping ranges are not permitted.
       *
       * @since 23.1
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
      public boolean isCompatible(BloomFilter<T> that) {
        checkNotNull(that);
        return this != that
            && this.numHashFunctions == that.numHashFunctions
            && this.bitSize() == that.bitSize()
            && this.strategy.equals(that.strategy)
            && this.funnel.equals(that.funnel);
      }
    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