• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java Setter类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java User类代码示例发布时间:2022-05-21
下一篇:
Java SpecificRequestor类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap