| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 package fletch; | 5 package dartino; |
| 6 | 6 |
| 7 class ListBuilder extends Builder { | 7 class ListBuilder extends Builder { |
| 8 public ListBuilder() { } | 8 public ListBuilder() { } |
| 9 | 9 |
| 10 public int length; | 10 public int length; |
| 11 | 11 |
| 12 Builder readListElement(Builder builder, int index, int size) { | 12 Builder readListElement(Builder builder, int index, int size) { |
| 13 builder.segment = segment; | 13 builder.segment = segment; |
| 14 builder.base = base + index * size; | 14 builder.base = base + index * size; |
| 15 return builder; | 15 return builder; |
| 16 } | 16 } |
| 17 } | 17 } |
| OLD | NEW |