Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: pkg/analyzer/lib/src/generated/java_engine.dart

Issue 267293006: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library java.engine; 1 library java.engine;
2 2
3 import 'java_core.dart'; 3 import 'java_core.dart';
4 4
5 /** 5 /**
6 * A predicate is a one-argument function that returns a boolean value. 6 * A predicate is a one-argument function that returns a boolean value.
7 */ 7 */
8 typedef bool Predicate<E>(E argument); 8 typedef bool Predicate<E>(E argument);
9 9
10 class StringUtilities { 10 class StringUtilities {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 return ""; 172 return "";
173 } 173 }
174 } 174 }
175 175
176 class ArrayUtils { 176 class ArrayUtils {
177 static List add(List target, Object value) { 177 static List add(List target, Object value) {
178 target = new List.from(target); 178 target = new List.from(target);
179 target.add(value); 179 target.add(value);
180 return target; 180 return target;
181 } 181 }
182 static List addAt(List target, int index, Object value) {
183 target = new List.from(target);
184 target.insert(index, value);
185 return target;
186 }
182 static List addAll(List target, List source) { 187 static List addAll(List target, List source) {
183 List result = new List.from(target); 188 List result = new List.from(target);
184 result.addAll(source); 189 result.addAll(source);
185 return result; 190 return result;
186 } 191 }
187 } 192 }
188 193
189 class ObjectUtilities { 194 class ObjectUtilities {
190 static int combineHashCodes(int first, int second) => first * 31 + second; 195 static int combineHashCodes(int first, int second) => first * 31 + second;
191 } 196 }
192 197
193 class UUID { 198 class UUID {
194 static int __nextId = 0; 199 static int __nextId = 0;
195 final String id; 200 final String id;
196 UUID(this.id); 201 UUID(this.id);
197 String toString() => id; 202 String toString() => id;
198 static UUID randomUUID() => new UUID((__nextId).toString()); 203 static UUID randomUUID() => new UUID((__nextId).toString());
199 } 204 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_core.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698