Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IMemento: No putLong() / getLong() methods?(Why doesn't IMemento provide putLong() / getLong() methods?)
IMemento: No putLong() / getLong() methods? [message #629725] Wed, 29 September 2010 07:35 Go to next message
Eclipse UserFriend
I was just wondering why IMemento doesn't offer putter / getter for Longs, as it does for Boolean, Integer, Float and String?

Uwe
Re: IMemento: No putLong() / getLong() methods? [message #629739 is a reply to message #629725] Wed, 29 September 2010 08:32 Go to previous messageGo to next message
Eclipse UserFriend
On 29.09.2010 13:35, Uwe Hehn wrote:
> I was just wondering why IMemento doesn't offer putter / getter for
> Longs, as it does for Boolean, Integer, Float and String?

And while you are already asking: What about type double?
It's astonishing that not even the largest types of the corresponding
sub-family (integral, floating point) are supported. I don't
mind the lack of support for char, for example, which could be
easily stored as an int.

- Daniel
Re: IMemento: No putLong() / getLong() methods? [message #629761 is a reply to message #629725] Wed, 29 September 2010 09:22 Go to previous message
Eclipse UserFriend
Uwe Hehn wrote:
> I was just wondering why IMemento doesn't offer putter / getter for
> Longs, as it does for Boolean, Integer, Float and String?

There isn't really a why. The consumers never asked for it, probably
because anybody that hit it simply did the long->String/String->long
conversion themselves.

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Copy resources with their properties
Next Topic:eclipse product export generating invalid eclipse.ini file(?)
Goto Forum:
  


Current Time: Sat Jul 05 04:52:28 EDT 2025

Powered by FUDForum. Page generated in 0.03912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top