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

Unified Diff: lib/coreimpl/queue.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/core/sequences.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/queue.dart
diff --git a/lib/coreimpl/queue.dart b/lib/coreimpl/queue.dart
index 84c4efd33cc29cd1230a6f46a08bfd7ec375eb61..6601a83e12724c853a65858a17ccd488ec3fd771 100644
--- a/lib/coreimpl/queue.dart
+++ b/lib/coreimpl/queue.dart
@@ -136,11 +136,11 @@ class DoubleLinkedQueue<E> implements Queue<E> {
return _sentinel._next.remove();
}
- E first() {
+ E get first {
return _sentinel._next.element;
}
- E last() {
+ E get last {
return _sentinel._previous.element;
}
« no previous file with comments | « lib/core/sequences.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698