Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 613 for INSTANCES (0.15 seconds)

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

    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Map} instances (including instances of {@link
     * SortedMap}, {@link BiMap}, etc.). Also see this class's counterparts {@link Lists}, {@link Sets}
     * and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

     *       instance of {@link HashCode}.
     *   <li><b>pure function:</b> the value produced must depend only on the input bytes, in the order
     *       they appear. Input data is never modified. {@link HashFunction} instances should always be
     *       stateless, and therefore thread-safe.
     *   <li><b>collision-averse:</b> while it can't be helped that a hash function will sometimes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/bytes/bytes.go

    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    // If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s.
    func Count(s, sep []byte) int {
    	// special case
    	if len(sep) == 0 {
    		return utf8.RuneCount(s) + 1
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CollectSpliterators.java

              OutElementT extends @Nullable Object,
              OutSpliteratorT extends Spliterator<OutElementT>>
          implements Spliterator<OutElementT> {
        /** Factory for constructing {@link FlatMapSpliterator} instances. */
        interface Factory<InElementT extends @Nullable Object, OutSpliteratorT extends Spliterator<?>> {
          OutSpliteratorT newFlatMapSpliterator(
              @Nullable OutSpliteratorT prefix,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       */
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableSortedMultiset<Bean> BEANS =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<>(Ordering.<K>natural().reverse());
      }
    
      /**
       * A builder for creating immutable sorted map instances, especially {@code public static final}
       * maps ("constant maps"). Example:
       *
       * {@snippet :
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     * then reverse that result.
     *
     * <h3>Additional notes</h3>
     *
     * <p>Except as noted, the orderings returned by the factory methods of this class are serializable
     * if and only if the provided instances that back them are. For example, if {@code ordering} and
     * {@code function} can themselves be serialized, then {@code ordering.onResultOf(function)} can as
     * well.
     *
     * <h3>Java 8+ users</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/CollectSpliterators.java

              OutElementT extends @Nullable Object,
              OutSpliteratorT extends Spliterator<OutElementT>>
          implements Spliterator<OutElementT> {
        /** Factory for constructing {@link FlatMapSpliterator} instances. */
        @IgnoreJRERequirement // should be redundant with the annotations on *both* enclosing classes
        interface Factory<InElementT extends @Nullable Object, OutSpliteratorT extends Spliterator<?>> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Ordering.java

     * then reverse that result.
     *
     * <h3>Additional notes</h3>
     *
     * <p>Except as noted, the orderings returned by the factory methods of this class are serializable
     * if and only if the provided instances that back them are. For example, if {@code ordering} and
     * {@code function} can themselves be serialized, then {@code ordering.onResultOf(function)} can as
     * well.
     *
     * <h3>Java 8+ users</h3>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Maps.java

    import java.util.function.Consumer;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Map} instances (including instances of {@link
     * SortedMap}, {@link BiMap}, etc.). Also see this class's counterparts {@link Lists}, {@link Sets}
     * and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top