I'm with Dave on this one, arrays are evil.

On Thu, Mar 5, 2009 at 8:41 PM, Tim Perrett <[email protected]> wrote:

>
> Guys,
>
> I have a situation where I need to retrive all the keys in my
> KeyedCache - however, KeyedCache extends LRU, which it turn uses
> apache commons LRUMap internally.
>
> The LRU class has a private val map: LRUMap
>
> Is there any objections to me adding a method to LRU to return all the
> keys from that map?:
>
> // off the top of my head...
> def keys: Array[KeyType] = map.keySet().asInstanceOf[Set
> [KeyType]].toArray
>
> Thoughts?
>
> Cheers, Tim
> >
>


-- 
Viktor Klang
Senior Systems Analyst

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to