Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for string3 (0.16 sec)

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

       * A builder for creating immutable bimap instances, especially {@code public static final} bimaps
       * ("constant bimaps"). Example:
       *
       * <pre>{@code
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * cast, for example:
       *
       * <pre>{@code
       * Set<Object> aFewBadObjects = ...
       * Set<String> manyBadStrings = ...
       *
       * // impossible for a non-String to be in the intersection
       * SuppressWarnings("unchecked")
       * Set<String> badStrings = (Set) Sets.intersection(
       *     aFewBadObjects, manyBadStrings);
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <pre>{@code
       * Multimap<String, Integer> multimap =
       *     ImmutableMultimap.of("a", 1, "a", 4, "b", 6);
       * EntryTransformer<String, Integer, String> transformer =
       *     new EntryTransformer<String, Integer, String>() {
       *       public String transformEntry(String key, Integer value) {
       *         return key + value;
       *       }
       *     };
       * Multimap<String, String> transformed =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       * example, the code:
       *
       * <pre>{@code
       * Map<String, Boolean> options =
       *     ImmutableMap.of("verbose", true, "sort", false);
       * EntryTransformer<String, Boolean, String> flagPrefixer =
       *     new EntryTransformer<String, Boolean, String>() {
       *       public String transformEntry(String key, Boolean value) {
       *         return value ? key : "no" + key;
       *       }
       *     };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

       * undocumented and subject to change.
       *
       * <p>Note that if {@code list} is a {@code List<String>}, then {@code ImmutableList.copyOf(list)}
       * returns an {@code ImmutableList<String>} containing each of the strings in {@code list}, while
       * {@code ImmutableList.of(list)} returns an {@code ImmutableList<List<String>>} containing one
       * element (the given list itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableListMultimap.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
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        return Multisets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
      }
    
      /** @since 21.0 (present with return type {@code Set} since 2.0) */
      @Override
      public abstract ImmutableSet<E> elementSet();
    
    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)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code
       * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
       * containing each of the strings in {@code s}, while {@code ImmutableSortedMultiset.of(s)}
       * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given
       * multiset itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top