Vote UpVote

Using Generics to Manipulate Enumerable Types

The Delphi Geek – I’d like to present a short class written by my colleague at work. Why? Because I just love how it uses the generics syntax to simplify some operations on enumerable types. Like me, he hated the hoops one must jump through to convert an instance of an enumerable type to a string, to check if an integer value that was read from some storage contains a valid integer representation of some enumerable value and to enumerate (no pun intended) over such a type. Unlike me, he did something about that and wrote a Spring-inspired Range<T>. Read more »--- Published under the Creative Commons ...
Favorite? Off-Topic? gabr @ 2013-03-26 18:15


Visits: 922
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)