Home | History | Annotate | Download | only in collect

Lines Matching full:value

60      * Associates {@code key} with {@code value} in the built map. Duplicate
63 public <T extends B> Builder<B> put(Class<T> type, T value) {
64 mapBuilder.put(type, value);
72 * @throws NullPointerException if any key or value in {@code map} is null
73 * @throws ClassCastException if any value is not an instance of the type
81 T value = entry.getValue();
82 mapBuilder.put(type, cast(type, value));
107 * @throws NullPointerException if any key or value in {@code map} is null
108 * @throws ClassCastException if any value is not an instance of the type
131 @SuppressWarnings("unchecked") // value could not get in if not a T
141 public <T extends B> T putInstance(Class<T> type, T value) {