Die Suche ergab 2 Treffer

von abhijitsingh
6. Feb 2017 13:26
Forum: Archiv
Thema: SmartHome slide's example not working
Antworten: 1
Zugriffe: 500

SmartHome slide's example not working

Hello, In the lecture for Smarthome implementation, the provided example doesn't compile. code is giving compilation errors for light and shutters if I use below shutter implementation. Also, It doesn't restrict the creation of Room without implementing the abstract methods. trait Shutters extends B...
von abhijitsingh
9. Jun 2016 19:55
Forum: Archiv
Thema: Ex 05 - Concurrent locking exercise
Antworten: 2
Zugriffe: 433

Ex 05 - Concurrent locking exercise

I am not able to understand the provided solution for this exercise. In the first part, how using the stream is providing the concurrent thread execution safety. In the second part after executing the lock function, the size of the list becomes zero. After that, all code to check if a lock is acquir...

Zur erweiterten Suche