Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sesiuni:scala:lab4 [2016/06/30 18:24]
dciocirlan
sesiuni:scala:lab4 [2016/06/30 18:25] (current)
dciocirlan [Practice]
Line 30: Line 30:
       * both are implemented       * both are implemented
       * fix the occurring conflicts and errors       * fix the occurring conflicts and errors
 +    * simulate a diamond problem - how do you solve it?
   - An Observer in Scala\\ We want to implement a special type of List which fires some events whenever someone **adds** or **removes** an element.   - An Observer in Scala\\ We want to implement a special type of List which fires some events whenever someone **adds** or **removes** an element.
     * define two traits: Observable and Observer     * define two traits: Observable and Observer
sesiuni/scala/lab4.txt · Last modified: 2016/06/30 18:25 by dciocirlan