java.lang.System.setFieldImpl()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(6.1k)|赞(0)|评价(0)|浏览(128)

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

System.setFieldImpl介绍

[英]Sets the value of the named static field in the receiver to the passed in argument.
[中]将接收器中命名静态字段的值设置为传入参数。

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: robovm/robovm

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: robovm/robovm

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: ibinti/bugvm

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: MobiVM/robovm

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: ibinti/bugvm

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: ibinti/bugvm

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: MobiVM/robovm

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: MobiVM/robovm

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Sets the standard error output stream to the given user defined output
 * stream.
 *
 * @param newErr
 *            the user defined output stream to set as the standard error
 *            output stream.
 */
public static void setErr(PrintStream newErr) {
  setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Sets the standard output stream to the given user defined output stream.
 *
 * @param newOut
 *            the user defined output stream to set as the standard output
 *            stream.
 */
public static void setOut(PrintStream newOut) {
  setFieldImpl("out", "Ljava/io/PrintStream;", newOut);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Sets the standard input stream to the given user defined input stream.
 *
 * @param newIn
 *            the user defined input stream to set as the standard input
 *            stream.
 */
public static void setIn(InputStream newIn) {
  setFieldImpl("in", "Ljava/io/InputStream;", newIn);
}

相关文章