com.android.dx.rop.code.BasicBlockList.get0()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(7.1k)|赞(0)|评价(0)|浏览(122)

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

BasicBlockList.get0介绍

暂无

代码示例

代码示例来源:origin: nikita36078/J2ME-Loader

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.android.tools.build/builder

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: gdpancheng/LoonAndroid3

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.google.android.tools/dx

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.google.dexmaker/dexmaker-dx

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: dragome/dragome-sdk

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 * 
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.android/dx

/**
 * Gets the element at the given index. It is an error to call
 * this with the index for an element which was never set; if you
 * do that, this will throw {@code NullPointerException}.
 *
 * @param n {@code >= 0, < size();} which index
 * @return {@code non-null;} element at that index
 */
public BasicBlock get(int n) {
  return (BasicBlock) get0(n);
}

代码示例来源:origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: com.google.android.tools/dx

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: com.google.dexmaker/dexmaker-dx

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: com.android.tools.build/builder

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: dragome/dragome-sdk

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 * 
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: com.android/dx

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

代码示例来源:origin: gdpancheng/LoonAndroid3

/**
 * Returns an instance that is identical to this one, except that
 * the registers in each instruction are offset by the given
 * amount. Mutability of the result is inherited from the
 * original.
 *
 * @param delta the amount to offset register numbers by
 * @return {@code non-null;} an appropriately-constructed instance
 */
public BasicBlockList withRegisterOffset(int delta) {
  int sz = size();
  BasicBlockList result = new BasicBlockList(sz);
  for (int i = 0; i < sz; i++) {
    BasicBlock one = (BasicBlock) get0(i);
    if (one != null) {
      result.set(i, one.withRegisterOffset(delta));
    }
  }
  if (isImmutable()) {
    result.setImmutable();
  }
  return result;
}

相关文章