Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for movable (0.18 sec)

  1. android/guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableListMultimap}
     *   <li>{@link ImmutableSetMultimap}
     *   <li>Configure your own mutable multimap with {@link MultimapBuilder}
     *   <li>{@link LinkedListMultimap} (for one unusual kind of mutable {@code Multimap})
     * </ul>
     *
     * Guava contains a number of other multimap implementations, such as {@link ArrayListMultimap}. In
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          AvlNode<E> newRoot = new AvlNode<>(element, occurrences);
          successor(header, newRoot, header);
          rootReference.checkAndSet(root, newRoot);
          return 0;
        }
        int[] result = new int[1]; // used as a mutable int reference to hold result
        AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result);
        rootReference.checkAndSet(root, newRoot);
        return result[0];
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

    @ElementTypesAreNonnullByDefault
    final class StandardMutableValueGraph<N, V> extends StandardValueGraph<N, V>
        implements MutableValueGraph<N, V> {
    
      private final ElementOrder<N> incidentEdgeOrder;
    
      /** Constructs a mutable graph with the properties specified in {@code builder}. */
      StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder) {
        super(builder);
        incidentEdgeOrder = builder.incidentEdgeOrder.cast();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SetMultimap.java

     * if key or value objects already present in the multimap change in a manner that affects
     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code SetMultimap} in a way
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * <pre>{@code
     * // Building a mutable network
     * MutableNetwork<String, Integer> network =
     *     NetworkBuilder.directed().allowsParallelEdges(true).build();
     * flightNetwork.addEdge("LAX", "ATL", 3025);
     * flightNetwork.addEdge("LAX", "ATL", 1598);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      /** Creates an empty {@code CompactLinkedHashSet} instance. */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() {
        return new CompactLinkedHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            WithExceptionalConstructor.INSTANCE,
            ArbitraryInstances.get(WithExceptionalConstructor.class));
        assertNull(ArbitraryInstances.get(NonPublicClass.class));
      }
    
      public void testGet_mutable() {
        assertEquals(0, ArbitraryInstances.get(ArrayList.class).size());
        assertEquals(0, ArbitraryInstances.get(HashMap.class).size());
        assertThat(ArbitraryInstances.get(Appendable.class).toString()).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        // not caching hash code since it could change if map values are mutable
        // in a way that modifies their hash codes
        return entrySet().hashCode();
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /** Returns a new, mutable copy of this array's values, as a primitive {@code int[]}. */
      public int[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top