Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 141 for Allow (0.04 sec)

  1. 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)
  2. 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/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)
  4. 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
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used
     * when more than one escaper is created using the same character replacement mapping to allow the
     * underlying (implementation specific) data structures to be shared.
     *
     * <p>The size of the data structure used by ArrayBasedCharEscaper and ArrayBasedUnicodeEscaper is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/HashMultimap.java

     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly if the last write <i>happens-before</i> any reads. To allow
     * concurrent update operations, wrap your multimap with a call to {@link
     * Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code HashMultimap} in a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top