Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for utilise (0.21 sec)

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

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SpecialRandom.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Random;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SpecialRandom.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Random;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    
    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    
    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Enums.java

    import java.lang.reflect.Field;
    import java.util.EnumSet;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.WeakHashMap;
    import javax.annotation.CheckForNull;
    
    /**
     * Utility methods for working with {@link Enum} instances.
     *
     * @author Steve McKay
     * @since 9.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Enums {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Primitives.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Contains static utility methods pertaining to primitive types and their corresponding wrapper
     * types.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Primitives {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 05 19:04:25 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

        return ImmutableSet.copyOf(elements);
      }
    
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      /**
       * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a
       * set constructed with the elements in the given collection. Also verifies that the ordering in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      private E extract() {
        final E[] items = this.items;
        E x = items[takeIndex];
        items[takeIndex] = null;
        takeIndex = inc(takeIndex);
        --count;
        return x;
      }
    
      /**
       * Utility for remove and iterator.remove: Delete item at position i. Call only when occupying
       * monitor.
       */
      void removeAt(int i) {
        final E[] items = this.items;
        // if removing front item, just advance
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top