|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2012 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2013 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 82-236
Link Here
|
| 82 |
static final String ITERABLE_IMPL_JRE8; |
82 |
static final String ITERABLE_IMPL_JRE8; |
| 83 |
static final String ITERABLE_RAW_IMPL_JRE8; |
83 |
static final String ITERABLE_RAW_IMPL_JRE8; |
| 84 |
static final String ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8; |
84 |
static final String ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8; |
|
|
85 |
static final String ITERATOR_IMPL_JRE8; |
| 86 |
static final String ITERATOR_RAW_IMPL_JRE8; |
| 85 |
static final String MAP_IMPL_JRE8; |
87 |
static final String MAP_IMPL_JRE8; |
| 86 |
static final String MAP_RAW_IMPL_JRE8; |
88 |
static final String MAP_RAW_IMPL_JRE8; |
| 87 |
static final String MAP_STREAM_IMPL_JRE8; |
89 |
static final String STREAM_OVERRIDE_IMPL_JRE8; |
| 88 |
static final String MAP_STREAM_RAW_IMPL_JRE8; |
90 |
static final String STREAM_OVERRIDE_RAW_IMPL_JRE8; |
|
|
91 |
static final String STREAM_OVERRIDE_DECL_JRE8; |
| 89 |
|
92 |
|
| 90 |
static { |
93 |
static { |
| 91 |
String javaVersion = System.getProperty("java.specification.version"); |
94 |
String javaVersion = System.getProperty("java.specification.version"); |
| 92 |
IS_JRE_8 = "1.8".equals(javaVersion); |
95 |
IS_JRE_8 = "1.8".equals(javaVersion); |
| 93 |
if (IS_JRE_8) { // TODO(stephan) accommodate future versions ... |
96 |
if (IS_JRE_8) { // TODO(stephan) accommodate future versions ... |
| 94 |
COMPARATOR_IMPL_JRE8 = |
97 |
COMPARATOR_IMPL_JRE8 = // replace '*' with T, '%' with U |
| 95 |
" public java.util.Comparator<*> compose(java.util.Comparator<? super *> other) { return null; }\n" + |
98 |
" public java.util.Comparator<*> reverseOrder() { return null;}\n" + |
| 96 |
" public java.util.Comparator<*> reverse() { return null; }\n"; |
99 |
" public java.util.Comparator<*> thenComparing(java.util.Comparator<? super *> other) { return null;}\n" + |
|
|
100 |
" public <% extends java.lang.Comparable<? super %>> java.util.Comparator<*> thenComparing(java.util.function.Function<? super *, ? extends %> keyExtractor) { return null;}\n" + |
| 101 |
" public java.util.Comparator<*> thenComparing(java.util.function.IntFunction<? super *> keyExtractor) { return null;}\n" + |
| 102 |
" public java.util.Comparator<*> thenComparing(java.util.function.LongFunction<? super *> keyExtractor) { return null;}\n" + |
| 103 |
" public java.util.Comparator<*> thenComparing(java.util.function.DoubleFunction<? super *> keyExtractor) { return null;}\n"; |
| 97 |
COMPARATOR_RAW_IMPL_JRE8 = |
104 |
COMPARATOR_RAW_IMPL_JRE8 = |
| 98 |
" public java.util.Comparator compose(java.util.Comparator other) { return null; }\n" + |
105 |
" public java.util.Comparator reverseOrder() { return null;}\n" + |
| 99 |
" public java.util.Comparator reverse() { return null; }\n"; |
106 |
" public java.util.Comparator thenComparing(java.util.Comparator other) { return null;}\n" + |
|
|
107 |
" public java.util.Comparator thenComparing(java.util.function.Function keyExtractor) { return null;}\n" + |
| 108 |
" public java.util.Comparator thenComparing(java.util.function.IntFunction keyExtractor) { return null;}\n" + |
| 109 |
" public java.util.Comparator thenComparing(java.util.function.LongFunction keyExtractor) { return null;}\n" + |
| 110 |
" public java.util.Comparator thenComparing(java.util.function.DoubleFunction keyExtractor) { return null;}\n"; |
| 100 |
COLLECTION_IMPL_JRE8 = |
111 |
COLLECTION_IMPL_JRE8 = |
| 101 |
" public boolean retainAll(java.util.functions.Predicate<? super *> filter) { return false; }\n" + |
112 |
" public boolean removeAll(java.util.function.Predicate<? super *> filter) { return false;}\n" + |
| 102 |
" public boolean removeAll(java.util.functions.Predicate<? super *> filter) { return false; }\n" + |
113 |
" public java.util.stream.Stream<*> stream() { return null;}\n" + |
| 103 |
" public void addAll(Iterable<? extends *> source) { }\n"; |
114 |
" public java.util.stream.Stream<*> parallelStream() { return null;}\n"; |
| 104 |
COLLECTION_RAW_IMPL_JRE8 = |
115 |
COLLECTION_RAW_IMPL_JRE8 = |
| 105 |
" public @SuppressWarnings(\"rawtypes\") boolean retainAll(java.util.functions.Predicate filter) { return false; }\n" + |
116 |
" public @SuppressWarnings(\"rawtypes\") boolean removeAll(java.util.function.Predicate filter) { return false;}\n" + |
| 106 |
" public @SuppressWarnings(\"rawtypes\") boolean removeAll(java.util.functions.Predicate filter) { return false; }\n" + |
117 |
" public @SuppressWarnings(\"rawtypes\") java.util.stream.Stream stream() { return null;}\n" + |
| 107 |
" public @SuppressWarnings(\"rawtypes\") void addAll(Iterable source) { }\n"; |
118 |
" public @SuppressWarnings(\"rawtypes\") java.util.stream.Stream parallelStream() { return null;}\n"; |
| 108 |
LIST_IMPL_JRE8 =// replace '*' with your concrete type argument |
119 |
LIST_IMPL_JRE8 =// replace '*' with your concrete type argument |
| 109 |
" public void sort(java.util.Comparator<? super *> comparator) {}\n" + |
120 |
" public void sort(java.util.Comparator<? super *> comparator) {}\n" + |
| 110 |
" public void parallelSort(java.util.Comparator<? super *> comparator) {}\n"; |
121 |
" public void parallelSort(java.util.Comparator<? super *> comparator) {}\n" + |
|
|
122 |
" public void replaceAll(java.util.function.UnaryOperator<*> operator) {}\n"; |
| 111 |
LIST_RAW_IMPL_JRE8 = |
123 |
LIST_RAW_IMPL_JRE8 = |
| 112 |
" public @SuppressWarnings(\"rawtypes\") void sort(java.util.Comparator comparator) {}\n" + |
124 |
" public @SuppressWarnings(\"rawtypes\") void sort(java.util.Comparator comparator) {}\n" + |
| 113 |
" public @SuppressWarnings(\"rawtypes\") void parallelSort(java.util.Comparator comparator) {}\n"; |
125 |
" public @SuppressWarnings(\"rawtypes\") void parallelSort(java.util.Comparator comparator) {}\n" + |
|
|
126 |
" public @SuppressWarnings(\"rawtypes\") void replaceAll(java.util.function.UnaryOperator operator) {}\n"; |
| 114 |
ITERABLE_IMPL_JRE8 = // replace '*' with your concrete type argument |
127 |
ITERABLE_IMPL_JRE8 = // replace '*' with your concrete type argument |
| 115 |
" public boolean isEmpty() { return false; }\n" + |
128 |
" public void forEach(java.util.function.Block<? super *> block){}\n"; |
| 116 |
" public long count() { return 0L; }\n" + |
|
|
| 117 |
" public * getOnly() { return null; }\n" + |
| 118 |
" public * getFirst() { return null; }\n" + |
| 119 |
" public * getAny() { return null; }\n" + |
| 120 |
" public * reduce(* base, java.util.functions.BinaryOperator<*> reducer) { return null; }\n" + |
| 121 |
" public <A extends java.util.Fillable<? super *>> A into(A target) { return null; }\n" + |
| 122 |
" public void forEach(java.util.functions.Block<? super *> block) {}\n" + |
| 123 |
" public Iterable<*> sorted(java.util.Comparator<? super *> comparator) { return null; }\n" + |
| 124 |
" public boolean anyMatch(java.util.functions.Predicate<? super *> filter) { return false; }\n" + |
| 125 |
" public boolean allMatch(java.util.functions.Predicate<? super *> filter) { return false; }\n" + |
| 126 |
" public boolean noneMatch(java.util.functions.Predicate<? super *> filter) { return false; }\n" + |
| 127 |
" public Iterable<*> cumulate(java.util.functions.BinaryOperator<*> op) { return null; }\n" + |
| 128 |
" public <U> MapStream<*,U> mapped(java.util.functions.Mapper<? super *, ? extends U> mapper) { return null; }\n" + |
| 129 |
" public Iterable<*> filter(java.util.functions.Predicate<? super *> predicate) { return null; }\n" + |
| 130 |
" public <U> Iterable<U> map(java.util.functions.Mapper<? super *, ? extends U> mapper) { return null; }\n" + |
| 131 |
" public double mapReduce(java.util.functions.DoubleMapper<? super *> mapper, double base, java.util.functions.DoubleBinaryOperator reducer) { return 0; }\n" + |
| 132 |
" public long mapReduce(java.util.functions.LongMapper<? super *> mapper, long base, java.util.functions.LongBinaryOperator reducer) { return 0; }\n" + |
| 133 |
" public int mapReduce(java.util.functions.IntMapper<? super *> mapper, int base, java.util.functions.IntBinaryOperator reducer) { return 0; }\n" + |
| 134 |
" public <U> U mapReduce(java.util.functions.Mapper<? super *, ? extends U> mapper, U base, java.util.functions.BinaryOperator<U> reducer) { return null; }\n" + |
| 135 |
" public <U> Iterable<U> flatMap(java.util.functions.Mapper<? super *, ? extends Iterable<U>> mapper) { return null; }\n" + |
| 136 |
" public <U> MapStream<U, Iterable<*>> groupBy(java.util.functions.Mapper<? super *, ? extends U> mapper) { return null; }\n" + |
| 137 |
" public <U> MapStream<U, Iterable<*>> groupByMulti(java.util.functions.Mapper<? super *, ? extends Iterable<U>> mapper) { return null; }\n" + |
| 138 |
" public Iterable<*> uniqueElements() { return null; }\n"; |
| 139 |
ITERABLE_RAW_IMPL_JRE8 = |
129 |
ITERABLE_RAW_IMPL_JRE8 = |
| 140 |
" public boolean isEmpty() { return false; }\n" + |
130 |
" public @SuppressWarnings(\"rawtypes\") void forEach(java.util.function.Block block) {}\n"; |
| 141 |
" public long count() { return 0L; }\n" + |
|
|
| 142 |
" public @SuppressWarnings(\"rawtypes\") Object getOnly() { return null; }\n" + |
| 143 |
" public @SuppressWarnings(\"rawtypes\") Object getFirst() { return null; }\n" + |
| 144 |
" public @SuppressWarnings(\"rawtypes\") Object getAny() { return null; }\n" + |
| 145 |
" public @SuppressWarnings(\"rawtypes\") Object reduce(Object base, java.util.functions.BinaryOperator reducer) { return null; }\n" + |
| 146 |
" public @SuppressWarnings(\"rawtypes\") java.util.Fillable into(java.util.Fillable target) { return null; }\n" + |
| 147 |
" public @SuppressWarnings(\"rawtypes\") void forEach(java.util.functions.Block block) {}\n" + |
| 148 |
" public @SuppressWarnings(\"rawtypes\") Iterable sorted(java.util.Comparator comparator) { return null; }\n" + |
| 149 |
" public @SuppressWarnings(\"rawtypes\") boolean anyMatch(java.util.functions.Predicate filter) { return false; }\n" + |
| 150 |
" public @SuppressWarnings(\"rawtypes\") boolean allMatch(java.util.functions.Predicate filter) { return false; }\n" + |
| 151 |
" public @SuppressWarnings(\"rawtypes\") boolean noneMatch(java.util.functions.Predicate filter) { return false; }\n" + |
| 152 |
" public @SuppressWarnings(\"rawtypes\") Iterable cumulate(java.util.functions.BinaryOperator op) { return null; }\n" + |
| 153 |
" public @SuppressWarnings(\"rawtypes\") MapStream mapped(java.util.functions.Mapper mapper) { return null; }\n" + |
| 154 |
" public @SuppressWarnings(\"rawtypes\") Iterable filter(java.util.functions.Predicate predicate) { return null; }\n" + |
| 155 |
" public @SuppressWarnings(\"rawtypes\") Iterable map(java.util.functions.Mapper mapper) { return null; }\n" + |
| 156 |
" public @SuppressWarnings(\"rawtypes\") double mapReduce(java.util.functions.DoubleMapper mapper, double base, java.util.functions.DoubleBinaryOperator reducer) { return 0; }\n" + |
| 157 |
" public @SuppressWarnings(\"rawtypes\") long mapReduce(java.util.functions.LongMapper mapper, long base, java.util.functions.LongBinaryOperator reducer) { return 0; }\n" + |
| 158 |
" public @SuppressWarnings(\"rawtypes\") int mapReduce(java.util.functions.IntMapper mapper, int base, java.util.functions.IntBinaryOperator reducer) { return 0; }\n" + |
| 159 |
" public @SuppressWarnings(\"rawtypes\") Object mapReduce(java.util.functions.Mapper mapper, Object base, java.util.functions.BinaryOperator reducer) { return null; }\n" + |
| 160 |
" public @SuppressWarnings(\"rawtypes\") Iterable flatMap(java.util.functions.Mapper mapper) { return null; }\n" + |
| 161 |
" public @SuppressWarnings(\"rawtypes\") MapStream groupBy(java.util.functions.Mapper mapper) { return null; }\n" + |
| 162 |
" public @SuppressWarnings(\"rawtypes\") MapStream groupByMulti(java.util.functions.Mapper mapper) { return null; }\n" + |
| 163 |
" public @SuppressWarnings(\"rawtypes\") Iterable uniqueElements() { return null; }\n"; |
| 164 |
ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8 = |
131 |
ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8 = |
| 165 |
" public long count() { return 0L; }\n" + |
132 |
" public @SuppressWarnings(\"rawtypes\") void forEach(java.util.function.Block block) {}\n"; |
| 166 |
" public @SuppressWarnings(\"rawtypes\") Object getOnly() { return null; }\n" + |
133 |
ITERATOR_IMPL_JRE8 = // replace '*' with your concrete type argument |
| 167 |
" public @SuppressWarnings(\"rawtypes\") Object getFirst() { return null; }\n" + |
134 |
" public void forEach(java.util.function.Block<? super *> block){}\n"; |
| 168 |
" public @SuppressWarnings(\"rawtypes\") Object getAny() { return null; }\n" + |
135 |
ITERATOR_RAW_IMPL_JRE8 = |
| 169 |
" public @SuppressWarnings(\"rawtypes\") Object reduce(Object base, java.util.functions.BinaryOperator reducer) { return null; }\n" + |
136 |
" public void forEach(java.util.function.Block block){}\n"; |
| 170 |
" public @SuppressWarnings(\"rawtypes\") java.util.Fillable into(java.util.Fillable target) { return null; }\n" + |
137 |
MAP_IMPL_JRE8 = // '*' for 'K', '%' for 'V' |
| 171 |
" public @SuppressWarnings(\"rawtypes\") void forEach(java.util.functions.Block block) {}\n" + |
138 |
" public boolean remove(Object key, Object value) { return false;}\n" + |
| 172 |
" public @SuppressWarnings(\"rawtypes\") Iterable sorted(java.util.Comparator comparator) { return null; }\n" + |
139 |
" public void forEach(java.util.function.BiBlock<? super *, ? super %> block) {}\n" + |
| 173 |
" public @SuppressWarnings(\"rawtypes\") boolean anyMatch(java.util.functions.Predicate filter) { return false; }\n" + |
140 |
" public void replaceAll(java.util.function.BiFunction<*, %, %> function) {}\n" + |
| 174 |
" public @SuppressWarnings(\"rawtypes\") boolean allMatch(java.util.functions.Predicate filter) { return false; }\n" + |
141 |
" public % putIfAbsent(* key, % value) { return null;}\n" + |
| 175 |
" public @SuppressWarnings(\"rawtypes\") boolean noneMatch(java.util.functions.Predicate filter) { return false; }\n" + |
142 |
" public boolean replace(* key, % oldValue, % newValue) { return false;}\n" + |
| 176 |
" public @SuppressWarnings(\"rawtypes\") Iterable cumulate(java.util.functions.BinaryOperator op) { return null; }\n" + |
143 |
" public % replace(* key, % value) { return null;}\n" + |
| 177 |
" public @SuppressWarnings(\"rawtypes\") MapStream mapped(java.util.functions.Mapper mapper) { return null; }\n" + |
144 |
" public % computeIfAbsent(* key, java.util.function.Function<? super *, ? extends %> mappingFunction) { return null;}\n" + |
| 178 |
" public @SuppressWarnings(\"rawtypes\") Iterable filter(java.util.functions.Predicate predicate) { return null; }\n" + |
145 |
" public % computeIfPresent(* key, java.util.function.BiFunction<? super *, ? super %, ? extends %> remappingFunction) { return null;}\n" + |
| 179 |
" public @SuppressWarnings(\"rawtypes\") Iterable map(java.util.functions.Mapper mapper) { return null; }\n" + |
146 |
" public % compute(* key, java.util.function.BiFunction<? super *, ? super %, ? extends %> remappingFunction) { return null;}\n" + |
| 180 |
" public @SuppressWarnings(\"rawtypes\") double mapReduce(java.util.functions.DoubleMapper mapper, double base, java.util.functions.DoubleBinaryOperator reducer) { return 0; }\n" + |
147 |
" public % merge(* key, % value, java.util.function.BiFunction<? super %, ? super %, ? extends %> remappingFunction) { return null;}\n"; |
| 181 |
" public @SuppressWarnings(\"rawtypes\") long mapReduce(java.util.functions.LongMapper mapper, long base, java.util.functions.LongBinaryOperator reducer) { return 0; }\n" + |
|
|
| 182 |
" public @SuppressWarnings(\"rawtypes\") int mapReduce(java.util.functions.IntMapper mapper, int base, java.util.functions.IntBinaryOperator reducer) { return 0; }\n" + |
| 183 |
" public @SuppressWarnings(\"rawtypes\") Object mapReduce(java.util.functions.Mapper mapper, Object base, java.util.functions.BinaryOperator reducer) { return null; }\n" + |
| 184 |
" public @SuppressWarnings(\"rawtypes\") Iterable flatMap(java.util.functions.Mapper mapper) { return null; }\n" + |
| 185 |
" public @SuppressWarnings(\"rawtypes\") MapStream groupBy(java.util.functions.Mapper mapper) { return null; }\n" + |
| 186 |
" public @SuppressWarnings(\"rawtypes\") MapStream groupByMulti(java.util.functions.Mapper mapper) { return null; }\n" + |
| 187 |
" public @SuppressWarnings(\"rawtypes\") Iterable uniqueElements() { return null; }\n"; |
| 188 |
MAP_IMPL_JRE8 = // '!' stands for 'K,V', '*' for 'K' |
| 189 |
" public Iterable<BiValue<!>> asIterable() { return null; }\n" + |
| 190 |
" public Iterable<*> inputs() { return null; }\n"; |
| 191 |
MAP_RAW_IMPL_JRE8 = |
148 |
MAP_RAW_IMPL_JRE8 = |
| 192 |
" public Iterable asIterable() { return null; }\n" + |
149 |
" public boolean remove(Object key, Object value) { return false;}\n" + |
| 193 |
" public Iterable inputs() { return null; }\n"; |
150 |
" public void forEach(java.util.function.BiBlock block) {}\n" + |
| 194 |
MAP_STREAM_IMPL_JRE8 = // '*' stands for 'K', '%' for 'V' |
151 |
" public void replaceAll(java.util.function.BiFunction function) {}\n" + |
| 195 |
" public BiValue<*,%> getOnly() { return null; }\n" + |
152 |
" public Object putIfAbsent(Object key, Object value) { return null;}\n" + |
| 196 |
" public <A extends Map<? super *, ? super %>> A into(A destination) { return null; }\n" + |
153 |
" public boolean replace(Object key, Object oldValue, Object newValue) { return false;}\n" + |
| 197 |
" public void forEach(java.util.functions.BiBlock<? super *, ? super %> block) {}\n" + |
154 |
" public Object replace(Object key, Object value) { return null;}\n" + |
| 198 |
" public MapStream<*, Iterable<%>> asMultiStream() { return null; }\n" + |
155 |
" public Object computeIfAbsent(Object key, java.util.function.Function mappingFunction) { return null;}\n" + |
| 199 |
" public <W> MapStream<*, Iterable<W>> mapValuesMulti(final java.util.functions.BiMapper<? super *, ? super %, Iterable<W>> mapper) { return null; }\n" + |
156 |
" public Object computeIfPresent(Object key, java.util.function.BiFunction remappingFunction) { return null;}\n" + |
| 200 |
" public MapStream<*,%> sorted(java.util.Comparator<? super *> comparator) { return null; }\n" + |
157 |
" public Object compute(Object key, java.util.function.BiFunction remappingFunction) { return null;}\n" + |
| 201 |
" public boolean anyMatch(java.util.functions.BiPredicate<? super *, ? super %> predicate) { return false; }\n" + |
158 |
" public Object merge(Object key, Object value, java.util.function.BiFunction remappingFunction) { return null;}\n"; |
| 202 |
" public boolean allMatch(java.util.functions.BiPredicate<? super *, ? super %> predicate) { return false; }\n" + |
159 |
STREAM_OVERRIDE_IMPL_JRE8 = // replace '*' with your concrete type argument |
| 203 |
" public boolean noneMatch(java.util.functions.BiPredicate<? super *, ? super %> predicate) { return false; }\n" + |
160 |
" public java.util.stream.Stream<*> stream() { return null;}\n" + |
| 204 |
" public MapStream<*,%> merge(MapStream<*,%> other) { return null; }\n" + |
161 |
" public java.util.stream.Stream<*> parallelStream() { return null;}\n"; |
| 205 |
" public MapStream<*,%> filter(final java.util.functions.BiPredicate<? super *, ? super %> predicate) { return null; }\n" + |
162 |
STREAM_OVERRIDE_RAW_IMPL_JRE8 = |
| 206 |
" public MapStream<%,*> swap() { return null; }\n" + |
163 |
" public java.util.stream.Stream stream() { return null;}\n" + |
| 207 |
" public BiValue<*,%> getAny() { return null; }\n" + |
164 |
" public java.util.stream.Stream parallelStream() { return null;}\n"; |
| 208 |
" public MapStream<*,%> filterKeys(final java.util.functions.Predicate<*> filter) { return null; }\n" + |
165 |
STREAM_OVERRIDE_DECL_JRE8 = // replace '*' with your concrete type argument |
| 209 |
" public MapStream<*,%> filterValues(final java.util.functions.Predicate<%> filter) { return null; }\n" + |
166 |
" public java.util.stream.Stream<*> stream();\n" + |
| 210 |
" public <A extends Map<? super *, C>,C extends Collection<? super %>> A intoMulti(A destination, java.util.functions.Factory<C> factory) { return null; }\n" + |
167 |
" public java.util.stream.Stream<*> parallelStream();\n"; |
| 211 |
" public <W> MapStream<*,W> mapValues(final java.util.functions.Mapper<%,W> mapper) { return null; }\n" + |
|
|
| 212 |
" public BiValue<*,%> getFirst() { return null; }\n" + |
| 213 |
" public <W> MapStream<*, W> map(final java.util.functions.BiMapper<*, %, W> mapper) { return null; }\n"; |
| 214 |
MAP_STREAM_RAW_IMPL_JRE8 = |
| 215 |
" public BiValue getOnly() { return null; }\n" + |
| 216 |
" public Map into(Map destination) { return null; }\n" + |
| 217 |
" public void forEach(java.util.functions.BiBlock block) {}\n" + |
| 218 |
" public MapStream asMultiStream() { return null; }\n" + |
| 219 |
" public MapStream mapValuesMulti(final java.util.functions.BiMapper mapper) { return null; }\n" + |
| 220 |
" public MapStream sorted(java.util.Comparator comparator) { return null; }\n" + |
| 221 |
" public boolean anyMatch(java.util.functions.BiPredicate predicate) { return false; }\n" + |
| 222 |
" public boolean allMatch(java.util.functions.BiPredicate predicate) { return false; }\n" + |
| 223 |
" public boolean noneMatch(java.util.functions.BiPredicate predicate) { return false; }\n" + |
| 224 |
" public MapStream merge(MapStream other) { return null; }\n" + |
| 225 |
" public MapStream filter(final java.util.functions.BiPredicate predicate) { return null; }\n" + |
| 226 |
" public MapStream swap() { return null; }\n" + |
| 227 |
" public BiValue getAny() { return null; }\n" + |
| 228 |
" public MapStream filterKeys(final java.util.functions.Predicate filter) { return null; }\n" + |
| 229 |
" public MapStream filterValues(final java.util.functions.Predicate filter) { return null; }\n" + |
| 230 |
" public Map intoMulti(Map destination, java.util.functions.Factory factory) { return null; }\n" + |
| 231 |
" public MapStream mapValues(final java.util.functions.Mapper mapper) { return null; }\n" + |
| 232 |
" public BiValue getFirst() { return null; }\n" + |
| 233 |
" public MapStream map(final java.util.functions.BiMapper mapper) { return null; }\n"; |
| 234 |
} else { |
168 |
} else { |
| 235 |
COMPARATOR_IMPL_JRE8 = ""; |
169 |
COMPARATOR_IMPL_JRE8 = ""; |
| 236 |
COMPARATOR_RAW_IMPL_JRE8 = ""; |
170 |
COMPARATOR_RAW_IMPL_JRE8 = ""; |
|
Lines 241-250
Link Here
|
| 241 |
ITERABLE_IMPL_JRE8 = ""; |
175 |
ITERABLE_IMPL_JRE8 = ""; |
| 242 |
ITERABLE_RAW_IMPL_JRE8 = ""; |
176 |
ITERABLE_RAW_IMPL_JRE8 = ""; |
| 243 |
ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8 = ""; |
177 |
ITERABLE_RAW_WITHOUT_IS_EMPTY_IMPL_JRE8 = ""; |
|
|
178 |
ITERATOR_IMPL_JRE8 = "\n"; |
| 179 |
ITERATOR_RAW_IMPL_JRE8 = "\n"; |
| 244 |
MAP_IMPL_JRE8 = ""; |
180 |
MAP_IMPL_JRE8 = ""; |
| 245 |
MAP_RAW_IMPL_JRE8 = ""; |
181 |
MAP_RAW_IMPL_JRE8 = ""; |
| 246 |
MAP_STREAM_IMPL_JRE8 = ""; |
182 |
STREAM_OVERRIDE_IMPL_JRE8 = "\n\n"; |
| 247 |
MAP_STREAM_RAW_IMPL_JRE8 = ""; |
183 |
STREAM_OVERRIDE_RAW_IMPL_JRE8 = "\n\n"; |
|
|
184 |
STREAM_OVERRIDE_DECL_JRE8 = ""; |
| 248 |
} |
185 |
} |
| 249 |
} |
186 |
} |
| 250 |
String getListRawImplJRE8() { |
187 |
String getListRawImplJRE8() { |