mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
This commit is contained in:
parent
a37f135092
commit
8d11311524
@ -33,9 +33,9 @@ public class MiniApi {
|
||||
return from(path, Arrays.asList(arr));
|
||||
}
|
||||
|
||||
public static <K,V> ColQuery<?> from(Path<K> k, Path<V> v, Map<K,V> map){
|
||||
return new ColQuery().from(k,v,map);
|
||||
}
|
||||
// public static <K,V> ColQuery<?> from(Path<K> k, Path<V> v, Map<K,V> map){
|
||||
// return new ColQuery().from(k,v,map);
|
||||
// }
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <A> ColQuery<?> from(Path<A> path, Iterable<A> col){
|
||||
|
||||
@ -85,9 +85,9 @@ public class MiniApiTest {
|
||||
}
|
||||
|
||||
// 2nd
|
||||
for (String[] kv : from($("k"), $("v"), map).iterate($("k"),$("v"))){
|
||||
System.out.println(kv[0] + " > " + kv[1]);
|
||||
}
|
||||
// for (String[] kv : from($("k"), $("v"), map).iterate($("k"),$("v"))){
|
||||
// System.out.println(kv[0] + " > " + kv[1]);
|
||||
// }
|
||||
}
|
||||
|
||||
@Test public void testSimpleSelect() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user