Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 241 for allow (0.39 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * better approach is to /allow/ the request right away (as if it was an acquire(1) request
       * instead), and postpone /subsequent/ requests as needed. In this version, we allow starting the
       * task immediately, and postpone by 100 seconds future requests, thus we allow for work to get
       * done in the meantime instead of waiting idly.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

     * ClassToInstanceMap}</a>.
     *
     * @param <B> the common supertype that all values will share. When in doubt, just use {@link
     *     Object}, or use {@code @Nullable Object} to allow null values.
     * @since 2.0
     */
    @DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface ClassToInstanceMap<B extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> {
      // TODO: expose allow nulls parameter?
    
      public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) {
        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ClassToInstanceMap.java

     * ClassToInstanceMap}</a>.
     *
     * @param <B> the common supertype that all values will share. When in doubt, just use {@link
     *     Object}, or use {@code @Nullable Object} to allow null values.
     * @since 2.0
     */
    @DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface ClassToInstanceMap<B extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EmptyContiguousSet.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An empty contiguous set.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("rawtypes") // allow ungenerified Comparable types
    @ElementTypesAreNonnullByDefault
    final class EmptyContiguousSet<C extends Comparable> extends ContiguousSet<C> {
      EmptyContiguousSet(DiscreteDomain<C> domain) {
        super(domain);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 28 18:35:00 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Network} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow parallel edges
     *   <li>does not allow self-loops
     *   <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the
     *       elements were added (insertion order)
     * </ul>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        ValueGraphBuilder<N1, V1> castBuilder = cast();
        return new ImmutableValueGraph.Builder<>(castBuilder);
      }
    
      /**
       * Specifies whether the graph will allow self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a graph that does not allow them will throw an {@link
       * UnsupportedOperationException}.
       *
       * <p>The default value is {@code false}.
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/EndpointPairIterator.java

      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    
      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
        return graph.isDirected() ? new Directed<N>(graph) : new Undirected<N>(graph);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Network.java

      /**
       * Returns true if this network allows parallel edges. Attempting to add a parallel edge to a
       * network that does not allow them will throw an {@link IllegalArgumentException}.
       */
      boolean allowsParallelEdges();
    
      /**
       * Returns true if this network allows self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top