Item 52: Document thread safety … @ immutable--Instances of this class appear constant to … @ thread-safe--Instances of this class are mutable, but … external synchronization. … @ conditionally thread-safe--Like thread-safe, except that the class … contains methods that must be invoked in sequence … [p. 209] Examples include Hashtable and Vector, whose iterators … method invocation (and in some cases, each sequence … [e.g., ArrayList] … @ thread-hostile … Typically thread hostility stems from the fact that …
Google-1
Google-2
Copyright clearance needed for quotation.