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

Side by Side Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart

Issue 135653008: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library java.core; 1 library java.core;
2 2
3 import "dart:math" as math; 3 import "dart:math" as math;
4 4
5 class JavaSystem { 5 class JavaSystem {
6 static int currentTimeMillis() { 6 static int currentTimeMillis() {
7 return (new DateTime.now()).millisecondsSinceEpoch; 7 return (new DateTime.now()).millisecondsSinceEpoch;
8 } 8 }
9 9
10 static int nanoTime() {
11 return currentTimeMillis() * 1000000;
Brian Wilkerson 2014/01/17 23:43:22 :-(
12 }
13
10 static void arraycopy(List src, int srcPos, List dest, int destPos, int length ) { 14 static void arraycopy(List src, int srcPos, List dest, int destPos, int length ) {
11 for (int i = 0; i < length; i++) { 15 for (int i = 0; i < length; i++) {
12 dest[destPos + i] = src[srcPos + i]; 16 dest[destPos + i] = src[srcPos + i];
13 } 17 }
14 } 18 }
15 } 19 }
16 20
17 Stopwatch instanceOfTimer = new Stopwatch(); 21 Stopwatch instanceOfTimer = new Stopwatch();
18 22
19 /** 23 /**
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 if (!_matches.moveNext()) { 501 if (!_matches.moveNext()) {
498 return false; 502 return false;
499 } 503 }
500 _match = _matches.current; 504 _match = _matches.current;
501 return true; 505 return true;
502 } 506 }
503 String group(int i) => _match[i]; 507 String group(int i) => _match[i];
504 int start() => _match.start; 508 int start() => _match.start;
505 int end() => _match.end; 509 int end() => _match.end;
506 } 510 }
OLDNEW
« no previous file with comments | « no previous file | editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698