samples/effectivelist/src/org/apidesign/effectivelist/List.scala
changeset 409 40cabcdcd2be
parent 402 e25dbfce40e9
     1.1 --- a/samples/effectivelist/src/org/apidesign/effectivelist/List.scala	Fri Aug 31 20:16:57 2012 +0200
     1.2 +++ b/samples/effectivelist/src/org/apidesign/effectivelist/List.scala	Thu Oct 30 21:30:10 2014 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4   * <b>case class</b> Person(name : String) <b>extends</b> Listable[Person]
     1.5   * </pre>
     1.6   */
     1.7 +// BEGIN: effectivelist.list
     1.8  final class List[T <: Listable[T]] {
     1.9    private var item : T = _
    1.10    private final var EMPTY : T = _
    1.11 @@ -72,3 +73,4 @@
    1.12      }
    1.13    }
    1.14  }
    1.15 +// END: effectivelist.list