j.ul.Objects follow-up: methods for var-argification? (original) (raw)
Joseph D. Darcy Joe.Darcy at Sun.COM
Thu Oct 8 18:34:32 UTC 2009
- Previous message: First round of java.util.Objects for code review (bug 6797535)
- Next message: j.ul.Objects follow-up: methods for var-argification?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello.
In the discussion about java.util.Objects, a few existing JDK methods were mentioned for possible var-argification:
java.util.Arrays.hashCode(Object[] a) java.util.Arrays.deepHashCode(Object[] a) java.util.Arrays.toString(Object[] a)
Also of possible general interest are some methods on String (bug 6762452 API change proposal: Enhance String constructor for varargs)
java.lang.String.copyValueOf(char[] data) java.lang.String.valueOf(char[] data) java.lang.String(char[] value)
Var-argification is fully binary compatible and is generally source compatible, although new conversions are allowed of course and overloadings may change.
-Joe
- Previous message: First round of java.util.Objects for code review (bug 6797535)
- Next message: j.ul.Objects follow-up: methods for var-argification?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]