- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for puts (0.12 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* * <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> * * <p>For <i>small</i> immutable sorted maps, the {@code ImmutableSortedMap.of()} methods are even * more convenient.
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) -
android/guava/src/com/google/common/collect/Sets.java
* invocation on the backing map or its {@code keySet} view, with one exception. The {@code * addAll} method is implemented as a sequence of {@code put} invocations on the backing map. * * <p>The specified map must be empty at the time this method is invoked, and should not be * accessed directly after this method returns. These conditions are ensured if the map is created
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) -
android/guava/src/com/google/common/collect/Multimaps.java
* FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build(); * FIRST_LETTER_MULTIMAP.put('b', "anana"); * FIRST_LETTER_MULTIMAP.put('a', "pple"); * FIRST_LETTER_MULTIMAP.put('a', "sparagus"); * FIRST_LETTER_MULTIMAP.put('c', "arrot"); * FIRST_LETTER_MULTIMAP.put('c', "herry"); * } * }</pre> * * <p>To collect to an {@link ImmutableMultimap}, use either {@link
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)