You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Juan Carlos Estibariz (JIRA)" <ji...@apache.org> on 2011/06/14 21:22:47 UTC
[jira] [Created] (LANG-706) Create a MutableNumber interface with
methods common to all the mutable numbers
Create a MutableNumber interface with methods common to all the mutable numbers
-------------------------------------------------------------------------------
Key: LANG-706
URL: https://issues.apache.org/jira/browse/LANG-706
Project: Commons Lang
Issue Type: Improvement
Components: lang.mutable.*
Reporter: Juan Carlos Estibariz
Priority: Minor
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
// these two could be created in a different methods
MutableNumber m = new MutableDouble();
Number n = ...;
// this would do the right thing
m.add(n);
(I'm not just making this up, I have a real use case and I had to create all the classes myself)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LANG-706) Create a MutableNumber interface with
methods common to all the mutable numbers
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated LANG-706:
-------------------------------
Fix Version/s: 3.x
Setting to 3.x; though this might require API change.
> Create a MutableNumber interface with methods common to all the mutable numbers
> -------------------------------------------------------------------------------
>
> Key: LANG-706
> URL: https://issues.apache.org/jira/browse/LANG-706
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.mutable.*
> Reporter: Juan Carlos Estibariz
> Priority: Minor
> Fix For: 3.x
>
>
> With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
> {code}
> // these two could be created in a different methods
> MutableNumber m = new MutableDouble();
> Number n = ...;
> // this would do the right thing
> m.add(n);
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LANG-706) Create a MutableNumber interface with
methods common to all the mutable numbers
Posted by "Juan Carlos Estibariz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Carlos Estibariz updated LANG-706:
---------------------------------------
Description:
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
{code}
// these two could be created in a different methods
MutableNumber m = new MutableDouble();
Number n = ...;
// this would do the right thing
m.add(n);
{code}
(I'm not just making this up, I have a real use case and I had to create all the classes myself)
was:
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
// these two could be created in a different methods
MutableNumber m = new MutableDouble();
Number n = ...;
// this would do the right thing
m.add(n);
(I'm not just making this up, I have a real use case and I had to create all the classes myself)
> Create a MutableNumber interface with methods common to all the mutable numbers
> -------------------------------------------------------------------------------
>
> Key: LANG-706
> URL: https://issues.apache.org/jira/browse/LANG-706
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.mutable.*
> Reporter: Juan Carlos Estibariz
> Priority: Minor
>
> With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
> {code}
> // these two could be created in a different methods
> MutableNumber m = new MutableDouble();
> Number n = ...;
> // this would do the right thing
> m.add(n);
> {code}
> (I'm not just making this up, I have a real use case and I had to create all the classes myself)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LANG-706) Create a MutableNumber interface with
methods common to all the mutable numbers
Posted by "Juan Carlos Estibariz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Carlos Estibariz updated LANG-706:
---------------------------------------
Description:
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
{code}
// these two could be created in a different methods
MutableNumber m = new MutableDouble();
Number n = ...;
// this would do the right thing
m.add(n);
{code}
was:
With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
{code}
// these two could be created in a different methods
MutableNumber m = new MutableDouble();
Number n = ...;
// this would do the right thing
m.add(n);
{code}
(I'm not just making this up, I have a real use case and I had to create all the classes myself)
> Create a MutableNumber interface with methods common to all the mutable numbers
> -------------------------------------------------------------------------------
>
> Key: LANG-706
> URL: https://issues.apache.org/jira/browse/LANG-706
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.mutable.*
> Reporter: Juan Carlos Estibariz
> Priority: Minor
>
> With this interface it would be possible to perform generic operations on mutable numbers without worrying about the specific type, e.g.
> {code}
> // these two could be created in a different methods
> MutableNumber m = new MutableDouble();
> Number n = ...;
> // this would do the right thing
> m.add(n);
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira