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

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

Issue 12296011: Version 0.3.7.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 10 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 | dart/pkg/analyzer-experimental/lib/src/generated/java_core.dart » ('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 import "dart:io"; 4 import "dart:io";
5 import "dart:uri"; 5 import "dart:uri";
6 6
7 class System { 7 class System {
8 static final String pathSeparator = Platform.pathSeparator; 8 static final String pathSeparator = Platform.pathSeparator;
9 static final int pathSeparatorChar = Platform.pathSeparator.codeUnitAt(0); 9 static final int pathSeparatorChar = Platform.pathSeparator.codeUnitAt(0);
10 10
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 } 296 }
297 297
298 E removeAt(int index) { 298 E removeAt(int index) {
299 return elements.removeAt(index); 299 return elements.removeAt(index);
300 } 300 }
301 301
302 E removeLast() { 302 E removeLast() {
303 return elements.removeLast(); 303 return elements.removeLast();
304 } 304 }
305 305
306 List<E> get reversed => elements.reversed; 306 Iterable<E> get reversed => elements.reversed;
307 307
308 List<E> getRange(int start, int length) { 308 List<E> getRange(int start, int length) {
309 return elements.getRange(start, length); 309 return elements.getRange(start, length);
310 } 310 }
311 311
312 void setRange(int start, int length, List<E> from, [int startFrom]) { 312 void setRange(int start, int length, List<E> from, [int startFrom]) {
313 elements.setRange(start, length, from, startFrom); 313 elements.setRange(start, length, from, startFrom);
314 } 314 }
315 315
316 void removeRange(int start, int length) { 316 void removeRange(int start, int length) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 } 398 }
399 399
400 File getAbsoluteFile(File file) { 400 File getAbsoluteFile(File file) {
401 var path = file.fullPathSync(); 401 var path = file.fullPathSync();
402 return new File(path); 402 return new File(path);
403 } 403 }
404 404
405 Uri newUriFromFile(File file) { 405 Uri newUriFromFile(File file) {
406 return new Uri.fromComponents(path: file.fullPathSync()); 406 return new Uri.fromComponents(path: file.fullPathSync());
407 } 407 }
OLDNEW
« no previous file with comments | « no previous file | dart/pkg/analyzer-experimental/lib/src/generated/java_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698