Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 198 for snippet (0.05 sec)

  1. guava/src/com/google/common/collect/LinkedListMultimap.java

     * keys and values. The iteration order is preserved across non-distinct key values. For example,
     * for the following multimap definition:
     *
     * {@snippet :
     * Multimap<K, V> multimap = LinkedListMultimap.create();
     * multimap.put(key1, foo);
     * multimap.put(key2, bar);
     * multimap.put(key1, baz);
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ElementOrder.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * {@snippet :
     * MutableGraph<Integer> graph =
     *     GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
     * }
     *
     * @author Joshua O'Madadhain
     * @since 20.0
     */
    @Beta
    @Immutable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ElementOrder.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * {@snippet :
     * MutableGraph<Integer> graph =
     *     GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
     * }
     *
     * @author Joshua O'Madadhain
     * @since 20.0
     */
    @Beta
    @Immutable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graph.java

     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
     * create an instance of one of the built-in implementations of {@code Graph}, use the {@link
     * GraphBuilder} class:
     *
     * {@snippet :
     * MutableGraph<Integer> graph = GraphBuilder.undirected().build();
     * }
     *
     * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Graph.java

     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
     * create an instance of one of the built-in implementations of {@code Graph}, use the {@link
     * GraphBuilder} class:
     *
     * {@snippet :
     * MutableGraph<Integer> graph = GraphBuilder.undirected().build();
     * }
     *
     * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and
     * from {@link Double#equals}, as if implemented by:
     *
     * {@snippet :
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
     *   long yBits = Double.doubleToRawLongBits(y);
     *   return xBits == yBits;
     * }
     * }
     *
     * @author Doug Lea
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeSet.java

     *
     * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
     * rangeSet.add(Range.closed(1, 10)); // {[1, 10]}
     * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * {@snippet :
     * // Building a mutable network
     * MutableNetwork<String, Integer> network =
     *     NetworkBuilder.directed().allowsParallelEdges(true).build();
     * flightNetwork.addEdge("LAX", "ATL", 3025);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Queues.java

       * through the returned queue.
       *
       * <p>It is imperative that the user manually synchronize on the returned queue when accessing the
       * queue's iterator:
       *
       * {@snippet :
       * Queue<E> queue = Queues.synchronizedQueue(MinMaxPriorityQueue.<E>create());
       * ...
       * queue.add(element);  // Needn't be in synchronized block
       * ...
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
       * {@snippet :
       * enum MyLockOrder {
       *   FIRST, SECOND, THIRD;
       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top