Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313765 - Addition of utility operations on primitive types
Summary: Addition of utility operations on primitive types
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 12:47 EDT by Chris Holmes CLA
Modified: 2012-02-06 10:59 EST (History)
0 users

See Also:


Attachments
Simple operations on String, Integer, and Real primitive types (2.10 KB, application/zip)
2010-05-20 12:47 EDT, Chris Holmes CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Holmes CLA 2010-05-20 12:47:52 EDT
Created attachment 169374 [details]
Simple operations on String, Integer, and Real primitive types

I have found the attached operations on the primitive types: String, Integer, and Real to be useful resources. Following a discussion with Dimitris I have raised this enhancement request to suggest that they (or something similar) be added to the set of default operations provided with EOL.
Comment 1 Dimitris Kolovos CLA 2010-07-07 10:53:58 EDT
Thanks Chris! The requested operations are now available natively. The only change is padTo(length:Integer,padding:String) which I've changed to pad(length:Integer,padding:String,right:Boolean). The changes have been committed to the SVN and are included in the latest interim version.
Comment 2 Dimitris Kolovos CLA 2010-11-25 08:14:54 EST
Fixed in 0.9.0.