Parent Directory | Revision Log | Patch
revision 1.13.2.1 by tromey, Fri Sep 3 20:59:08 2004 UTC | revision 1.13.2.2 by tromey, Wed Jan 12 01:12:48 2005 UTC | |
---|---|---|
# | Line 739 public class BitSet implements Cloneable | Line 739 public class BitSet implements Cloneable |
739 | // This is used by EnumSet for efficiency. | // This is used by EnumSet for efficiency. |
740 | final boolean containsAll(BitSet other) | final boolean containsAll(BitSet other) |
741 | { | { |
742 | for (int i = bs.bits.length - 1; i >= 0; i--) | for (int i = other.bits.length - 1; i >= 0; i--) |
743 | { | { |
744 | if ((bits[i] & bs.bits[i]) != bs.bits[i]) | if ((bits[i] & other.bits[i]) != other.bits[i]) |
745 | return false; | return false; |
746 | } | } |
747 | return true; | return true; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |