Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:35 Go to next message
Uwe Hehn is currently offline Uwe Hehn
Messages: 7
Registered: May 2010
Junior Member
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 12:32 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
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 13:22 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Sun Sep 21 18:30:33 GMT 2014

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

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