clojure.lang.RT.subvec()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(81)

本文整理了Java中clojure.lang.RT.subvec方法的一些代码示例,展示了RT.subvec的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RT.subvec方法的具体详情如下:
包路径:clojure.lang.RT
类名称:RT
方法名:subvec

RT.subvec介绍

暂无

代码示例

代码示例来源:origin: org.dunaj/clojure

public List subList(int fromIndex, int toIndex){
  return (List) RT.subvec(this, fromIndex, toIndex);
}

代码示例来源:origin: videlalvaro/clochure

public List subList(int fromIndex, int toIndex){
  return (List) RT.subvec(this, fromIndex, toIndex);
}

代码示例来源:origin: org.dunaj/clojure

parms = RT.subvec(parms,1,parms.count());
ISeq body = RT.next(RT.next(form));
try

代码示例来源:origin: videlalvaro/clochure

IPersistentVector restArgs = RT.subvec(args,paramclasses.length - 1,args.count());
MethodExpr.emitArgsAsArray(restArgs,objx,gen);
gen.invokeStatic(Type.getType(ArraySeq.class), Method.getMethod("clojure.lang.ArraySeq create(Object[])"));

代码示例来源:origin: videlalvaro/clochure

MethodExpr.emitTypedArgs(objx, gen, onMethod.getParameterTypes(), RT.subvec(args,1,args.count()));
if(context == C.RETURN)

代码示例来源:origin: videlalvaro/clochure

parms = RT.subvec(parms,1,parms.count());
ISeq body = RT.next(RT.next(form));
try

代码示例来源:origin: videlalvaro/clochure

, COMPILE_STUB_CLASS, stub));
ret.hintedFields = RT.subvec(fieldSyms, 0, fieldSyms.count() - ret.altCtorDrops);

代码示例来源:origin: org.dunaj/clojure

public void emitUnboxed(C context, ObjExpr objx, GeneratorAdapter gen){
  Method ms = new Method("invokeStatic", getReturnType(), paramtypes);
  if(variadic)
    {
    for(int i = 0; i < paramclasses.length - 1; i++)
      {
      Expr e = (Expr) args.nth(i);
      if(maybePrimitiveType(e) == paramclasses[i])
        {
        ((MaybePrimitiveExpr) e).emitUnboxed(C.EXPRESSION, objx, gen);
        }
      else
        {
        e.emit(C.EXPRESSION, objx, gen);
        HostExpr.emitUnboxArg(objx, gen, paramclasses[i]);
        }
      }
    IPersistentVector restArgs = RT.subvec(args,paramclasses.length - 1,args.count());
    MethodExpr.emitArgsAsArray(restArgs,objx,gen);
    gen.invokeStatic(Type.getType(ArraySeq.class), Method.getMethod("clojure.lang.ArraySeq create(Object[])"));
    }
  else
    MethodExpr.emitTypedArgs(objx, gen, paramclasses, args);
  gen.invokeStatic(target, ms);
}

代码示例来源:origin: org.dunaj/clojure

, COMPILE_STUB_CLASS, stub));
ret.hintedFields = RT.subvec(fieldSyms, 0, fieldSyms.count() - ret.altCtorDrops);

代码示例来源:origin: org.dunaj/clojure

MethodExpr.emitTypedArgs(objx, gen, onMethod.getParameterTypes(), RT.subvec(args,1,args.count()));
if(context == C.RETURN)

相关文章