classpath
[Top][All Lists]
Advanced

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

FYI: Generics Backport #01 (java.lang.Integer)


From: Andrew John Hughes
Subject: FYI: Generics Backport #01 (java.lang.Integer)
Date: Mon, 27 Jun 2005 01:10:29 +0100
User-agent: Mutt/1.5.9i

I'm committing the attached patch which merges the new 1.5 features
of java.lang.Integer back into HEAD from the generics branch.  These
don't use any new language features (although methods like valueOf()
have an indirect use in autoboxing) and simply seem to have landed
on the generics branch due to their 1.5 status.  Putting them on HEAD
makes them more prominent and avoids duplication of these methods
by those who may be unaware of their presence on the generics branch.

Changelog:

2005-06-27  Tom Tromey  <address@hidden>

        * java/lang/Integer.java:
        (valueOf(int)): Implemented.
        (bitCount(int)): Implemented.
        (rotateLeft(int,int)): Implemented.
        (rotateRight(int,int)): Implemented.
        (highestOneBit(int)): Implemented.
        (numberOfLeadingZeros(int)): Implemented.
        (lowestOneBit(int)): Implemented.
        (numberOfTrailingZeros(int)): Implemented.
        (signum(int)): Implmented.
        (reverseBytes(int)): Implemented.
        (reverse(int)): Implemented.



-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: generics_backport-01.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

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