[COTDC] 92 - TSortable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[COTDC] 92 - TSortable

Sean P. DeNigris
Administrator
92 classes done
793 classes remaining
Continuing in Collections...

Today:  TSortable


Comment Of The Day Contest - One Day One Comment
Rules:
#1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it.
Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest

p.s. this message was sent from a pharo image. Did you know you could easily do that?!

Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] 92 - TSortable

Stéphane Ducasse
I represent a set of methods related to element sorting.
My public api is composed of messages
        sort, isSorted, isSortedBy:, sort:

To get the behavior I define, my users should implement
        - isEmpty
        - size
        - first
        - at:


Stef

On Dec 6, 2011, at 4:09 PM, [hidden email] wrote:

> 92 classes done
> 793 classes remaining
> Continuing in Collections...
>
> Today:  TSortable
>
>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> p.s. this message was sent from a pharo image. Did you know you could easily do that?!
>