JQL The Java Query LanguageJQL the Java查询语言.pptVIP

  • 51
  • 0
  • 约1.43万字
  • 约 25页
  • 2017-03-07 发布于上海
  • 举报

JQL The Java Query LanguageJQL the Java查询语言.ppt

JQL The Java Query LanguageJQL the Java查询语言

JQL : The Java Query Language Darren Willis, David J Pearce, James Noble Object Querying JQL is a simple extension for Java. JQL adds support for Object Querying. Object Querying helps us pick sets of objects from other sets. JQL can simplify working with collections. Object Querying Without JQL: for(Object a : collection1) for(Object b : collection2) if(a.equals(b)) results.add(new Object[]{a,b}); With JQL: selectAll(Object a = collection1, Object b = collection2 :a.equals(b)); Hypothetical IM Client Querying : Nested Loop Were joining the sets of Sessions and Windows

文档评论(0)

1亿VIP精品文档

相关文档