当前位置: 首页>>代码示例>>Java>>正文


Java Setter类代码示例

本文整理汇总了Java中jdk.nashorn.internal.objects.annotations.Setter的典型用法代码示例。如果您正苦于以下问题:Java Setter类的具体用法?Java Setter怎么用?Java Setter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Setter类属于jdk.nashorn.internal.objects.annotations包,在下文中一共展示了Setter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setUint8Array

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the Uin8Array property.
 * @param self self reference
 * @param value value of the Uin8Array property
 */
@Setter(name = "Uint8Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8Array = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例2: setJSAdapter

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    Kaziranga.notAvailableInKaziranga();
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
开发者ID:malaporte,项目名称:kaziranga,代码行数:12,代码来源:Global.java

示例3: setJSON

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for ECMA 15.12 - The JSON property
 * @param self self reference
 * @param value value for the JSON property
 */
@Setter(name = "JSON", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSON(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.json = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例4: setJSAdapter

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例5: setEvalError

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the EvalError property
 * @param self self reference
 * @param value value of the EvalError property
 */
@Setter(name = "EvalError", attributes = Attribute.NOT_ENUMERABLE)
public static void setEvalError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.evalError = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例6: setRangeError

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the RangeError property.
 * @param self self reference
 * @param value value for the RangeError property
 */
@Setter(name = "RangeError", attributes = Attribute.NOT_ENUMERABLE)
public static void setRangeError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.rangeError = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例7: setURIError

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the URIError property.
 * @param self self reference
 * @param value value for the URIError property
 */
@Setter(name = "URIError", attributes = Attribute.NOT_ENUMERABLE)
public static void setURIError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uriError = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例8: setArrayBuffer

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the ArrayBuffer property.
 * @param self self reference
 * @param value value of the ArrayBuffer property
 */
@Setter(name = "ArrayBuffer", attributes = Attribute.NOT_ENUMERABLE)
public static void setArrayBuffer(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.arrayBuffer = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例9: setDataView

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the DataView property.
 * @param self self reference
 * @param value value of the DataView property
 */
@Setter(name = "DataView", attributes = Attribute.NOT_ENUMERABLE)
public static void setDataView(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.dataView = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例10: setInt8Array

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the Int8Array property.
 * @param self self reference
 * @param value value of the Int8Array property
 */
@Setter(name = "Int8Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setInt8Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.int8Array = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例11: setUint8ClampedArray

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the Uint8ClampedArray property.
 * @param self self reference
 * @param value value of the Uint8ClampedArray property
 */
@Setter(name = "Uint8ClampedArray", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8ClampedArray(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8ClampedArray = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例12: setInt16Array

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the Int16Array property.
 * @param self self reference
 * @param value value of the Int16Array property
 */
@Setter(name = "Int16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setInt16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.int16Array = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例13: setUint16Array

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
 * Setter for the Uint16Array property.
 * @param self self reference
 * @param value value of the Uint16Array property
 */
@Setter(name = "Uint16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint16Array = value;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:Global.java

示例14: setCodeManager

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setCodeManager(TextManager codeManager) {
    this.codeManager = codeManager;
}
 
开发者ID:ProPra16,项目名称:programmierpraktikum-abschlussprojekt-zenamike,代码行数:5,代码来源:InformationCore.java

示例15: setCompileManager

import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setCompileManager(CompilerManager compileManager) {
    this.compileManager = compileManager;

}
 
开发者ID:ProPra16,项目名称:programmierpraktikum-abschlussprojekt-zenamike,代码行数:6,代码来源:InformationCore.java


注:本文中的jdk.nashorn.internal.objects.annotations.Setter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。