Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 390 for helper (0.22 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Viewed (0)
  2. guava/pom.xml

                  </resources>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-gradle-module-metadata</id>
                <goals>
                  <goal>attach-artifact</goal>
                </goals>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/MathTesting.java

          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Objects.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper functions that can operate on any {@code Object}.
     *
     * <p>See the Guava User Guide on <a
     * href="https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained">writing {@code Object}
     * methods with {@code Objects}</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathTesting.java

          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsTesting.java

    import com.google.common.primitives.Doubles;
    import com.google.common.primitives.Ints;
    import java.math.BigInteger;
    import java.util.List;
    import java.util.stream.DoubleStream;
    
    /**
     * Inputs, expected outputs, and helper methods for tests of {@link StatsAccumulator}, {@link
     * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}.
     *
     * @author Pete Gillin
     */
    class StatsTesting {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        try {
          new PercentEscaper(" ", true);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top