OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface Storage { | 7 interface Storage { |
8 | 8 |
9 int get length(); | 9 final int length; |
10 | 10 |
11 void clear(); | 11 void clear(); |
12 | 12 |
13 String getItem(String key); | 13 String getItem(String key); |
14 | 14 |
15 String key(int index); | 15 String key(int index); |
16 | 16 |
17 void removeItem(String key); | 17 void removeItem(String key); |
18 | 18 |
19 void setItem(String key, String data); | 19 void setItem(String key, String data); |
20 } | 20 } |
OLD | NEW |