本文整理了Java中clojure.lang.RT.keys
方法的一些代码示例,展示了RT.keys
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RT.keys
方法的具体详情如下:
包路径:clojure.lang.RT
类名称:RT
方法名:keys
暂无
代码示例来源:origin: videlalvaro/clochure
public ISeq seq(){
return RT.keys(impl);
}
代码示例来源:origin: org.dunaj/clojure
public ISeq seq(){
return RT.keys(impl);
}
代码示例来源:origin: org.dunaj/clojure
public ISeq seq(boolean ascending){
PersistentTreeMap m = (PersistentTreeMap) impl;
return RT.keys(m.seq(ascending));
}
代码示例来源:origin: org.dunaj/clojure
public ISeq seqFrom(Object key, boolean ascending){
PersistentTreeMap m = (PersistentTreeMap) impl;
return RT.keys(m.seqFrom(key,ascending));
}
代码示例来源:origin: videlalvaro/clochure
Set skipCheck = RT.count(args) < 8 ? null : (Set)args.nth(7);
ISeq keys = RT.keys(caseMap);
int low = ((Number)RT.first(keys)).intValue();
int high = ((Number)RT.nth(keys, RT.count(keys)-1)).intValue();
代码示例来源:origin: videlalvaro/clochure
for(ISeq s = RT.keys(vals); s != null; s = s.next())
代码示例来源:origin: videlalvaro/clochure
for(ISeq s = RT.keys(ret.closes); s != null; s = s.next())
代码示例来源:origin: org.dunaj/clojure
for(ISeq s = RT.keys(vals); s != null; s = s.next())
代码示例来源:origin: org.dunaj/clojure
Set skipCheck = RT.count(args) < 8 ? null : (Set)args.nth(7);
ISeq keys = RT.keys(caseMap);
int low = ((Number)RT.first(keys)).intValue();
int high = ((Number)RT.nth(keys, RT.count(keys)-1)).intValue();
代码示例来源:origin: org.dunaj/clojure
Type[] ctorTypes(){
IPersistentVector tv = !supportsMeta()?PersistentVector.EMPTY:RT.vector(IPERSISTENTMAP_TYPE);
for(ISeq s = RT.keys(closes); s != null; s = s.next())
{
LocalBinding lb = (LocalBinding) s.first();
if(lb.getPrimitiveType() != null)
tv = tv.cons(Type.getType(lb.getPrimitiveType()));
else
tv = tv.cons(OBJECT_TYPE);
}
Type[] ret = new Type[tv.count()];
for(int i = 0; i < tv.count(); i++)
ret[i] = (Type) tv.nth(i);
return ret;
}
代码示例来源:origin: org.dunaj/clojure
public void emitLetFnInits(GeneratorAdapter gen, ObjExpr objx, IPersistentSet letFnLocals){
//objx arg is enclosing objx, not this
gen.checkCast(objtype);
for(ISeq s = RT.keys(closes); s != null; s = s.next())
{
LocalBinding lb = (LocalBinding) s.first();
if(letFnLocals.contains(lb))
{
Class primc = lb.getPrimitiveType();
gen.dup();
if(primc != null)
{
objx.emitUnboxedLocal(gen, lb);
gen.putField(objtype, lb.name, Type.getType(primc));
}
else
{
objx.emitLocal(gen, lb, false);
gen.putField(objtype, lb.name, OBJECT_TYPE);
}
}
}
gen.pop();
}
代码示例来源:origin: org.dunaj/clojure
for(ISeq s = RT.keys(ret.closes); s != null; s = s.next())
代码示例来源:origin: org.dunaj/clojure
for(ISeq s = RT.keys(closes); s != null; s = s.next())
for(ISeq s = RT.keys(closes); s != null; s = s.next(), ++a)
gen.loadArg(0);
for(ISeq s = RT.keys(closes); s != null; s = s.next(), ++a)
内容来源于网络,如有侵权,请联系作者删除!