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

Side by Side Diff: client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class _TouchListWrappingImplementation extends DOMWrapperBase implements TouchLi st {
8 _TouchListWrappingImplementation() : super() {}
9
10 static create__TouchListWrappingImplementation() native {
11 return new _TouchListWrappingImplementation();
12 }
13
14 int get length() { return _get_length(this); }
15 static int _get_length(var _this) native;
16
17 Touch operator[](int index) { return _index(this, index); }
18 static Touch _index(var _this, int index) native;
19
20 void operator[]=(int index, Touch value) {
21 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
22 }
23
24 void add(Touch value) {
25 throw new UnsupportedOperationException("Cannot add to immutable List.");
26 }
27
28 void addLast(Touch value) {
29 throw new UnsupportedOperationException("Cannot add to immutable List.");
30 }
31
32 void addAll(Collection<Touch> collection) {
33 throw new UnsupportedOperationException("Cannot add to immutable List.");
34 }
35
36 void sort(int compare(Touch a, Touch b)) {
37 throw new UnsupportedOperationException("Cannot sort immutable List.");
38 }
39
40 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) {
41 throw new UnsupportedOperationException("This object is immutable.");
42 }
43
44 int indexOf(Touch element, [int start = 0]) {
45 return _Lists.indexOf(this, element, start, this.length);
46 }
47
48 int lastIndexOf(Touch element, [int start = null]) {
49 if (start === null) start = length - 1;
50 return _Lists.lastIndexOf(this, element, start);
51 }
52
53 int clear() {
54 throw new UnsupportedOperationException("Cannot clear immutable List.");
55 }
56
57 Touch removeLast() {
58 throw new UnsupportedOperationException("Cannot removeLast on immutable List .");
59 }
60
61 Touch last() {
62 return this[length - 1];
63 }
64
65 void forEach(void f(Touch element)) {
66 _Collections.forEach(this, f);
67 }
68
69 Collection map(f(Touch element)) {
70 return _Collections.map(this, [], f);
71 }
72
73 Collection<Touch> filter(bool f(Touch element)) {
74 return _Collections.filter(this, new List<Touch>(), f);
75 }
76
77 bool every(bool f(Touch element)) {
78 return _Collections.every(this, f);
79 }
80
81 bool some(bool f(Touch element)) {
82 return _Collections.some(this, f);
83 }
84
85 void setRange(int start, int length, List<Touch> from, [int startFrom]) {
86 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
87 }
88
89 void removeRange(int start, int length) {
90 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
91 }
92
93 void insertRange(int start, int length, [Touch initialValue]) {
94 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
95 }
96
97 List<Touch> getRange(int start, int length) {
98 throw new NotImplementedException();
99 }
100
101 bool isEmpty() {
102 return length == 0;
103 }
104
105 Iterator<Touch> iterator() {
106 return new _FixedSizeListIterator<Touch>(this);
107 }
108
109 Touch item(int index) {
110 return _item(this, index);
111 }
112 static Touch _item(receiver, index) native;
113
114 String get typeName() { return "TouchList"; }
115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698