Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for source (0.15 sec)

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

      }
    
      /**
       * Implementation of a transforming random access list. We try to make as many of these methods
       * pass-through to the source list as possible so that the performance characteristics of the
       * source list and transformed list are similar.
       *
       * @see Lists#transform
       */
      private static class TransformingRandomAccessList<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 6}.
       *
       * @since 3.0 (source-compatible since 2.0)
       */
      @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E element) {
        return copyFromElements(element);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @J2ktIncompatible
      private void readObjectNoData() throws ObjectStreamException {
        throw new InvalidObjectException("Stream data required");
      }
    
      @GwtIncompatible // not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = -2250766705698539974L;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * prevents the renaming then it will be skipped but the tasks will still execute.
       *
       * @param executor The executor to decorate
       * @param nameSupplier The source of names for each task
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      static Executor renamingDecorator(final Executor executor, final Supplier<String> nameSupplier) {
        checkNotNull(executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        arrayCopy(array, paramCount, others);
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array));
      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
      /** ImmutableList.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first
       * one specified is included.
       *
       * @throws NullPointerException if any element is null
       * @since 3.0 (source-compatible since 2.0)
       */
      @SuppressWarnings("unchecked")
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(
          E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      private static final Comparator<Double> VALUE_COMPARATOR =
          Ordering.<Double>natural().reverse().nullsFirst();
    
      /**
       * Test that creating one TreeMultimap from another does not copy the comparators from the source
       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

       * c}}.
       *
       * @param arrays zero or more {@code float} arrays
       * @return a single array containing all the values from the source arrays, in order
       */
      public static float[] concat(float[]... arrays) {
        int length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[length];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top