是否有推动作用的Java某处等效:: multi_index? [英] Is there an equivalent of boost::multi_index for Java someplace?
问题描述
我在multi_index在云雀昨晚跌跌撞撞,而我冲击了反对的集合,我需要通过3个不同的键值来访问,也有平衡的数组语义。嗯,我得到了在升压:: multi_index我的两个愿望(3个不同的键值)之一。
I stumbled upon multi_index on a lark last night while pounding my had against a collection that I need to access by 3 different key values, and also to have rebalancing array semantics. Well I got one of my two wishes (3 different key values) in boost::multi_index.
我很好奇,如果在Java世界中存在类似的话。
I'm curious if anything similar exists in the Java world.
推荐答案
复活一个老问题,但看一看的 CQEngine 作为解决方案。
Resurrecting an old question, but take a look at CQEngine as a solution.
有关背景也看到相关的问题<一href=\"http://stackoverflow.com/questions/93417/how-do-you-query-object-collections-in-java-criteria-sql-like/11712925#11712925\">How你在查询Java对象的集合(标准/ SQL-等)?
For background also see related question How do you query object collections in Java (Criteria/SQL-like)?
这篇关于是否有推动作用的Java某处等效:: multi_index?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!