org.luaj.vm2.LuaTable.unpack()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(144)

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

LuaTable.unpack介绍

[英]Unpack all the elements of this table
[中]打开此表的所有元素

代码示例

代码示例来源:origin: hsllany/HtmlNative

/** Unpack all the elements of this table */
public Varargs unpack() {
  return unpack(1, this.rawlen());
}

代码示例来源:origin: M66B/XPrivacyLua

/** Unpack all the elements of this table from element i */
public Varargs unpack(int i) {
  return unpack(i, this.rawlen());
}

代码示例来源:origin: hsllany/HtmlNative

/** Unpack all the elements of this table from element i */
public Varargs unpack(int i) {
  return unpack(i, this.rawlen());
}

代码示例来源:origin: M66B/XPrivacyLua

/** Unpack all the elements of this table */
public Varargs unpack() {
  return unpack(1, this.rawlen());
}

代码示例来源:origin: mirkosertic/GameComposer

/** Unpack all the elements of this table */
public Varargs unpack() {
  return unpack(1, this.length());
}

代码示例来源:origin: mirkosertic/GameComposer

/** Unpack all the elements of this table from element i */
public Varargs unpack(int i) {
  return unpack(i, this.length());
}

代码示例来源:origin: info.bliki.wiki/bliki-core

public Varargs invoke(Varargs args) {
    LuaTable t = args.checktable(1);
    switch (args.narg()) {
      case 1: return t.unpack();
      case 2: return t.unpack(args.checkint(2));
      default: return t.unpack(args.checkint(2), args.checkint(3));
    }
  }
}

代码示例来源:origin: M66B/XPrivacyLua

public Varargs invoke(Varargs args) {
    LuaTable t = args.checktable(1);
    switch (args.narg()) {
    case 1: return t.unpack();
    case 2: return t.unpack(args.checkint(2));
    default: return t.unpack(args.checkint(2), args.checkint(3));
    }
  }
}

代码示例来源:origin: hsllany/HtmlNative

public Varargs invoke(Varargs args) {
    LuaTable t = args.checktable(1);
    switch (args.narg()) {
    case 1: return t.unpack();
    case 2: return t.unpack(args.checkint(2));
    default: return t.unpack(args.checkint(2), args.checkint(3));
    }
  }
}

代码示例来源:origin: mirkosertic/GameComposer

@Override
  public Varargs invoke(Varargs args) {
    LuaTable t = args.checktable(1);
    switch (args.narg()) {
    case 1: return t.unpack();
    case 2: return t.unpack(args.checkint(2));
    default: return t.unpack(args.checkint(2), args.checkint(3));
    }
  }
}

相关文章

微信公众号

最新文章

更多