Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for intro (0.15 sec)

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

      static final int SPLITERATOR_CHARACTERISTICS =
          ImmutableCollection.SPLITERATOR_CHARACTERISTICS | Spliterator.DISTINCT;
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableSet}. Elements appear in the resulting set in the encounter order of the stream; if
       * the stream contains duplicates (according to {@link Object#equals(Object)}), only the first
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

        } catch (IOException impossible) {
          throw new AssertionError(impossible);
        }
        return result.toString();
      }
    
      /**
       * Returns an {@code OutputStream} that encodes bytes using this encoding into the specified
       * {@code Writer}. When the returned {@code OutputStream} is closed, so is the backing {@code
       * Writer}.
       */
      @J2ktIncompatible
      @GwtIncompatible // Writer,OutputStream
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
        // ConcurrentMap implementors. One possibility is to extract most of this class into
        // an AbstractConcurrentMapMultiset.
        return new ConcurrentHashMultiset<>(new ConcurrentHashMap<E, AtomicInteger>());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

      // TODO(fry): empirically optimize this
      static final int DRAIN_MAX = 16;
    
      // Fields
    
      static final Logger logger = Logger.getLogger(LocalCache.class.getName());
    
      /**
       * Mask value for indexing into segments. The upper bits of a key's hash code are used to choose
       * the segment.
       */
      final int segmentMask;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/DoubleMathTest.java

            fail("Expected IllegalArgumentException");
          } catch (IllegalArgumentException expected) {
            // success
          }
        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ImmutableMap<K, V>
        implements NavigableMap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSortedMap} whose
       * keys and values are the result of applying the provided mapping functions to the input
       * elements. The generated map is sorted by the specified comparator.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.<Comparable<?>>all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
       * ranges will be merged.
       *
       * @since 23.1
       */
      public static <E extends Comparable<? super E>>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.<Comparable<?>>all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
       * ranges will be merged.
       *
       * @since 33.2.0 (available since 23.1 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertTransformIterator(list);
      }
    
      /**
       * This test depends on the fact that {@code AbstractSequentialList.iterator} transforms the
       * {@code iterator()} call into a call on {@code listIterator(int)}. This is fine because the
       * behavior is clearly documented so it's not expected to change.
       */
      public void testTransformedSequentialIterationUsesBackingListIterationOnly() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

       * like {@link List#contains} and {@link List#hashCode}. For this to perform well, {@code
       * function} should be fast. To avoid lazy evaluation when the returned list doesn't need to be a
       * view, copy the returned list into a new list of your choosing.
       *
       * <p>If {@code fromList} implements {@link RandomAccess}, so will the returned list. The returned
       * list is threadsafe if the supplied list and function are.
       *
    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)
Back to top