This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [gui] Add IndexColorModel methods
>>>>> "Jerry" == Jerry Quinn <jlquinn@optonline.net> writes:
Jerry> The API docs actually require a BigInteger to be returned for
Jerry> validBits. So we could keep a bitset internally and construct a
Jerry> BigInteger when needed.
Sorry, I didn't realize that the API used a BigInteger.
Jerry> One thing from sun's docs that isn't clear is
Jerry> if a client calls validBits() and changes a bit, is the model supposed
Jerry> to pick up that change?
As Mark points out a BigInteger is immutable.
Tom