1.1 --- a/samples/effectivelist/src/org/apidesign/effectivelist/Listable.scala Fri Aug 31 20:16:57 2012 +0200
1.2 +++ b/samples/effectivelist/src/org/apidesign/effectivelist/Listable.scala Sun Sep 02 22:00:13 2012 +0200
1.3 @@ -3,7 +3,9 @@
1.4 /** A member of a {@link List} that makes keeping references
1.5 * to previous and next items in the list effective.
1.6 */
1.7 +// BEGIN: effectivelist.item
1.8 trait Listable[T <: Listable[T]] {
1.9 private[effectivelist] var prev : T = _
1.10 private[effectivelist] var next : T = _
1.11 }
1.12 +// END: effectivelist.item