This sounds OK, but what would the method be called?

OrderedSet.decorate()
OrderedSet.decorateHashSet()

?
Stephen

----- Original Message ----- 
From: "Henri Yandell" <[EMAIL PROTECTED]>
> Basically, the lack of empty constructors with default decoration
> decisions. Example I'm looking at:
> 
> I want an OrderedSet. The only way to get this is:
> 
> OrderedSet.decorate( new HashSet() )
> 
> [okay, could do TreeSet etc, also could use MapUtils].
> 
> I don't know about you, but this feels odd. :) Especially as the user
> knows that HashSet is unordered, so why provide it.
> 
> This may be a unique example, but it seems that we could choose a default
> empty map for each one.
> 
> Just a view..
> 
> Hen
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to