[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Does ScopeKey need to maintain a sorted (in ScopeLevel.l

jason.greene@jboss.com do-not-reply at jboss.com
Wed Aug 5 19:19:53 EDT 2009


"david.lloyd at jboss.com" wrote : 
  | If you keep the array or arraylist sorted, you can get the same O(log n)-type performance by using e.g. Arrays.binarySearch()....

Ah yes, of course! This should definitely be converted to an array then.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248266#4248266

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248266



More information about the jboss-dev-forums mailing list