Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for string3 (0.16 sec)

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

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        /**
         * Returns a string representation of this multiset entry. The string representation consists of
         * the associated element if the associated count is one, and otherwise the associated element
         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Comparators.java

       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

          this.iterable = iterable;
        }
    
        @Override
        public Iterator<T> iterator() {
          return Iterators.unmodifiableIterator(iterable.iterator());
        }
    
        @Override
        public String toString() {
          return iterable.toString();
        }
        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * maps ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
       *         .put(2, "two")
       *         .put(3, "three")
       *         .buildOrThrow();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (Thread.interrupted()) {
            throw new InterruptedException();
          }
          remainingNanos = endNanos - System.nanoTime();
        }
    
        String futureToString = toString();
        final String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

        return new Builder<>(expectedSize);
      }
    
      static void checkNoConflict(
          boolean safe, String conflictDescription, Object entry1, Object entry2) {
        if (!safe) {
          throw conflictException(conflictDescription, entry1, entry2);
        }
      }
    
      static IllegalArgumentException conflictException(
          String conflictDescription, Object entry1, Object entry2) {
        return new IllegalArgumentException(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        if (o instanceof RangeMap) {
          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
          return asMapOfRanges().equals(rangeMap.asMapOfRanges());
        }
        return false;
      }
    
      @Override
      public String toString() {
        return asMapOfRanges().toString();
      }
    
      /**
       * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
       * #asMapOfRanges()} form.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          return new DescendingImmutableSortedSet<>(this);
        }
    
        @Override
        boolean isPartialView() {
          return ranges.isPartialView();
        }
    
        @Override
        public String toString() {
          return ranges.toString();
        }
    
        @Override
        @J2ktIncompatible // serialization
        Object writeReplace() {
          return new AsSetSerializedForm<C>(ranges, domain);
        }
    
    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)
Back to top