本文整理汇总了Java中jdk.nashorn.internal.objects.annotations.Setter类的典型用法代码示例。如果您正苦于以下问题:Java Setter类的具体用法?Java Setter怎么用?Java Setter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Setter类属于jdk.nashorn.internal.objects.annotations包,在下文中一共展示了Setter类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: 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
示例2: 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
示例3: 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
示例4: 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
示例5: 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
示例6: 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
示例7: 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
示例8: 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
示例9: 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
示例10: 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
示例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
示例16: setCycleManager
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setCycleManager(CycleManager cycleManager) {
this.cycleManager = cycleManager;
}
开发者ID:ProPra16,项目名称:programmierpraktikum-abschlussprojekt-zenamike,代码行数:5,代码来源:InformationCore.java
示例17: setSettingsManager
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setSettingsManager(SettingsManager settingsManager) {
this.settingsManager = settingsManager;
}
开发者ID:ProPra16,项目名称:programmierpraktikum-abschlussprojekt-zenamike,代码行数:5,代码来源:InformationCore.java
示例18: setTestManager
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setTestManager(TextManager testManager) {
this.testManager = testManager;
}
开发者ID:ProPra16,项目名称:programmierpraktikum-abschlussprojekt-zenamike,代码行数:5,代码来源:InformationCore.java
示例19: setNumberOfTries
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter public void setNumberOfTries(int numberOfTries)
{
Validate.isTrue(numberOfTries > 0, "numberOfTries has to be greater than 0, was "+numberOfTries);
this.numberOfTries = numberOfTries;
}
开发者ID:domisum,项目名称:AuxiliumLib,代码行数:6,代码来源:RetryingMattpRequestEnvoy.java
注:本文中的jdk.nashorn.internal.objects.annotations.Setter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论