R
Roedy Green
I discovered that only the static members of EnumSet are public.
In other words, EnumSets appear to be immutable at least to anyone
but Sun.
This is highly puzzling. Why bother with a bitset representation for a
set without any mathematical set operations? There is complement, but
where are union (or), intersection (and), set difference (xor),
bitwise operations? Equals at first looks to be but they defined it
as object identity not bit map identity.
The general purpose "of" method works mostly with enum constant
operands, not with entire EnumSets.
Perhaps I should simply rewrite EnumSet.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
In other words, EnumSets appear to be immutable at least to anyone
but Sun.
This is highly puzzling. Why bother with a bitset representation for a
set without any mathematical set operations? There is complement, but
where are union (or), intersection (and), set difference (xor),
bitwise operations? Equals at first looks to be but they defined it
as object identity not bit map identity.
The general purpose "of" method works mostly with enum constant
operands, not with entire EnumSets.
Perhaps I should simply rewrite EnumSet.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes