classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.util.BitSet and synchronization


From: Tom Tromey
Subject: Re: java.util.BitSet and synchronization
Date: 29 Oct 2000 15:50:28 -0700

Bryce> The JCL supplement book says that the BitSet class is now not
Bryce> synchronized, however "all boolean operations that operate on
Bryce> two bit sets still properly handle the case where both bit sets
Bryce> are the same object". Does anyone know what this above
Bryce> statement means?

What is the JCL supplement book?  Sounds like something I should get.

Anyway, I would interpret this statement to mean that
`foo.Operation(foo)' will always have the correct result -- in the
absence of synchronization issues.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]