| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016, 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 /** |
| 6 * Analysis data for which we have a modification time. |
| 7 */ |
| 8 class TimestampedData<E> { |
| 9 /** |
| 10 * The modification time of the source from which the data was created. |
| 11 */ |
| 12 final int modificationTime; |
| 13 |
| 14 /** |
| 15 * The data that was created from the source. |
| 16 */ |
| 17 final E data; |
| 18 |
| 19 /** |
| 20 * Initialize a newly created holder to associate the given [data] with the |
| 21 * given [modificationTime]. |
| 22 */ |
| 23 TimestampedData(this.modificationTime, this.data); |
| 24 } |
| OLD | NEW |