Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for mocked (0.13 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          default:
            return new RegularImmutableAsList<E>(this, toArray());
        }
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    /**
     * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against
     * hash flooding.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ImmutableMap<K, V> {
      /**
       * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    
    /**
     * A type-to-instance map backed by an {@link ImmutableMap}. See also {@link
     * MutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EnumHashBiMap.java

    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap}
     * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code
     * EnumHashBiMap} and its inverse are both serializable.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * calling thread. Tasks are run to completion before a {@code Future} is returned to the caller
       * (unless the executor has been shutdown).
       *
       * <p>The returned executor is backed by the executor returned by {@link
       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumBiMap.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.EnumMap;
    import java.util.Map;
    
    /**
     * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values are not permitted.
     * An {@code EnumBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    public class RegularImmutableMapWithUnhashableValuesMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<Integer, UnhashableObject> {
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/JdkPattern.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ForwardingGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ForwardingNetwork.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * A class to allow {@link Network} implementations to be backed by a provided delegate. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.5K bytes
    - Viewed (0)
Back to top