ReentrantLock contains an abstract class Sync, and Sync has two subclasses FairSync and NonFairSync. I want to know is this Decorator Design Pattern?
Sync
FairSync
NonFairSync
Decorator Design Pattern
BTW, is there any good resources about Design Pattern usage in java source code?
Aucun commentaire:
Enregistrer un commentaire