query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
sequencelengths
3
101
negative_scores
sequencelengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
No call for super(). Bug on API Level > 11.
@Override protected void onSaveInstanceState(Bundle outState) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_6349() {\r\n super.method_6349();\r\n }", "public void method_6191() {\r\n super.method_6191();\r\n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "_ExtendsNotAbstract() {\n super(\"s\"); // needs this if not default ctor;\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "@Override\n protected void checkSubclass() {\n }", "public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }", "@Override\n public void onCreate() {\n L.d(\"onCreate is called\");\n super.onCreate();\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void checkSubclass() {\n }", "@Override\n protected void checkSubclass() {\n }", "@Override\n protected void checkSubclass() {\n }", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "@Override\n\tprotected void checkSubclass() {\n\t}", "protected ApiActivityBase() {\n super();\n }", "@Override\n public void perish() {\n \n }", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override\r\n\tprotected void checkSubclass() {\n\t}", "@Override // X.AnonymousClass2C0, X.AnonymousClass1PY, X.AbstractActivityC34761jB, X.ActivityC004602e, X.ActivityC004802g, X.ActivityC004702f, X.AnonymousClass02i, X.ActivityC004902h, X.ActivityC005002j\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void onCreate(android.os.Bundle r10) {\n /*\n // Method dump skipped, instructions count: 400\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.payments.ui.IndiaUpiDeviceBindActivity.onCreate(android.os.Bundle):void\");\n }", "@Override\r\n protected void checkSubclass() {\n }", "@Override\r\n protected void checkSubclass() {\n }", "@Override\r\n protected void checkSubclass() {\n }", "public AutoCompleteTextView(Context context, AttributeSet attrs) {\n/* 98 */ super((Context)null); throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n protected void prot() {\n }", "@Override\n public void init() {\n\n super.init();\n\n }", "public void setParent(View parent) {\n/* 662 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n protected void init() {\n }", "public Lollipop() {\r\n\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public final /* bridge */ /* synthetic */ void mo43571c() {\n super.mo43571c();\n }", "@Override\n protected void initialize() {\n\n \n }", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }", "@Override\n public void func_104112_b() {\n \n }", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "@Override\r\n\tprotected void parentMethod() {\n\t\tsuper.parentMethod();\r\n\t\tSystem.out.println(\"ChildParentMethod\");\r\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "O() { super(null); }", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "public SlidingDrawer(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {\n/* 111 */ super((Context)null); throw new RuntimeException(\"Stub!\");\n/* */ }", "public AutoCompleteTextView(Context context, AttributeSet attrs, int defStyleAttr) {\n/* 113 */ super((Context)null); throw new RuntimeException(\"Stub!\");\n/* */ }", "protected void init() {\n // to override and use this method\n }", "public SlidingDrawer(Context context, AttributeSet attrs, int defStyleAttr) {\n/* 95 */ super((Context)null); throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "public AutoCompleteTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {\n/* 132 */ super((Context)null); throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override // com.zhihu.android.app.p1311ui.fragment.webview.WebViewFragment2\n /* renamed from: o_ */\n public void mo69099o_() {\n super.mo69099o_();\n m64979c();\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override // com.zhihu.android.profile.newprofile.p1859ui.card.ProfileBaseCard\n /* renamed from: a */\n public void mo106382a(View view) {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private PluginAPI() {\r\n\t\tsuper();\r\n\t}", "public LegacyResultMapper() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: android.hardware.camera2.legacy.LegacyResultMapper.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.hardware.camera2.legacy.LegacyResultMapper.<init>():void\");\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n public void init() {\n }", "@Override\n public void initialize() { \n }", "@Override\n void init() {\n }", "private NativeSupport() {\n\t}", "@Override\n public void init() {}", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}" ]
[ "0.65982854", "0.64210093", "0.636863", "0.6343441", "0.6315865", "0.6315865", "0.6315865", "0.61697334", "0.61678773", "0.60834146", "0.608059", "0.6079439", "0.6072245", "0.6072245", "0.6072245", "0.6072245", "0.6072245", "0.6072245", "0.6027784", "0.6027784", "0.6027784", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.60242695", "0.6015226", "0.60151535", "0.60118014", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.60097665", "0.59950244", "0.59610796", "0.59610796", "0.59610796", "0.59424543", "0.591469", "0.5911564", "0.5877908", "0.58697665", "0.58688825", "0.5865098", "0.5861102", "0.58607876", "0.5837553", "0.58348364", "0.5811455", "0.5804234", "0.57980675", "0.57968736", "0.57805645", "0.57805645", "0.5764815", "0.57511514", "0.57415", "0.5737892", "0.5731086", "0.5731086", "0.5727195", "0.5725854", "0.5723027", "0.5723027", "0.5722152", "0.5721431", "0.5716504", "0.5712171", "0.5699765", "0.5688598", "0.56860274", "0.5684474", "0.56784874", "0.5673093", "0.56678474", "0.566042", "0.56591415", "0.5657665", "0.5657665" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onTabReselected(Tab arg0, android.support.v4.app.FragmentTransaction arg1) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onTabUnselected(Tab arg0, android.support.v4.app.FragmentTransaction arg1) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
User cancelled the dialog
public void onClick(DialogInterface dialog, int id) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void cancelDialog() {dispose();}", "public void cancel() { Common.exitWindow(cancelBtn); }", "@Override\n public void onCancel(DialogInterface dialog) {\n cancel(true);\n }", "@Override\n\t\t\t\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\t\t\tcancel(true);\n\t\t\t\t\t\tfinish();\n\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int arg1) {\n\t\t\t\t\t\t\t\tdialog.cancel();\n }", "@Override\n\t\t\t\t\t\tpublic void doCancel() {\n\t\t\t\t\t\t\tcommonDialog.dismiss();\n\t\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog,\n int which)\n {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog,\n int which)\n {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog,\n int which) {\n dialog.cancel();\n }", "void cancelButton_actionPerformed(ActionEvent e)\n\t{\n\t\tcloseDlg();\n }", "private void cancel(){\n\t\tSPSSDialog.instance = null;\n\t\thide();\n\t}", "@Override\n\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n\t\tprotected void onCancelled() {\n\t\t\tsuper.onCancelled();\n\t\t\tdialog.dismiss();\n\t\t}", "@Override\n\t\tprotected void onCancelled() {\n\t\t\tsuper.onCancelled();\n\t\t\tdialog.dismiss();\n\t\t}", "@Override\r\n\t\t\t\t\tpublic void onCancel(DialogInterface dialog) {\r\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t}", "public void onCancelClicked() {\n close();\n }", "@Override\r\n\t\t\t\t\t\t\t\t\t\tpublic void onClick(\r\n\t\t\t\t\t\t\t\t\t\t\t\tDialogInterface dialog,\r\n\t\t\t\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\t\t\t\tdialog.cancel();\r\n\t\t\t\t\t\t\t\t\t\t}", "@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\n\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\n\t\t\t\t\tfinish();\n\t\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which)\n {\n dialog.cancel();\n }", "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tdialog.cancel();\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tdialog.cancel();\n\t\t\t}", "@Override\r\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\r\n\r\n }", "@Override\n\t\t\t\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\t\t}", "@Override\r\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\tdialog.cancel();\r\n\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "public void handleCancel() {\n\t\tdialogStage.close();\n\t}", "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which)\n\t\t\t{\n\t\t\t\tdialog.cancel();\n\t\t\t}", "@Override\n\t\t\t\t\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t}", "@Override\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void dialogCancelled(int dialogId) {\n\t\t\r\n\t}", "@Override\n\t\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t\t}", "public void onClick(DialogInterface dialog, int which) {\n\n dialog.cancel();\n }", "public void onClick(DialogInterface dialog, int which) {\n\n dialog.cancel();\n }", "private void cancel() {\n\t\tfinish();\n\t}", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "@Override\r\n\tpublic void dialogControyCancel() {\n\r\n\t}", "@Override\n public void onCancel(DialogInterface arg0) {\n\n }", "@Override\n public void onClick(View v) {\n dialog.cancel();\n }", "@Override\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n finish();\n }", "@Override\n public void onCancel(DialogInterface dialog) {\n finish();\n }", "@Override\n\tpublic void onCancel(DialogInterface dialog) {\n\t\tBase.car_v.wzQueryDlg = null;\n\t}", "private void cancel(){\n if(isFormEmpty()){\n finish();\n }else{\n // Confirmation dialog\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n\n builder.setTitle(getString(R.string.cancel_booking_creation_confirmation));\n // When users confirms dialog, end activity\n builder.setPositiveButton(android.R.string.ok, (dialog, which) -> {\n finish();\n });\n\n // Do nothing if cancel\n builder.setNegativeButton(android.R.string.cancel, null);\n\n AlertDialog dialog = builder.create();\n dialog.show();\n\n // Change button colors\n Button positiveButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE);\n positiveButton.setTextColor(getColor(R.color.colorPrimary));\n Button negativeButton = dialog.getButton(AlertDialog.BUTTON_NEGATIVE);\n negativeButton.setTextColor(getColor(R.color.colorPrimary));\n }\n }", "public void onClick(DialogInterface dialog,\n int which) {\n dialog.cancel();\n }", "@Override\n public void onClick(View v) {\n\n dialog.cancel();\n }", "@Override\n public void onClick(View v) {\n\n dialog.cancel();\n }", "public boolean cancel();", "@Override\n public void onCancel(DialogInterface dialog) {\n }", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "public void cancel();", "@Override\n\tpublic void onCancel(DialogInterface arg0) {\n\t\t\n\t}", "@Override\n public void onClick(DialogInterface dialog, int whichButton) {\n \tdialog.cancel(); //Close this dialog box\n }", "public void onCancelButtonClick() {\n close();\n }", "public void onClick(DialogInterface dialog, int which) {\n\n dialog.cancel();\n }", "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tdialog.cancel();\n\t\t\t\ttoastMessage(\"Confirmation cancelled\");\n\t\t\t}", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }", "public void cancel() {\r\n\t\tthis.cancel = true;\r\n\t}", "public void cancel() throws Exception {\n\t\tgetControl(\"cancelButton\").click();\n\t}", "public void onDialogCancelled(DialogActivity dialog)\n {\n cancel();\n }", "void onCancelClicked();", "void cancelButton_actionPerformed(ActionEvent e) {\n setUserAction(CANCELLED);\n setVisible(false);\n }", "public void onClick(DialogInterface dialog, int which) {\n\t\t\t dialog.cancel();\n\t\t\t }", "public void onClick(DialogInterface dialog, int arg1) {\n dialog.cancel();\n }", "@Override\r\n public void onCancel(DialogInterface dialogInterface) {\n finish();\r\n }", "protected void closeDialogCancel() {\n dispose();\n }", "@Override\n public void cancel() {\n super.cancel();\n\n /** Flag cancel user request\n */\n printingCanceled.set(true);\n\n /** Show a warning message\n */\n JOptionPane.showMessageDialog( MainDemo.this , \"Lorem Ipsum printing task canceled\", \"Task canceled\" , JOptionPane.WARNING_MESSAGE );\n }", "@Override\n public void onCancel(DialogInterface dialog) {\n Log.v(LOG_TAG, \"onCancel\");\n dismiss();\n }", "public void cancel()\n\t{\n\t}", "@Override\n public void onClick(View v)\n {\n begindialog.cancel();\n }", "public void cancel(){\n cancelled = true;\n }", "public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n finish();\n }", "@Override\n public void onCancel(DialogInterface dialog) {\n\n }", "public void cancel() {\n if (alert != null) {\n alert.cancel();\n isShowing = false;\n } else\n TLog.e(TAG + \" cancel\", \"alert is null\");\n }", "public void onClick(DialogInterface dialog, int which) {\n Toast.makeText(getApplicationContext(), \"Pressed Cancel\",\n Toast.LENGTH_SHORT).show();\n }", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n finish();\n }", "public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n finish();\n }", "public void onCancel();", "public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }", "public void onClick(DialogInterface dialog,int id) {\n dialog.cancel();\n }", "public void onClick(DialogInterface dialog,int id)\n {\n dialog.cancel();\n }", "@Override\r\n\tpublic void onCancel(DialogInterface dialog) {\n\r\n\t}", "@Override\r\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\r\n\t\t}", "@Override\r\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\r\n\t\t}", "public void onClick(DialogInterface dialog,\n int id) {\n dialog.cancel();\n }", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\t\n\t\t}" ]
[ "0.84252524", "0.81816214", "0.81397384", "0.80922073", "0.7927849", "0.79160905", "0.78777075", "0.78763556", "0.7856008", "0.7849157", "0.7848072", "0.7838308", "0.7804249", "0.77992254", "0.7796975", "0.7796975", "0.77921396", "0.7792013", "0.77904165", "0.77860636", "0.7785849", "0.7781991", "0.7781991", "0.7781991", "0.7775402", "0.7774749", "0.7774749", "0.77683115", "0.77681756", "0.77668333", "0.7761063", "0.7761063", "0.7761063", "0.7761063", "0.7761063", "0.7759365", "0.7731582", "0.7724297", "0.7720925", "0.7720103", "0.76955104", "0.7678485", "0.7654357", "0.7654357", "0.764555", "0.76443124", "0.7634409", "0.7633464", "0.7621916", "0.7621163", "0.7603697", "0.7603203", "0.7600248", "0.7598492", "0.7591874", "0.7591874", "0.7591339", "0.7590508", "0.7589548", "0.7589548", "0.7589548", "0.7589548", "0.7589548", "0.7589548", "0.7588744", "0.75886345", "0.7560806", "0.7550736", "0.7540379", "0.7539729", "0.7539729", "0.7534361", "0.7531358", "0.75296545", "0.7524118", "0.7523424", "0.75232726", "0.752038", "0.75199866", "0.7512266", "0.75083005", "0.7500499", "0.7497863", "0.7495073", "0.7493796", "0.7492944", "0.74797153", "0.74698204", "0.7465173", "0.74630636", "0.7460028", "0.7460028", "0.7458466", "0.7455514", "0.74514836", "0.7442903", "0.74414104", "0.7436282", "0.7436282", "0.74358857", "0.74198526" ]
0.0
-1
Gets a basic Document.
public static Document mockDocument(MockObjectStore objectStore, String guid, String timeStr, boolean isReleasedVersion) { return mockDocument(objectStore, guid, timeStr, isReleasedVersion, null, null, new AccessPermissionListMock()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Document readDocument();", "public Document getDocument() {\n return doc;\n }", "public Document getDocument()\n {\n return m_Document;\n }", "public Document getDocument() {\n\t\treturn doc;\n\t}", "public Document getDocument()\n\t{\n\t\treturn this.document;\n\t}", "public Document getDocument() {\n\t\treturn this.doc;\n\t}", "public Document getDocument() {\n return this.document;\n }", "public Document getDocument()\n\t{\n\t\treturn document;\n\t}", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\r\n\t\treturn document;\r\n\t}", "public Document getDocument() {\n return document;\n }", "public static String getDoc() {\n return doc;\n }", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Document getDocument() {\n return _document;\n }", "public Document newDocument() {\n\t\treturn new org.apache.xerces.dom.DocumentImpl();\n\t}", "public String getDocument() throws Exception;", "public Document getDocument() {\r\n return mDocument;\r\n }", "@DISPID(-2147417094)\n @PropGet\n com4j.Com4jObject document();", "public Document getDocument() {\r\n\t\treturn mDocument;\r\n\t}", "public BasicDBObject getDocument () {\n\t\tBasicDBObject myDoc = new BasicDBObject(\"ID\",this.ID);\t\t\n\t\tmyDoc.append(\"CompanyID\", this.CompanyID);\n\t\tmyDoc.append(\"FormType\",this.FormType);\n\t\tmyDoc.append(\"FieldID\",this.FieldID);\n\t\tmyDoc.append(\"Context\", this.Context);\n\t\treturn myDoc;\n\t}", "public Document createDefaultDocument()\n {\n return new MoeSyntaxDocument(projectResolver, documentListener);\n }", "public static Document getDocument(InputStream input)\n {\n return XMLTools.getDocument(input, false);\n }", "public Document getDocument(long documentId) throws ContestManagementException {\r\n return null;\r\n }", "public Document getDocument()\n {\n return field.getDocument();\n }", "public OpenDefinitionsDocument getDocument() { return _document; }", "IDocument getDocument(File file);", "public Document getDocument(ProbDoc doc) throws DocumentNotFoundException {\n return getDocument(doc.getDocID());\n }", "protected Document createDefaultModel() {\n return new PlainDocument();\n }", "public Gedcomx getDocument() {\n return doc;\n }", "public String getDocument() {\n\t\treturn document;\n\t}", "public String getDocument() {\n\t\treturn null;\r\n\t}", "SingleDocumentModel getDocument(int index);", "Document getDocument(Long documentID) throws EntityNotFoundException;", "SingleDocumentModel getCurrentDocument();", "TestDocument getDocument(String name);", "public Document getDocument() {\n\t\t// If the document has not been parsed yet, do it now\n\t\tif (this.document == null) {\n\t\t\ttry {\n\t\t\t\tthis.document = parseLinkingConfiguration(this.configuration);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn this.document;\n\t}", "public Document getDocument(long arg0) throws ContestManagementException {\r\n return null;\r\n }", "public VEXDocument getDocument() {\n\t\treturn this.doc;\n\t}", "public String getDocument(int documentId) {\n return myDocuments.get(documentId);\n }", "TestDocument getDocument(DocumentReference reference);", "public WalkerDocument newDocument() { return newDocument((IOptions)null); }", "@Override\n\tpublic Document getDocument(Document document) {\n\t\treturn null;\n\t}", "public Map<String, Object> getDocument() {\n return document;\n }", "public Document getAsXMLDOM () {\r\n\r\n //code description\r\n\r\n return document;\r\n\r\n }", "String getDocument(String docID) {\n\t\treturn getDocument(docID, false, null);\n\t}", "public static XMLDocument create()\n {\n return new XMLDocument();\n }", "public Document getTemplateAsDocument() {\n // Creates a blank document\n Document doc = new Document();\n\n // Fills the document with data\n // Includes the id if one exists\n if (id != null)\n doc.append(\"_id\", new ObjectId(id));\n doc.append(\"userID\", new ObjectId(userID));\n // Creates the array if it is not already created\n if (questions == null)\n questions = new ArrayList<Question>();\n\n doc.append(\"questions\",\n (List<Document>) (questions.stream().map(x -> x.getQuestionAsDocument()).collect(Collectors.toList())));\n\n // Returns the filled document\n return doc;\n }", "Document getDocument(Long documentID, Integer type) throws EntityNotFoundException;", "Documentable createDocumentable();", "@Override\n public SearchDocument getDocument(int docId) {\n return null;\n }", "@Override\n @NotNull\n public XmlDocument getDocument() {\n final XmlDocument document = findChildByClass(XmlDocument.class);\n assert document != null;\n return document;\n }", "public XDoc getDoc() {\r\n\t\treturn doc;\r\n\t}", "@Override\n\tpublic File getDocument(String name) {\n\t\t\n\t\tFile returnValue = new File(RestService.documentDirectory + name + \".pdf\");\n\t\t\n\t\tif(returnValue.exists() && !returnValue.isDirectory()) { \n\t\t return returnValue;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "public static Document getDocument(File xmlFile)\n {\n return XMLTools.getDocument(xmlFile, false);\n }", "public Document getDocument() {\n return editor.getDocument();\n }", "@Override\n\tpublic List<Document> findDocument() {\n\t\treturn null;\n\t}", "@Override\n\tpublic DocumentView getDocument() {\n\t\treturn null;\n\t}", "public Element getDocument() {\n\t\t\n\t\tElement retval = getRoot();\n\t\t\n\t\tList<Element> children;\n\t\t\n\t\tif ( retval.getName().equals(\"ROOT\") && (children = retval.getAllChildren()).size() > 0 )\n\t\t\tretval = children.get(0);\n\t\t\n\t\treturn retval;\n\n\t}", "public static Document getDocument(final Node node) {\n\t\treturn node.getNodeType() == Node.DOCUMENT_NODE ? (Document)node : node.getOwnerDocument(); //return the node if it is a document, otherwise return the node's owner document\n\t}", "public static Document newDocument() throws XMLException{\n\t\ttry{\n\t\t\tfinal DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\t\t\t\n\t\t\tfinal DocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tfinal Document doc = builder.newDocument();\n\t\t\treturn doc;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\tthrow new XMLException(e);\n\t\t}\n\t}", "public static Document getDocument(byte xml[])\n {\n return XMLTools.getDocument(xml, false);\n }", "SingleDocumentModel loadDocument(Path path);", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "public URL getDocument() {\r\n return this.document;\r\n }", "public static DocumentBuilder createDocumentBuilder() {\n\t\treturn createDocumentBuilder(DefaultEntityResolver.getInstance());\n\t}", "public static Document getDocument(String xml)\n {\n return XMLTools.getDocument(StringTools.getBytes(xml), false);\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "static DocumentRemote get() {\n\t\tif (GWT.isScript()) {\n\t\t\treturn nativeGet();\n\t\t}\n\t\t// No need to be MT-safe. Single-threaded JS code.\n\t\tif (doc == null) {\n\t\t\tdoc = nativeGet();\n\t\t}\n\t\treturn doc;\n\t}", "public Doc newDocument(String documentElementName) {\n return new Doc(documentElementName);\n }", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "private Document createDocumentForTest() {\r\n\r\n EntityManager em = com.topcoder.service.studio.contest.bean.MockEntityManager.EMF.createEntityManager();\r\n em.getTransaction().begin();\r\n\r\n FilePath path = new FilePath();\r\n path.setModifyDate(new Date());\r\n path.setPath(\"path\");\r\n\r\n StudioFileType studioFileType = new StudioFileType();\r\n studioFileType.setDescription(\"description\");\r\n studioFileType.setExtension(\"extension\");\r\n studioFileType.setImageFile(true);\r\n studioFileType.setSort(1);\r\n em.persist(studioFileType);\r\n\r\n MimeType mimeType = new MimeType();\r\n mimeType.setDescription(\"description\");\r\n mimeType.setStudioFileType(studioFileType);\r\n mimeType.setMimeTypeId(1L);\r\n em.persist(mimeType);\r\n\r\n DocumentType type = new DocumentType();\r\n type.setDescription(\"description\");\r\n type.setDocumentTypeId(1L);\r\n em.persist(type);\r\n\r\n em.getTransaction().commit();\r\n em.close();\r\n\r\n Document document = new Document();\r\n document.setOriginalFileName(\"originalFileName\");\r\n document.setSystemFileName(\"systemFileName\");\r\n document.setPath(path);\r\n document.setMimeType(mimeType);\r\n document.setType(type);\r\n document.setCreateDate(new Date());\r\n\r\n return document;\r\n }", "public static Document loadDocument( String path ) {\n\t\treturn loadDocument(path, true);\n\t}", "public static BaseDocument getDocument(JTextComponent target) {\n Document doc = target.getDocument();\n return (doc instanceof BaseDocument) ? (BaseDocument)doc : null;\n }", "HrDocumentRequest get(long id);", "@SuppressWarnings(\"unchecked\")\n\tpublic Document getDocument() {\n\t\tDocument doc = this.documentBuilder.newDocument();\n\t\t\n\t\tElement rootElement = doc.createElement(\"properties\");\n\t\tdoc.appendChild(rootElement);\n\t\t\n\t\tEnumeration<String> keys = (Enumeration<String>) this.properties.propertyNames();\n\t\t\n\t\twhile (keys.hasMoreElements()) {\n\t\t\tString key = keys.nextElement();\n\t\t\tElement entry = doc.createElement(\"entry\");\n\t\t\tentry.setAttribute(\"key\", key);\n\t\t\tentry.setTextContent(this.getProperty(key));\n\t\t\trootElement.appendChild(entry);\n\t\t}\n\t\t\n\t\treturn doc;\n\t}", "public static ArrayList<Document> getDocumentList() {\n\t\tRequestContent rp = new RequestContent();\n\t\trp.type = RequestType.GET_DOCUMENTS;\n\t\tReceiveContent rp1 = sendReceive(rp);\n\t\tArrayList<Document> doc = (ArrayList<Document>) rp1.parameters[0];\n\t\treturn doc;\n\t}", "public final Map<String, ScriptDocValues<?>> getDoc() {\n return leafLookup.doc();\n }", "public Document getCurrentDocument() {\n\t\tif(currentDocument.size()>0) {\n\t\t\t\n\t\t\tif (index != -1) {\n\t\t\t\treturn currentDocument.get(index);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Deprecated\n public static PSMLDocument getDocument(String name) {\n return getService().getDocument(name);\n }", "Object getDocument(String uri) throws FunctionCallException;", "@Override\r\n\t\tpublic DocumentDTO getDocumentById(long id) {\n\t\t\tDocumentDTO ddto=documentDAO.getDocumentListById(id);\r\n\t\t\tddto.setImagePath(context.getContextPath()+ddto.getImagePath());\r\n\t\t\tddto.setDataPath(context.getContextPath()+ddto.getDataPath());\r\n\t\t\treturn ddto;\r\n\t\t}", "public Document() {\n }", "Collection<Document> getDocuments();", "@Override\n public Document getMutableDocument() {\n return this;\n }", "public interface DocumentReader\n {\n\t/**\n\t* Read a single Document from the specified file.\n\t* @returns The next Document if there are more, or null if there are not.\n\t*/\n public Document readDocument();\n }", "public RMDocument getDocument() { return _parent!=null? _parent.getDocument() : null; }", "public static Document getDocument(File in) throws FileNotFoundException{\n\t\treturn XMLLoader.getDocument(new InputSource(new InputStreamReader(new FileInputStream(in))));\n\t}", "protected Document() {/* intentionally empty block */}", "public interface IDocument {\n /**\n * Returns the content of the document, in a byte array.\n */\n byte[] getByteContent() throws IOException;\n /**\n * Returns the content of the document, in a char array.\n */\n char[] getCharContent() throws IOException;\n /**\n * returns the name of the document (e.g. its path for a <code>File</code>, or its relative path\n * in the workbench for an <code>IFile</code>).\n */\n String getName();\n /**\n * returns the value of the given property, or null if this document does not have\n * such a property.\n */\n String getProperty(String property);\n /**\n * Returns an enumeration of the names of the properties the document has.\n */\n java.util.Enumeration getPropertyNames();\n /**\n * Returns the content of the document, as a String.\n */\n public String getStringContent() throws IOException;\n /**\n * Returns the type of the document.\n */\n String getType();\n /**\n * Sets the given property of the document to the given value.\n */\n void setProperty(String attribute, String value); }", "public Document getModel(){\n return getDocument();\n }", "public CouchDoc() {\n super();\n docType = getClass().getSimpleName();\n }", "public static PSMLDocument getDocument(ProfileLocator locator) {\n return getService().getDocument(locator);\n }", "@Override\n public DocumentServiceEntry getDocument(String documentId) throws DocumentServiceException {\n DocumentListEntry entry = getDocumentEntry(documentId);\n return getDocumentReference(entry);\n }" ]
[ "0.746009", "0.72074884", "0.72066164", "0.7193811", "0.7191742", "0.71546006", "0.7146228", "0.71237373", "0.71212995", "0.71212995", "0.7100498", "0.7097194", "0.70889163", "0.70850796", "0.70850796", "0.7068008", "0.7062155", "0.7048925", "0.7029839", "0.6992962", "0.69908124", "0.6918514", "0.6888998", "0.6887287", "0.68757254", "0.6875465", "0.6809174", "0.67796737", "0.6762236", "0.6741865", "0.67415935", "0.6708425", "0.66846234", "0.66695994", "0.6651204", "0.66408074", "0.6608117", "0.65757984", "0.65711623", "0.65456206", "0.65373427", "0.6536894", "0.6526482", "0.6491833", "0.6438684", "0.6424378", "0.6411198", "0.6397906", "0.63936234", "0.63834596", "0.63789886", "0.6374286", "0.63598746", "0.6348911", "0.6348162", "0.6347882", "0.63320637", "0.6312298", "0.63094497", "0.63087595", "0.6294551", "0.62818", "0.62790686", "0.6277432", "0.62632316", "0.62632316", "0.62632316", "0.62521654", "0.62506056", "0.62323177", "0.62232363", "0.62232363", "0.62232363", "0.62207794", "0.622071", "0.6186145", "0.6186145", "0.6186145", "0.61445826", "0.61336696", "0.6115799", "0.6111795", "0.6100677", "0.60993105", "0.60917425", "0.60603964", "0.6054262", "0.60503113", "0.600504", "0.60044813", "0.5999872", "0.59990335", "0.5995094", "0.59923756", "0.59896696", "0.5989349", "0.5982166", "0.5981499", "0.59758425", "0.5958107", "0.5929983" ]
0.0
-1
Gets a Document with ContentSize and MimeType properties.
public static Document mockDocument(MockObjectStore objectStore, String guid, String timeStr, boolean isReleasedVersion, Double contentSize, String mimeType) { return mockDocument(objectStore, guid, timeStr, isReleasedVersion, contentSize, mimeType, new AccessPermissionListMock()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Document readDocument();", "IDocument getDocument(File file);", "public Document getDocument()\n {\n return m_Document;\n }", "private Document createDocumentForTest() {\r\n\r\n EntityManager em = com.topcoder.service.studio.contest.bean.MockEntityManager.EMF.createEntityManager();\r\n em.getTransaction().begin();\r\n\r\n FilePath path = new FilePath();\r\n path.setModifyDate(new Date());\r\n path.setPath(\"path\");\r\n\r\n StudioFileType studioFileType = new StudioFileType();\r\n studioFileType.setDescription(\"description\");\r\n studioFileType.setExtension(\"extension\");\r\n studioFileType.setImageFile(true);\r\n studioFileType.setSort(1);\r\n em.persist(studioFileType);\r\n\r\n MimeType mimeType = new MimeType();\r\n mimeType.setDescription(\"description\");\r\n mimeType.setStudioFileType(studioFileType);\r\n mimeType.setMimeTypeId(1L);\r\n em.persist(mimeType);\r\n\r\n DocumentType type = new DocumentType();\r\n type.setDescription(\"description\");\r\n type.setDocumentTypeId(1L);\r\n em.persist(type);\r\n\r\n em.getTransaction().commit();\r\n em.close();\r\n\r\n Document document = new Document();\r\n document.setOriginalFileName(\"originalFileName\");\r\n document.setSystemFileName(\"systemFileName\");\r\n document.setPath(path);\r\n document.setMimeType(mimeType);\r\n document.setType(type);\r\n document.setCreateDate(new Date());\r\n\r\n return document;\r\n }", "public Document getDocument() {\n return doc;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return this.document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\r\n return mDocument;\r\n }", "@Override\n public String getDocumentContents(String contentUrl) throws DocumentServiceException {\n DocsService svc = getDocsService();\n try {\n MediaContent mc = new MediaContent();\n mc.setUri(contentUrl);\n MediaSource ms = svc.getMedia(mc);\n InputStreamReader reader = null;\n try {\n reader = new InputStreamReader(ms.getInputStream(), \"UTF8\");\n BufferedReader br = new BufferedReader(reader);\n StringBuilder contents = new StringBuilder();\n String line = null;\n while ((line = br.readLine()) != null) {\n contents.append(line + \"\\n\");\n }\n String text = contents.toString();\n text = text.substring(1); //remove UTF-8 byte-order-mark character\n return decodeDocumentContents(text);\n } finally {\n if (reader != null) {\n reader.close();\n }\n }\n }catch (Exception e) {\n e.printStackTrace();\n throw new DocumentServiceException(e.getMessage());\n }\n }", "public Document getDocument() {\n return _document;\n }", "public interface IDocument {\n /**\n * Returns the content of the document, in a byte array.\n */\n byte[] getByteContent() throws IOException;\n /**\n * Returns the content of the document, in a char array.\n */\n char[] getCharContent() throws IOException;\n /**\n * returns the name of the document (e.g. its path for a <code>File</code>, or its relative path\n * in the workbench for an <code>IFile</code>).\n */\n String getName();\n /**\n * returns the value of the given property, or null if this document does not have\n * such a property.\n */\n String getProperty(String property);\n /**\n * Returns an enumeration of the names of the properties the document has.\n */\n java.util.Enumeration getPropertyNames();\n /**\n * Returns the content of the document, as a String.\n */\n public String getStringContent() throws IOException;\n /**\n * Returns the type of the document.\n */\n String getType();\n /**\n * Sets the given property of the document to the given value.\n */\n void setProperty(String attribute, String value); }", "public Document getDocument() {\r\n\t\treturn document;\r\n\t}", "public Document getDocument()\n\t{\n\t\treturn document;\n\t}", "public Document getDocument()\n\t{\n\t\treturn this.document;\n\t}", "public byte[] getDocumentContent(long documentId) throws ContestManagementException {\r\n return null;\r\n }", "DocumentData getPreviewDocument(String documentId,\n String filename,\n String mimetype) throws IOException;", "public int getDocumentSize() {\n if (SourceDocumentInformation_Type.featOkTst\n && ((SourceDocumentInformation_Type) jcasType).casFeat_documentSize == null)\n this.jcasType.jcas.throwFeatMissing(\"documentSize\", \"org.apache.uima.examples.SourceDocumentInformation\");\n return jcasType.ll_cas.ll_getIntValue(addr,\n ((SourceDocumentInformation_Type) jcasType).casFeatCode_documentSize);\n }", "public Document getDocument(MimeMediaType asMimeType) {\r\n StructuredTextDocument adv = (StructuredTextDocument) StructuredDocumentFactory.newStructuredDocument(asMimeType, getMessageType());\r\n\r\n if (adv instanceof XMLElement) {\r\n ((XMLElement) adv).addAttribute(\"xmlns:jxta\", \"http://jxta.org\");\r\n }\r\n\r\n Element e;\r\n e = adv.createElement(handlernameTag, getHandlerName());\r\n adv.appendChild(e);\r\n if (getCredential() != null) {\r\n try {\r\n StructuredDocumentUtils.copyElements(adv, adv, (getCredential()).getDocument(asMimeType));\r\n } catch (Exception ce) {\r\n if (LOG.isEnabledFor(Priority.WARN)) {\r\n LOG.warn(\"Got an Exception during credential creation \", ce);\r\n }\r\n }\r\n }\r\n e = adv.createElement(payloadTag, getPayload());\r\n adv.appendChild(e);\r\n return adv;\r\n }", "public Document getDocument() {\n\t\treturn doc;\n\t}", "public Document getDocument() {\r\n\t\treturn mDocument;\r\n\t}", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Document getDocument() {\n\t\treturn document;\n\t}", "public OpenDefinitionsDocument getDocument() { return _document; }", "@SuppressWarnings(\"unchecked\")\n\tpublic Document getDocument() {\n\t\tDocument doc = this.documentBuilder.newDocument();\n\t\t\n\t\tElement rootElement = doc.createElement(\"properties\");\n\t\tdoc.appendChild(rootElement);\n\t\t\n\t\tEnumeration<String> keys = (Enumeration<String>) this.properties.propertyNames();\n\t\t\n\t\twhile (keys.hasMoreElements()) {\n\t\t\tString key = keys.nextElement();\n\t\t\tElement entry = doc.createElement(\"entry\");\n\t\t\tentry.setAttribute(\"key\", key);\n\t\t\tentry.setTextContent(this.getProperty(key));\n\t\t\trootElement.appendChild(entry);\n\t\t}\n\t\t\n\t\treturn doc;\n\t}", "public Document getDocument()\n {\n return field.getDocument();\n }", "public Gedcomx getDocument() {\n return doc;\n }", "protected File getDocumentById(String documentId, String documentType,\r\n\t\t\tString ext) {\r\n\r\n\t\tStringBuilder sbDql = new StringBuilder();\r\n\r\n\t\tsbDql.append(documentType).append(WHERE).append(OBJECT_ID)\r\n\t\t.append(EQ_QUOTE).append(documentId).append(QUOTE);\r\n\r\n\t\tlog.error(\"============== sbDql.toString()=============== \"\r\n\t\t\t\t+ sbDql.toString());\r\n\t\tlog.error(\"============== ext=============== \" + ext);\r\n\t\treturn this.getDocument(sbDql.toString(), ext);\r\n\r\n\t}", "public Document getDocument() {\n\t\treturn this.doc;\n\t}", "public URL getDocument() {\r\n return this.document;\r\n }", "protected File getDocumentByName(String documentName, String documentType,\r\n\t\t\tString ext) {\r\n\r\n\t\tStringBuilder sbDql = new StringBuilder();\r\n\r\n\t\tsbDql.append(documentType).append(WHERE).append(OBJECT_NAME)\r\n\t\t.append(EQ_QUOTE).append(documentName).append(QUOTE);\r\n\r\n\t\treturn this.getDocument(sbDql.toString(), ext);\r\n\r\n\t}", "public Object getContent() {\n\t\tManageProperties properties = ManageProperties.getInstance();\n\t\tDocument gateDoc = null;\n\t\ttry {\n\t\t\tgateDoc = (Document) Factory.createResource(\"gate.corpora.DocumentImpl\", Utils.featureMap(\"encoding\", properties.getValue(PropertiesFields.ENCODING.toString())));\n\t\t\tDocumentType doc = xmldoc.getDocument();\n\t\t\tgateDoc.setContent(new DocumentContentImpl(doc.getText()));\n\t\t\tAnnotationSet defaultSet = gateDoc.getAnnotations();\n\t\t\tTokensType tokens = doc.getTokens();\n\t\t\tIterator<TokenType> iterTokens = tokens.getToken().iterator();\n\t\t\twhile(iterTokens.hasNext()) {\n\t\t\t\tTokenType token = iterTokens.next();\n\t\t\t\tFeatureMap tokenFeatures = Factory.newFeatureMap();\n\t\t\t\ttokenFeatures.put(\"string\", token.getForm());\n\t\t\t\ttokenFeatures.put(\"root\", token.getLemma());\n\t\t\t\ttokenFeatures.put(\"category\", token.getCategory());\n\t\t\t\tdefaultSet.add(token.getBeginspan().longValue(), token.getEndspan().longValue(), \"Token\", tokenFeatures);\n\t\t\t}\n\t\t\t\n\t\t\tIterator<SentenceType> iterSentences = doc.getSentence().iterator();\n\t\t\twhile(iterSentences.hasNext()) {\n\t\t\t\tSentenceType sent = iterSentences.next();\n\t\t\t\tdefaultSet.add(sent.getBeginspan().longValue(), sent.getEndspan().longValue(), \"Sentence\", Factory.newFeatureMap());\n\t\t\t}\n\t\t} catch (ResourceInstantiationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (InvalidOffsetException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn (gateDoc);\n\t}", "DocumentContent createDocumentContent(byte[] bytes);", "public Map<String, Object> getDocument() {\n return document;\n }", "protected File getDocument(String dql, String ext) {\r\n\t\tlog.error(\"====================FUN��O getDocument NA CLASSE DocumentumCoreServicesImpl==================\");\r\n\t\tlog.error(\"====================PARAMETROS RECEBIDOS================== DQL \"\r\n\t\t\t\t+ dql + \" ================== ext \" + ext);\r\n\t\tFile fileReturn = null;\r\n\r\n\t\tContentProfile contentProfile = new ContentProfile();\r\n\r\n\t\tcontentProfile.setFormatFilter(FormatFilter.SPECIFIED);\r\n\r\n\t\tcontentProfile.setFormat(ext);\r\n\t\tlog.error(\"======================= contentProfile.setFormat====== \"\r\n\t\t\t\t+ ext);\r\n\t\tcontentProfile.setContentReturnType(FileContent.class);\r\n\r\n\t\tOperationOptions operationOptions = new OperationOptions();\r\n\r\n\t\toperationOptions.setContentProfile(contentProfile);\r\n\t\tlog.error(\"======================= operationOptions.setContentProfile====== \"\r\n\t\t\t\t+ contentProfile);\r\n\t\tContentTransferProfile transferProfile = new ContentTransferProfile();\r\n\r\n\t\toperationOptions.setContentTransferProfile(transferProfile);\r\n\r\n\t\tQualification qualification1 = new Qualification(dql);\r\n\r\n\t\tObjectIdentity targetObjectIdentity1 = new ObjectIdentity(\r\n\t\t\t\tqualification1, REPOSITORY_NAME);\r\n\t\tlog.error(\"======================= targetObjectIdentity1 (qualification1, REPOSITORY_NAME)====== \"\r\n\t\t\t\t+ targetObjectIdentity1);\r\n\t\tObjectIdentitySet objIdSet = new ObjectIdentitySet();\r\n\r\n\t\tobjIdSet.addIdentity(targetObjectIdentity1);\r\n\r\n\t\tDataPackage dataPackage;\r\n\r\n\t\ttry {\r\n\r\n\t\t\tdataPackage = this.objectService.get(objIdSet,\r\n\t\t\t\t\toperationOptions);\r\n\t\t\tlog.error(\"======================= objIdSet ====== \" + objIdSet);\r\n\t\t\tlog.error(\"======================= operationOptions ====== \"\r\n\t\t\t\t\t+ operationOptions);\r\n\r\n\t\t\tDataObject dataObject = dataPackage.getDataObjects().get(0);\r\n\t\t\tlog.error(\"======================= dataObject ====== \"\r\n\t\t\t\t\t+ dataPackage.getDataObjects().get(0));\r\n\t\t\tContent resultContent = dataObject.getContents().get(0);\r\n\t\t\tlog.error(\"======================= resultContent ====== \"\r\n\t\t\t\t\t+ dataObject.getContents().get(0));\r\n\r\n\t\t\tFileContent fileContent = (FileContent) resultContent;\r\n\t\t\tfileReturn = fileContent.getAsFile();\r\n\r\n\t\t} catch (CoreServiceException e) {\r\n\t\t\tSystem.out.println(\"CoreServiceException \\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\");\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\tlogger.error(ERROR_REPOSITORIO_EMC.concat(e.getLocalizedMessage()));\r\n\t\t\tSystem.out.println(\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n CoreServiceException\");\r\n\t\t} catch (ServiceException e) {\r\n\t\t\tSystem.out.println(\"ServiceException \\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\");\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\tlogger.error(ERROR_SERVICO_EMC.concat(e.getLocalizedMessage()));\r\n\t\t\tSystem.out.println(\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n ServiceException\");\r\n\r\n\t\t}\r\n\t\tlog.error(\"==================== FIM FUN��O getDocument NA CLASSE DocumentumCoreServicesImpl==================\");\r\n\r\n\t\t/*\r\n\t\t * File source = new File(fileReturn.getPath()); File dest = new\r\n\t\t * File(\"D:\\\\Temp\\\\file2.docx\"); try { FileUtils.copyFile(source, dest);\r\n\t\t * } catch (IOException e) { e.printStackTrace(); }\r\n\t\t */\r\n\r\n\t\treturn fileReturn;\r\n\r\n\t}", "public VEXDocument getDocument() {\n\t\treturn this.doc;\n\t}", "public trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder() {\n if (documentBuilder_ != null) {\n return documentBuilder_.getMessageOrBuilder();\n } else {\n return document_ == null ?\n trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder() {\n if (documentBuilder_ != null) {\n return documentBuilder_.getMessageOrBuilder();\n } else {\n return document_ == null ?\n trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder() {\n if (documentBuilder_ != null) {\n return documentBuilder_.getMessageOrBuilder();\n } else {\n return document_ == null ?\n trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }\n }", "public Document getDocument() {\n\t\t// If the document has not been parsed yet, do it now\n\t\tif (this.document == null) {\n\t\t\ttry {\n\t\t\t\tthis.document = parseLinkingConfiguration(this.configuration);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn this.document;\n\t}", "@Override\n public DocumentModel createDocument(CoreSession session, Blob content, DocumentModel mainDoc, DocumentModel folder)\n throws IOException {\n\n return createDocument(session, content, mainDoc, folder, false);\n }", "public Document getDocument(long documentId) throws ContestManagementException {\r\n return null;\r\n }", "SingleDocumentModel loadDocument(Path path);", "public interface DocumentContentFactory {\n\n /**\n * Creates a DocumentContent object for given byte array\n * @param bytes Input byte array - file content\n * @return DocumentContent object\n */\n DocumentContent createDocumentContent(byte[] bytes);\n}", "@DISPID(-2147417094)\n @PropGet\n com4j.Com4jObject document();", "public String getDocument() throws Exception;", "public Document newDocument() {\n\t\treturn new org.apache.xerces.dom.DocumentImpl();\n\t}", "public Document getDocument() {\n return editor.getDocument();\n }", "@Test\n public void testCreateDocumentWithContentStream() throws Exception {\n ContentStream cs = new ContentStreamImpl(null, \"text/plain\", Helper.FILE1_CONTENT);\n String id = objService.createDocument(repositoryId, createBaseDocumentProperties(\"doc1.txt\", \"File\"),\n rootFolderId, cs, VersioningState.NONE, null, null, null, null);\n assertNotNull(id);\n ObjectData data = getObject(id);\n assertEquals(id, data.getId());\n assertEquals(\"doc1.txt\", getString(data, PropertyIds.NAME));\n assertEquals(\"bde9eb59c76cb432a0f8d02057a19923\", getString(data, NuxeoTypeHelper.NX_DIGEST));\n @SuppressWarnings(\"unchecked\")\n List<String> hashes = (List<String>) getValues(data, PropertyIds.CONTENT_STREAM_HASH);\n assertEquals(\"{md5}bde9eb59c76cb432a0f8d02057a19923\", hashes.get(0));\n cs = objService.getContentStream(repositoryId, id, null, null, null, null);\n assertNotNull(cs);\n assertEquals(\"text/plain\", cs.getMimeType());\n assertEquals(\"doc1.txt\", cs.getFileName());\n assertEquals(Helper.FILE1_CONTENT.length(), cs.getLength());\n assertEquals(Helper.FILE1_CONTENT, Helper.read(cs.getStream(), \"UTF-8\"));\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n if (documentBuilder_ == null) {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n } else {\n return documentBuilder_.getMessage();\n }\n }", "Document getDocument(Long documentID, Integer type) throws EntityNotFoundException;", "public byte[] getDocumentContent(long arg0) throws ContestManagementException {\r\n return null;\r\n }", "@Test\n public void fieldFileSize() throws Exception {\n Document doc = new Document(getMyDir() + \"Document.docx\");\n\n Assert.assertEquals(16222, doc.getBuiltInDocumentProperties().getBytes());\n\n DocumentBuilder builder = new DocumentBuilder(doc);\n builder.moveToDocumentEnd();\n builder.insertParagraph();\n\n // Below are three different units of measure\n // with which FILESIZE fields can display the document's file size.\n // 1 - Bytes:\n FieldFileSize field = (FieldFileSize) builder.insertField(FieldType.FIELD_FILE_SIZE, true);\n field.update();\n\n Assert.assertEquals(\" FILESIZE \", field.getFieldCode());\n Assert.assertEquals(\"16222\", field.getResult());\n\n // 2 - Kilobytes:\n builder.insertParagraph();\n field = (FieldFileSize) builder.insertField(FieldType.FIELD_FILE_SIZE, true);\n field.isInKilobytes(true);\n field.update();\n\n Assert.assertEquals(\" FILESIZE \\\\k\", field.getFieldCode());\n Assert.assertEquals(\"16\", field.getResult());\n\n // 3 - Megabytes:\n builder.insertParagraph();\n field = (FieldFileSize) builder.insertField(FieldType.FIELD_FILE_SIZE, true);\n field.isInMegabytes(true);\n field.update();\n\n Assert.assertEquals(\" FILESIZE \\\\m\", field.getFieldCode());\n Assert.assertEquals(\"0\", field.getResult());\n\n // To update the values of these fields while editing in Microsoft Word,\n // we must first save the changes, and then manually update these fields.\n doc.save(getArtifactsDir() + \"Field.FILESIZE.docx\");\n //ExEnd\n\n doc = new Document(getArtifactsDir() + \"Field.FILESIZE.docx\");\n\n field = (FieldFileSize) doc.getRange().getFields().get(0);\n\n TestUtil.verifyField(FieldType.FIELD_FILE_SIZE, \" FILESIZE \", \"16222\", field);\n\n // These fields will need to be updated to produce an accurate result.\n doc.updateFields();\n\n field = (FieldFileSize) doc.getRange().getFields().get(1);\n\n TestUtil.verifyField(FieldType.FIELD_FILE_SIZE, \" FILESIZE \\\\k\", \"13\", field);\n Assert.assertTrue(field.isInKilobytes());\n\n field = (FieldFileSize) doc.getRange().getFields().get(2);\n\n TestUtil.verifyField(FieldType.FIELD_FILE_SIZE, \" FILESIZE \\\\m\", \"0\", field);\n Assert.assertTrue(field.isInMegabytes());\n }", "public ODocument toStream() {\n lock.readLock().lock();\n try {\n ODocument document = new ODocument(getIdentity());\n document.field(\"schemaVersion\", CURRENT_VERSION_NUMBER);\n\n // This steps is needed because in classes there are duplicate due to aliases\n Set<OClassImpl> realClases = new HashSet<OClassImpl>();\n for (OClass c : classes.values()) realClases.add(((OClassImpl) c));\n\n Set<ODocument> classesDocuments = new HashSet<ODocument>();\n for (OClassImpl c : realClases) classesDocuments.add(c.toStream());\n document.field(\"classes\", classesDocuments, OType.EMBEDDEDSET);\n\n // This steps is needed because in views there are duplicate due to aliases\n Set<OViewImpl> realViews = new HashSet<OViewImpl>();\n for (OView v : views.values()) realViews.add(((OViewImpl) v));\n\n Set<ODocument> viewsDocuments = new HashSet<ODocument>();\n for (OClassImpl c : realViews) viewsDocuments.add(c.toStream());\n document.field(\"views\", viewsDocuments, OType.EMBEDDEDSET);\n\n List<ODocument> globalProperties = new ArrayList<ODocument>();\n for (OGlobalProperty globalProperty : properties) {\n if (globalProperty != null)\n globalProperties.add(((OGlobalPropertyImpl) globalProperty).toDocument());\n }\n document.field(\"globalProperties\", globalProperties, OType.EMBEDDEDLIST);\n document.field(\"blobClusters\", blobClusters, OType.EMBEDDEDSET);\n return document;\n } finally {\n lock.readLock().unlock();\n }\n }", "public static String getDoc() {\n return doc;\n }", "public interface DocumentEntry\n extends Entry\n{\n\n /**\n * get the zize of the document, in bytes\n *\n * @return size in bytes\n */\n\n public int getSize();", "@Override\n public OdfSchemaDocument getDocument() {\n return (OdfSchemaDocument) mPackageDocument;\n }", "@Override\n\tpublic File getDocument(String name) {\n\t\t\n\t\tFile returnValue = new File(RestService.documentDirectory + name + \".pdf\");\n\t\t\n\t\tif(returnValue.exists() && !returnValue.isDirectory()) { \n\t\t return returnValue;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "public BasicDBObject getDocument () {\n\t\tBasicDBObject myDoc = new BasicDBObject(\"ID\",this.ID);\t\t\n\t\tmyDoc.append(\"CompanyID\", this.CompanyID);\n\t\tmyDoc.append(\"FormType\",this.FormType);\n\t\tmyDoc.append(\"FieldID\",this.FieldID);\n\t\tmyDoc.append(\"Context\", this.Context);\n\t\treturn myDoc;\n\t}", "public DocumentType getDocumentType() {\n return documentType;\n }", "public String getDocument() {\n\t\treturn document;\n\t}", "protected Document createDefaultModel() {\n return new PlainDocument();\n }", "public Document getAsXMLDOM () {\r\n\r\n //code description\r\n\r\n return document;\r\n\r\n }", "public static Document getDocument(InputStream input)\n {\n return XMLTools.getDocument(input, false);\n }", "@Override\n @NotNull\n public XmlDocument getDocument() {\n final XmlDocument document = findChildByClass(XmlDocument.class);\n assert document != null;\n return document;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "@java.lang.Override\n public trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument() {\n return document_ == null ? trinsic.services.common.v1.CommonOuterClass.JsonPayload.getDefaultInstance() : document_;\n }", "public String getDocumentType() {\n return this.documentType;\n }", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "trinsic.services.common.v1.CommonOuterClass.JsonPayload getDocument();", "@Override\n public long getContentLength() {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n try {\n // Calculate the overhead for the WBXML data\n writeTo(baos, false);\n // Return the actual size that will be sent\n return baos.size() + mimeLength;\n } catch (IOException e) {\n // Just return -1 (unknown)\n } finally {\n try {\n baos.close();\n } catch (IOException e) {\n // Ignore\n }\n }\n return -1;\n }", "public String getDocumentType();", "public File getDisplayDocument() {\n\t\tswitch (type) {\n\t\t\tcase SOURCE : return doc.getSourceDocument();\n\t\t\tcase TARGET : return doc.getWorkingDocument();\n\t\t}\n\t\treturn null;\n\t}", "public String getDocumentType() {\n return documentType;\n }", "public interface DocumentDefinition extends NodeDefinition {\n\n String getContentPath();\n\n String getMimeType();\n\n String getEncoding();\n}", "HrDocumentRequest get(long id);", "public static Document parse(InputStream is) throws IOException\n {\n return parse(is, false);\n }", "public InputStream getAsInputStream () {\r\n\r\n\t //code description\r\n\t \r\n\t if (this.document == null) return null;\r\n\t return new ByteArrayInputStream(this.getAsBytes());\r\n\t \r\n }", "public static Document getDocument(byte xml[])\n {\n return XMLTools.getDocument(xml, false);\n }", "public SignatureDocument getSignatureDocument() throws IOException, XmlException {\n // TODO: check for XXE\n return SignatureDocument.Factory.parse(signaturePart.getInputStream(), DEFAULT_XML_OPTIONS);\n }", "public static DocumentBuilder createDocumentBuilder() {\n\t\treturn createDocumentBuilder(DefaultEntityResolver.getInstance());\n\t}", "trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder();", "trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder();", "trinsic.services.common.v1.CommonOuterClass.JsonPayloadOrBuilder getDocumentOrBuilder();", "public static ArrayList<Document> getDocumentList() {\n\t\tRequestContent rp = new RequestContent();\n\t\trp.type = RequestType.GET_DOCUMENTS;\n\t\tReceiveContent rp1 = sendReceive(rp);\n\t\tArrayList<Document> doc = (ArrayList<Document>) rp1.parameters[0];\n\t\treturn doc;\n\t}", "private Document getModelDocument(InputStream inStream)\n throws IOException {\n assert inStream != null;\n\n try {\n // Create a document builder that validates the XML input using our schema\n SAXBuilder builder = new SAXBuilder();\n builder.setFeature(\"http://xml.org/sax/features/validation\", true);\n builder.setFeature(\n \"http://apache.org/xml/features/validation/schema\", true);\n builder.setFeature(\n \"http://apache.org/xml/features/validation/schema-full-checking\",\n true);\n builder.setProperty(\"http://apache.org/xml/properties/schema/external-\"\n + \"noNamespaceSchemaLocation\", schemaUrl.toString());\n return builder.build(inStream);\n }\n catch (JDOMException exc) {\n log.log(Level.SEVERE, \"Exception parsing input\", exc);\n throw new IOException(\"Exception parsing input: \" + exc.getMessage());\n }\n }", "@Override\r\n\t\tpublic DocumentDTO getDocumentById(long id) {\n\t\t\tDocumentDTO ddto=documentDAO.getDocumentListById(id);\r\n\t\t\tddto.setImagePath(context.getContextPath()+ddto.getImagePath());\r\n\t\t\tddto.setDataPath(context.getContextPath()+ddto.getDataPath());\r\n\t\t\treturn ddto;\r\n\t\t}", "@Override\n public Document getMutableDocument() {\n return this;\n }", "public long averageDocumentSize() {\n return this.averageDocumentSize;\n }", "SingleDocumentModel getDocument(int index);", "public long getContentSize() {\n return (long) (getVersion() == 1 ? 12 : 8);\n }", "@Override\n\tpublic byte[] get()\n\t{\n\t\tif (isInMemory())\n\t\t{\n\t\t\tif (cachedContent == null)\n\t\t\t{\n\t\t\t\tcachedContent = dfos.getData();\n\t\t\t}\n\t\t\treturn cachedContent;\n\t\t}\n\n\t\tFile file = dfos.getFile();\n\n\t\ttry\n\t\t{\n\t\t\treturn Files.readBytes(file);\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\tlog.debug(\"failed to read content of file: \" + file.getAbsolutePath(), e);\n\t\t\treturn null;\n\t\t}\n\t}", "public String getMimeType ()\n {\n final String METHOD_NAME = \"getMimeType\";\n this.logDebug(METHOD_NAME + \"1/2: Started\");\n\n String mimeType = null;\n try\n {\n\tint contentType = this.document.getContentType();\n\tif ( contentType >= 0 ) mimeType = MediaType.nameFor[contentType];\n }\n catch (Exception exception)\n {\n\tthis.logWarn(METHOD_NAME + \"Failed to retrieve mime type\", exception);\n }\n\n this.logDebug(METHOD_NAME + \" 2/2: Done. mimeType = \" + mimeType);\n return mimeType;\n }", "static DocumentRemote get() {\n\t\tif (GWT.isScript()) {\n\t\t\treturn nativeGet();\n\t\t}\n\t\t// No need to be MT-safe. Single-threaded JS code.\n\t\tif (doc == null) {\n\t\t\tdoc = nativeGet();\n\t\t}\n\t\treturn doc;\n\t}", "TestDocument getDocument(String name);" ]
[ "0.5908325", "0.58576834", "0.5750246", "0.5744772", "0.5740866", "0.57314146", "0.5730606", "0.5729456", "0.5729456", "0.5709001", "0.57062507", "0.57060224", "0.5596511", "0.55677", "0.5562553", "0.5560555", "0.554898", "0.55480224", "0.5532443", "0.5523892", "0.5515476", "0.5502461", "0.5500873", "0.5500873", "0.54895675", "0.54736346", "0.5450531", "0.5446947", "0.54440856", "0.54239583", "0.5367784", "0.5352417", "0.5345675", "0.5343621", "0.53311735", "0.53106195", "0.5295479", "0.5270044", "0.5270044", "0.5270044", "0.5265503", "0.5263403", "0.5262313", "0.52229464", "0.5218439", "0.521186", "0.52108395", "0.5197067", "0.5195962", "0.5190623", "0.51871145", "0.51871145", "0.51871145", "0.51611876", "0.51589286", "0.51559925", "0.5149225", "0.5149113", "0.5148616", "0.51437455", "0.51378775", "0.5136456", "0.5131013", "0.5125471", "0.5111268", "0.51104677", "0.5108225", "0.51053375", "0.5094309", "0.5094309", "0.5094309", "0.50888854", "0.5074642", "0.5074642", "0.5074642", "0.5072802", "0.5059077", "0.50578326", "0.50480294", "0.5045231", "0.5041691", "0.5040646", "0.50261825", "0.5016352", "0.50042737", "0.49910483", "0.4989985", "0.4989985", "0.4989985", "0.49897894", "0.49878305", "0.49773303", "0.49639934", "0.496046", "0.4957146", "0.4952101", "0.4949785", "0.4948056", "0.49402323", "0.49347305" ]
0.6070883
0
Gets a Document with a Permissions property.
public static Document mockDocument(MockObjectStore objectStore, String guid, String timeStr, boolean isReleasedVersion, AccessPermissionList perms) { return mockDocument(objectStore, guid, timeStr, isReleasedVersion, null, null, perms); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Permissions getPermissions() {\r\n return permissions;\r\n }", "public Permissions permissions() {\n return this.innerProperties() == null ? null : this.innerProperties().permissions();\n }", "String getDocument(String docID, boolean isSubdoc,\n\t\t\tDomeoPermissions permissions3) {\n\t\tString data = \"\";\n\t\tif (permissions3 == null) {\n\t\t\tdata = String.format(ES_QUERY_BY_DOCID, docID);\n\t\t} else {\n\t\t\tString filter = permissions3.buildQueryFilter();\n\t\t\tdata = \"{ \\\"query\\\" : { \\\"term\\\" : { \\\"_id\\\" : \\\"\" + docID\n\t\t\t\t\t+ \"\\\" } } \" + filter + \" }\";\n\t\t}\n\n\t\tString searchUrl = isSubdoc ? esSearchSubdocUrl : esSearchUrl;\n\t\t@SuppressWarnings(\"unused\")\n\t\tint resCode = doHttpOperation(searchUrl, HTTP_POST, data);\n\t\treturn decodeNS(lastResponse);\n\t}", "int getPermissionRead();", "public Permission getPermission() {\n return permission;\n }", "int getPermissionWrite();", "public Permissions createPermissions() {\r\n perm = (perm == null) ? new Permissions() : perm;\r\n return perm;\r\n }", "Document getDocument(Long documentID, Integer type) throws EntityNotFoundException;", "List<Permission> getPermissions();", "@ApiModelProperty(required = true, value = \"The remote system permission of the invoking user on the file/folder.\")\n public String getPermissions() {\n return permissions;\n }", "public FacebookPermissionsE permission(){\n\t\treturn this.permission;\n\t}", "public Boolean isPermissions() {\n return (Boolean) get(\"permissions\");\n }", "EpermissionDO selectByPrimaryKey(Long id);", "public Set<PosixFilePermission> permissions() {\n List<PosixFilePermission> listPermissions = new ArrayList<PosixFilePermission>();\n listPermissions.add(PosixFilePermission.OWNER_READ);\n listPermissions.add(PosixFilePermission.OWNER_WRITE);\n listPermissions.add(PosixFilePermission.OWNER_EXECUTE);\n listPermissions.add(PosixFilePermission.GROUP_READ);\n listPermissions.add(PosixFilePermission.GROUP_WRITE);\n listPermissions.add(PosixFilePermission.GROUP_EXECUTE);\n listPermissions.add(PosixFilePermission.OTHERS_READ);\n listPermissions.add(PosixFilePermission.OTHERS_WRITE);\n listPermissions.add(PosixFilePermission.OTHERS_EXECUTE);\n\n // We get the permission string and we create it by looking up\n String permissionString = this.attrs.getPermissionsString();\n Set<PosixFilePermission> permissions = new HashSet<PosixFilePermission>();\n char nothing = \"-\".charAt(0);\n // We skip the first character as it's the file type\n for (int i=1; i< permissionString.length();i++) {\n if (permissionString.charAt(i) != nothing) {\n permissions.add(listPermissions.get(i-1));\n }\n }\n\n return permissions;\n\n }", "public static synchronized MyPermissions getInstance() {\n if (myPermissions == null) {\n myPermissions = new MyPermissions();\n }\n return myPermissions;\n }", "public IGrantSet getPermissions()\n throws OculusException;", "PermissionService getPermissionService();", "static DocumentRemote get() {\n\t\tif (GWT.isScript()) {\n\t\t\treturn nativeGet();\n\t\t}\n\t\t// No need to be MT-safe. Single-threaded JS code.\n\t\tif (doc == null) {\n\t\t\tdoc = nativeGet();\n\t\t}\n\t\treturn doc;\n\t}", "@Override\r\n\tpublic Permission queryRootPermission() {\n\t\treturn permissionDao.queryRootPermission();\r\n\t}", "public Properties getPermissionsReport() {\n /* TO DO: */\n return null;\n }", "public ResourceInformation.Permissions getEffectivePermissions() {\n\t\tif (effectivePermissions == null)\n\t\t\tfetchInfo();\n\t\treturn effectivePermissions;\n\t}", "public Set<Permission> getPermissions() {\n return permissions;\n }", "public Document getDocument() {\n return doc;\n }", "public Set < PermissionAttachmentInfo > getEffectivePermissions ( ) {\n\t\treturn extract ( handle -> handle.getEffectivePermissions ( ) );\n\t}", "public Document getDocument() {\n return this.document;\n }", "public static MongoReadPreference get() {\n return builder().build();\n }", "public long getPublicDocumentsInCollection()\n\tthrows DataAccessException;", "public Document getDocument()\n {\n return m_Document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return document;\n }", "public Document getDocument() {\n return document;\n }", "Permission selectByPrimaryKey(Integer id);", "String getPermission();", "public List<String> getPermissions() {\n return this.permissions;\n }", "Permission selectByPrimaryKey(String id);", "public Document getDocument() {\n return _document;\n }", "public Document getDocument()\n {\n return field.getDocument();\n }", "java.lang.String getPermissions(int index);", "Document getDocument(Long documentID) throws EntityNotFoundException;", "public Document getDocument() {\r\n return mDocument;\r\n }", "public static AngularPermission fetchByPrimaryKey(long permissionId) {\n\t\treturn getPersistence().fetchByPrimaryKey(permissionId);\n\t}", "public String getPermission() {\n return this.permission;\n }", "public Document getDocument()\n\t{\n\t\treturn this.document;\n\t}", "Documentable createDocumentable();", "public Integer getPermission() {\n\t\treturn permission;\n\t}", "public final Map<String, ScriptDocValues<?>> getDoc() {\n return leafLookup.doc();\n }", "public java.util.List<org.eclipse.stardust.engine.api.runtime.Permission>\n getPermissions()\n throws org.eclipse.stardust.common.error.WorkflowException;", "public Document getDocument()\n\t{\n\t\treturn document;\n\t}", "public String getPermission()\r\n {\r\n return permission;\r\n }", "public Document getDocument() {\n\t\treturn doc;\n\t}", "SingleDocumentModel getDocument(int index);", "public List<String> getPermissions() {\n AppMethodBeat.m2504i(92672);\n List permissions = this.properties.getPermissions();\n AppMethodBeat.m2505o(92672);\n return permissions;\n }", "public ArrayList<Permission> getPermissions()\r\n {\r\n return this.securityInfo.getPermissions();\r\n }", "public List<Permission> getPermissions(String objectId) throws UserManagementException;", "public Document getDocument() {\r\n\t\treturn document;\r\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic Document getDocument() {\n\t\tDocument doc = this.documentBuilder.newDocument();\n\t\t\n\t\tElement rootElement = doc.createElement(\"properties\");\n\t\tdoc.appendChild(rootElement);\n\t\t\n\t\tEnumeration<String> keys = (Enumeration<String>) this.properties.propertyNames();\n\t\t\n\t\twhile (keys.hasMoreElements()) {\n\t\t\tString key = keys.nextElement();\n\t\t\tElement entry = doc.createElement(\"entry\");\n\t\t\tentry.setAttribute(\"key\", key);\n\t\t\tentry.setTextContent(this.getProperty(key));\n\t\t\trootElement.appendChild(entry);\n\t\t}\n\t\t\n\t\treturn doc;\n\t}", "public PermissionCollection newPermissionCollection() {\n return new ElytronPermissionCollection();\n }", "public com.tangosol.net.ClusterPermission getPermission()\n {\n return __m_Permission;\n }", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Document getDocument() {\n\t\treturn document;\n\t}", "public Permission[] getPermissionsField() {\n\treturn super.getPermissions(null);\n }", "public PermissionCollection newPermissionCollection()\n {\n return new WECollection();\n }", "Collection<Document> getDocuments();", "public Map<String, Object> getDocument() {\n return document;\n }", "@Override\n\tpublic List<PermissionDto> getPermission() {\n\t\tList<PermissionDto> dto = permissionRepository.findAll().stream().map(permission -> {\n\t\t\tPermissionDto permissionDto = new PermissionDto();\n\t\t\tBeanUtils.copyProperties(permission, permissionDto);\n\t\t\treturn permissionDto;\n\t\t}).collect(Collectors.toList());\n\t\treturn dto;\n\t}", "public Document getDocument() {\n\t\treturn this.doc;\n\t}", "public Document readDocument();", "public List<IDoc> getDocs();", "public List<IDoc> getDocs();", "public PolicyPermission getPolicyPermission()\n {\n return this.perm;\n }", "java.util.List<java.lang.String>\n getPermissionsList();", "public Document getDocument() {\r\n\t\treturn mDocument;\r\n\t}", "@Override\n public Properties getPermissionsReport() {\n /* TO DO: */\n return null;\n }", "public static ArrayList<Document> getDocumentList() {\n\t\tRequestContent rp = new RequestContent();\n\t\trp.type = RequestType.GET_DOCUMENTS;\n\t\tReceiveContent rp1 = sendReceive(rp);\n\t\tArrayList<Document> doc = (ArrayList<Document>) rp1.parameters[0];\n\t\treturn doc;\n\t}", "public int getPermission(Integer resourceId);", "SPerms selectByPrimaryKey(Long permsId);", "@ProvidedBy(ODocumentWrapperProvider.class)\n@EntityType(value = OSecurityShared.RESTRICTED_CLASSNAME)\npublic interface IORestricted extends IODocumentWrapper {\n\t\n\t@EntityProperty(\"_allow\")\n\tpublic Set<OIdentifiable> getAllowAll();\n\t@EntityProperty(\"_allow\")\n\tpublic IORestricted setAllowAll(Set<OIdentifiable> identifiables);\n\t\n\tpublic default IORestricted addToAllowAll(OIdentifiable identifiable) {\n\t\treturn setAllowAll(addSafely(getAllowAll(), identifiable));\n\t}\n\t\n\tpublic default IORestricted remoteFromAllowAll(OIdentifiable identifiable) {\n\t\treturn setAllowAll(removeSafely(getAllowAll(), identifiable));\n\t}\n\t\n\t@EntityProperty(\"_allowRead\")\n\tpublic Set<OIdentifiable> getAllowRead();\n\t@EntityProperty(\"_allowRead\")\n\tpublic IORestricted setAllowRead(Set<OIdentifiable> identifiables);\n\t\n\tpublic default IORestricted addToAllowRead(OIdentifiable identifiable) {\n\t\treturn setAllowRead(addSafely(getAllowRead(), identifiable));\n\t}\n\t\n\tpublic default IORestricted remoteFromAllowRead(OIdentifiable identifiable) {\n\t\treturn setAllowRead(removeSafely(getAllowRead(), identifiable));\n\t}\n\t\n\t@EntityProperty(\"_allowUpdate\")\n\tpublic Set<OIdentifiable> getAllowUpdate();\n\t@EntityProperty(\"_allowUpdate\")\n\tpublic IORestricted setAllowUpdate(Set<OIdentifiable> identifiables);\n\t\n\tpublic default IORestricted addToAllowUpdate(OIdentifiable identifiable) {\n\t\treturn setAllowUpdate(addSafely(getAllowUpdate(), identifiable));\n\t}\n\t\n\tpublic default IORestricted remoteFromAllowUpdate(OIdentifiable identifiable) {\n\t\treturn setAllowUpdate(removeSafely(getAllowUpdate(), identifiable));\n\t}\n\t\n\t@EntityProperty(\"_allowDelete\")\n\tpublic Set<OIdentifiable> getAllowDelete();\n\t@EntityProperty(\"_allowDelete\")\n\tpublic IORestricted setAllowDelete(Set<OIdentifiable> identifiables);\n\t\n\tpublic default IORestricted addToAllowDelete(OIdentifiable identifiable) {\n\t\treturn setAllowDelete(addSafely(getAllowDelete(), identifiable));\n\t}\n\t\n\tpublic default IORestricted remoteFromAllowDelete(OIdentifiable identifiable) {\n\t\treturn setAllowDelete(removeSafely(getAllowDelete(), identifiable));\n\t}\n\t\n\tpublic static Set<OIdentifiable> addSafely(Set<OIdentifiable> set, OIdentifiable identifiable) {\n\t\tif(set==null) set = new HashSet<OIdentifiable>();\n\t\tset.add(identifiable);\n\t\treturn set;\n\t}\n\t\n\tpublic static Set<OIdentifiable> removeSafely(Set<OIdentifiable> set, OIdentifiable identifiable) {\n\t\tif(set==null) return set;\n\t\tset.remove(identifiable);\n\t\treturn set;\n\t}\n}", "public DocumentList getDocuments() {\n return documents;\n }", "abstract public void getPermission();", "public Enumeration permissions();", "public int getPermission() {\r\n\t\treturn nPermission;\r\n\t}", "@Override\n\tpublic List<Document> findDocument() {\n\t\treturn null;\n\t}", "public static synchronized Scope build(LIPermission... permissions) {\n return new Scope(permissions);\n }", "public BasicDBObject getDocument () {\n\t\tBasicDBObject myDoc = new BasicDBObject(\"ID\",this.ID);\t\t\n\t\tmyDoc.append(\"CompanyID\", this.CompanyID);\n\t\tmyDoc.append(\"FormType\",this.FormType);\n\t\tmyDoc.append(\"FieldID\",this.FieldID);\n\t\tmyDoc.append(\"Context\", this.Context);\n\t\treturn myDoc;\n\t}", "public int getPermissions()\n {\n return encryptionDictionary.getInt( \"P\", 0 );\n }", "public boolean [] getPermissions()\n\t{\n\t\treturn this.permissions;\n\t}", "boolean isWritePermissionGranted();", "public List<Permission> getPermissionList() {\n return permissionList;\n }", "public Permission getPermission(String objectId, User user, Boolean pending) throws UserManagementException;", "public static LearningObjectInstancePermissions getPermissions(HttpServletRequest request)\n {\n return (LearningObjectInstancePermissions) request.getSession().getAttribute(getSessionKey(request, Constants.SessionKeys.Permissions));\n }", "public Document obtainEditableInstance()\n throws WorkflowException, MappingException, RepositoryException, RemoteException;", "HrDocumentRequest get(long id);", "private DocsService getDocsService() throws DocumentServiceException {\n\tAuthenticationToken token = this.store.getUserToken();\n\tif (token == null) {\n\t throw new DocumentServiceException(\"Service requires authentication.\");\n\t}\n\tPrivateKey key = AuthenticationKey.getAuthSubKey();\n DocsService svc = new DocsService(GDATA_CLIENT_APPLICATION_NAME);\n svc.setConnectTimeout(0);\n svc.setReadTimeout(0);\n svc.setAuthSubToken(token.getToken(), key);\n svc.setProtocolVersion(DocsService.Versions.V3);\n return svc;\n }", "public OpenDefinitionsDocument getDocument() { return _document; }", "@View(name = \"all\", map = \"function(doc) { if (doc.metadata && doc.signingKey && doc.encryptionKey \"\n + \"&& (doc.appliesTo==null || doc.appliesTo=='CAS' || doc.appliesTo=='')) { emit(doc._id, doc) } }\")\n public CouchDbSamlIdPMetadataDocument getForAll() {\n val view = createQuery(\"all\").limit(1);\n return db.queryView(view, CouchDbSamlIdPMetadataDocument.class).stream().findFirst().orElse(null);\n }", "public interface Permissions\r\n{\r\n\t/**\r\n\t * Tests whether a permission has been granted\r\n\t * \r\n\t * @param capability The permission (capability) to test for\r\n\t * @return Whether the given capability is allowed\r\n\t */\r\n\tboolean has(String capability);\r\n\r\n\t/**\r\n\t * @param capability The permission to get\r\n\t * @return The permission of the given name\r\n\t */\r\n\tPermission getPermission(String capability);\r\n\r\n\t/** @return All permissions associated with this Permissions object */\r\n\tPermission [] getAllPermissions();\r\n}", "IDocument getDocument(File file);", "public static List<AngularPermission> findAll() {\n\t\treturn getPersistence().findAll();\n\t}", "public String getDocument(int documentId) {\n return myDocuments.get(documentId);\n }", "public Document getDocument() {\n\t\t// If the document has not been parsed yet, do it now\n\t\tif (this.document == null) {\n\t\t\ttry {\n\t\t\t\tthis.document = parseLinkingConfiguration(this.configuration);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn this.document;\n\t}" ]
[ "0.6148554", "0.5853285", "0.55234617", "0.5479757", "0.54687184", "0.5467225", "0.5457076", "0.5455674", "0.54500586", "0.5428022", "0.53976506", "0.5356103", "0.5354337", "0.5338011", "0.53013116", "0.52861565", "0.52552813", "0.52513033", "0.5245391", "0.5241269", "0.5236359", "0.5212675", "0.5209467", "0.519975", "0.51972187", "0.5193151", "0.5185726", "0.5183195", "0.51573175", "0.51573175", "0.514737", "0.51444215", "0.51433873", "0.51248264", "0.51234764", "0.51214594", "0.5118577", "0.5114394", "0.5111052", "0.51002485", "0.509651", "0.5093815", "0.5092101", "0.5087592", "0.5071152", "0.5066047", "0.5062801", "0.5038669", "0.5031039", "0.50289935", "0.5013636", "0.5009445", "0.50058794", "0.5000321", "0.49904436", "0.49881816", "0.4971905", "0.4967691", "0.4967593", "0.4967593", "0.49668744", "0.49640185", "0.49635977", "0.49594495", "0.49558255", "0.49526885", "0.4947181", "0.4935826", "0.4935826", "0.49336818", "0.49309674", "0.49280313", "0.4926695", "0.48938757", "0.4890214", "0.48843333", "0.4875564", "0.48709586", "0.4869143", "0.48689392", "0.48675022", "0.48662278", "0.48619536", "0.4859034", "0.48411602", "0.48204675", "0.48137474", "0.48091823", "0.48010093", "0.4797093", "0.4795865", "0.4793302", "0.47782257", "0.47771755", "0.47700176", "0.47678575", "0.47657382", "0.47497874", "0.4745848", "0.4743987" ]
0.52502817
18
Accessor for the message.
public String getApproxsimMessage() { return message; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public V getMessage() {\n return this.message;\n }", "@Accessor(qualifier = \"message\", type = Accessor.Type.GETTER)\n\tpublic String getMessage()\n\t{\n\t\treturn getMessage(null);\n\t}", "public Message getMessage(){\n return message;\n }", "public Object getMessage() {\n return m_message;\n }", "@JsonGetter(\"message\")\r\n public String getMessage ( ) { \r\n return this.message;\r\n }", "public String getMessage(){\n\t\treturn this.message;\n\t}", "public RequestMessage getMessage() {\r\n return message;\r\n }", "public String getMessage(){\n return this.message;\n }", "public String getMessage(){\n return(message);\n }", "public String getMessage() {\r\n\t\treturn this.message;\r\n\t}", "public String getMessage()\n {\n return fMessage;\n }", "public String message() {\n return _msg;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage() {\n return this.message;\n }", "public String getMessage()\r\n {\r\n return myMessage;\r\n }", "public String getMessage() {\n\t\treturn this.message;\n\t}", "public String getMessage() {\n\t\treturn this.message;\n\t}", "public java.lang.String getMESSAGE() {\n return MESSAGE;\n }", "public MidiMessage getMessage() {\n return message;\n }", "public final String getMessage() {\n return this.message;\n }", "public String getMessage(){\r\n\t\treturn message;\r\n\t}", "public String getMessage(){\r\n return message;\r\n }", "public String getMessage(){\r\n return message;\r\n }", "public String message() {\n return this.message;\n }", "public String getMessage() { return message; }", "public String getMessage () {\n return message;\n }", "public String getMessage() {\r\n\t\treturn mMessage;\r\n\t}", "public String getMessage() {\r\n return message;\r\n }", "public String getMessage() {\r\n return message;\r\n }", "public String message() {\r\n\t\treturn message;\r\n\t}", "public String getMessage()\r\n {\r\n return message;\r\n }", "public String getMessage()\r\n {\r\n return message;\r\n }", "public String getMessage() {\n\t\treturn message;\n\t\t\n\t}", "public String getMessage(){\n return message;\n }", "public String getMessage()\n\t{\n\t\treturn this.message;\n\t}", "public String getMessage() {\r\n\t\treturn message;\r\n\t}", "public String getMessage() {\r\n\t\treturn message;\r\n\t}", "public String getMessage() {\r\n\t\treturn message;\r\n\t}", "public String getMessage() {\r\n\t\treturn message;\r\n\t}", "public java.lang.String getMessage()\r\n {\r\n return message;\r\n }", "public String getMessage() {\r\n\t\treturn m_message;\r\n\t}", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n\t\treturn message;\n\t}", "public String getMessage() {\n\t\treturn message;\n\t}", "public String getMessage() {\n\t\treturn message;\n\t}", "@Override\n public String getMsg() {\n return this.msg;\n }", "public String getMessage() {\r\n return messageKind.getMessage();\r\n }", "public String getMessage() {\n \t\treturn message;\n \t}", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage() {\n return message;\n }", "public String getMessage()\n {\n return message;\n }", "public String getMessage()\n {\n return message;\n }", "public String getMessage()\r\n\t{\r\n\t\treturn message;\r\n\t}", "public String getMsg() { return this.msg; }", "@Override\r\n\tpublic String getMessage() {\n\t\treturn this.message;\r\n\t}", "public String getMessage() {\n\t\t\treturn message;\n\t\t}", "public java.lang.String getMessage() {\n return localMessage;\n }", "public String getMessage() {\n\n\t\treturn message;\n\n\t}", "public String getMessage()\n\t{\n\t\treturn message;\n\t}", "public java.lang.String getMessage() {\n return message;\n }", "public String getMessage()\n\t\t{\n\t\t\treturn message;\n\t\t}", "public com.google.protobuf.ByteString getMessage() {\n return message_;\n }", "java.lang.String getTheMessage();", "public PagerMessage getMessage() {\r\n\t\treturn message;\r\n\t}", "public String getMessageContent() {\n return messageContent;\n }", "public String getValue() {\n\t\treturn this.msg;\n\t}", "public String getData() {\n return message;\n }", "public String getMessage() {\n\t\treturn this.nbt.getString(MESSAGE_KEY);\n\t}", "public Optional<String> getMessage() {\n return _message;\n }", "public String getMessage() {\r\n\treturn messageSB.toString();\r\n }", "public String getMsg() {\n return msg;\n }", "public String getMsg() {\n return msg;\n }", "public com.google.protobuf.ByteString getMessage() {\n return message_;\n }", "@Pure\n @NonNull\n public String getMessage() {\n return this.message;\n }", "public ProcessorMessage getMessage() {\n\t\tProcessorMessage obj = reader.getMessage();\n\t\treturn obj;\n\t}", "public String getMessageString() {\n return this.message_string;\n }", "public java.lang.String getMessage() {\n java.lang.Object ref = message_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n message_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }" ]
[ "0.79286975", "0.7894272", "0.7893321", "0.7746385", "0.76496196", "0.7585719", "0.7576728", "0.7566389", "0.7535113", "0.7504064", "0.74973375", "0.7473211", "0.7466167", "0.7466167", "0.7466167", "0.7466167", "0.7466167", "0.7466167", "0.7466167", "0.7463536", "0.74555415", "0.74555415", "0.7451419", "0.7442365", "0.7433786", "0.74209183", "0.7417609", "0.7417609", "0.7413131", "0.73916644", "0.73904246", "0.7387006", "0.73868066", "0.73868066", "0.7374741", "0.7366079", "0.7366079", "0.7352305", "0.7351833", "0.7350586", "0.7344203", "0.7344203", "0.7344203", "0.7344203", "0.73437756", "0.7320359", "0.7312938", "0.7312938", "0.7312938", "0.7312938", "0.7301835", "0.7301835", "0.7301835", "0.7298862", "0.72948474", "0.7294306", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7290591", "0.7289364", "0.7289364", "0.7274754", "0.7273026", "0.7263104", "0.72624135", "0.72493196", "0.7220717", "0.7220128", "0.72099704", "0.7195653", "0.71537954", "0.7150646", "0.714779", "0.7135366", "0.71342796", "0.71180946", "0.71117365", "0.71045285", "0.7100311", "0.7094483", "0.7094483", "0.7093711", "0.70891213", "0.7038303", "0.7036179", "0.7008348" ]
0.0
-1
Accessor for the initiator.
public Object getInitiator() { return mInitiator; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInitiator()\n {\n return m_initiator;\n }", "public ObjectType getInitiator() { return initiator; }", "public boolean initiator() {\n return initiator;\n }", "public void setInitiator(ObjectType init) { initiator = init; }", "public Long[] getInitiatorIDs() { return this.initiatorIDs; }", "public String getOriginator() {\n return originator;\n }", "public ChronicleChannelCfg<C> initiator(boolean initiator) {\n this.initiator = initiator;\n return this;\n }", "public String getAgentContactor() {\n return agentContactor;\n }", "private static synchronized InitiatorService getInitiatorService()\n {\n if (initiatorService.get() == null) {\n initiatorService.set(new InitiatorService());\n }\n return initiatorService.get();\n }", "public String getAcceptor() {\r\n\t\treturn acceptor;\r\n\t}", "public ForwardRequest setInitiator() {\n\t\tthis.isInitiator = true;\n\t\treturn this;\n\t}", "public Agent getOwner(){\n return owner;\n }", "protected void setInitiator(Initiator initiator, Host host) {\n initiator.setHost(host.getId());\n initiator.setHostName(host.getHostName());\n Cluster cluster = getCluster(host);\n initiator.setClusterName(cluster != null ? cluster.getLabel() : \"\");\n }", "public Agent getAgent() {\r\n\t\treturn this.AGENT;\r\n\t}", "AuthenticationData getInitiatorAuthData();", "public String getAgent() {\n return agent;\n }", "public long getAttacker()\n\t{\n\t\treturn this.getIssuer();\n\t}", "public Integer getAgent() {\r\n return agent;\r\n }", "public String getAgent() {\n return this.agent;\n }", "public String\n getSupervisor() \n {\n return pSupervisor;\n }", "public Supervisor getSupervisor(){\r\n return supervisor;\r\n }", "public String getAgent() {\r\n\t\treturn agent;\r\n\t}", "public Agent getAgent() {\n\t\treturn agent;\n\t}", "public Object getBehavioralInitiateActionRecord() {\n return behavioralInitiateActionRecord;\n }", "public PaxosAcceptor getAcceptor()\n {\n return m_acceptor;\n }", "cosmos.distribution.v1beta1.DelegatorStartingInfo getStartingInfo();", "public final AgentIdentifier getAgent() {\n\t\treturn (this.__agent==null) ? null : this.__agent.get().getId();\n\t}", "public boolean isOriginator() {\n return originator;\n }", "public Mob getTarget() {\r\n return target.get();\r\n }", "@IcalProperty(pindex = PropertyInfoIndex.ORIGINATOR,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true)\n public void setOriginator(final String val) {\n originator = val;\n }", "public Reference origin() {\n return getObject(Reference.class, FhirPropertyNames.PROPERTY_ORIGIN);\n }", "public String getAgentName ()\n {\n return agentName;\n\n }", "public String getAgentStipend() {\r\n return (String) getAttributeInternal(AGENTSTIPEND);\r\n }", "@java.lang.Override\n public org.beangle.security.session.protobuf.Model.Agent getAgent() {\n return agent_ == null ? org.beangle.security.session.protobuf.Model.Agent.getDefaultInstance() : agent_;\n }", "public Chamber getStart() {\n return start;\n }", "public Object getIssuedDeviceStateInitiateActionRecord() {\n return issuedDeviceStateInitiateActionRecord;\n }", "Agent getAgent();", "public User getRequester() {\n return requester;\n }", "org.beangle.security.session.protobuf.Model.Agent getAgent();", "public Actor getSource()\r\n\t{\r\n\t\treturn sourceActor;\t\r\n\t}", "public Player getController() {\n return sourceCard.getController();\n }", "public BICorIBAN getSender() {\n\n // Get the sender of the missive document\n return this.missiveHeader.getSnd();\n }", "@JsonGetter(\"agent\")\n public Object getAgent ( ) { \n return this.agent;\n }", "@ApiModelProperty(value = \"This field contains sender's middle initial\")\n public String getSenderMiddleInitial() {\n return senderMiddleInitial;\n }", "public IDiogenAgent getHostAgent() {\n return this.hostAgent;\n }", "Peer getLeader() {\n return leader;\n }", "public Member getCurrentTargetReplica() {\n return currentTargetReplicaAddress;\n }", "public EObject getTarget() {\n\t\treturn adaptee.getTarget();\n\t}", "@Override\n protected AttributeInitializer getAttributeInitializer() {\n return attributeInitializer;\n }", "public Object getServicingEventLogInitiateActionRecord() {\n return servicingEventLogInitiateActionRecord;\n }", "public GameOrchestrator getOrchestrator() {\r\n\t\treturn simulator;\r\n\t}", "String getTarget() {\r\n return this.target;\r\n }", "public String getMediatorNo() {\r\n return mediatorNo;\r\n }", "public Concentrator getConcentrator() {\n return concentrator;\n }", "public java.lang.String getSenderMiddleName() {\r\n return senderMiddleName;\r\n }", "public java.lang.Object getInitiatingContactID() {\n return initiatingContactID;\n }", "public EntropyEstimator getEstimator() {\n\t\treturn estimator;\n\t}", "public String getTarget()\r\n\t{\r\n\t\treturn _target;\r\n\t}", "public Processor getSender() {\n return this.senderProcess;\n }", "public Player getTarget() {\n return target;\n }", "public String getRequested() {\n return this.requested;\n }", "protected PlayerCompleteClient getSelf() {\n\t\treturn this.panel.getGameState().getSelf();\n\t}", "public EntityID getTarget() {\n\t\treturn target.getValue();\n\t}", "Inertial getInertial();", "public String getRequestedBy() {\n return this.requestedBy;\n }", "public String getTarget() {\n return this.target;\n }", "public StateID GetTarget()\n {\n return targetID;\n }", "public V getOriginator() {\r\n\r\n\t\tV result = null;\r\n\t\tif ((counter <= links.size()) && (counter > 0)) {\r\n\t\t\tresult = predNodes.get(counter - 1);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }", "public String getAcquiredFrom() {\n\t\treturn acquiredFrom;\n\t}", "public String getTarget() {\n return target;\n }", "public String getTarget() {\n return target;\n }", "public Actor getActor() {\r\n \t\treturn actor;\r\n \t}", "public static com.tangosol.net.security.IdentityAsserter getIdentityAsserter()\n {\n return __s_IdentityAsserter;\n }", "public NativeEntity getSourceEntity() \n\t{\n\treturn fSource;\n\t}", "public Participant getParticipant ()\r\n {\r\n return participant_;\r\n }", "public String getIssuedDeviceStateInitiateActionReference() {\n return issuedDeviceStateInitiateActionReference;\n }", "public final Player getSender() {\n return sender;\n }", "public String getAgentName() {\n return agentName;\n }", "@java.lang.Override\n public long getRequesterId() {\n return requesterId_;\n }", "public final Long getClientStart() {\n return clientStart;\n }", "public User getRequested() {\n return requested;\n }", "public DBSequence getClientNo() {\n return (DBSequence)getAttributeInternal(CLIENTNO);\n }", "public String getMediatorName() {\r\n return mediatorName;\r\n }", "public final Probe getAgentProbe() {\n\t\tSituatedAgent<?,?,?,?> ag = (this.__agent==null) ? null : this.__agent.get();\n\t\tif (ag!=null) {\n\t\t\treturn ag.getProbe();\n\t\t}\n\t\treturn null;\n\t}", "public IActor getActor() {\n\t\treturn actor;\n\t}", "public Object getTarget()\n {\n return __m_Target;\n }", "public String getAgentId() {\n return this.agentId;\n }", "public java.lang.String getAgentNumber() {\r\n return agentNumber;\r\n }", "public Object getCampaignDirectionInitiateActionRecord() {\n return campaignDirectionInitiateActionRecord;\n }", "public Term getSender() {\n return sender;\n }", "public String getCreatorId() {\n return this.CreatorId;\n }", "public String getAgentId() {\n return agentId;\n }", "ComponentAgent getFirstChild();", "public Integer getProposer() {\r\n return proposer;\r\n }", "public String getEntity()\n\t{\n\t\treturn conferenceInfo.getAttribute(ENTITY_ATTR_NAME);\n\t}", "public ClientIdentity getClientIdentity() {\n\t\treturn this.clientIdentity;\n\t}", "public String getInspector() {\r\n return inspector;\r\n }", "public Manufacturer getManufacturer() {\n return manufacturer;\n }", "public Target getTarget() {\n return target;\n }" ]
[ "0.7774249", "0.77398133", "0.74476075", "0.64976674", "0.6408683", "0.6274709", "0.6073427", "0.60057986", "0.5955228", "0.5897381", "0.5885859", "0.5789915", "0.57340187", "0.5727415", "0.56834614", "0.56683755", "0.56640005", "0.5645075", "0.55871797", "0.5578906", "0.5574372", "0.5565543", "0.55633706", "0.5562586", "0.55622387", "0.5553288", "0.5478489", "0.5460981", "0.5429206", "0.54068625", "0.540416", "0.54015905", "0.5393834", "0.5375769", "0.53682685", "0.53560346", "0.5341963", "0.5291463", "0.5279999", "0.5262202", "0.5256093", "0.5242057", "0.5235824", "0.520814", "0.5193577", "0.5187196", "0.51483613", "0.51396495", "0.51356834", "0.51352274", "0.5134766", "0.513324", "0.51291573", "0.5127553", "0.51166934", "0.5116273", "0.51113003", "0.51066124", "0.51045126", "0.509101", "0.50901663", "0.50900584", "0.50892603", "0.5084607", "0.5079198", "0.50789165", "0.5074623", "0.50711566", "0.5061357", "0.50612694", "0.5059962", "0.5059962", "0.5054637", "0.5053381", "0.50498873", "0.504756", "0.5044269", "0.50417846", "0.5040228", "0.5039854", "0.50383633", "0.5037094", "0.5026851", "0.5020493", "0.50186074", "0.5015955", "0.5015625", "0.50132847", "0.5012381", "0.50079423", "0.5003146", "0.5003068", "0.5002632", "0.50020313", "0.5000427", "0.49956903", "0.49941447", "0.4990441", "0.49807858", "0.49802998" ]
0.7530947
2
Accessor for the argument.
public Object getArgument() { return mArgument; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ProgramExp getArgument() {\n return argument;\n }", "public BaseNode getArgument()\r\n\t{\r\n\t\treturn _argument;\r\n\t}", "java.lang.String getArg();", "OclExpression getArgument();", "public byte[] getArgument() {\n return argument;\n }", "@Nullable\n public Argument getArgument() {\n return argument;\n }", "public java.lang.String getArg() {\n\t\t\tjava.lang.Object ref = arg_;\n\t\t\tif (ref instanceof java.lang.String) {\n\t\t\t\treturn (java.lang.String) ref;\n\t\t\t} else {\n\t\t\t\tcom.google.protobuf.ByteString bs =\n\t\t\t\t\t\t(com.google.protobuf.ByteString) ref;\n\t\t\t\tjava.lang.String s = bs.toStringUtf8();\n\t\t\t\targ_ = s;\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}", "public java.lang.String getArg() {\n\t\t\t\tjava.lang.Object ref = arg_;\n\t\t\t\tif (!(ref instanceof java.lang.String)) {\n\t\t\t\t\tcom.google.protobuf.ByteString bs =\n\t\t\t\t\t\t\t(com.google.protobuf.ByteString) ref;\n\t\t\t\t\tjava.lang.String s = bs.toStringUtf8();\n\t\t\t\t\targ_ = s;\n\t\t\t\t\treturn s;\n\t\t\t\t} else {\n\t\t\t\t\treturn (java.lang.String) ref;\n\t\t\t\t}\n\t\t\t}", "@Override\n public int getArgent() {\n return _argent;\n }", "public com.google.protobuf.ByteString\n\t\t\tgetArgBytes() {\n\t\t\t\tjava.lang.Object ref = arg_;\n\t\t\t\tif (ref instanceof String) {\n\t\t\t\t\tcom.google.protobuf.ByteString b =\n\t\t\t\t\t\t\tcom.google.protobuf.ByteString.copyFromUtf8(\n\t\t\t\t\t\t\t\t\t(java.lang.String) ref);\n\t\t\t\t\targ_ = b;\n\t\t\t\t\treturn b;\n\t\t\t\t} else {\n\t\t\t\t\treturn (com.google.protobuf.ByteString) ref;\n\t\t\t\t}\n\t\t\t}", "public com.google.protobuf.ByteString\n\t\tgetArgBytes() {\n\t\t\tjava.lang.Object ref = arg_;\n\t\t\tif (ref instanceof java.lang.String) {\n\t\t\t\tcom.google.protobuf.ByteString b =\n\t\t\t\t\t\tcom.google.protobuf.ByteString.copyFromUtf8(\n\t\t\t\t\t\t\t\t(java.lang.String) ref);\n\t\t\t\targ_ = b;\n\t\t\t\treturn b;\n\t\t\t} else {\n\t\t\t\treturn (com.google.protobuf.ByteString) ref;\n\t\t\t}\n\t\t}", "public double getArgOfPerhelion() {\n return argOfPerhelion;\n }", "MyArg(int value){\n this.value = value;\n }", "Argument createArgument();", "@Override\r\n public String getFirstArg() {\n return name;\r\n }", "public double getArgOfPerhelionDelta() {\n return argOfPerhelionDelta;\n }", "public String getArgumentString() {\n\t\treturn null;\n\t}", "Parameter getParameter();", "public String visit (StringArgument aArg)\n {\n return aArg.getValue ();\n }", "com.google.protobuf.ByteString\n\t\tgetArgBytes();", "public String getActionArg() {\n\t\treturn actionArg;\n\t}", "FunctionArgument getRef();", "public int getNumArg() {\n\t\treturn numArg;\n\t}", "abstract Function get(Object arg);", "protected String getParameter() {\r\n return this.parameter;\r\n }", "public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {\n\t\treturn gaXtype.getJvmArgumentTypeReferenceAccess();\n\t}", "public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {\n\t\treturn gaXtype.getJvmArgumentTypeReferenceAccess();\n\t}", "public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {\r\n\t\treturn gaXtype.getJvmArgumentTypeReferenceAccess();\r\n\t}", "public Object getParam() {\n return param;\n }", "@Override\r\n\tpublic int getSecondArg() {\n\t\treturn 0;\r\n\t}", "int getArgIndex();", "protected Object getRequiredValue(Node node, int idx, String argumentName,\n InternalContextAdapter context)\n throws MethodInvocationException\n {\n if (!requireArgument(node, idx, argumentName)) {\n return null;\n }\n Object obj = node.jjtGetChild(idx).value(context);\n if (obj == null) {\n rsvc.error(\"#\" + getName() + \"() error : value of \" + argumentName + \" is null\");\n return null;\n }\n return obj;\n }", "public String getArgumentLine() {\n return \"\";\n }", "public final Object argument() throws RecognitionException {\n Object result = null;\n\n\n Object expression13 =null;\n\n\n try {\n // /v/filer4b/v38q001/rjnevels/Desktop/Antlr Eclipse Test/workspace3/BFlat/src/a/b/c/EvaluatorWalker.g:311:3: ( ^( ARG expression ) )\n // /v/filer4b/v38q001/rjnevels/Desktop/Antlr Eclipse Test/workspace3/BFlat/src/a/b/c/EvaluatorWalker.g:311:5: ^( ARG expression )\n {\n match(input,ARG,FOLLOW_ARG_in_argument503); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expression_in_argument505);\n expression13=expression();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n\n\n result = expression13;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n\n finally {\n \t// do for sure before leaving\n }\n return result;\n }", "public String arg1() {\r\n return command.split(\"\\\\s+\")[1];\r\n }", "private static @NonNull String resolveInputName(@NonNull Argument<?> argument) {\n String inputName = argument.getAnnotationMetadata().stringValue(Bindable.NAME).orElse(null);\n if (StringUtils.isEmpty(inputName)) {\n inputName = argument.getName();\n }\n return inputName;\n }", "public void setArgument(ProgramExp argument) {\n this.argument = argument;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getArgumentSource();", "public String getValueOfArg() {\n\t\tif(index > data.length -1) return null;\n\t\t\n\t\twhile(isBlank()) {\n\t\t\tindex ++;\n\t\t}\n\t\t\n\t\tif(data[index] == '\\\"') {\n\t\t\tindex++;\n\t\t\tStringBuilder builder = new StringBuilder();\n\t\t\twhile(index < data.length-1 && data[index] != '\\\"') {\n\t\t\t\tif(data[index] == '\\\\' && isEscape(data, index)) {\t\t\t\t\t\t\n\t\t\t\t\tindex++;\n\t\t\t\t}\n\t\t\t\tbuilder.append(data[index]);\n\t\t\t\tindex++;\n\t\t\t}\n\t\t\treturn builder.toString();\n\t\t}\n\t\t\n\t\tif(Character.isLetter(data[index])){\t\t\n\t\t\treturn textValue();\n\t\t}\n\t\t\n\t\tthrow new IllegalArgumentException(\"Illegal arguments found!\");\n\t}", "public double argPerigee()\n\t{\n\t\treturn this.w;\n\t}", "public Type getArgumentDirection() {\n return direction;\n }", "IParameter getParameter();", "public Double visit (NumberArgument aArg)\n {\n return aArg.getValue ();\n }", "public Builder setArg(\n\t\t\t\t\tjava.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\targ_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}", "public Object[] getArguments() { return args;}", "public String getParam() {\n return param;\n }", "public String getParam() {\n return param;\n }", "public double getParameterValue (Assignment input) ;", "@Override\n public String getInputArg(String argName) {\n Log.w(TAG, \"Test input args is not supported.\");\n return null;\n }", "public ArgumentPresence getArgumentPresence() {\n return argumentPresence;\n }", "@Override\n\tpublic List<String> getArgumentDesc() {\n\t\treturn desc;\n\t}", "public String arg1() {\n CommandType type = this.commandType();\n if (type == CommandType.C_ARITHMETIC) {\n return instructionChunks[0];\n }\n return instructionChunks[1];\n }", "java.lang.String getParameterValue();", "public static boolean attribute_arg_value(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"attribute_arg_value\")) return false;\n boolean r;\n Marker m = enter_section_(b, l, _NONE_, ATTRIBUTE_ARG_VALUE, \"<attribute arg value>\");\n r = attribute_arg_value_scalar(b, l + 1);\n if (!r) r = attribute_arg_value_array(b, l + 1);\n if (!r) r = model_function(b, l + 1);\n exit_section_(b, l, m, r, false, null);\n return r;\n }", "public Value getValue()\r\n\t{\r\n\t\treturn paramValue;\r\n\t}", "public abstract ParamNumber getParamX();", "@Override\r\n\tpublic String getFirstArg() {\n\t\treturn null;\r\n\t}", "public T getParam() {\n\t\treturn param;\n\t}", "public int getTargetArgIndex() {\n\t\treturn this.targetArgIndex;\n\t}", "@java.lang.Override\n public godot.wire.Wire.Value getArgs(int index) {\n return args_.get(index);\n }", "public Object getProvidedValue() {\n return providedValue;\n }", "@Override\n\t\t\t\t\tpublic Parameter handleParameter(Method parent,\n\t\t\t\t\t\t\tEParamType direction, FArgument src) {\n\t\t\t\t\t\treturn super.handleParameter(parent, direction, src);\n\t\t\t\t\t}", "@Override\n\tpublic void traverseArg(UniArg node) {\n\t}", "protected void sequence_Argument(ISerializationContext context, Argument semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, TdlPackage.Literals.ARGUMENT__NAME) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TdlPackage.Literals.ARGUMENT__NAME));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getArgumentAccess().getNameSTRINGTerminalRuleCall_0_0(), semanticObject.getName());\n\t\tfeeder.finish();\n\t}", "public boolean takesArgument() {\n if (argumentPresence != null) {\n return true;\n }\n return false;\n }", "public StringParameter getParameter() {\n return parameter;\n }", "@Test\n void getArgString() {\n }", "public void setArgument(byte[] argument) {\n this.argument = argument;\n }", "default String args() {\n return (String) metadata().get(\"x-uri-args\");\n }", "private final ExprOrOpArgNode getArg(SymbolNode param) {\n AnyDefNode opDef = (AnyDefNode)this.operator;\n FormalParamNode[] formals = opDef.getParams();\n for (int i = 0; i < this.operands.length; i++) {\n if (formals[i] == param) {\n return this.operands[i];\n }\n }\n return null;\n }", "public Object getArguments() {\n return m_args;\n }", "public void setArgOfPerhelion(double value) {\n this.argOfPerhelion = value;\n }", "int getMethodValue();", "public Document getArguments() {\n return arguments;\n }", "public static Object getMethodArgument(String methodSignature, String argumentName) {\n Map arguments = (Map) MockPageContext.methodArguments.get(methodSignature);\n if (!arguments.containsKey(argumentName)) {\n throw new IllegalArgumentException(\"The argument name \" + argumentName + \" is unknown.\");\n }\n return arguments.get(argumentName);\n }", "public Annotation getAnnotationParam()\n\t{\n\t\treturn annotationParam;\n\t}", "void setArgument(int idx,int v) \t\t{ setArgument(idx,Integer.valueOf(v)); }", "public DoubleArgument(int min) {\n\t\trawType = DoubleArgumentType.doubleArg(min);\n\t}", "String attributeToGetter(String name);", "public Parameter getParameter() {\n\t\t\treturn parameter;\n\t\t}", "public List<Argument> getArguments() {\n return arguments;\n }", "public int getTypeArgumentIndex() {\n/* 440 */ return this.value & 0xFF;\n/* */ }", "public Object get(String arg0, String arg1) {\n\t\treturn this.get(arg0,arg1);\n\t}", "String booleanAttributeToGetter(String arg0);", "public String getParamName () {\n\treturn this.paramName;\n }", "public String getParameterValue() {\r\n return parameterValue;\r\n }", "Object getParameter(String name);", "public List<Expression> getArgs()\n {\n return args;\n }", "String getArguments();", "Aliasing getVariable();", "godot.wire.Wire.Value getArgs(int index);", "String getVal();", "public String getParameter( String parm ) {\n return System.getProperty( parm );\n }", "public java.lang.Object[] getArgs() {\n return args;\n }", "@Override\n\tpublic void addArg(FormulaElement arg){\n\t}", "public int getDataParam() {\n return dataParam;\n }", "public Object getProperty(String arg0) {\n return null;\n }", "@Override\n\tprotected GATKArgumentCollection getArgumentCollection() {\n\t\treturn argCollection;\n\t}", "protected String getParameterName()\n {\n return parameterName;\n }", "public java.lang.String getParam0(){\n return localParam0;\n }" ]
[ "0.7299128", "0.7016411", "0.70086104", "0.6960354", "0.69172585", "0.6821711", "0.6774366", "0.6712442", "0.6651128", "0.6623314", "0.65904325", "0.64679843", "0.6199094", "0.61895704", "0.6016148", "0.6000153", "0.5996435", "0.59811306", "0.59540933", "0.5920249", "0.5851543", "0.5848536", "0.58459944", "0.5842095", "0.5810419", "0.5796042", "0.5796042", "0.57829773", "0.578181", "0.5749183", "0.5722296", "0.57165015", "0.5698916", "0.5698411", "0.5678998", "0.5661357", "0.56354755", "0.56074554", "0.560682", "0.5594278", "0.55807155", "0.55751866", "0.5573124", "0.55589193", "0.5511264", "0.54999673", "0.54999673", "0.5484254", "0.5483399", "0.5449212", "0.5413079", "0.5407074", "0.54066885", "0.5392131", "0.53830993", "0.53482956", "0.5321631", "0.5315725", "0.53098196", "0.53084666", "0.5307263", "0.5288638", "0.5288595", "0.52767867", "0.52548176", "0.5254161", "0.5236616", "0.52331954", "0.52244925", "0.52125734", "0.5208223", "0.520604", "0.5199128", "0.51960194", "0.5190287", "0.51871073", "0.5186905", "0.517294", "0.51605624", "0.5152257", "0.51430166", "0.5133776", "0.5126925", "0.5112751", "0.5112389", "0.5102504", "0.51023173", "0.5095551", "0.5080466", "0.5079865", "0.50710255", "0.5070027", "0.5067443", "0.5067094", "0.5065248", "0.50635767", "0.50599706", "0.5059372", "0.5051485", "0.5045366" ]
0.74400437
0
Creates a new Generic event. This type of event may be used when the event type isn't carrying any information.
public static ApproxsimEvent getGeneric(Object source) { return new ApproxsimEvent(source, GENERIC); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Event createEvent();", "Event createEvent();", "BasicEvent createBasicEvent();", "public Event(EventType type, String eventKey) \n\t{\n\t\tsuper();\n\t\tthis.evntType = type;\n\t\tthis.key = eventKey;\n\t\tthis.uuid = UUID.randomUUID().toString();\n\t\tthis.milliseconds = 0;\n\t\tthis.repeated = false;\n\t}", "public void create(T e);", "private IEvent createEvent() throws RodinDBException {\n\t\tfinal IMachineRoot mch = createMachine(\"mch\");\n\t\treturn mch.createChild(IEvent.ELEMENT_TYPE, null, null);\n\t}", "@Override //to be moved to Cloud service\r\n\tpublic void createEvent(String eventName) {\n\t\t\r\n\t}", "@Override\n public SoapEvent create(SoapEvent event) {\n throw new UnsupportedOperationException();\n }", "BasicEvents createBasicEvents();", "public\n CreateEvent()\n {}", "public void makeEvent(String type) {\n\t\teventName = type;\n\t}", "public static LogEvent createEmptyEvent()\n\t{\n\t\treturn new LogEvent();\n\t}", "public Event() {}", "public Event(int type) {\n this.type=type;\n this.arg=null;\n }", "@Override\r\n\tpublic Element newEvent(String source, String type, int t) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tif(!mEventStarted) {\r\n\t\t\tmRoot = mDocument.createElement(\"slice\");\r\n\t\t\tmRoot.setAttribute(\"date\", Integer.toString(t));\r\n\t\t\tmDocument.appendChild(mRoot);\r\n\t\t} else if (t != mLastCycle) {\r\n\t\t\tthis.finishEvent();\r\n\t\t\tmRoot = mDocument.createElement(\"slice\");\r\n\t\t\tmRoot.setAttribute(\"date\", Integer.toString(t));\r\n\t\t\tmDocument.appendChild(mRoot);\r\n\t\t}\r\n\t\tmLastCycle = t;\r\n\t\tmEventStarted = true;\r\n\t\t\r\n\t\tmID++;\r\n\t\tmCurrentEvent = mDocument.createElement(\"event\");\r\n\t\tmCurrentEvent.setAttribute(\"id\", Integer.toString(mID));\r\n\t\tmCurrentEvent.setAttribute(\"source\", source);\r\n\t\tmCurrentEvent.setAttribute(\"date\", Integer.toString(t));\r\n\t\tElement typeElement = mDocument.createElement(\"type\");\r\n//\t\ttypeElement.setTextContent(type);\r\n\t\ttypeElement.appendChild(mDocument.createTextNode(type));\r\n\t\tmCurrentEvent.appendChild(typeElement);\r\n\t\tmRoot.appendChild(mCurrentEvent);\r\n\r\n\t\treturn mCurrentEvent;\r\n\t}", "public <T extends Event> void addGlobalEvent(Event.Type<T> type);", "com.walgreens.rxit.ch.cda.EIVLEvent addNewEvent();", "@Override\n\tpublic EventDto createEvent(EventDto event) {\n\t\tEventEntity eventEntity=new EventEntity();\n\t\tBeanUtils.copyProperties(event, eventEntity);\n\t\t\n\t\tString eventid=utils.generateEventId(20);\n\t\teventEntity.setEventid(eventid);\n\t\t\n\t\tEventEntity storedEvent=eventRepository.save(eventEntity);\n\t\t\n\t\tEventDto returnvalue=new EventDto();\n\t\tBeanUtils.copyProperties(storedEvent, returnvalue);\n\t\t\n\t\treturn returnvalue;\n\t}", "protected IEvent createEvent(IMachineRoot machine, String eventLabel)\n\t\t\tthrows RodinDBException {\n\t\tIEvent event = machine.createChild(IEvent.ELEMENT_TYPE, null, null);\n\t\tevent.setLabel(eventLabel, null);\n\t\tevent.setExtended(false, null);\n\t\tevent.setConvergence(ORDINARY, null);\n\t\treturn event;\n\t}", "public Event createEvent(String name) {\r\n\t\tEvent newEvent = new Event(this.GID, name);\r\n\t\tevents.add(newEvent);\r\n\t\treturn newEvent;\r\n\t}", "public Event() {\n }", "public Event() {\n }", "@Override\n public SoapEvent convertType(Event parent) {\n return new SoapEvent(parent);\n }", "public EventMessage(Event event)\r\n {\r\n //super(\"EventMessage\");\r\n super(TYPE_IDENT, event);\r\n }", "public Event() {\r\n\r\n\t}", "public Event() {\n\t}", "protected ICEvent() {}", "EventUse createEventUse();", "protected Event(String title, String location,\n LocalDateTime datetime, int duration, int eventCapacity, String type){\n this.title = title;\n this.location = location;\n this.datetime = datetime;\n this.usernames = new ArrayList<>();\n this.duration = duration;\n this.eventCapacity = eventCapacity;\n uuid = UUID.randomUUID();\n this.type = type;\n }", "public Event() {\n\n }", "public Event(int eventType, double eventTime){\n this.eventType = eventType;\n this.eventTime = eventTime;\n }", "public Event() {\n this.name = null;\n this.description = null;\n this.date = new GregorianCalendar();\n }", "EventChannel create();", "public QPEvent() {}", "public static LogType EVENT()\n {\n if (g_oEvent == null)\n {\n try\n {\n g_oEvent = new LogType(\"EVENT\", 30);\n }\n catch (Goliath.Exceptions.InvalidParameterException ex)\n {}\n }\n return g_oEvent;\n }", "public void createGenesisEvent() {\n handleNewEvent(buildEvent(null, null));\n }", "private Message createMsg(long type,Object event){\r\n Message msg=new Message(0,type,0,\"\",new Object[]{event},\r\n System.currentTimeMillis(),0,0,null,0,0,0);\r\n return msg;\r\n }", "private void createEvents() {\n\t}", "ThrowingEvent createThrowingEvent();", "public Event(){\n \n }", "void onNewEvent(Event event);", "@Override\r\n\tpublic void startNewEvent(int t) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tthis.newEvent(\"Ernest\", \"action\", t);\r\n\t}", "EventChannel create(Context context);", "protected void logEventCreation(final GossipEvent event) {\n logger.debug(CREATE_EVENT.getMarker(), \"Creating {}\", event::toString);\n }", "public Event(){\n\n }", "public AbstractFoxEvent(Object source, String eventName) {\r\n super(source);\r\n this.eventName = eventName;\r\n this.createTimestamp = System.currentTimeMillis();\r\n }", "String event_type () throws BaseException;", "CatchingEvent createCatchingEvent();", "public EventException() {\n super(\"OOPS!!! The description or time of an event cannot be empty.\");\n }", "public abstract void onEvent(T event);", "@Override\n public String getEventType()\n {\n\t return null;\n }", "void onIssueCreatedEvent(T event);", "public Event createOneShotPublish(Address resource, String event);", "public abstract void setEventType(Context context, NAEventType type);", "StartEvent createStartEvent();", "public abstract void create(T t);", "public TaskBookBuilder addTypicalEventTasks() {\n final TypicalEventTasks tet = new TypicalEventTasks();\n return addEventTasks(tet.getEventTasks());\n }", "RemoteEvent createRemoteEvent();", "public LogEvent newInstance()\n {\n return new LogEvent();\n }", "public long createEvent(Event event) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(EVENT_NAME, event.getName());\n values.put(EVENT_DATE, event.getDate());\n\n // insert row\n long _id = db.insert(EVENTS_TABLE_NAME, null, values);\n\n return _id;\n }", "CreateEventViewModelFactory() {\n super(Storage.class, Authenticator.class);\n }", "public void addEvent() {\n TimetableUserItem event;\n try {\n String description = getDescription();\n String date = getDate();\n String startTime = getStartTime();\n String endTime = getEndTime();\n verifyCorrectTime(startTime, endTime);\n String location = getLocation();\n event = new TimetableUserItem(description, date, startTime, endTime, location);\n verifyNoConflict(event);\n timetable.addEvent(event.getDayOfWeek(), event);\n timetable.addToEvents(event);\n addUI.printEventMessage(event);\n } catch (AddException e) {\n e.printMessage();\n logger.log(Level.WARNING, \"Invalid event created, event has not been added to timetable\");\n }\n }", "SystemEvent createSystemEvent();", "public ApplicationEvent(Object source) {\n super(source);\n this.timestamp = System.currentTimeMillis();\n }", "@Override\n public TimerEvent createActivity(TBoundaryEvent src, Hashtable keyedContext){\n\n return new TimerEvent();\n\n }", "public AlarmTrouble addAlarmTroubleEvent(int generalType, int specificType, int sourceType, String sourceNumber, String eventData) {\n\t\tAlarmTrouble newEvent = new AlarmTrouble(this, logger, generalType, specificType, sourceType, sourceNumber, eventData); \n\t\talarmTroubleEvents.add(newEvent);\n\t\t\n\t\t//when the linked list hits its max,remove the oldest.\n\t\t//this provides some history but limits the length of the list\n\t\twhile(alarmTroubleEvents.size() > maxMessageHistory) {\n\t\t\talarmTroubleEvents.remove(alarmTroubleEvents.get(alarmTroubleEvents.size()-1));\n\t\t}\n\t\t\n\t\tlogger.log(\"Added new Alarm Trouble Event [\" + newEvent.getTypeString() + \"] with Data [\" + newEvent.getEventData() + \"]\", Level.TRACE);\n\t\treturn newEvent;\n\t}", "public String getTypeEvent() {\n\t\treturn typeEvent;\n\t}", "public void createEvent(Event e) {\n\t\tLocalDate date = e.sDate;\n\t\tif(!map.containsKey(date)) {\n\t\t\tArrayList<Event> newList = new ArrayList<>();\n\t\t\tnewList.add(e);\n\t\t\tmap.put(date, newList);\n\t\t}\n\t\telse {\n\t\t\tmap.get(date).add(e);\n\n\t\t}\n\t}", "public Eventd() {\n }", "public void setEventType(String eventType){\n this.eventType = eventType;\n }", "interface EventBase {\n int getId();\n\n String getImage();\n\n String getTitle();\n\n String getDateTime();\n\n float getPrice();\n}", "public Event(String title, String location,\n LocalDateTime datetime, int duration, int eventCapacity){\n this.title = title;\n this.location = location;\n this.datetime = datetime;\n this.usernames = new ArrayList<>();\n this.duration = duration;\n this.eventCapacity = eventCapacity;\n uuid = UUID.randomUUID();\n this.type = \"event\";\n }", "public TimedEvent() {\n this(DEFAULT_LABEL + nextTaskID, DEFAULT_DATE, DEFAULT_TIME); // assigning default values\n }", "private StoreEvent(E source) {\n super(source);\n }", "public interface Event\n\t{\n\t\tpublic static final String EVENT_ID = \"aether.event.id\";\n\t\tpublic static final String TIME = \"aether.event.time\";\n\t\tpublic static final String EVENT_TYPE = \"aether.event.type\";\n\t}", "public static FailureLogEvent create(final long pStartTime)\n {\n return new FailureLogEvent(pStartTime); \n }", "@Override\r\n\tpublic int getEventType() {\n\t\treturn 0;\r\n\t}", "@Override\r\n\tpublic int getEventType() {\n\t\treturn 0;\r\n\t}", "ProgramEventEvent createProgramEventEvent();", "protected AbstractEvent(long t, EventEngine eng) {\n // this sets the public final variables: time and engine\n time = t;\n engine = eng;\n parameters = null;\n }", "public void setEventType(String eventType)\n {\n this.eventType = eventType;\n }", "public abstract NAEventType getEventType();", "@Test\n\tpublic void testConstructorForEvtDataParam()\n\t{\n\t\tfinal Object rawData = new Object();\n\t\tfinal String id = \"TestId\";\n\t\tfinal Object evtData = new Object();\n\t\tfinal RawDataEvent testObj = new RawDataEvent(rawData, id, evtData);\n\n\t\tassertEquals(evtData, testObj.getEventObject());\n\t\tassertEquals(id, testObj.getIdentifier());\n\t\tassertEquals(rawData, testObj.getRawDataSource());\n\t}", "public ICEvent(int addr, TOP_Type type) {\n super(addr, type);\n readObject();\n }", "void create(T t);", "public CmsEventQueueRecord(Long eventId, Long sourcePk, String sourceName, Integer eventTypeId, Timestamp created) {\n super(CmsEventQueue.CMS_EVENT_QUEUE);\n\n set(0, eventId);\n set(1, sourcePk);\n set(2, sourceName);\n set(3, eventTypeId);\n set(4, created);\n }", "public void tagCreated(TagEvent event) {\n createdEvent = event;\n }", "public Event createEvent(String descendant, String personID, double latitude,\n double longitude, String country, String city,\n String eventType, int year)\n throws DatabaseException, InvalidValuesException {\n\n String eventID = UUID.randomUUID().toString();\n\n Event event = new Event(\n eventID,\n descendant,\n personID,\n latitude,\n longitude,\n country,\n city,\n eventType,\n year\n );\n\n addEvent(event);\n\n return event;\n }", "protected ServiceEvent(ServiceEvent event) {\n eventSenderClass=event.eventSenderClass;\n eventSenderID=event.eventSenderID;\n }", "protected AbstractEvent(long t, EventEngine eng, String p) {\n // this sets the public final variables: time and engine\n time = t;\n engine = eng;\n parameters = p;\n }", "public JHI_ENTITY_AUDIT_EVENT() {\n this(\"jhi_entity_audit_event\", null);\n }", "@Transactional\n public EventTO createEvent(EventTO eventTO) {\n LOGGER.info(\"start of createEvent\");\n LOGGER.trace(\" create new event entity\");\n Event event = new Event();\n LOGGER.trace(\" mapping simple data types\");\n //map simple data types\n event.setName(eventTO.getName());\n if (eventTO.hasDescription()) { event.setDescription(eventTO.getDescription());}\n event.setDatetime(eventTO.getDatetime());\n event.setRadius(eventTO.getRadius());\n event.setLongitude(eventTO.getLongitude());\n event.setLatitude(eventTO.getLatitude());\n //map business user\n LOGGER.trace(\" mapping Business User {}\", eventTO.getBusinessUserId());\n BusinessUser businessUser = businessUserService.getBusinessUser(eventTO.getBusinessUserId());\n event.setBusinessUserId(businessUser);\n //map preferences\n if (eventTO.hasPreferences()) {\n LOGGER.trace(\" mapping preferences\");\n LOGGER.trace(\" create prefrences from eventTO\");\n preferenceService.createPreferencesFromEvent(eventTO);\n for (Preference p : eventTO.getPreferences()) {\n Preference preference = preferenceService.getPrefernceByValue(p.getValue()).get();\n LOGGER.trace(\" mapping preference {}-{}\", preference.getId(), preference.getValue());\n event.addPreference(preference);\n }\n }\n event = eventRepository.save(event);\n LOGGER.info(\"new event with id {} successfully created\", event.getId());\n EventTO newEventTO = mapperService.convertToEventTO(event);\n eventProducer.sendNewEvent(newEventTO);\n return newEventTO;\n }", "public SoundEvent() \n\t{\n\tsuper(GAME_SOUND_EVENT);\n\t}", "public Event(int eventType, double eventTime, double tallyTime, boolean cash){\n this.eventType = eventType;\n this.eventTime = eventTime;\n this.tallyTime = tallyTime;\n this.cash = cash;\n }", "public Event(String type, String text, boolean serviced) {\n\t\tsuper();\n\t\tthis.type = type;\n\t\tthis.time = Event.getDateTime();\n\t\tthis.text = text;\n\t\tthis.serviced = serviced;\n\t}", "EventUses createEventUses();", "private void createNotification(FoodEvents event) {\n Context context = getBaseContext();\n NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context).setSmallIcon(R.drawable.ic_launcher).setContentTitle(event.getTitle())\n .setContentText(event.getDescription());\n Intent resultIntent = new Intent(this, EventDetails.class);\n resultIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n resultIntent.putExtra(EventDetails.EXTRA_EVENT, event);\n PendingIntent resultPendingIntent = PendingIntent.getActivity(getBaseContext(), 0, resultIntent, PendingIntent.FLAG_UPDATE_CURRENT, null);\n mBuilder.setContentIntent(resultPendingIntent);\n NotificationManager mNotificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);\n mNotificationManager.notify(MESSAGE_NOTIFICATION_ID, mBuilder.build());\n notifyMyWatch(event);\n }", "public Event(String name, LocalDateTime date) {\n super(name);\n this.date = date;\n }", "public Event() {\n // Unique random UID number for each event\n UID = UUID.randomUUID().toString().toUpperCase();\n TimeZone tz = TimeZone.getTimeZone(\"UTC\");\n Calendar cal = Calendar.getInstance(tz);\n\n /* get time stamp */\n int hour = cal.get(Calendar.HOUR);\n int minute = cal.get(Calendar.MINUTE);\n int second = cal.get(Calendar.SECOND);\n\n /* check current time */\n currentTime = \"\";\n if (hour < 10) {\n currentTime += \"0\" + hour;\n }\n else {\n currentTime += \"\" + hour;\n }\n if (minute < 10) {\n currentTime += \"0\" + minute;\n }\n else {\n currentTime += \"\" + minute;\n }\n if (second < 10) {\n currentTime += \"0\" + second;\n }\n else {\n currentTime += \"\" + second;\n }\n\n /* get date stamp */\n int year = cal.get(Calendar.YEAR);\n int month = cal.get(Calendar.MONTH);\n int day = cal.get(Calendar.DAY_OF_MONTH);\n\n /* check date */\n currentDate = \"\";\n if (year < 10) {\n currentDate += \"0\" + year;\n }\n else {\n currentDate += \"\" + year;\n }\n\n if (month < 10) {\n currentDate += \"0\" + month;\n }\n else {\n currentDate += \"\" + month;\n }\n if (day < 10) {\n currentDate += \"0\" + day;\n }\n else {\n currentDate += \"\" + day;\n }\n }", "com.google.protobuf.ByteString getEventTypeBytes();" ]
[ "0.71292084", "0.71292084", "0.6943178", "0.6643618", "0.6502051", "0.64597297", "0.6456858", "0.6383242", "0.6359251", "0.6357882", "0.6336439", "0.6297088", "0.62788415", "0.613914", "0.61352557", "0.6116759", "0.60698414", "0.6066095", "0.60177803", "0.6010387", "0.59827566", "0.59827566", "0.59771466", "0.5964334", "0.59465426", "0.59294415", "0.5880435", "0.587404", "0.5858236", "0.5850551", "0.58486646", "0.5811779", "0.5786157", "0.57752776", "0.5774902", "0.574211", "0.57111365", "0.56905586", "0.568446", "0.5664625", "0.5657066", "0.56549704", "0.56423503", "0.56173", "0.56056494", "0.5602045", "0.5594753", "0.5587693", "0.5584955", "0.5579655", "0.55765504", "0.55657333", "0.5545951", "0.55396706", "0.55227655", "0.5517881", "0.5510284", "0.5507861", "0.55036885", "0.54858047", "0.5475853", "0.5456313", "0.5455598", "0.5446261", "0.54422826", "0.5438016", "0.54364204", "0.542761", "0.542115", "0.5411648", "0.5407587", "0.5402754", "0.5382431", "0.5376077", "0.53581977", "0.53572637", "0.5355393", "0.5355393", "0.5354909", "0.53527045", "0.5350856", "0.5350212", "0.5345387", "0.53378963", "0.5337665", "0.533401", "0.5333737", "0.53311944", "0.5329534", "0.5324923", "0.53244716", "0.53215665", "0.53214115", "0.5317017", "0.531083", "0.53016526", "0.5301168", "0.530113", "0.52982175", "0.5291191" ]
0.63041633
11
Checks if this is a Generic event.
public boolean isGeneric() { return GENERIC.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isTimeSpecificEvent() {\n return timeSpecificEvent;\n }", "public boolean check(EventType event);", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n return mGestureDetector.onMotionEvent(event)\n || super.onGenericMotionEvent(event);\n }", "boolean hasEvent();", "public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n if (this.gestureDetector != null) {\n return this.gestureDetector.onMotionEvent(event);\n }\n return false;\n }", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n if (mGestureDetector != null) {\n return mGestureDetector.onMotionEvent(event);\n }\n return false;\n }", "@Override\n protected boolean acceptEvent(BuilderEvent event)\n {\n if (getEventType() == null)\n {\n return false;\n }\n assert event != null : \"Event is null!\";\n\n Class<?> eventClass = event.getClass();\n try\n {\n Method method = eventClass.getMethod(METHOD_TYPE);\n Object eventType = method.invoke(event);\n if (eventType instanceof Enum<?>)\n {\n return getEventType().equals(((Enum<?>) eventType).name());\n }\n }\n catch (Exception ex)\n {\n // All exceptions cause the event to be not accepted\n }\n\n return false;\n }", "boolean isSetEvent();", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n logger.debug(\"Generic motion event has occurred!\");\n return glassGestureDetector.onMotionEvent(event);\n }", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n if (mGestureDetector != null) {\n return mGestureDetector.onMotionEvent(event);\n }\n return super.onGenericMotionEvent(event);\n }", "@Override\n boolean hasGenericInformation() {\n return super.hasGenericInformationInternal();\n }", "@Override\r\n\tpublic <T extends Evento> boolean actualizarEvento(Evento evento) {\n\t\treturn false;\r\n\t}", "public abstract boolean canHandle(Object event);", "boolean handlesEventsOfType(RuleEventType type);", "public boolean isAcceptedEventType(Class< ? extends Object> classType) {\n\t\treturn isAcceptedEventType(classType.getName());\n\t}", "boolean isGeneric() {\n return !typeParameters.isEmpty();\n }", "private boolean isWholeGameEvent(String eventType){\n return eventType.equals(\"Stonks\") || eventType.equals(\"Riot\") || eventType.equals(\"Mutate\") || eventType.equals(\"WarpReality\");\n }", "@Override\n public boolean supportsEventType(Class<? extends ApplicationEvent> eventType) {\n // 判断event类型,此时处理的是用户注册 event\n return eventType == UserRegisterEvent.class;\n }", "public boolean hasEventTimestamp() {\n return fieldSetFlags()[14];\n }", "public boolean isSameEvent(Event event) {\n if (this == event) {\n return true;\n } else if (event == null) {\n return false;\n } else {\n return this.getName().equals(event.getName())\n && this.getTime().equals(event.getTime());\n }\n }", "public boolean isSelfMessageProcessingEvent();", "public boolean isEventCondition() {\n return true;\n }", "@Override\n public boolean isGeneric() { \n return false;\n }", "String event_type () throws BaseException;", "@Override\n protected boolean isPersonalTell(ChatEvent evt){\n String type = evt.getType();\n return \"tell\".equals(type) || \"say\".equals(type) || \"ptell\".equals(type);\n }", "java.lang.String getEventType();", "public String getTypeEvent() {\n\t\treturn typeEvent;\n\t}", "private static boolean hasHtcPenEventClass(final Context context) {\r\n\t\ttry {\r\n\t\t\tif (null != Class.forName(PEN_EVENT_CLASS_NAME)) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t} catch (final ClassNotFoundException e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "@Override\n public boolean isPhysical() {\n return getViewProvider().isEventSystemEnabled();\n }", "@Override\n public String getEventType()\n {\n\t return null;\n }", "public boolean isEvent(String eventName) {\r\n\t\tboolean result = false;\r\n\t\tfor (Event e : events) {\r\n\t\t\tif (e.getName().equals(eventName)) {\r\n\t\t\t\tresult = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@Override\n public boolean equals(Object other) {\n if (this == other) {\n return true;\n } else if (!(other instanceof Event)) {\n return false;\n } else if (other == null) {\n return false;\n } else {\n Event otherEvent = (Event) other;\n return this.getName().equals(otherEvent.getName())\n && this.getTime().equals(otherEvent.getTime())\n && this.getTags().equals(otherEvent.getTags());\n }\n }", "@Override\n\tpublic boolean isEventStarted() {\n\t\treturn status>=EventStarted;\n\t}", "@JsonIgnore\n public boolean isGeneric() {\n return this.getGenericParameterDefs() != null && this.getGenericParameterDefs().size() > 0;\n }", "public boolean hasPushEvent();", "abstract public boolean isTyped();", "@Override\n public boolean isCorrespondingTo(Event event){\n String n = event.getName();\n return n.equals(name) || n.equals(name_lt) || n.equals(name_gt);\n }", "String getEventType();", "public abstract NAEventType getEventType();", "@Override\r\n\tpublic boolean handleEvent(IEvent event) {\n\t\treturn false;\r\n\t}", "public boolean isSetEvents() {\n return this.events != null;\n }", "public void testEventAdditionalTypes() throws Exception\n {\n checkEventTypeRegistration(EVENT_TYPE_BUILDER,\n \"testTree -> MOUSE, testTree -> CHANGE\");\n }", "public boolean isCorrectEvent()\n {\n return m_fCorrectEvent;\n }", "@Override\r\n\tpublic int getEventType() {\n\t\treturn 0;\r\n\t}", "@Override\r\n\tpublic int getEventType() {\n\t\treturn 0;\r\n\t}", "@Override\n\tpublic boolean \t\t\thasPriorityOver (EventI e)\n\t{\n\t\treturn false;\n\t}", "public boolean matchesTypeAndContent(final TextTraceEvent event) {\n if (this == event) {\n return true;\n }\n if (event == null) {\n return false;\n }\n if (this.eventType == null) {\n if (event.eventType != null) {\n return false;\n }\n } else if (!this.eventType.equals(event.eventType)) {\n return false;\n }\n if (this.contents == null) {\n if (event.contents != null) {\n return false;\n }\n } else if (!Arrays.equals(this.contents, event.contents)) {\n return false;\n }\n return true;\n }", "EventType getEvent();", "private boolean isChessclubSpecificEvent(GameEvent evt){\r\n return (evt instanceof CircleEvent) || (evt instanceof ArrowEvent);\r\n }", "boolean hasGenericResponse();", "boolean onEvent(Event event);", "public void setTimeSpecificEvent(boolean timeSpecificEvent) {\n this.timeSpecificEvent = timeSpecificEvent;\n }", "@Override\n public boolean supportsSourceType(Class<?> sourceType) {\n // 判断 event 资源类型 ,这里处理的是 UserService 的\n return sourceType == UserService.class;\n }", "public boolean isAcceptedEventType(String classType) {\n\t\treturn acceptedEventTypes.containsKey(classType);\n\t}", "private boolean isUserVisibleEvent(int eventType) {\n return eventType != UsageEvents.Event.SYSTEM_INTERACTION\n && eventType != UsageEvents.Event.STANDBY_BUCKET_CHANGED;\n }", "public abstract void onEvent(T event);", "public boolean handleEvent(Event e){\r\n\t\tthis.handledEvents++;\r\n\t\tif(this.ptModes.contains(super.getMode())){\r\n\t\t\thandler.handleEvent(e);\r\n\t\t\tif(this.handledEvents == this.nrOfExpEvents){\r\n\t\t\t\thandler.finish(this);\r\n\t\t\t\treturn true;\r\n\t\t\t}else{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\tif(first == null){\r\n\t\t\t\tfirst = e.getTime();\r\n\t\t\t}else{\r\n\t\t\t\tlast = e.getTime();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(this.handledEvents == nrOfExpEvents){\r\n\t\t\t\tthis.tripTTime = last - first;\r\n\t\t\t\treturn true;\r\n\t\t\t}else{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "@SuppressWarnings({ \"unused\" })\r\n\tprivate void wrongType(final @NonNull PInputEvent e, final String eventType) {\n\t}", "public boolean onGenericMotionEvent( MotionEvent event ){\n\t\t\n\t\t\tif( !_useGamepad ) return false;\n\t\t\t\n\t\t\ttry{\n\t\t\t\tint source=((Integer)_getSource.invoke( event )).intValue();\n\n\t\t\t\tif( (source&16)==0 ) return false;\n\t\t\t\n\t\t\t\tBBAndroidGame g=_androidGame;\n\t\t\t\n\t\t\t\targs1[0]=Integer.valueOf( 0 );g._joyx[0]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\targs1[0]=Integer.valueOf( 1 );g._joyy[0]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\targs1[0]=Integer.valueOf( 17 );g._joyz[0]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\t\n\t\t\t\targs1[0]=Integer.valueOf( 11 );g._joyx[1]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\targs1[0]=Integer.valueOf( 14 );g._joyy[1]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\targs1[0]=Integer.valueOf( 18 );g._joyz[1]=((Float)_getAxisValue.invoke( event,args1 )).floatValue();\n\t\t\t\t\n\t\t\t\treturn true;\n\t\t\t\t\n\t\t\t}catch( Exception ex ){\n\t\t\t}\n\n\t\t\treturn false;\n\t\t}", "@Override\n public boolean onGenericMotion(View v, MotionEvent event) {\n return SDLActivity.handleJoystickMotionEvent(event);\n }", "protected abstract List<EventType> getAllowedEventTypes();", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Typevente)) {\n return false;\n }\n Typevente other = (Typevente) object;\n if ((this.idType == null && other.idType != null) || (this.idType != null && !this.idType.equals(other.idType))) {\n return false;\n }\n return true;\n }", "public boolean isEventsSuppressed() {\r\n\t\treturn eventsSuppressed;\r\n\t}", "@Override\n protected boolean accept(JinEvent evt) {\n if (isTaggedByUs(evt)) return true;\n\n if (!(evt instanceof ChatEvent)) return false;\n\n ChatEvent chatEvent = (ChatEvent) evt;\n\n String type = chatEvent.getType();\n Object forum = chatEvent.getForum();\n\n boolean isChannel1ATell = new Integer(1).equals(forum) && \"channel-atell\".equals(type);\n boolean isNorelayTell = \"atell\".equals(type);\n\n return isChannel1ATell || isNorelayTell;\n }", "public boolean overlap(Event e)\n\t{\n\t\tTimeInterval compare = e.getTI();\n\t\tif ((compare.st.getHour() <= this.st.getHour()) && (this.st.getHour() <= compare.et.getHour()))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\telse if ((this.st.getHour() <= compare.st.getHour()) && (compare.st.getHour() <= this.et.getHour()))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "boolean hasChangeEvent();", "@Override\n\tpublic EVENT_TYPE getEventType() {\n\t\treturn EVENT_TYPE.FLOW_EVENT;\n\t}", "@Override\n public boolean equals(Object obj){\n if(obj==null) return false;\n if(this == obj) return true;\n if(this.getClass() != obj.getClass()) return false;\n Event e = (Event) obj;\n if(this.uuid.equals(e.uuid)) return true;\n return this.title.equals(e.title) && this.datetime == e.datetime && this.type.equals(e.type) &&\n this.location.equals(e.location);\n }", "boolean hasMessageType();", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "@Override\n public boolean equals(final Object obj) {\n if (obj instanceof FlowTriggerEvent) {\n FlowTriggerEvent te2 = (FlowTriggerEvent) obj;\n if (type == te2.type && name.equals(te2.name)\n && ((payload == null && te2.payload == null)\n || (payload != null && payload.equals(te2.payload)))) {\n return true;\n }\n }\n return false;\n }", "public String getEventType()\r\n {\r\n return eventType;\r\n }", "public boolean isAvailable(Event event){\n\t\tfor(Event e : events){\n\t\t\tif(e.timeOverlap(event))\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof SubTipoEvento)) {\n return false;\n }\n SubTipoEvento other = (SubTipoEvento) object;\n if ((this.codigo == null && other.codigo != null) || (this.codigo != null && !this.codigo.equals(other.codigo))) {\n return false;\n }\n return true;\n }", "@Override\n\tpublic boolean isEventComplete() {\n\t\treturn status==EventCompleted;\n\t}", "public interface NoEventType {\n\n}", "public boolean hasRelatedIMEventMsg() {\n return fieldSetFlags()[8];\n }", "boolean hasTraceTag();", "@Override\n\tpublic boolean onTouchEvent(MotionEvent ev) {\n\t\tLog.i(\"TestEvent\", \"activity->onTouchEvent \" + TouchEventUtil.getTouchAction(ev.getAction()));\n\t\treturn super.onTouchEvent(ev);\n\t}", "@Override\n public boolean onTouchEvent(MotionEvent ev) {\n return mDetector.onTouchEvent(ev) || super.onTouchEvent(ev);\n }", "public String getEventType() {\r\n return eventType;\r\n }", "@GuardedBy(\"mLock\")\n private boolean shouldSendEvent(TimeZoneProviderEvent newEvent) {\n if (!newEvent.isEquivalentTo(mLastEventSent)) {\n return true;\n }\n\n // Guard against implementations that generate a lot of uninteresting events in a short\n // space of time and would cause the time_zone_detector to evaluate time zone suggestions\n // too frequently.\n //\n // If the new event and last event sent are equivalent, the client will still send an update\n // if their creation times are sufficiently different. This enables the time_zone_detector\n // to better understand how recently the location time zone provider was certain /\n // uncertain, which can be useful when working out ordering of events, e.g. to work out\n // whether a suggestion was generated before or after a device left airplane mode.\n long timeSinceLastEventMillis =\n newEvent.getCreationElapsedMillis() - mLastEventSent.getCreationElapsedMillis();\n return timeSinceLastEventMillis > mEventFilteringAgeThresholdMillis;\n }", "@Override\n public boolean onTouchEvent(MotionEvent event)\n {\n return gestureDetector.onTouchEvent(event);\n }", "public EventType getEventType() {\n return this.eventType;\n }", "public void testCustomEventListener() throws Exception\n {\n checkEventTypeRegistration(CUSTOM_EVENT_BUILDER, \"\");\n }", "public <T extends Event> void addGlobalEvent(Event.Type<T> type);", "public String getEventType()\n {\n return eventType;\n }", "@Override\n\tpublic boolean checkEventsofVisitorDAO(EventSignUp e) {\n\t\treturn false;\n\t}", "public static ApproxsimEvent getGeneric(Object source) {\n return new ApproxsimEvent(source, GENERIC);\n }", "@Override\n public boolean equals(Object object)\n {\n if (!(object instanceof Event))\n {\n return false;\n }\n Event other = (Event) object;\n if ((this.eventid == null && other.eventid != null) || (this.eventid != null && !this.eventid.equals(other.eventid)))\n {\n return false;\n }\n return true;\n }", "public boolean onTouchEvent(MotionEvent event) {\n if (gestureDetector.onTouchEvent(event))\n return true;\n else\n return false;\n }", "private String getEventType(Event event) {\n if (event instanceof Seminar) {\n return \"[S]: \";\n } else {\n return \"[E]: \";\n }\n }", "protected static boolean isTickTuple(Tuple tuple) {\n return tuple.getSourceComponent().equals(Constants.SYSTEM_COMPONENT_ID)\n && tuple.getSourceStreamId().equals(Constants.SYSTEM_TICK_STREAM_ID);\n }", "public int eventType() {\n return this._evtType;\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Event)) {\r\n return false;\r\n }\r\n Event other = (Event) object;\r\n if ((this.eventPK == null && other.eventPK != null) || (this.eventPK != null && !this.eventPK.equals(other.eventPK))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public String getEventType() {\n\t\treturn eventType;\n\t}", "public boolean hasEventId() {\n return fieldSetFlags()[13];\n }" ]
[ "0.6867693", "0.6688657", "0.6551413", "0.6183757", "0.61521286", "0.6032884", "0.6028633", "0.6005177", "0.59982306", "0.5912819", "0.5847157", "0.5844479", "0.57288057", "0.57231456", "0.5720465", "0.57066554", "0.5691707", "0.5680636", "0.56722426", "0.56057084", "0.5595456", "0.55909187", "0.55892754", "0.5554977", "0.5544181", "0.54993594", "0.54620934", "0.54353887", "0.5403258", "0.5392196", "0.5387807", "0.53780097", "0.53769755", "0.53756213", "0.5369904", "0.5366685", "0.53588843", "0.5355076", "0.5339605", "0.5327763", "0.53162915", "0.53133905", "0.52954423", "0.52878344", "0.52828866", "0.52806866", "0.52806866", "0.5272166", "0.5258505", "0.5252707", "0.52431345", "0.5232997", "0.5223889", "0.52132833", "0.52037466", "0.5188456", "0.51834035", "0.51700205", "0.5143361", "0.5129421", "0.51157045", "0.5099348", "0.5097435", "0.5097195", "0.5086463", "0.5079439", "0.5068159", "0.50557", "0.50396776", "0.50334275", "0.5029087", "0.5027491", "0.5026799", "0.50254166", "0.5024756", "0.50221574", "0.50208396", "0.5014772", "0.5012752", "0.5010182", "0.50070053", "0.49997318", "0.4995571", "0.49911055", "0.49892938", "0.49890536", "0.49780878", "0.49723434", "0.49673256", "0.49572432", "0.49529302", "0.49484086", "0.49477172", "0.49457145", "0.49456677", "0.49451947", "0.49427828", "0.49411178", "0.49396226", "0.49382234" ]
0.6684116
2
Creates a new ObjectAdded event. This type of event is triggered by a ApproxsimObject when a child is added.
public static ApproxsimEvent getObjectAdded(Object source, ApproxsimObject added, Object initiator) { return new ApproxsimEvent(source, OBJECTADDED, initiator, added); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void objectAdded(NamingEvent evt) throws RemoteException;", "protected void objAdded(UserId principal, ObjLoc objLoc, ObjectMeta objectMeta) {\r\n\r\n }", "public boolean isObjectAdded() {\n return OBJECTADDED.equals(message);\n }", "public void add(GameObject newObject) {\n\t\tgameObjects.addElement(newObject);\n\t}", "public void add(GObject object);", "com.walgreens.rxit.ch.cda.EIVLEvent addNewEvent();", "public void addObject(DcObject dco);", "@Override\r\n\tpublic void add(Object object) {\n\t\t\r\n\t}", "public T caseEntityAdded(EntityAdded object) {\n\t\treturn null;\n\t}", "public void addNewborn(Object anObj) { _newBorns.add(anObj); }", "public void addObject(ObjectNode on) throws MismatchException, ChangeNotAllowedException {\r\n FactType ft = getFactType(on.getTypeName());\r\n if (ft == null) {\r\n throw new RuntimeException(\"objecttype \" + on.getTypeName() + \" is unknown at objectmodel\");\r\n }\r\n if (!ft.isObjectType()) {\r\n throw new RuntimeException(\"adding object at facttype \"\r\n + ft.getName() + \" which isn't an objecttype\");\r\n }\r\n ft.addFact(on);\r\n\r\n }", "@Override\n public void childAdded(Attraction a) {\n Log.d(\"Ajq\",\"Child added called\");\n attractions.add(a);\n }", "public void addObject(final PhysicalObject obj) {\n \t\tmyScene.addChild(obj.getGroup());\n \t\tmyObjects.add(obj);\n \t}", "private void fireObjectAdded(final FieldObject fieldObject) {\n for (FieldObjectListener objectListener : _fieldObjectListeners) {\n objectListener.fieldObjectAdded(fieldObject);\n }\n }", "public void onAdd(TimelineAddEvent e) {\n\t\tevent = new TimelineEvent(new Booking(), e.getStartDate(), e.getEndDate(), true, e.getGroup());\n\n\t\t// add the new event to the model in case if user will close or cancel the \"Add dialog\"\n\t\t// without to update details of the new event. Note: the event is already added in UI.\n\t\tmodel.add(event);\n\t}", "public void notifyAdded(@NotNull final Object object) {\n getAppStates().forEach(object, SceneAppState::notifyAdded);\n }", "@Test\n\tpublic void testElementAddedEvent() {\n\t\tfinal DiagramElement newElement = new DiagramElement(diagram, 1, dummyBoh,\n\t\t\t\tnew RelativeBusinessObjectReference(\"1\"));\n\t\tdiagram.modify(\"Add Element\", m -> m.addElement(newElement));\n\n\t\tassertThat(ml.elementAddedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.modificationsCompletedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.getTotalEventsReceived(), is(equalTo(2)));\n\t}", "public void addObject(GameObject gameObject) {\n\t\tobjects.add(gameObject);\n\t\t\n\t}", "@ReceiveEvent\r\n public void onLogicTreeAddEventEvent(LogicTreeAddEventEvent event, EntityRef entity, ScenarioComponent component) {\r\n TriggerEventListComponent events = event.getTriggerEntity().getComponent(TriggerEventListComponent.class);\r\n\r\n EntityRef newEventEntity = entityManager.create(assetManager.getAsset(\"scenario:onPlayerSpawnEvent\", Prefab.class).get());\r\n\r\n ArgumentParser argParser = new ArgumentParser();\r\n argParser.setAssetManager(assetManager);\r\n argParser.setBlockManager(blockManager);\r\n argParser.setEntityManager(entityManager);\r\n\r\n\r\n\r\n argParser.parseDefaults(newEventEntity);\r\n newEventEntity.setOwner(event.getTriggerEntity());\r\n events.events.add(newEventEntity);\r\n event.getTriggerEntity().saveComponent(events);\r\n entity.saveComponent(component);\r\n\r\n if (event.getHubScreen() != null) {\r\n event.getHubScreen().getEntity().getComponent(ExpandedComponent.class).expandedList.add(event.getTriggerEntity());\r\n event.getHubScreen().getEntity().getComponent(ExpandedComponent.class).expandedList.add(event.getTriggerEntity().getComponent(TriggerNameComponent.class).entityForEvent);\r\n event.getHubScreen().getEntity().saveComponent(event.getHubScreen().getEntity().getComponent(ExpandedComponent.class));\r\n event.getHubScreen().setAddedEntity(newEventEntity);\r\n event.getHubScreen().updateTree(entity);\r\n }\r\n }", "@Override\n \t\tpublic void addPoi(POIObject poi) {\n \t\t\tCreateEventFragment.this.poi = poi;\n \t\t\tCreateEventFragment.this.eventObject.assignPoi(poi);\n \t\t}", "void add(ObjectType object)\n throws GuacamoleException;", "public void addEvent(Event e) {\n\t\t\n\t}", "public void addEvent(Event e) {\n\t\t\n\t}", "public void addEvent(Event event) {\n\t\t\n\t}", "protected void addObject(AbstractGameObject object) {\n\t\t// add object to rendering list\n\t\tobjects.add(object);\n\t\tif (object instanceof UIi18nReload) {\n\t\t\tuis.add((UIi18nReload) object);\n\t\t}\n\t\tobjects.sort(new Comparator<GameObject>() {\n\t\t\tpublic int compare(GameObject o1, GameObject o2) {\n\t\t\t\tAbstractGameObject ago1 = (AbstractGameObject) o1;\n\t\t\t\tAbstractGameObject ago2 = (AbstractGameObject) o2;\n\t\t\t\treturn (ago1.layer > ago2.layer ? -1 : (ago1.priority > ago2.priority ? -1 : 1));\n\t\t\t};\n\t\t});\n\t\t// add object to a specific Layer.\n\t\taddObjectToLayer(object);\n\n\t\tstatistics.put(\"objectCount\", objects.size());\n\t\tlogger.debug(\"Add {} to the objects list\", object.name);\n\t}", "public void addObject(AdvObject obj) {\n\t\tobjects.add(obj);\n\t}", "public org.hl7.fhir.CodeableConcept addNewEvent()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.CodeableConcept target = null;\n target = (org.hl7.fhir.CodeableConcept)get_store().add_element_user(EVENT$0);\n return target;\n }\n }", "@Override\r\n\tpublic void insertObjectListener(ActionEvent e) {\n\t\t\r\n\t}", "private void addNewMember(Event x) {\r\n \r\n \r\n \r\n }", "public void ancestorAdded(AncestorEvent event) {\n\n\t\t\t}", "@Override\n public void onAdded() {\n }", "@Override\n\tpublic void VisitNewObjectNode(NewObjectNode Node) {\n\n\t}", "public void addObject(Objects object)\n {\n items.put(object.getItemName(), object);\n }", "protected void addSpecial(Object object) {\n super.add(object);\n }", "@Override\n public void add(ChatMessage object) {\n chatMessageList.add(object);\n super.add(object);\n }", "public void addMessage(Object object)\r\n\t{\r\n\t\tmessageList.add(object);\r\n\t}", "private void addEvent() {\n String name = selectString(\"What is the name of this event?\");\n ReferenceFrame frame = selectFrame(\"Which frame would you like to define the event in?\");\n double time = selectDouble(\"When does the event occur (in seconds)?\");\n double x = selectDouble(\"Where does the event occur (in light-seconds)?\");\n world.addEvent(new Event(name, time, x, frame));\n System.out.println(\"Event added!\");\n }", "public T caseRelationAdded(RelationAdded object) {\n\t\treturn null;\n\t}", "@Override\r\n\t\t\tpublic void componentAdded(ContainerEvent arg0){}", "public T caseAttributeAdded(AttributeAdded object) {\n\t\treturn null;\n\t}", "protected <T extends BusinessObject> T addAsChild(T object) {\n\t\tif (children == null) {\n\t\t\tchildren = new HashMap<>();\n\t\t}\n\t\tchildren.put(object.nameProperty().getValue().toLowerCase(), object);\t\t\n\t\treturn object;\n\t}", "@Override\n public void add(Event event) {\n persist(event);\n }", "public void addEvent(Event e){\r\n\t\tallEvents.add(e);\r\n\t}", "public void addEvent(Object newEvent) {\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"addEvent(\" + newEvent + \")\");\n\t\t}\n\t\tprocessingState.addEvent(newEvent);\n\t}", "public void add(GeometricalObject object);", "@Override\n\tpublic void entityAdded(Entity entity)\n\t{\n\t\t\n\t}", "@Override\n\tpublic void add(Object o) {\n\t}", "public void managerAdded(ManagerEvent e);", "void add(GeometricalObject object);", "public void addGameObject(GameObject gameObject) {\n\t\tgameObject.init(this);\n\t\tobjects.add(gameObject);\n\t}", "public void onAddAgendaItem() {\n AgendaItemDialog agendaItemDialog = AgendaItemDialog.getNewInstance();\n Optional<AgendaItem> result = agendaItemDialog.showAndWait();\n if (!result.isPresent()) {\n return;\n }\n\n if (controller.addAgendaItem(result.get())) {\n return;\n }\n\n AlertHelper.showError(LanguageKey.ERROR_AGENDAITEM_ADD, null);\n }", "public void push(E obj) {\n super.add(obj);\n }", "protected void addEvent(BaseEvent event) {\n\t\tlevelEvent.add(event);\n\t}", "public void addPerson(Person object)\n\t{\n\t\tthis.peopleList.add(object);\n\t}", "public DefaultMutableTreeNode addObject(GUIMain guiMn, Object child) {\n DefaultMutableTreeNode parentNode = null;\n TreePath parentPath = guiMn.myTree.getSelectionPath();\n\n if (parentPath == null) {\n parentNode = guiMn.simMain.rootNode;\n } else {\n parentNode = (DefaultMutableTreeNode) (parentPath.getLastPathComponent());\n }\n\n return addObject(guiMn, parentNode, child, true);\n }", "protected void addObject(Obstacle obj) {\n\t\tassert inBounds(obj) : \"Object is not in bounds\";\n\t\tobjects.add(obj);\n\t\tobj.activatePhysics(world);\n\t}", "com.exacttarget.wsdl.partnerapi.ObjectDefinition addNewObjectDefinition();", "void diagramAdded(ProjectEvent event);", "public void add(AudioFile object) {\n if (mOriginalValues != null) {\n synchronized (mLock) {\n mOriginalValues.add(object);\n if (mNotifyOnChange) notifyDataSetChanged();\n }\n } else {\n mObjects.add(object);\n if (mNotifyOnChange) notifyDataSetChanged();\n }\n }", "@Override\r\n\tpublic OpnetObject addChild(String tag, Attributes attr) throws SAXException {\n\t\treturn new UnknownOpnetObject(tag);\r\n\t}", "boolean add(Object object) ;", "public void onResourceAdded(final ResourceEvent resourceEvent);", "@DISPID(1)\n\t// = 0x1. The runtime will prefer the VTID if present\n\t@VTID(7)\n\t@ReturnValue(type = NativeType.Dispatch)\n\tcom4j.Com4jObject addChild(\n\t\t\t@MarshalAs(NativeType.VARIANT) java.lang.Object node);", "public AddChildEvent(Object source, AbstractComponent child) {\n this(source, child, -1);\n }", "@Override\n\tpublic void add(Object object) {\n\t\tSession session = HibernateSessionFactory.getSession();\n\t\tTransaction ts = session.beginTransaction();\n\t\tsession.save(object);\n\t\tts.commit();\n\t\tsession.close();\n\t}", "public void add(Object obj) { \n\t\tcollection.addElement(obj);\n\t}", "boolean addObject(E object) throws DatabaseNotAccessibleException, DatabaseLogicException;", "@Override\n <T> void add(T object);", "public void addFieldObject(final FieldObject object, final Point position) {\n object.setPosition(position);\n _fieldObjects.add(object);\n\n if (object instanceof RedBird) {\n _mainPlayer.add(object.getFieldObjectView());\n _birdsGroup.add(object.getFieldObjectView());\n } else if (object instanceof Bird) {\n _birdsGroup.add(object.getFieldObjectView());\n } else if (object instanceof Pig) {\n _pigsGroup.add(object.getFieldObjectView());\n ++_pigsCounter;\n } else if (object instanceof WoodenObstacle) {\n _woodenObstacles.add(object.getFieldObjectView());\n }\n\n fireObjectAdded(object);\n }", "public void addObj(Object obj) {\n\t\t\tobjects.add(obj);\n\t\t}", "public void addNewRecord(Object object){\r\n\t\t\r\n\t\tString typeObject = object.getClass().getSimpleName();\r\n\t\t\r\n\t\taddNewRecordInArray(typeObject);\r\n\t\t\r\n\t\tif (object instanceof AutoParts) {\r\n\t\t\tgoods[goods.length - 1] = (AutoParts) object;\r\n\t\t} else if (object instanceof Prices) {\r\n\t\t\tprices[prices.length - 1] = (Prices) object;\r\n\t\t} else if (object instanceof Client) {\r\n\t\t\tclient[client.length - 1] = (Client) object;\r\n\t\t} else if (object instanceof Shopping){\r\n\t\t\tshop[shop.length - 1] = (Shopping) object;\r\n\t\t} else if (object instanceof BalancesAutoParts){\r\n\t\t\tbalancesAutoParts[balancesAutoParts.length - 1] = (BalancesAutoParts) object;\r\n\t\t} else if (object instanceof Sale) {\r\n\t\t\tsale[sale.length - 1] = (Sale) object;\r\n\t\t}\t\t\r\n\t\t\r\n\t}", "public void addObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\tlistenerList = new java.util.HashSet<ObjectChangeListener>(1,1);\n\t\tlistenerList.add(listener);\n\t}", "public void addObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\tlistenerList = new java.util.HashSet<ObjectChangeListener>(1,1);\n\t\tlistenerList.add(listener);\n\t}", "public abstract void mapDrawableAdapterChildAdded(StratmasObject object);", "public void addObjectRef(ObjectRef ref){\n \t\tthis.objectRefs[objectPointer++] = ref;\n \t}", "protected void fireVOIadded(VOI voi) {\r\n\r\n try {\r\n\r\n // only if there are listeners to send events to should we\r\n // bother with creating an event and bothering the event queue.\r\n if (listenerList.getListenerCount(VOIVectorListener.class) == 0) {\r\n return;\r\n }\r\n } catch (NullPointerException npe) {\r\n listenerList = new EventListenerList();\r\n }\r\n\r\n // always create a new Event, since we need to carry\r\n // the changed VOI around.\r\n voiUpdate = new VOIVectorEvent(this, voi);\r\n\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = listenerList.getListenerList();\r\n\r\n // Process the listeners last to first, notifying\r\n // those that are interested in this event\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n\r\n if (listeners[i] == VOIVectorListener.class) {\r\n ((VOIVectorListener) listeners[i + 1]).addedVOI(voiUpdate);\r\n }\r\n }\r\n }", "public PictureAddedEvent(Object source, Picture payload) {\n\t\t\n\t\t// Parent Call\n\t\tsuper(source);\n\t\t\n\t\t// Initialize payload\n\t\tthis.payload = payload;\n\t}", "void addDependencies(Object object) {\n objects.add(object);\n }", "void add(SpaceInstanceAddedEventListener eventListener, boolean includeExisting);", "public void nodeAdded(GraphEvent e);", "private void addObjectInformation(MarkupContainer container, final DccdSB dccdHit)\n\t{\n\t\tString objectTitleStr = \"\";\n\t\tif (dccdHit.hasTridasObjectTitle())\n\t\t\tobjectTitleStr = dccdHit.getTridasObjectTitle().get(0);//tridasObject.getTitle();\n // Make a link to the project view page\n\t\t// using the object title as link text\n Link viewLink = new Link(\"project_view\")//, new Model(resultItem))\n {\n\t\t\tprivate static final long serialVersionUID = 1L;\n\t\t\t@Override\n\t\t\tpublic void onClick()\n\t\t\t{\n\t\t\t\t// now navigate to view page with given project;\n\t\t\t\tretrieveProjectAndObject(dccdHit);\n\t\t\t\t// Note: could also give selected entity object!\n\t\t\t\tString selectedEntityId = object.getId();\n\n\t\t\t\tsetResponsePage(new ProjectViewPage(project, selectedEntityId));\n\t\t\t}\n };\n container.add(viewLink);\n viewLink.add(new Label(\"object_title_link\",objectTitleStr));\n\n container.add(new Label(\"object_type\", getObjectTypeString(dccdHit)));\n\t}", "private void notifyObjectAdded(int index0, int index1) {\n\t\tlisteners.forEach(l -> l.objectsAdded(this, index0, index1));\n\t}", "public void addGameStartedEvent(GameStartedEvent gameStartedEvent) {\n\t\ttry{\n\t\t\tGameStartedMongoEvent mongoEvent = GameStartedMongoEvent.convertIntoMongoEvent(gameStartedEvent);\n\t\t\t\n\t\t\tmongoTemplate.insert(mongoEvent, \"GameStartedEvents\");\t\t\n\t\t}\n\t\tcatch (Exception ex) {\n\t\t\tlogger.error(\"Failed to save GameStartedMongoEvent into mongo events store\");\n\t\t\tlogger.error(ex.getMessage());\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "public void addNodeToTheObjects(Node theNode) {\r\n getTheObjects().add(theNode);\r\n }", "public void addEvent(Event newEvent)\r\n {\r\n eNode newNode = new eNode(newEvent);\r\n if(this.head == null)\r\n head = newNode;\r\n else\r\n recursiveInsert(this.head, newNode);\r\n }", "com.microsoft.schemas.crm._2011.contracts.ArrayOfObjectiveRelation addNewObjectives();", "@ReceiveEvent\r\n public void onLogicTreeAddEventEvent(LogicTreeAddEventEvent event, EntityRef entity, ScenarioHubToolUpdateComponent component) {\r\n TriggerEventListComponent events = event.getTriggerEntity().getComponent(TriggerEventListComponent.class);\r\n\r\n EntityRef newEventEntity = entityManager.create(assetManager.getAsset(\"scenario:onPlayerSpawnEvent\", Prefab.class).get());\r\n\r\n argumentParser.parseDefaults(newEventEntity);\r\n newEventEntity.setOwner(event.getTriggerEntity());\r\n events.events.add(newEventEntity);\r\n event.getTriggerEntity().saveComponent(events);\r\n scenarioEntity.saveComponent(scenarioEntity.getComponent(ScenarioComponent.class));\r\n\r\n if (event.getHubScreen() != null) {\r\n event.getHubScreen().getComponent(HubToolExpansionComponent.class).expandedList.add(event.getTriggerEntity());\r\n event.getHubScreen().getComponent(HubToolExpansionComponent.class).expandedList.add(event.getTriggerEntity().getComponent(TriggerNameComponent.class).entityForEvent);\r\n event.getHubScreen().saveComponent(event.getHubScreen().getComponent(HubToolExpansionComponent.class));\r\n event.getHubScreen().getComponent(ScenarioHubToolUpdateComponent.class).addedEntity = newEventEntity;\r\n event.getHubScreen().saveComponent(event.getHubScreen().getComponent(ScenarioHubToolUpdateComponent.class));\r\n }\r\n\r\n for (EntityRef e : entityManager.getEntitiesWith(ScenarioHubToolUpdateComponent.class)) {\r\n e.send(new HubtoolRewriteLogicEvent());\r\n }\r\n }", "public void add(Object o);", "@Override\n\tpublic void attributeAdded(TGAttribute attribute, TGEntity owner) {\n gLogger.log(TGLogger.TGLevel.Debug, \"Attribute is created\");\n\t}", "public void newAddObserver(Observer o) {\n\t\t\tthis.addNotifier.addObserver(o);\n\t\t}", "private void pushNewEvent(Event e) {\n\t\tec.pushNewElement(e);\n\t}", "@Override\r\n protected SimpleBody addObject(Entity e) {\n PhysicsShape ps = e.get(PhysicsShape.class);\r\n PhysicsMassType pmt = e.get(PhysicsMassType.class);\r\n Position pos = e.get(Position.class);\r\n\r\n // Right now only works for CoG-centered shapes \r\n SimpleBody newBody = createBody(e.getId(), pmt.getTypeName(ed), ps.getFixture(), true);\r\n\r\n newBody.setPosition(pos); //ES position: Not used anymore, since Dyn4j controls movement\r\n\r\n newBody.getTransform().setTranslation(pos.getLocation().x, pos.getLocation().y); //Dyn4j position\r\n newBody.getTransform().setRotation(pos.getRotation());\r\n\r\n newBody.setUserData(e.getId());\r\n\r\n newBody.setLinearDamping(0.3);\r\n\r\n return newBody;\r\n }", "public void addObj(Obj3d obj) {\n\t\tthis.panes.add(new ObjPane(obj, this));\n\t\tthis.add(getObjPane(obj));\n\t\tthis.revalidate();\n\t\tthis.repaint();\n\t}", "public void afterInsert(Object entity) {\n\t\tif(!(entity instanceof DBObject)) return;\r\n\t\tDBObject obj = (DBObject) entity;\r\n\t\t\r\n\t\t// fire-event for the new object\r\n\t\tpublisher.fireEvent(new EntryCreatedEvent(obj));\r\n\t}", "public BulletAddedEvent(Bullet b)\r\n {\r\n bull = b;\r\n }", "public synchronized void add (E object) {\n Node<E> node = new Node<>(object);\n if (first == null) {\n first = node;\n } else if (last == null) {\n last = node;\n last.prev = first;\n first.next = last;\n } else {\n Node<E> temp = last;\n temp.prev.next = temp;\n temp.next = node;\n last = node;\n node.prev = temp;\n }\n }", "public AddChildEvent(Object source, AbstractComponent child, int childIndex) {\n super(source);\n this.child = child;\n this.childIndex = childIndex;\n }", "@Override\n public void add(Object o) {\n gameCollection.addElement(o);\n }", "@Override\r\n\t\t\t\t\tpublic void addItemEventOccurred(AddItemEvent event) {\n\r\n\t\t\t\t\t}", "public void addEvent(eNode newEvent)\r\n {\r\n eNode newNode = new eNode(newEvent);\r\n if(this.head == null)\r\n this.head = newNode;\r\n else\r\n recursiveInsert(this.head, newNode);\r\n }" ]
[ "0.6788861", "0.6684595", "0.62544805", "0.6070921", "0.6047166", "0.59757113", "0.5965133", "0.5936672", "0.5888104", "0.5883624", "0.5873897", "0.5854192", "0.5844701", "0.5813505", "0.581103", "0.57636", "0.5754338", "0.5726633", "0.5713334", "0.5692896", "0.5691711", "0.56588763", "0.56588763", "0.5650732", "0.5635115", "0.562806", "0.5576648", "0.5572169", "0.55696964", "0.5559588", "0.55567676", "0.5530392", "0.5521946", "0.54995745", "0.54991573", "0.5496452", "0.54874605", "0.5484606", "0.54809564", "0.5470937", "0.5447659", "0.54467326", "0.54464793", "0.5441022", "0.5429174", "0.5420102", "0.5408934", "0.539442", "0.5386224", "0.53748673", "0.5361727", "0.5348127", "0.53425944", "0.5337728", "0.531821", "0.53159195", "0.5310774", "0.53057325", "0.5292448", "0.52856064", "0.52844274", "0.5268659", "0.5262925", "0.52618486", "0.5261008", "0.5260355", "0.5258812", "0.52566785", "0.5255525", "0.52535325", "0.5240796", "0.5225058", "0.5225058", "0.5218656", "0.5213661", "0.5201854", "0.52001965", "0.5193135", "0.5184406", "0.51823926", "0.51802903", "0.518004", "0.51607937", "0.5156692", "0.51510465", "0.51498896", "0.51473254", "0.51455647", "0.5143244", "0.51403385", "0.51353663", "0.5135093", "0.51350445", "0.51313627", "0.51270825", "0.51190776", "0.5115811", "0.5115198", "0.5113912", "0.51106197" ]
0.65191364
2
Checks if this is an ObjectAdded event.
public boolean isObjectAdded() { return OBJECTADDED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }", "public static boolean isAdded() {\n return true;\n }", "public boolean addListener(final Object object) {\n boolean added = false;\n for (final Class<?> listenerType : listenerTypes) {\n if (listenerType.isInstance(object)) {\n try {\n addMethods.get(listenerType).invoke(scene.getComponent(), object);\n added = true;\n } catch (final IllegalAccessException | InvocationTargetException | RuntimeException ex) {\n if (scene.getExtended().getSceneBuilder().isVerbose()) {\n logger.log(Level.WARNING, MessageFormat.format(\"{0}: Exception while adding object [{1}] as a listener type [{2}].\",\n scene, object.getClass(), listenerType), ex);\n }\n }\n }\n }\n return added;\n }", "public boolean hasObject(){\n return _object != null;\n }", "public boolean hasObject() {\n return objectBuilder_ != null || object_ != null;\n }", "boolean add(Object object) ;", "public boolean add(@NonNull T object) {\n final boolean added = data.add(object);\n notifyItemInserted(data.size() + 1);\n return added;\n }", "public void objectAdded(NamingEvent evt) throws RemoteException;", "public boolean add(E obj)\r\n {\r\n int originalSize = this.size();\r\n listIterator(originalSize).add(obj);\r\n return originalSize != this.size();\r\n }", "@Override\n\tpublic boolean add(Object obj) {\n\t\treturn util.add(obj);\n\t}", "public boolean isObjectCreated() {\n return OBJECTCREATED.equals(message);\n }", "protected void objAdded(UserId principal, ObjLoc objLoc, ObjectMeta objectMeta) {\r\n\r\n }", "public boolean add(Object o) {\n\t\treturn map.put(o, PRESENT) == null;\n\t}", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "public synchronized boolean add(ContentObject obj) {\n if (null == data) {\n this.data = obj;\n return true;\n } else {\n _stats.increment(StatsEnum.ContentObjectsIgnored);\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.WARNING)) Log.warning(Log.FAC_NETMANAGER, \"{0} is not handled - data already pending\", obj.name());\n return false;\n }\n }", "private boolean m125720o() {\n return isAdded() && !isDetached();\n }", "@Traced\r\n\tpublic boolean addSimpleObject(SimpleObject obj){\n\t\tobjects.add(obj);\r\n\t\treturn true; // in future to handle some errors\r\n\t}", "public boolean addEvent(Event event) {\n\t\tboolean result = false;\n\t\t/* if event was created */\n\t\tif (event != null && event.getFinal_date() != null && event.getInitial_date() != null) {\n\t\t\tevents.add(event);\n\t\t\tresult = true;\n\t\t}\n\t\treturn result;\n\t}", "@Override\n\tpublic boolean add(Building object) {\n\t\tif (contains(object)) {\n\t\t\tsuper.remove(object);\n\t\t}\n\t\tsuper.add(object);\n\t\treturn true;\n\t}", "private void fireObjectAdded(final FieldObject fieldObject) {\n for (FieldObjectListener objectListener : _fieldObjectListeners) {\n objectListener.fieldObjectAdded(fieldObject);\n }\n }", "public boolean add(Object added)\n {\n boolean ret = super.add(added);\n normalize();\n return(ret);\n }", "public T caseEntityAdded(EntityAdded object) {\n\t\treturn null;\n\t}", "@Override\n public boolean isValid() {\n return isAdded() && !isDetached();\n }", "public boolean getAdded() {\r\n return this.added;\r\n }", "public boolean wasAddedByUser() {\n return alias.equals(Constants.OPTION_ALIAS_ADDED_BY_USER);\n }", "@Override\n\tpublic boolean isEventStarted() {\n\t\treturn status>=EventStarted;\n\t}", "boolean hasEvent();", "boolean add(Object obj);", "boolean add(Object obj);", "@Override\n\tpublic boolean add(E e) {\n\t\treturn false;\n\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "@Override\n\tpublic synchronized boolean add(TracesMessage obj) {\n\t\tTracesMessage log = obj;\n\t\tlong ts =log.getTime();\n\t\tif (ts < startTime || startTime < 0)\n\t\t\tstartTime = ts;\n\t\treturn super.add(obj);\n\t}", "public boolean addSingleEvent(JSONObject jSONObject) {\n try {\n String string = jSONObject.getString(\"title\");\n String string2 = jSONObject.getString(\"note\");\n String string3 = jSONObject.getString(Message.START_DATE);\n String string4 = jSONObject.getString(Message.END_DATE);\n int intValue = jSONObject.getIntValue(\"timeOffset\");\n Calendar instance = Calendar.getInstance();\n instance.setTime(DateUtils.parseDate(string3));\n Calendar instance2 = Calendar.getInstance();\n instance2.setTime(DateUtils.parseDate(string4));\n if (CalendarManager.addEvent(this.mWXSDKInstance.getContext(), string, string2, instance, instance2, intValue / 60)) {\n return true;\n }\n return false;\n } catch (Exception e) {\n WXLogUtils.e(TAG, (Throwable) e);\n return false;\n }\n }", "public boolean add(E o) {\r\n if (o == null)\r\n return false;\r\n if (this.map.containsKey(o.hashCode())) {\r\n return false;\r\n }\r\n return this.map.put(o.hashCode(), o) == null;\r\n }", "public boolean handlesObject(Object object);", "public boolean isObject() {\n\t\t// Object is the class that has itself as superclass\n\t\treturn getSuperClass() == this;\n\t}", "public boolean addEvent (Message event) {\n Logger.write(\"VERBOSE\", \"DB\", \"addEvent(...)\");\n try {\n execute(DBStrings.addEvent.replace(\"__sig__\", event.getSig())\n .replace(\"__startTime__\", Long.toString(event.EVNTgetStart()))\n .replace(\"__endTime\", Long.toString(event.EVNTgetEnd()))\n .replace(\"__creatorKey__\", Crypto.encodeKey(getSignatory(event)))\n .replace(\"__accepted__\", \"0\")\n .replace(\"__name__\", event.EVNTgetName())\n .replace(\"__creationTime__\", Long.toString(event.getTimestamp())));\n } catch (java.sql.SQLException e) {\n Logger.write(\"ERROR\", \"DB\", \"SQLException: \" + e);\n return false;\n }\n \n return true;\n }", "@Override\r\n\tpublic void add(Object object) {\n\t\t\r\n\t}", "boolean hasEvents() {\n return !currentSegment.isEmpty() || !historySegments.isEmpty();\n }", "public boolean addFacet(Facet objectFacet) {\n\t\tif (objectFacet == null) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tthis.facets.add(objectFacet);\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean putQueue(Object obj)\r\n {\r\n boolean returnval = false;\r\n\r\n try\r\n {\r\n returnval = event_q.add(obj);\r\n } catch (Exception ex)\r\n {\r\n return returnval;\r\n }\r\n\r\n return returnval;\r\n }", "public boolean isStoredInObject() {\r\n return lockValueStored == IN_OBJECT;\r\n }", "public boolean add ( Object o ){\n\n try{\n\n String check = o.toString();\n if(!check.equals(o)){\n return false;\n }\n\n }\n\n catch(Exception e){\n return false;\n }\n\n if(o == null){\n return false;\n }\n\n else{\n\n \t try{\n String s = o.toString();\n list.add(s);\n return true;\n \t }\n \t\n \t catch (Exception e){\n \t\t return false;\n \t }\n\n }\n\n }", "public boolean add(final Object obj) {\n maintain();\n\n SoftObject soft = SoftObject.create(obj, queue);\n \n return collection.add(soft);\n }", "boolean addObject(E object) throws DatabaseNotAccessibleException, DatabaseLogicException;", "public boolean add(Object o) {\r\n addBefore(o, header);\r\n return true;\r\n }", "public boolean containsObject(AdvObject obj) {\n\t\treturn objects.contains(obj); // Replace with your code\n\t}", "public boolean add (Object o) {return addLast(o);}", "@Override\n public boolean IsNewObject()\n {\n return _isNewObject;\n }", "protected void addObject(AbstractGameObject object) {\n\t\t// add object to rendering list\n\t\tobjects.add(object);\n\t\tif (object instanceof UIi18nReload) {\n\t\t\tuis.add((UIi18nReload) object);\n\t\t}\n\t\tobjects.sort(new Comparator<GameObject>() {\n\t\t\tpublic int compare(GameObject o1, GameObject o2) {\n\t\t\t\tAbstractGameObject ago1 = (AbstractGameObject) o1;\n\t\t\t\tAbstractGameObject ago2 = (AbstractGameObject) o2;\n\t\t\t\treturn (ago1.layer > ago2.layer ? -1 : (ago1.priority > ago2.priority ? -1 : 1));\n\t\t\t};\n\t\t});\n\t\t// add object to a specific Layer.\n\t\taddObjectToLayer(object);\n\n\t\tstatistics.put(\"objectCount\", objects.size());\n\t\tlogger.debug(\"Add {} to the objects list\", object.name);\n\t}", "@Override\n\tpublic boolean onObject(Player player, int objectID) {\n\t\treturn false;\n\t}", "public boolean addEvent(Event event)\n {\n for(Event temp: events)\n {\n if(temp.isTimeConflict(event))\n {\n return false;\n }\n }\n\n this.events.add(event);\n return true;\n }", "@Override\r\n\t\t\t\t\tpublic void addItemEventOccurred(AddItemEvent event) {\n\r\n\t\t\t\t\t}", "public boolean hasPushEvent();", "public boolean attached()\n\t{\n\t\treturn this.getContainer() != null && this.getId() != null;\n\t}", "public void maybeAdd(Object listener) {\n if (type.isInstance(listener)) {\n add(type.cast(listener));\n }\n }", "@Override\n\tpublic boolean isClassObject() {\n\t\treturn heldObj.isClassObject();\n\t}", "public void notifyAdded(@NotNull final Object object) {\n getAppStates().forEach(object, SceneAppState::notifyAdded);\n }", "public boolean isSetObject() {\n return this.object != null;\n }", "@SuppressWarnings(\"WeakerAccess\")\n public boolean hasObservers() {\n return mObservers.size() > 0;\n }", "public synchronized boolean contains(\n Object oObject)\n {\n if (oObject == null || !this.m_GenericClass.isInstance(oObject))\n {\n return false;\n }\n\n // Assert: object != null && object instanceOf E\n E element = this.m_GenericClass.cast(oObject);\n\n return findNode(element).m_NodePointer != null;\n }", "public boolean canAdd(IAddContext context) {\n if (context instanceof IAddConnectionContext\n && context.getNewObject() instanceof Message) {\n return true;\n }\n return false;\n }", "public static boolean isCreated(Object o) {\r\n checkVersionable(o);\r\n return ((Versionable) o).isCreated();\r\n }", "protected boolean isObjectHeld() { return objHeld; }", "public boolean hasObjUser() {\n return objUser_ != null;\n }", "public boolean add(Object[] obj) {\n\t\treturn false;\n\t}", "public boolean isSelfMessageProcessingEvent();", "@Override\n\tpublic boolean isEventComplete() {\n\t\treturn status==EventCompleted;\n\t}", "public boolean add(CoreResourceHandle e) {\n if (e != null) {\n doAdd(e);\n return true;\n }\n throw new NullPointerException();\n }", "public void addObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\tlistenerList = new java.util.HashSet<ObjectChangeListener>(1,1);\n\t\tlistenerList.add(listener);\n\t}", "public void addObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\tlistenerList = new java.util.HashSet<ObjectChangeListener>(1,1);\n\t\tlistenerList.add(listener);\n\t}", "protected synchronized boolean isObjectPresent() { return objPresent; }", "public void add(GObject object);", "@Override\n public void onAdded() {\n }", "@Override\r\n\t\t\tpublic void componentAdded(ContainerEvent arg0){}", "void add(SpaceInstanceAddedEventListener eventListener, boolean includeExisting);", "public void checkSaveObjectData() {\r\n\t\tif (this.objectDescriptionTabItem != null) this.objectDescriptionTabItem.checkSaveObjectData();\r\n\t}", "public BulletAddedEvent(Bullet b)\r\n {\r\n bull = b;\r\n }", "public T caseAttributeAdded(AttributeAdded object) {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic void handle(Event e) {\r\n\t\tif (e.getCheck().equals(Check.CREATED)) {\r\n\t\t\tmultiples.add(e.getObjectID());\r\n\t\t\t// System.out.println(\"Object with id \" + e.getObjectID()\r\n\t\t\t// + \" has been created more than once.\");\r\n\t\t}\r\n\r\n\t}", "public boolean isCreated() {\n\t\treturn this.viewer != null;\n\t}", "public boolean add (T obj) {\r\n\t\tboolean result = _list.add (obj);\r\n\t\tHeapSet.siftUp (this, _list.size () - 1);\r\n\t\treturn result;\r\n\t}", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public boolean hasAddedOrDeleted()\n\t{\n\t\tfor(TimedVariable tv : vars)\n\t\t\tif ((tv.getFlags() & (VarFlags.DB_ADDED|VarFlags.DB_DELETED)) != 0)\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "public static ApproxsimEvent getObjectAdded(Object source,\n ApproxsimObject added, Object initiator) {\n return new ApproxsimEvent(source, OBJECTADDED, initiator, added);\n }", "public void onAdd(TimelineAddEvent e) {\n\t\tevent = new TimelineEvent(new Booking(), e.getStartDate(), e.getEndDate(), true, e.getGroup());\n\n\t\t// add the new event to the model in case if user will close or cancel the \"Add dialog\"\n\t\t// without to update details of the new event. Note: the event is already added in UI.\n\t\tmodel.add(event);\n\t}", "public boolean add(E obj) {\n\t\tNode<E> node = new Node<E>(obj, null, null, null);\n\t\tif (root == null) {\n\t\t\troot = node;\n\t\t\tcurrentSize++;\n\t\t\treturn true;\n\t\t} else {// (root != null)\n\t\t\tNode<E> tmp = addAfter(root, obj);\n\t\t\tcurrentSize++;\n\t\t\tcheckBalanceBottomUp(tmp);\n\t\t\treturn true;\n\t\t}\n\t}", "public boolean isReferencesEventPhase() {\n return getFlow().isReferencesEventPhase();\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Event)) {\n return false;\n }\n Event other = (Event) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object)\n {\n if (!(object instanceof Event))\n {\n return false;\n }\n Event other = (Event) object;\n if ((this.eventid == null && other.eventid != null) || (this.eventid != null && !this.eventid.equals(other.eventid)))\n {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof BmwEvent)) {\n return false;\n }\n BmwEvent other = (BmwEvent) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "void addCollisionObject(CollisionObjectWrapper co) {\n\tpendingObjects.put(co.getId(), co);\n }", "public void add(GameObject newObject) {\n\t\tgameObjects.addElement(newObject);\n\t}" ]
[ "0.6490859", "0.63607043", "0.6306062", "0.62550426", "0.6160966", "0.5973084", "0.5958472", "0.59198564", "0.59004736", "0.58175963", "0.58065575", "0.5643727", "0.5633561", "0.56305957", "0.56305957", "0.56305957", "0.56305957", "0.56305957", "0.56305957", "0.56305957", "0.5614309", "0.5608734", "0.55943763", "0.5590598", "0.5577791", "0.5554422", "0.5542994", "0.5534015", "0.5507959", "0.5477453", "0.5463609", "0.54503894", "0.54206437", "0.5412812", "0.5412812", "0.5398793", "0.5381184", "0.5381184", "0.53770125", "0.5364621", "0.53448874", "0.5343526", "0.53179765", "0.5282082", "0.5274696", "0.52565485", "0.5248664", "0.5248453", "0.52481055", "0.5242463", "0.5239724", "0.52344126", "0.5228762", "0.5213034", "0.521006", "0.51977307", "0.51937294", "0.51881146", "0.5150177", "0.5149425", "0.5142104", "0.5139932", "0.5136892", "0.5134738", "0.51245314", "0.51240015", "0.51026803", "0.5100529", "0.5094891", "0.5092485", "0.5091059", "0.5089074", "0.5075968", "0.50742984", "0.50567657", "0.5054593", "0.5052849", "0.5052849", "0.50496435", "0.5048715", "0.5045639", "0.5045352", "0.5033896", "0.50297856", "0.502907", "0.5028687", "0.50212383", "0.50180215", "0.5013359", "0.5008464", "0.50070846", "0.50043833", "0.49968106", "0.49951625", "0.4995026", "0.4994628", "0.4986594", "0.49808922", "0.4977458", "0.49758106" ]
0.78108764
0
Checks if this is an ObjectCreated event.
public boolean isObjectCreated() { return OBJECTCREATED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isCreated(Object o) {\r\n checkVersionable(o);\r\n return ((Versionable) o).isCreated();\r\n }", "public boolean isCreated() {\n\t\treturn this.viewer != null;\n\t}", "public boolean isObjectAdded() {\n return OBJECTADDED.equals(message);\n }", "public boolean hasCreated() {\n return fieldSetFlags()[4];\n }", "public boolean isSetCreated()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(CREATED$0) != 0;\n }\n }", "protected boolean _isEventForSuccessfulCreate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenCreated()));\t\t\t\t\t\t\t\t\t\t\t\t// it's a create event\n\t}", "public boolean isCreated() {\n\t\treturn mqttClient != null;\n\t}", "public void setEventCreated() {\n Date now = new Date();\n this.eventCreated = now;\n }", "@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }", "@java.lang.Override\n public boolean hasCreatedAt() {\n return createdAt_ != null;\n }", "public boolean isPreDestroyCalled() {\n \n return this.preDestroyCalled;\n }", "public static void created() {\n\t\t// TODO\n\t}", "public boolean hasCreatedAt() {\n return createdAt_ != null;\n }", "public boolean isCreateDateInitialized() {\n return createDate_is_initialized; \n }", "public boolean hasCreatedAt() {\n return createdAt_ != null;\n }", "@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }", "protected boolean _isEventForSuccessfulCreateOrUpdate(final PersistenceOperationOKEvent opEvent) {\t\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenCreated() || opResult.as(CRUDOK.class).hasBeenUpdated()));\t// it's a create or update event\n\t}", "public void onCreation(java.lang.Object init)\n {\n }", "public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }", "public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }", "public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }", "public boolean hasCreatedAt() {\n return createdAtBuilder_ != null || createdAt_ != null;\n }", "public boolean getWasCreated(){\n return wasCreated;\n }", "public boolean isClientsidecreated() {\n return clientsidecreated.get();\n }", "public boolean hasObject(){\n return _object != null;\n }", "public boolean isSetCreatedAt() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CREATEDAT_ISSET_ID);\n }", "@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }", "@java.lang.Override\n public boolean hasCreateTime() {\n return createTime_ != null;\n }", "public boolean hasObject() {\n return objectBuilder_ != null || object_ != null;\n }", "@Override\n\tpublic boolean isEventStarted() {\n\t\treturn status>=EventStarted;\n\t}", "@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }", "@java.lang.Override\n public boolean hasCreationDate() {\n return ((bitField0_ & 0x00000002) != 0);\n }", "public void tagCreated(TagEvent event) {\n createdEvent = event;\n }", "public boolean isSetCreationTime() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);\n }", "@Override\n public boolean IsNewObject()\n {\n return _isNewObject;\n }", "public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasCreationTime() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "protected void fireCreationEvent() {\n\t\tfireEvent(new DebugEvent(this, DebugEvent.CREATE));\n\t}", "protected void fireCreationEvent() {\n\t\tfireEvent(new DebugEvent(this, DebugEvent.CREATE));\n\t}", "@MainThread\n public boolean isSurfaceCreated() {\n return (mVideoView != null && isSurfaceCreated && !mVideoView.getHolder().isCreating() && mVideoView.getHolder().getSurface() != null);\n }", "public TagEvent getTagnCreatedEvent() {\n return createdEvent;\n }", "@Override\r\n\tpublic void handle(Event e) {\r\n\t\tif (e.getCheck().equals(Check.CREATED)) {\r\n\t\t\tmultiples.add(e.getObjectID());\r\n\t\t\t// System.out.println(\"Object with id \" + e.getObjectID()\r\n\t\t\t// + \" has been created more than once.\");\r\n\t\t}\r\n\r\n\t}", "public boolean isSetCreatetime() {\n return this.createtime != null;\n }", "public static boolean hasComponentCreator() {\n return sCreator != null;\n }", "public boolean isSetCreateTime() {\n\t\treturn this.createTime != null;\n\t}", "boolean isAcceptingLifecycleEvents() {\n return adapter.isStarted();\n }", "@java.lang.Override\n public boolean hasInstantiatePermission() {\n return instantiatePermission_ != null;\n }", "@Override\n public void onStart() {\n Log.e(TAG, \"detect the lifecycleowner--- started\");\n }", "public boolean isSetCreateTime() {\n return this.createTime != null;\n }", "public boolean isDestroyed(){\n\t\treturn System.currentTimeMillis() > creationTime + this.visibleTime ;\n\t}", "protected void notifyCreated(List<T> objects){\n\t\tfor( ModelEvents<T> observer : this.ObserverList){\r\n\t\t\tobserver.dataCreated(objects);\r\n\t\t}\r\n\t}", "public boolean isSetCreateTime() {\n return this.createTime != null;\n }", "public boolean hasCreateDate() {\n return fieldSetFlags()[2];\n }", "public boolean isSetCreateDate() {\n return this.createDate != null;\n }", "public boolean isSetCreateDate() {\n return this.createDate != null;\n }", "public boolean isSetCreateTimestamp() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMP_ISSET_ID);\n }", "public boolean isSetCreateId() {\n return this.createId != null;\n }", "protected boolean _isEventForSuccessfulCreateUpdateOrDelete(final PersistenceOperationOKEvent opEvent) {\t\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenCreated() || opResult.as(CRUDOK.class).hasBeenUpdated() || opResult.as(CRUDOK.class).hasBeenDeleted()));\t// it's a create, update or delete event\n\t}", "protected synchronized boolean isObjectPresent() { return objPresent; }", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isCreateUserInitialized() {\n return createUser_is_initialized; \n }", "boolean hasCreationTime();", "public boolean isCreate() {\r\n\t\treturn controller.closedByCreate;\r\n\t}", "public boolean isSetObject() {\n return this.object != null;\n }", "@Override\r\n\tpublic boolean create(Jeu obj) {\n\t\treturn false;\r\n\t}", "boolean hasInstantiatePermission();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "@Override\n\tpublic boolean create(Etape obj) {\n\t\treturn false;\n\t}", "@objid (\"617db225-55b6-11e2-877f-002564c97630\")\n @Override\n public boolean canCreate(Class<? extends MObject> type) {\n return false;\n }", "public String[] getCreatedObjects() {\n return m_createdObjects;\n }", "public boolean isSelfMessageProcessingEvent();", "public void setCreatedOn(Timestamp createdOn) {\r\n\t\tthis.createdOn = createdOn;\r\n\t}", "public boolean isObject() {\n\t\t// Object is the class that has itself as superclass\n\t\treturn getSuperClass() == this;\n\t}", "public boolean isDestroyed()\n\t\t{\n\t\t\treturn destroyed;\n\t\t}", "boolean hasCreatedAt();", "protected void beforeCreate(RoutingContext event, JsonObject json){\n\t\tUser u = getUser(event);\n\t\tjson.put(\"userID\", u.getId());\n\t\tjson.put(\"appID\", getId(event, \"appID\"));\n\t\tjson.put(\"created\", System.currentTimeMillis());\n\t}", "public boolean checkSingleEvent(JSONObject jSONObject) {\n try {\n String string = jSONObject.getString(\"title\");\n String string2 = jSONObject.getString(Message.START_DATE);\n String string3 = jSONObject.getString(Message.END_DATE);\n Calendar instance = Calendar.getInstance();\n instance.setTime(DateUtils.parseDate(string2));\n Calendar instance2 = Calendar.getInstance();\n instance2.setTime(DateUtils.parseDate(string3));\n if (CalendarManager.checkEvent(this.mWXSDKInstance.getContext(), string, \"\", instance, instance2)) {\n return true;\n }\n return false;\n } catch (Exception e) {\n WXLogUtils.e(TAG, (Throwable) e);\n return false;\n }\n }", "public void checkBundleCreated(final UUID bundleId, final CallContext context) {\n final List<AuditLog> auditLogsForBundles = getAuditLogsForBundle(bundleId, context);\n Assert.assertTrue(auditLogsForBundles.size() >= 1);\n checkAuditLog(ChangeType.INSERT, context, auditLogsForBundles.get(0), bundleId, BundleSqlDao.class, true, false);\n }", "public boolean canBeNullObject() { // for future, nobody calls when first\n return _canBeNullObject;\n }", "public boolean isSetCreateTime() {\n return __isset_bit_vector.get(__CREATETIME_ISSET_ID);\n }", "public void setCreatedEvents(List<Event> createdEvents) {\n this.createdEvents = createdEvents;\n }", "public boolean hasInstantiatePermission() {\n return instantiatePermissionBuilder_ != null || instantiatePermission_ != null;\n }", "public boolean ready() {\n diff = eventTime - System.currentTimeMillis(); //Step 4,5\n return System.currentTimeMillis() >= eventTime;\n }", "public boolean addSingleEvent(JSONObject jSONObject) {\n try {\n String string = jSONObject.getString(\"title\");\n String string2 = jSONObject.getString(\"note\");\n String string3 = jSONObject.getString(Message.START_DATE);\n String string4 = jSONObject.getString(Message.END_DATE);\n int intValue = jSONObject.getIntValue(\"timeOffset\");\n Calendar instance = Calendar.getInstance();\n instance.setTime(DateUtils.parseDate(string3));\n Calendar instance2 = Calendar.getInstance();\n instance2.setTime(DateUtils.parseDate(string4));\n if (CalendarManager.addEvent(this.mWXSDKInstance.getContext(), string, string2, instance, instance2, intValue / 60)) {\n return true;\n }\n return false;\n } catch (Exception e) {\n WXLogUtils.e(TAG, (Throwable) e);\n return false;\n }\n }", "private boolean requiresCreate( EntityInstanceImpl ei )\n {\n // Can't create an entity that wasn't created...\n if ( !ei.isCreated() )\n return false;\n\n // Skip deleted entities; they've been created then deleted so no need to save them.\n if ( ei.isDeleted() )\n return false;\n\n // Check to see if this EI has already been inserted into the DB.\n if ( ei.dbhCreated )\n return false;\n\n EntityDef entityDef = ei.getEntityDef();\n if ( entityDef.isDerivedPath() )\n return false;\n\n // Skip the entity if we don't allow creates.\n if ( ! entityDef.isCreate() )\n return false;\n\n DataRecord dataRecord = entityDef.getDataRecord();\n if ( dataRecord == null )\n return false;\n\n return true;\n }", "@Override\n public void onActivityCreated(Activity activity, Bundle savedInstanceState) {\n eventManager.fire(Event.ACTIVITY_ON_CREATE, activity);\n }", "public synchronized void rendererCreated (RendererEvent aRendererEvent)\n\t{\n\t\tMComponent theComponent = aRendererEvent.getComponent ();\n\t\tMauiApplication theApplication = (MauiApplication) theComponent.getRootParent ();\n\t\tnotifyListeners (theApplication.getApplicationAddress (), aRendererEvent);\n\t\tnotifyListeners (\"null\", aRendererEvent);\n\t}", "boolean hasObjectTrackingConfig();", "public boolean isSetCreateTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMPMS_ISSET_ID);\n }", "public boolean isSetCreateTimestampMs() {\n return EncodingUtils.testBit(__isset_bitfield, __CREATETIMESTAMPMS_ISSET_ID);\n }", "public T caseStartEvent(StartEvent object) {\n\t\treturn null;\n\t}", "public boolean isNewborn(Object anObj) { return ListUtils.indexOfId(_newBorns, anObj)>=0; }", "public boolean isDestroyed() {\n return hitCounter >= metaObject.getMaxHits();\n }", "public boolean createEvent(@NonNull final NodeId otherId) {\n Objects.requireNonNull(otherId, \"the otherId must not be null\");\n\n if (disabled) {\n return false;\n }\n\n final EventCreationRuleResponse basicRulesResponse = eventCreationRules.shouldCreateEvent();\n if (basicRulesResponse == EventCreationRuleResponse.DONT_CREATE) {\n return false;\n }\n final GossipEvent selfParent = mostRecentEventById.apply(selfId);\n final GossipEvent otherParent = mostRecentEventById.apply(otherId);\n // if the basic rules returned a CREATE, this overrides all subsequent rules, so we don't check the parent based\n // rules\n if (basicRulesResponse != EventCreationRuleResponse.CREATE\n && eventCreationRules.shouldCreateEvent(selfParent, otherParent)\n == EventCreationRuleResponse.DONT_CREATE) {\n return false;\n }\n\n handleNewEvent(buildEvent(selfParent, otherParent));\n return true;\n }" ]
[ "0.6887413", "0.6486276", "0.62003833", "0.61831236", "0.6130781", "0.60456604", "0.5922341", "0.5828426", "0.5786432", "0.5786432", "0.5779942", "0.5739611", "0.57379013", "0.5726326", "0.5688873", "0.5627283", "0.5531455", "0.55304056", "0.5520626", "0.5520626", "0.5520626", "0.5514652", "0.55098313", "0.5506183", "0.5458854", "0.54526955", "0.545233", "0.545233", "0.54462224", "0.54329354", "0.5406077", "0.53994554", "0.5384167", "0.5352863", "0.5345455", "0.53402954", "0.53227293", "0.5273777", "0.5273777", "0.5259727", "0.5235315", "0.52234465", "0.52220225", "0.51560646", "0.51532906", "0.5146639", "0.51422554", "0.5139895", "0.5132425", "0.5131205", "0.5130567", "0.5128766", "0.51276076", "0.5119399", "0.5119399", "0.5117772", "0.5115118", "0.5114541", "0.5087352", "0.5068383", "0.5046499", "0.5036289", "0.50344646", "0.49896094", "0.49829325", "0.49722934", "0.49670988", "0.49670988", "0.49670988", "0.49670988", "0.49670988", "0.49670988", "0.49670988", "0.49619967", "0.4941229", "0.49334848", "0.49232742", "0.4908926", "0.48933765", "0.4862125", "0.48602784", "0.48584622", "0.4854359", "0.4831923", "0.4829872", "0.48292708", "0.48285693", "0.48156753", "0.4812839", "0.48096067", "0.48019117", "0.4798661", "0.47927585", "0.47883385", "0.47867325", "0.47867325", "0.47724453", "0.47701582", "0.4769686", "0.47679713" ]
0.76253235
0
Creates a new ObjectRemoved event. This type of event is triggered by a ApproxsimObject when it is deleted.
public static ApproxsimEvent getRemoved(Object source, Object initiator) { return new ApproxsimEvent(source, REMOVED, initiator, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void objectRemoved(NamingEvent evt) throws RemoteException;", "public T caseEntityRemoved(EntityRemoved object) {\n\t\treturn null;\n\t}", "public T caseAttributeRemoved(AttributeRemoved object) {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic void deleteObjectListener(ActionEvent e) {\n\t\t\r\n\t}", "public void removeObject(java.lang.Object object) {}", "public void remove(GObject object);", "public void entityRemoved() {}", "public void notifyRemoved(@NotNull final Object object) {\n getAppStates().forEach(object, SceneAppState::notifyRemoved);\n }", "public static void sendDestroyEvent(TransactionalEditingDomain domain, EObject eObject) {\n\n\t\tNotification destroyNotification = new ENotificationImpl(\n\t\t\t(InternalEObject) eObject, EventTypes.DESTROY,\n\t\t\t(EStructuralFeature) null, (Object) null, (Object) null, -1);\n\n\t\teObject.eNotify(destroyNotification);\n\t}", "public T caseRelationRemoved(RelationRemoved object) {\n\t\treturn null;\n\t}", "public void removeByObject()\r\n\t{\n\t}", "private void notifyObjectRemoved(int index0, int index1) {\n\t\tlisteners.forEach(l -> l.objectsRemoved(this, index0, index1));\n\t}", "void remove(GeometricalObject object);", "public void removeObject(AdvObject obj) {\n\t\tobjects.remove(obj); // Replace with your code\n\t}", "public void remove(GeometricalObject object);", "void diagramRemoved(ProjectEvent event);", "public void newRemoveObserver(Observer o) {\n\t\t\tthis.removeNotifier.addObserver(o);\n\t\t}", "public void managerRemoved(ManagerEvent e);", "void remove( ModelObject object );", "public boolean remove(New object);", "@Override\n\tpublic void remove(Object o) {\n\t\t\n\t}", "@Test\n\tpublic void testElementRemovedEvent() {\n\t\tfinal DiagramElement e = addRootElementAndResetCounter(1);\n\n\t\t// Test a remove event\n\t\tdiagram.modify(\"Remove Element\", m -> m.removeElement(e));\n\n\t\tassertThat(ml.elementRemovedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.modificationsCompletedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.getTotalEventsReceived(), is(equalTo(2)));\n\t}", "private void removeEvent() {\n Event event = selectEvent(\"Which event would you like to delete?\");\n world.removeEvent(event);\n System.out.println(\"Removed \" + event.getName() + \"!\");\n }", "public void itemRemoved(E item);", "public void entryRemoved (TudeySceneModel.Entry oentry)\n {\n // nada\n }", "protected void fireVOIremoved(VOI voi) {\r\n\r\n try {\r\n\r\n // only if there are listeners to send events to should we\r\n // bother with creating an event and bothering the event queue.\r\n if (listenerList.getListenerCount(VOIVectorListener.class) == 0) {\r\n return;\r\n }\r\n } catch (NullPointerException npe) {\r\n listenerList = new EventListenerList();\r\n }\r\n\r\n // always create a new Event, since we need to carry\r\n // the changed VOI around.\r\n voiUpdate = new VOIVectorEvent(this, voi);\r\n\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = listenerList.getListenerList();\r\n\r\n // Process the listeners last to first, notifying\r\n // those that are interested in this event\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n\r\n if (listeners[i] == VOIVectorListener.class) {\r\n ((VOIVectorListener) listeners[i + 1]).removedVOI(voiUpdate);\r\n }\r\n }\r\n }", "public void notifyRemoved(String publicID) {\n }", "public boolean remove(objectType obj);", "public void onResourceRemoved(final ResourceEvent resourceEvent);", "public void removeListener(AlgorithmInterface obj) {\r\n objectList.removeElement(obj);\r\n }", "public void nodeRemoved(GraphEvent e);", "public boolean remove(RealObject o);", "void remove(SpaceInstanceAddedEventListener eventListener);", "@Override\n\tpublic void serviceRemoved(ServiceEvent arg0) {\n\n\t}", "public void handlerRemoved(CEventListener aoHandler) {\n\t}", "@Override\n public void deletedResource( ResourceEvent event )\n {\n\n }", "public abstract void onRemove();", "private void fireObjectDeleted(final FieldObject fieldObject) {\n for (FieldObjectListener objectListener : _fieldObjectListeners) {\n objectListener.fieldObjectDeleted(fieldObject);\n }\n }", "void documentRemoved(SingleDocumentModel model);", "public void objectChanged(NamingEvent evt) throws RemoteException;", "@Override\n public void delete(ClientAuditTrailHolder oldObj_) throws Exception\n {\n\n }", "public static ApproxsimEvent getReplaced(Object source, Object initiator,\n ApproxsimObject newObject) {\n return new ApproxsimEvent(source, REPLACED, initiator, newObject);\n }", "public void objectAdded(NamingEvent evt) throws RemoteException;", "public void delete(Object object)\n{\n\t// remove the object\n\tobjects.remove(object);\n}", "@Override\r\n\tpublic void delete(Object object) {\n\t\t\r\n\t}", "public void remove(E object) {\n\t\tsynchronized (mLock) {\n\t\t\tif (data != null) {\n\t\t\t\tdata.remove(object);\n\t\t\t}\n\t\t}\n\t\tnotifyDataSetChanged();\n\t}", "@Override\n public void doRemove(String content, MiddleObject midObj) throws ChannelReleaseException {\n }", "@Override\r\n\tpublic void removeObserver(BpmObserver o) {\n\r\n\t}", "public void removed() {\n }", "public boolean removeObj(Object oldValue, boolean destroy) {\n\t\tString key = getKey(oldValue);\n\t\tif (destroy) {\n\t\t\tSendableEntityCreator creator = getCreatorClass(oldValue);\n\t\t\tif (creator != null) {\n\t\t\t\tString[] props = creator.getProperties();\n\t\t\t\tfor (String prop : props) {\n\t\t\t\t\tObject reference = creator.getValue(oldValue, prop);\n\t\t\t\t\tif (reference instanceof Collection<?>) {\n\t\t\t\t\t\tSimpleIterator<Object> i = new SimpleIterator<Object>(reference);\n\t\t\t\t\t\twhile (i.hasNext()) {\n\t\t\t\t\t\t\tif (creator.setValue(oldValue, prop, i.next(), SendableEntityCreator.REMOVE) == false) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcreator.setValue(oldValue, prop, reference, SendableEntityCreator.REMOVE);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (key != null) {\n\t\t\tthis.keyValue.without(key);\n\n\t\t\tif (this.updateListener != null) {\n\t\t\t\tJsonObject remJson = new JsonObject();\n\n\t\t\t\tJsonObject json = new JsonObject();\n\t\t\t\tjson.put(ID, key);\n\t\t\t\tjson.put(CLASS, oldValue.getClass().getName());\n\t\t\t\tjson.put(SendableEntityCreator.REMOVE, remJson);\n\t\t\t\tSimpleEvent simpleEvent = new SimpleEvent(SendableEntityCreator.REMOVE, json, this,\n\t\t\t\t\t\tSendableEntityCreator.REMOVE_YOU, oldValue, null);\n\t\t\t\tthis.updateListener.update(simpleEvent);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "void deleteEvent(String actorId, String objectId, Date eventTime);", "public void componentRemoved(GPaintable object);", "public abstract void remove(Class<?> entity, Object paramObject);", "public void serviceRemoved(ServiceEvent event) {\n\t\t\tLog.e(\"z\", \"removed serivce: \" + event);\n\t\t}", "public RootDataGroupRemovedEvent(DataGroupInfo removedRoot, AbstractDataGroupInfoChangeEvent originEvent, Object source)\r\n {\r\n super(removedRoot, originEvent, source);\r\n }", "public void deleteObject() {\n\n\t}", "public void removeObject( SharedObjectInterface sharedObject ) {\n SharedEntry key = new SharedEntry( sharedObject.getClass().getName(), sharedObject.getName() );\n objectsMap.remove( key );\n }", "public static ApproxsimEvent getObjectAdded(Object source,\n ApproxsimObject added, Object initiator) {\n return new ApproxsimEvent(source, OBJECTADDED, initiator, added);\n }", "public abstract CalendarEvent removeEvent(User user, String id);", "public void remove(MovieClass newMovieObject)\n {\n movieArrayList.remove(newMovieObject);\n }", "public void objectRenamed(NamingEvent evt) throws RemoteException;", "@Override\n\tpublic void delObserver(ObserverListener ob) {\n\t\tvector.remove(ob);\n\t}", "public boolean remove(Object obj);", "public void onRemoveRequest(CustomerRequest request);", "@Override\r\n\tpublic void delete(ObjectWithId objectToDelete) {\n\r\n\t}", "public void gxlElementRemoved(GXLTreeModificationEvent e) {\n\t}", "@Override\n\tpublic void elementRemoved(int anIndex, Object aNewValue) {\n\t\tListEditObserved.newCase(OperationName.DELETE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t\tdisplayOutput();\n\t\tListEditDisplayed.newCase(OperationName.DELETE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t}", "public void tagDeleted(TagEvent event) {\n deletedEvent = event;\n }", "public void removeEvent(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(EVENT$0, i);\n }\n }", "@Override\r\n\tpublic void removeObserver(Observer o) {\n\t\tobservers.remove(o);\r\n\t}", "@Override\n public void removeObserver(Observer o) {\n list.remove(o);\n }", "@Override\r\n\tpublic void beforeBeanRemoved(ControllerEvent event) throws ControllerListenerException {\r\n\t\tIncome income = (Income)event.getController().getTo();\r\n\t\ttry {\r\n\t\t\tIManagerBean incomeDetailBean = BeanManager.getManagerBean(IncomeDetail.class);\r\n\t\t\tIManagerBean salesPurchaseBean = BeanManager.getManagerBean(SalesPurchase.class);\r\n\t\t\tCriteria criteria = new Criteria();\r\n\t\t\tcriteria.addEqualExpression(incomeDetailBean.getFieldName(IWarehouseAlias.INCOME_DETAIL_INCOME_ID), income.getId());\r\n\t\t\tIterator iter = incomeDetailBean.getList(criteria).iterator();\r\n\t\t\tcriteria = new Criteria();\r\n\t\t\tif(iter.hasNext()){\r\n\t\t\t\twhile(iter.hasNext()){\r\n\t\t\t\t\tIncomeDetail incomeDetail = (IncomeDetail)iter.next();\r\n\t\t\t\t\tcriteria.addOrExpression(salesPurchaseBean.getFieldName(ISalesPurchaseAlias.SALES_PURCHASE_PURCHASE_DETAIL_ID), incomeDetail.getPurchaseDetail().getId().toString());\r\n\t\t\t\t}\r\n\t\t\t\tif(salesPurchaseBean.getCount(criteria)>0){\r\n\t\t\t\t\tthrow new ControllerListenerException(\"IncomeDetail linked with a Delivery\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (ManagerBeanException e) {\r\n\t\t\tLOGGER.log(Level.SEVERE, \"Error before remove Income with id=\" + income.getId(), e);\r\n\t\t} catch (ExpressionException e) {\r\n\t\t\tLOGGER.log(Level.SEVERE, \"Error before remove Income with id=\" + income.getId(), e);\r\n\t\t}\r\n\t}", "protected void elementRemoved(MutationEvent evt) throws MelodyException {\r\n\t\tsuper.elementRemoved(evt);\r\n\t\t// the removed node\r\n\t\tElement t = (Element) evt.getTarget();\r\n\t\tDUNID tdunid = DUNIDDocHelper.getDUNID(t);\r\n\t\t// its parent node\r\n\t\tElement p = (Element) t.getParentNode();\r\n\t\tDUNID pdunid = DUNIDDocHelper.getDUNID(p);\r\n\t\t// Modify the DUNIDDoc\r\n\t\tDocument d = getOwnerDUNIDDoc(p).getDocument();\r\n\t\tElement tori = DUNIDDocHelper.getElement(d, tdunid);\r\n\t\tDUNIDDocHelper.getElement(d, pdunid).removeChild(tori);\r\n\t\t// Modify the targets descriptor\r\n\t\tif (!areTargetsFiltersDefined()) {\r\n\t\t\t/*\r\n\t\t\t * If there is no targets filters defined, there's no need to modify\r\n\t\t\t * the targets descriptor.\r\n\t\t\t */\r\n\t\t\treturn;\r\n\t\t}\r\n\t\td = getTargetsDescriptor().getDocument();\r\n\t\ttori = DUNIDDocHelper.getElement(d, tdunid);\r\n\t\tif (tori != null) { // removed node is in the targets descriptor\r\n\t\t\tDUNIDDocHelper.getElement(d, pdunid).removeChild(tori);\r\n\t\t}\r\n\t}", "@Override\n\t\t\tpublic void messagesRemoved(MessageCountEvent arg0) {\n\t\t\t}", "@Override\n\tpublic void onRemove() {\n\n\t}", "@Override\r\n public void remove(IMObject object) {\r\n cache.remove(object);\r\n }", "@Override\r\n public void userRemovedOnServer(User user) throws RemoteException, SQLException\r\n {\r\n property.firePropertyChange(\"userRemoved\", null, user);\r\n }", "void remover(Object o);", "protected void bodyRemoved (ClusterRecord clrec, BodyObject body)\n {\n }", "public abstract void onRemoveAction();", "@Override\n public Event delete(Ec2LaunchConfiguration oldResource) {\n return null;\n }", "@Override\n\tpublic int delete(Object object) {\n\t\treturn 0;\n\t}", "void deleteEvent(ReadOnlyEvent target) throws EventNotFoundException;", "public void entryRemoved(EntryEvent<Identifier, SystemMetadata> event) {\n // we don't remove replicas (do we?)\n\n }", "@Override\n\tpublic void attributeRemoved(ServletContextAttributeEvent evento_atributo) {\n\t\t// CONTROL DEL NOMBRE DEL ATRIBUTO\n\t\tString nombre_atributo = evento_atributo.getName();\n\t\tif (this.seguir_Proceso(nombre_atributo)) {\n\t\t\tObject valor = evento_atributo.getValue();\n\t\t\tString valor_texto = this.coger_Valor(valor);\n\t\t\tString tipo = null;\n\t\t\ttipo = valor.getClass().getSimpleName();\n\t\t\tregistro(\"*** Eliminado el atributo de aplicacion del tipo \" + tipo\t+ \" nombre: \" + nombre_atributo + \" valor: \" + valor_texto);\n\t\t}\n\t}", "public void remove(DBObject dbObjectQuery);", "public void remove(AudioFile object) {\n if (mOriginalValues != null) {\n synchronized (mLock) {\n mOriginalValues.remove(object);\n }\n } else {\n mObjects.remove(object);\n }\n if (mNotifyOnChange) notifyDataSetChanged();\n }", "public void removeObjectTemperatureListener(ObjectTemperatureListener listener) {\n\t\tlistenerObjectTemperature.remove(listener);\n\t}", "public void removeArtifact() {\r\n \t\tRationaleUpdateEvent l_updateEvent = m_eventGenerator.MakeUpdated();\r\n \t\tl_updateEvent.setTag(\"artifacts\");\r\n \t\tm_eventGenerator.Broadcast(l_updateEvent);\r\n \t}", "public void unregister(Observer deleteObserver) {\n\r\n int observerIndex = observers.indexOf(deleteObserver);\r\n\r\n // Print out message (Have to increment index to match)\r\n\r\n System.out.println(\"Observer \" + (observerIndex + 1) + \" deleted\");\r\n\r\n // Removes observer from the ArrayList\r\n\r\n observers.remove(observerIndex);\r\n\r\n }", "@Override\r\n\tpublic void excluir(Evento evento) {\n\t\trepository.delete(evento);\r\n\t}", "@Override\r\n\tpublic void removeObserver(BeatObserver o) {\n\r\n\t}", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "public void deleteObject(final JsiiObjectRef objRef) {\n ObjectNode req = makeRequest(\"del\", objRef);\n this.runtime.requestResponse(req);\n }", "public void unregister(Observer obj);", "public void removeObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\treturn;\n\t\tlistenerList.remove(listener);\n\t\tif (listenerList.size()==0) listenerList = null;\n\t}", "public void removeObjectChangeListener(ObjectChangeListener listener)\n\t{\n\t\tif (listenerList == null)\treturn;\n\t\tlistenerList.remove(listener);\n\t\tif (listenerList.size()==0) listenerList = null;\n\t}", "public void deleteAddObserver(Observer o) {\n\t\t\tthis.addNotifier.deleteObserver(o);\n\t\t}", "@Override\r\n\tpublic void remove(Observer o) {\n\t\tif(observerList.contains(o)){\r\n\t\t\tobserverList.remove(o);\r\n\t\t}\r\n\t}", "@Override\n\tpublic void remove(Object entity) {\n\t\t\n\t}" ]
[ "0.7443649", "0.6483484", "0.61346287", "0.6053386", "0.60304207", "0.5958884", "0.5893887", "0.5829494", "0.579258", "0.57027906", "0.5686777", "0.5670358", "0.5662804", "0.563984", "0.56025904", "0.55956125", "0.55945545", "0.5585122", "0.5581375", "0.557579", "0.55670965", "0.5540779", "0.553735", "0.5502675", "0.54857755", "0.5460107", "0.5422655", "0.5392247", "0.5391418", "0.53822356", "0.5374623", "0.53682816", "0.53657424", "0.53246313", "0.5321184", "0.53082496", "0.53000516", "0.52938664", "0.52871156", "0.52762955", "0.5274165", "0.52635896", "0.5260083", "0.52404714", "0.52363414", "0.52357453", "0.52240914", "0.5222244", "0.5219548", "0.52012265", "0.5185834", "0.5183582", "0.51818097", "0.517884", "0.5155462", "0.51484674", "0.5144622", "0.5143484", "0.5137591", "0.51338667", "0.5108212", "0.5102562", "0.5057256", "0.505441", "0.5049683", "0.50450677", "0.5043208", "0.5041305", "0.50363266", "0.50349593", "0.5034642", "0.5018494", "0.5014425", "0.5009202", "0.50002486", "0.49995732", "0.49949288", "0.49887478", "0.49852613", "0.49794838", "0.49660745", "0.49639723", "0.49606332", "0.4959583", "0.49535626", "0.4944989", "0.4930261", "0.49277386", "0.49195793", "0.49191484", "0.49169707", "0.49163744", "0.49056244", "0.4905522", "0.49031648", "0.49004534", "0.49004534", "0.49003282", "0.48930547", "0.48840544" ]
0.63060266
2
Checks if this is an ObjectRemoved event.
public boolean isRemoved() { return REMOVED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void objectRemoved(NamingEvent evt) throws RemoteException;", "private boolean isRemoved() {\r\n\t\t\treturn removed;\r\n\t\t}", "public boolean removeListener(final Object object) {\n boolean removed = false;\n for (final Class<?> listenerType : listenerTypes) {\n if (listenerType.isInstance(object)) {\n try {\n removeMethods.get(listenerType).invoke(scene.getComponent(), object);\n removed = true;\n } catch (final IllegalAccessException | InvocationTargetException | RuntimeException ex) {\n if (scene.getExtended().getSceneBuilder().isVerbose()) {\n logger.log(Level.WARNING, MessageFormat.format(\"{0}: Exception while removing object [{1}] as a listener type [{2}].\",\n scene, object.getClass(), listenerType), ex);\n }\n }\n }\n }\n return removed;\n }", "public boolean isRemoved() {\n return removed;\n }", "protected abstract void checkRemoved();", "boolean toBeRemoved(){\n\t\tif(isCancelled() || getStatus() == 0){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean remove(@NonNull T object) {\n final int location = getLocation(object);\n final boolean removed = data.remove(object);\n notifyItemRemoved(location);\n return removed;\n }", "public boolean removed()\n {\n return this.removed;\n }", "public boolean removeObject(Object object) {\n\t\tif (object == null) {\n\t\t\treturn false;\n\t\t}\n\t\treturn removeObject(object.objectId, object.objectX, object.objectY, object.height);\n\t}", "public void entryRemoved (TudeySceneModel.Entry oentry)\n {\n // nada\n }", "public T caseEntityRemoved(EntityRemoved object) {\n\t\treturn null;\n\t}", "public boolean isTaggedAsRemoved() {\n\t return levelOfRemoval > 0;\n\t}", "public synchronized boolean remove(Object object) {\n return _queue.remove(object);\n }", "public boolean isObjectAdded() {\n return OBJECTADDED.equals(message);\n }", "public boolean remove(Object obj);", "@Override\n\t\tpublic boolean remove(Object o) {\n\t\t\treturn false;\n\t\t}", "public boolean Remove_Object(Objet objet) {\n objet.On_Contenaire_Remove(this);\n return Objets.remove(objet);\n }", "public void managerRemoved(ManagerEvent e);", "public boolean remove(RealObject o);", "public boolean shouldRemove() {\r\n\t\treturn death;\r\n\t}", "public boolean isDestroyed()\n\t\t{\n\t\t\treturn destroyed;\n\t\t}", "public boolean removeObj(Object oldValue, boolean destroy) {\n\t\tString key = getKey(oldValue);\n\t\tif (destroy) {\n\t\t\tSendableEntityCreator creator = getCreatorClass(oldValue);\n\t\t\tif (creator != null) {\n\t\t\t\tString[] props = creator.getProperties();\n\t\t\t\tfor (String prop : props) {\n\t\t\t\t\tObject reference = creator.getValue(oldValue, prop);\n\t\t\t\t\tif (reference instanceof Collection<?>) {\n\t\t\t\t\t\tSimpleIterator<Object> i = new SimpleIterator<Object>(reference);\n\t\t\t\t\t\twhile (i.hasNext()) {\n\t\t\t\t\t\t\tif (creator.setValue(oldValue, prop, i.next(), SendableEntityCreator.REMOVE) == false) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcreator.setValue(oldValue, prop, reference, SendableEntityCreator.REMOVE);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (key != null) {\n\t\t\tthis.keyValue.without(key);\n\n\t\t\tif (this.updateListener != null) {\n\t\t\t\tJsonObject remJson = new JsonObject();\n\n\t\t\t\tJsonObject json = new JsonObject();\n\t\t\t\tjson.put(ID, key);\n\t\t\t\tjson.put(CLASS, oldValue.getClass().getName());\n\t\t\t\tjson.put(SendableEntityCreator.REMOVE, remJson);\n\t\t\t\tSimpleEvent simpleEvent = new SimpleEvent(SendableEntityCreator.REMOVE, json, this,\n\t\t\t\t\t\tSendableEntityCreator.REMOVE_YOU, oldValue, null);\n\t\t\t\tthis.updateListener.update(simpleEvent);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\n public boolean isEntryRemovedInContext(Object key) {\n return true;\n }", "@Override\n\tpublic boolean remove(Object o) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean remove(Object o) {\n\t\treturn false;\n\t}", "public boolean isDestroyed() {\n return hitCounter >= metaObject.getMaxHits();\n }", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "@Override\n public boolean remove(Object o) {\n onAccess.accept(o);\n return delegate.remove(o);\n }", "public void componentRemoved(GPaintable object);", "@Override\n\tpublic void serviceRemoved(ServiceEvent arg0) {\n\n\t}", "public boolean remove(objectType obj);", "@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }", "public void entityRemoved() {}", "public void itemRemoved(E item);", "boolean isDestroyed() {\n return destroyed;\n }", "public boolean isDestroyed(){\n return destroyed;\n }", "boolean hasIsErasing();", "public boolean isDestroyed() {\n\t\treturn isDestroyed;\n\t}", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "boolean isRemove();", "@Test\n\tpublic void testElementRemovedEvent() {\n\t\tfinal DiagramElement e = addRootElementAndResetCounter(1);\n\n\t\t// Test a remove event\n\t\tdiagram.modify(\"Remove Element\", m -> m.removeElement(e));\n\n\t\tassertThat(ml.elementRemovedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.modificationsCompletedEventsReceived, is(equalTo(1)));\n\t\tassertThat(ml.getTotalEventsReceived(), is(equalTo(2)));\n\t}", "public void nodeRemoved(GraphEvent e);", "public boolean isDestroyed(){\n\t\treturn entState == EntState.Destroyed;\n\t}", "boolean isDestroyed();", "boolean isDestroyed();", "public void remove(GObject object);", "public boolean remove(Object o);", "boolean remove(Object obj);", "boolean remove(Object obj);", "public boolean isDestroyed() {\n\t\treturn gone;\n\t}", "public boolean isRemoved(int offset) {\n return this.mRemovedChars != null && this.mRemovedChars.get(offset);\n }", "public boolean isDestroyed();", "@Override\n public boolean remove(Object o) {\n return gameCollection.remove(o);\n }", "public boolean hasObject(){\n return _object != null;\n }", "public void onResourceRemoved(final ResourceEvent resourceEvent);", "public void removed() {\n }", "@Override\n\t\t\tpublic void messagesRemoved(MessageCountEvent arg0) {\n\t\t\t}", "void remove(SpaceInstanceAddedEventListener eventListener);", "public boolean removeSingleEvent(JSONObject jSONObject) {\n try {\n String string = jSONObject.getString(\"title\");\n String string2 = jSONObject.getString(Message.START_DATE);\n String string3 = jSONObject.getString(Message.END_DATE);\n Calendar instance = Calendar.getInstance();\n instance.setTime(DateUtils.parseDate(string2));\n Calendar instance2 = Calendar.getInstance();\n instance2.setTime(DateUtils.parseDate(string3));\n return CalendarManager.delEvent(this.mWXSDKInstance.getContext(), string, instance, instance2);\n } catch (Exception e) {\n WXLogUtils.e(TAG, (Throwable) e);\n return false;\n }\n }", "public boolean isOKToRemove(){\n return ( this == Acked || this == Expired || this == DLCMessage);\n }", "@Override\r\n\tpublic void deleteObjectListener(ActionEvent e) {\n\t\t\r\n\t}", "public boolean remove(Object o) {\n\t\treturn map.remove(o) == PRESENT;\n\t}", "public void handlerRemoved(CEventListener aoHandler) {\n\t}", "public void itemRemoved(boolean wasSelected);", "public void checkForRemoval()\n {\n if (life <= 0)\n {\n SideScrollingWorld world = (SideScrollingWorld) getWorld(); \n \n world.isPacmanDead = true;\n getWorld().removeObject(this);\n }\n }", "public void notifyRemoved(@NotNull final Object object) {\n getAppStates().forEach(object, SceneAppState::notifyRemoved);\n }", "public void gxlElementRemoved(GXLTreeModificationEvent e) {\n\t}", "public boolean remove(E e){\n int target = e.hashCode() % this.buckets;\n return this.data[target].remove(e) == null;\n }", "@Override\r\n\t\t\t\t\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public void onChildRemoved(DataSnapshot arg0) {\n\n\t\t}", "public void serviceRemoved(ServiceEvent event) {\n\t\t\tLog.e(\"z\", \"removed serivce: \" + event);\n\t\t}", "@Override\r\n public boolean remove(Object obj) {\r\n throw new UnsupportedOperationException(UNSUPPORTED);\r\n }", "public boolean canBeRemovedFromCache() {\n\t\treturn !hasUnsavedChanges();\n\t}", "private boolean remove() {\r\n\t\t\treturn removed = true;\r\n\t\t}", "public T caseAttributeRemoved(AttributeRemoved object) {\n\t\treturn null;\n\t}", "public boolean destroyed() {\r\n\t\treturn destroyed;\r\n\t}", "public boolean removeListener(ModifiedEventListener listener) {\n\t\treturn listeners.remove(listener);\n\t}", "public abstract boolean remove(E e);", "private void removeObject() {\n\t\tif(this.curr_obj != null) {\n this.canvas.uRemove(this.curr_obj);\n\t\t\tthis.canvas.remove(this.transformPoints);\n this.transformPoints.clear();\n\n this.curr_obj = null;\n }\n\t}", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "public void removeObject(java.lang.Object object) {}", "public T caseRelationRemoved(RelationRemoved object) {\n\t\treturn null;\n\t}", "public boolean remove(New object);", "public RootDataGroupRemovedEvent(DataGroupInfo removedRoot, AbstractDataGroupInfoChangeEvent originEvent, Object source)\r\n {\r\n super(removedRoot, originEvent, source);\r\n }", "public boolean isDestroyed(){\n\t\treturn System.currentTimeMillis() > creationTime + this.visibleTime ;\n\t}", "public void entryRemoved(EntryEvent<Identifier, SystemMetadata> event) {\n // we don't remove replicas (do we?)\n\n }", "@Override\n public void onItemRemoved(Object toRemove) {\n if(toRemove instanceof SpotifyItem)\n return;\n\n //Reflect the change in the list of DrinkInfo objects\n DrinkInfo item = (DrinkInfo)toRemove;\n mDrinkInfos.remove(item);\n mDrinkQueueAdapter.notifyDataSetChanged();\n Log.d(TAG, \"Removed: \" + item.getDrinkName());\n\n //Notify the activity if the dequeued drink was the current user's\n if(mActivity != null && item.getCustomerName().equals(mUserFullName))\n mActivity.onDrinkFinished(item);\n }", "public abstract boolean isDestroyed();", "public boolean remove(Object o) {\r\n return this.map.remove(o.hashCode()) != null;\r\n }", "public boolean isDestroyed() {\n return currentState == State.FINISHED;\n }", "public abstract void onRemove();", "public boolean onCallRemoved(Call call) {\n if (this.mRemote == null) {\n HiLog.error(LOG_LABEL, \"onCallRemoved fail, no remote.\", new Object[0]);\n return false;\n }\n boolean z = true;\n if (call != null) {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(DistributedCallUtils.DISTRIBUTED_CALL_ABILITY_DESCRIPTOR);\n this.mRemote.transact(3, CallSerializationUtils.writeCallToParcel(obtain, call, getIdByCall(call).intValue()), obtain2, 0);\n try {\n HiLog.info(LOG_LABEL, \"onCallRemoved: %{public}s.\", new Object[]{call.toString()});\n } catch (RemoteException unused) {\n }\n } catch (RemoteException unused2) {\n z = false;\n try {\n HiLog.error(LOG_LABEL, \"onCallRemoved got RemoteException.\", new Object[0]);\n obtain2.recycle();\n obtain.recycle();\n removeCallFromCallMap(call);\n releaseResource();\n return z;\n } catch (Throwable th) {\n obtain2.recycle();\n obtain.recycle();\n throw th;\n }\n }\n obtain2.recycle();\n obtain.recycle();\n } else {\n z = false;\n }\n removeCallFromCallMap(call);\n releaseResource();\n return z;\n }", "boolean remove(Object o);", "public boolean isDestroyed( NodeKey key );", "public boolean isRemovalDeferred() {\n return this.mDeferredRemoval;\n }", "private void notifyObjectRemoved(int index0, int index1) {\n\t\tlisteners.forEach(l -> l.objectsRemoved(this, index0, index1));\n\t}", "@Override\r\n public boolean remove(E target) {\r\n\r\n if (delete(target) == null) return false;\r\n return true;\r\n }", "public boolean remove (Object obj) {\r\n\t\tboolean result = _list.remove (obj);\r\n\t\tHeapSet.heapify (this);\r\n\t\treturn result;\r\n\t}", "public void checkRelease(){\n\n\t\t//Clear boolean to indicate that the GUIItem is no longer touched\n\t\twhileTouched = false;\n\t\tif (touchObject != null)\n\t\t\tonRelease = true;\n\t}", "@Override // com.android.server.wm.WindowContainer\n public boolean checkCompleteDeferredRemoval() {\n if (super.checkCompleteDeferredRemoval() || !this.mDeferredRemoval) {\n return true;\n }\n removeImmediately();\n return false;\n }" ]
[ "0.66381013", "0.6616442", "0.6306731", "0.6220685", "0.6162967", "0.6047646", "0.59615386", "0.5941283", "0.58881456", "0.5814777", "0.57756764", "0.5742916", "0.5732079", "0.57064587", "0.5668", "0.5648539", "0.5646531", "0.56201065", "0.55772215", "0.5573995", "0.55581325", "0.55473256", "0.55341226", "0.5526786", "0.5526786", "0.5524775", "0.55148333", "0.5498661", "0.5488291", "0.5481558", "0.5476383", "0.5459017", "0.5458193", "0.5453822", "0.54238087", "0.54077125", "0.5406258", "0.5386472", "0.5384216", "0.53785235", "0.5377331", "0.53658", "0.5357707", "0.535325", "0.535325", "0.53530437", "0.535108", "0.5341214", "0.5341214", "0.53367126", "0.5327515", "0.53256124", "0.532306", "0.53193706", "0.5318731", "0.5316587", "0.5311224", "0.52999353", "0.52974313", "0.529698", "0.52929014", "0.5266549", "0.5263425", "0.5257545", "0.5250997", "0.52488613", "0.5245433", "0.52452624", "0.5213109", "0.52078724", "0.5203888", "0.5192685", "0.51830757", "0.5179284", "0.51789933", "0.51768845", "0.51676714", "0.5167292", "0.515735", "0.5152092", "0.5148984", "0.5147092", "0.5144953", "0.5143932", "0.5140213", "0.5137447", "0.5134", "0.51336706", "0.51315224", "0.5121759", "0.51150584", "0.51017153", "0.5099967", "0.5099646", "0.5092545", "0.5088437", "0.50848883", "0.5082291", "0.50797284", "0.5077388" ]
0.63041216
3
Creates a new replaced event. This type of event is triggered by a ApproxsimObject when it is replaced by another object.
public static ApproxsimEvent getReplaced(Object source, Object initiator, ApproxsimObject newObject) { return new ApproxsimEvent(source, REPLACED, initiator, newObject); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SubstituteEvent(Entity substituted) {\n super(EventType.SUBSTITUTE.getType());\n }", "public void objectRenamed(NamingEvent evt) throws RemoteException;", "@ReceiveEvent\r\n public void onReplaceEntityEvent(ReplaceEntityEvent event, EntityRef entity, ScenarioComponent component) {\r\n EntityRef owningTrigger = event.getReplaced().getOwner();\r\n if (event.getReplaced().hasComponent(ActionComponent.class)) {\r\n TriggerActionListComponent actions = owningTrigger.getComponent(TriggerActionListComponent.class);\r\n event.getReplacer().setOwner(owningTrigger);\r\n int index = actions.actions.indexOf(event.getReplaced());\r\n actions.actions.remove(event.getReplaced());\r\n actions.actions.add(index, event.getReplacer());\r\n owningTrigger.saveComponent(actions);\r\n entity.saveComponent(component);\r\n }\r\n else if (event.getReplaced().hasComponent(EventComponent.class)) {\r\n TriggerEventListComponent events = owningTrigger.getComponent(TriggerEventListComponent.class);\r\n event.getReplacer().setOwner(owningTrigger);\r\n int index = events.events.indexOf(event.getReplaced());\r\n events.events.remove(event.getReplaced());\r\n events.events.add(index, event.getReplacer());\r\n owningTrigger.saveComponent(events);\r\n entity.saveComponent(component);\r\n }\r\n else if (event.getReplaced().hasComponent(ConditionalComponent.class)) {\r\n TriggerConditionListComponent conds = owningTrigger.getComponent(TriggerConditionListComponent.class);\r\n event.getReplacer().setOwner(owningTrigger);\r\n int index = conds.conditions.indexOf(event.getReplaced());\r\n conds.conditions.remove(event.getReplaced());\r\n conds.conditions.add(index, event.getReplacer());\r\n owningTrigger.saveComponent(conds);\r\n entity.saveComponent(component);\r\n }\r\n\r\n\r\n if (event.getHubtool() != null) {\r\n event.getHubtool().updateTree(entity);\r\n }\r\n }", "public void objectChanged(NamingEvent evt) throws RemoteException;", "public void replaceWith(Object newObject) throws NoSuchFieldException, IllegalStateException, IllegalAccessException {\n assertTargetNotNull();\n var targetField = targetInstance.getClass().getDeclaredField(targetName);\n var targetFieldOffset = unsafe.objectFieldOffset(targetField);\n unsafe.putObject(targetInstance, targetFieldOffset, newObject);\n\n // Assert that we actually have it done correctly.\n targetField.setAccessible(true);\n var newFieldObject = targetField.get(targetInstance);\n\n if(Objects.isNull(newObject)) {\n if(!Objects.isNull(newFieldObject))\n throw new PvtFieldMutationException(\"null\");\n return;\n }\n\n if (!newFieldObject.getClass().getCanonicalName().equals(newObject.getClass().getCanonicalName()))\n throw new PvtFieldMutationException(newObject.getClass());\n }", "@Override\n\tpublic void elementReplaced(int anIndex, Object aNewValue) {\n\t\tListEditObserved.newCase(OperationName.REPLACE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t\tdisplayOutput();\n\t\tListEditDisplayed.newCase(OperationName.REPLACE, anIndex, aNewValue,\n\t\t\t\tApplicationTags.EDITOR, this);\n\t}", "public void replaceEvent(EventSource event, EventSource replacement) {\n // Create a deep-copy of the replacement.\n this.eventList.replace(event, new EventSource(replacement));\n notifyEventListListeners();\n }", "private JCMethodDecl makeOnReplaceChangeListenerMethod(DiagnosticPosition diagPos,\n JFXOnReplace onReplace,\n Type attributeType) {\n List<JCVariableDecl> onChangeArgs = List.<JCVariableDecl>nil()\n .append(make.VarDef(make.Modifiers(0L), onChangeArgName1, toJava.makeTypeTree(attributeType, diagPos), null))\n .append(make.VarDef(make.Modifiers(0L), onChangeArgName2, toJava.makeTypeTree(attributeType, diagPos), null));\n ListBuffer<JCStatement> setUpStmts = ListBuffer.lb();\n if (onReplace != null && onReplace.getOldValue() != null) {\n // Create the variable for the old value, using the specified name\n JFXVar oldValue = onReplace.getOldValue();\n VarMorphInfo vmi = typeMorpher.varMorphInfo(oldValue.sym);\n \n setUpStmts.append( \n make.at(diagPos).VarDef(\n make.Modifiers(0L), \n oldValue.getName(), \n toJava.makeTypeTree(vmi.getRealType(), diagPos, types.isJFXClass(vmi.getRealType().tsym)),\n make.Identifier(onChangeArgName1)));\n }\n if (onReplace != null && onReplace.getNewElements() != null) {\n // Create the variable for the new value, using the specified name\n JFXVar newValue = onReplace.getNewElements();\n VarMorphInfo vmi = typeMorpher.varMorphInfo(newValue.sym);\n \n setUpStmts.append( \n make.at(diagPos).VarDef(\n make.Modifiers(0L), \n newValue.getName(), \n toJava.makeTypeTree(vmi.getRealType(), diagPos, types.isJFXClass(vmi.getRealType().tsym)),\n make.Identifier(onChangeArgName2)));\n }\n return makeChangeListenerMethod(diagPos, onReplace, setUpStmts, \"onChange\", onChangeArgs, TypeTags.VOID);\n }", "public BackpackChanged(List<ItemAdded> addedEvents, List<ItemRemoved> removedEvents,\n List<ItemMoved> movedEvents, List<ItemChanged> replacedEvents) {\n this.addedEvents = addedEvents;\n this.removedEvents = removedEvents;\n this.movedEvents = movedEvents;\n this.replacedEvents = replacedEvents;\n }", "public final void replace(final Object oldObject, final Object newObject)\n {\n synchronized (this.stack)\n {\n for (int i = 0; i < this.pointer; i++)\n {\n if (this.stack[i] != null)\n {\n if (this.stack[i].equals(oldObject))\n {\n this.stack[i] = newObject;\n }\n }\n }\n }\n }", "@Override\n\tpublic void attributeReplaced(ServletContextAttributeEvent evento_atributo) {\n\t\t// CONTROL DEL NOMBRE DEL ATRIBUTO\n\t\tString nombre_atributo = evento_atributo.getName();\n\t\tif (this.seguir_Proceso(nombre_atributo)) {\n\t\t\tObject valor = evento_atributo.getValue();\n\t\t\tString valor_texto = this.coger_Valor(valor);\n\t\t\tString tipo = null;\n\t\t\ttipo = valor.getClass().getSimpleName();\n\t\t\tregistro(\"*** Modificado el atributo de aplicacion del tipo \" + tipo + \" nombre: \" + nombre_atributo + \" valor modificado: \" + valor_texto);\n\t\t}\n\t}", "void recreated(TwoWayEvent.Recreated<DM, UMD, DMD> evt);", "private UIEvent generateModifyEvent(){\n List<DataAttribut> dataAttributeList = new ArrayList<>();\n for(int i = 0; i< attributModel.size(); i++){\n String attribut = attributModel.elementAt(i);\n dataAttributeList.add(new DataAttribut(attribut));\n }\n //Erstellen des geänderten Produktdatums und des Events\n DataProduktDatum proposal = new DataProduktDatum(name.getText(), new DataId(id.getText()), dataAttributeList, verweise.getText());\n UIModifyProduktDatumEvent modifyEvent = new UIModifyProduktDatumEvent(dataId, proposal);\n return modifyEvent;\n }", "public ExtendedDocumentEvent(ITextDocument doc, int offset, int length, String text, String replacedText) {\r\n\t\tsuper(doc,offset,length,text);\r\n\t\tthis.replacedText = replacedText;\r\n\t}", "public String onPlaceholderReplace(PlaceholderReplaceEvent event);", "@Override\n\tpublic void replaceAt(int index, int e) {\n\t\t\n\t}", "@Request(id = 24, retryable = false, response = ResponseMessageConst.DATA)\n Object replace(String name, Data key, @Nullable Data oldValue, Data newValue, @Nullable Data expiryPolicy, int completionId);", "public void onOverwrite();", "int editHabitEvent(HabitEvent oldHabitEvent, HabitEvent newHabitEvent);", "public PlayerRenameWarpEvent(Player player, Warp warp, String newName) {\n super(player, warp);\n this.oldName = warp.getName();\n this.newName = newName;\n }", "void init(Object theSource, int type, int posn, Object oldObject,\r\n\t\t\tObject newObject, int theNewSize, Object theOtherSource) {\n\t\tif (validType(type)) {\r\n\t\t\teventType = type;\r\n\t\t\toldValue = oldObject;\r\n\t\t\tnewValue = newObject;\r\n\t\t\tposition = posn;\r\n\t\t\tnewSize = theNewSize;\r\n\t\t\tsource = theSource;\r\n\t\t\totherSource = theOtherSource;\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"E*** Unknown Event Type \" + eventType);\r\n\t\t\teventType = UndefEvent;\r\n\r\n\t\t}\r\n\t}", "private void apply(ShipArrived event) {\n }", "@Override\n protected Object replaceObject(Object obj) throws IOException{\n\treturn d.defaultReplaceObject(obj);\n }", "public static ApproxsimEvent getIdentifierChanged(Object source,\n String oldIdentifier) {\n return new ApproxsimEvent(source, IDENTIFIERCHANGED, null, oldIdentifier);\n }", "void replacePojo(Object pojo);", "@ReceiveEvent\r\n public void onReplaceEntityWithPrefabEvent(ReplaceEntityFromConstructionStringsEvent event, EntityRef entity, ScenarioHubToolUpdateComponent component) {\r\n ConvertIntoEntityEvent conversionEvent = new ConvertIntoEntityEvent(event.getConversions());\r\n entity.send(conversionEvent);\r\n EntityRef newEntity = conversionEvent.getReturnEntity();\r\n EntityRef owningTrigger = event.getReplaced().getOwner();\r\n if (event.getReplaced().hasComponent(ScenarioIndicatorActionComponent.class)) {\r\n TriggerActionListComponent actions = owningTrigger.getComponent(TriggerActionListComponent.class);\r\n newEntity.setOwner(owningTrigger);\r\n int index = actions.actions.indexOf(event.getReplaced());\r\n actions.actions.remove(event.getReplaced());\r\n actions.actions.add(index, newEntity);\r\n owningTrigger.saveComponent(actions);\r\n scenarioEntity.saveComponent(scenarioEntity.getComponent(ScenarioComponent.class));\r\n }\r\n else if (event.getReplaced().hasComponent(ScenarioIndicatorEventComponent.class)) {\r\n TriggerEventListComponent events = owningTrigger.getComponent(TriggerEventListComponent.class);\r\n newEntity.setOwner(owningTrigger);\r\n int index = events.events.indexOf(event.getReplaced());\r\n events.events.remove(event.getReplaced());\r\n events.events.add(index, newEntity);\r\n owningTrigger.saveComponent(events);\r\n scenarioEntity.saveComponent(scenarioEntity.getComponent(ScenarioComponent.class));\r\n }\r\n else if (event.getReplaced().hasComponent(ScenarioIndicatorConditionalComponent.class)) {\r\n TriggerConditionListComponent conds = owningTrigger.getComponent(TriggerConditionListComponent.class);\r\n newEntity.setOwner(owningTrigger);\r\n int index = conds.conditions.indexOf(event.getReplaced());\r\n conds.conditions.remove(event.getReplaced());\r\n conds.conditions.add(index, newEntity);\r\n owningTrigger.saveComponent(conds);\r\n scenarioEntity.saveComponent(scenarioEntity.getComponent(ScenarioComponent.class));\r\n }\r\n\r\n event.getReplaced().destroy();\r\n\r\n for (EntityRef e : entityManager.getEntitiesWith(ScenarioHubToolUpdateComponent.class)) {\r\n e.send(new HubtoolRewriteLogicEvent());\r\n }\r\n\r\n }", "protected void onConfirmation(int confirmationId, Object anObject) {\r\n\r\n\t}", "public void objectAdded(NamingEvent evt) throws RemoteException;", "void onNewEvent(Event event);", "public void change(GeometricalObject object);", "@Override\r\n protected void updateObject(SimpleBody object, Entity e) {\n }", "@Override\r\n protected void updateObject(SimpleBody object, Entity e) {\n }", "@Override\n\tpublic void attributeReplaced(HttpSessionBindingEvent arg0) {\n\t\t\n\t}", "protected JPAEntityUpdateEvent(T entity, Map<String, Object> newValues) {\n\t\tsuper(entity);\n\t\tthis.newValues = newValues;\n\t}", "@Override\r\n\tpublic void alterar(Evento evento) {\n\t\trepository.save(evento);\r\n\t}", "public void objectChanged(ObjectChangeEvent e) {\n\t\tString key = e.getAttributeName();\n\t\tStructure s = (Structure) attributes.get(key);\n\t\tif (s!=null) {\n\t\t\tStructure change = (Structure) changedAttributes.get(key);\n\t\t\tif(change==null) {\n\t\t\t\tchange = new Structure();\n\t\t\t\tchange.setAttributeValue(ATTRIBUTE_NAME_, s.getAttributeValue(ATTRIBUTE_NAME_, null));\n\t\t\t}\n\t\t\tchange.setAttributeValue(ATTRIBUTE_VALUE_, e.getChangedObject());\n\t\t\tchangedAttributes.put(key, change);\n\t\t\tTrace.send(Trace.ALL_LEVELS, traceKey, i18n, \"AttributeValueChanged\", key, e.getChangedObject(), changedAttributes);\n\t\t\t \n\t\t}\n\t}", "@Override\n public void onViewDragged(int oldPosition, int newPosition) {\n EventTask tempEventTask = new EventTask(eventTasks.get(oldPosition));\n eventTasks.remove(oldPosition);\n eventTasks.add(newPosition, tempEventTask);\n notifyItemMoved(oldPosition, newPosition);\n }", "@Override\r\n\tpublic void insertObjectListener(ActionEvent e) {\n\t\t\r\n\t}", "@Override\n public void update(Observable o, Object arg) {\n if (arg instanceof CrewEffectChangeObserverEvent) {\n CrewEffectChangeObserverEvent event = (CrewEffectChangeObserverEvent)arg;\n CrewMember crewMember = (CrewMember)o;\n \n if (event.wasAdded()) {\n switch (event.getEffect()) {\n case PLAGUED:\n break;\n case DEAD:\n new EventPopupWindow(String.format(\"%s is now %s\", \n crewMember.getName(),\n event.getEffect().name()), \n \"This is unfortunate.\");\n break;\n default:\n new EventPopupWindow(String.format(\"%s is now %s\", \n crewMember.getName(), \n event.getEffect().name()));\n }\n \n }\n \n if (event.wasRemoved()) {\n new EventPopupWindow(String.format(\"%s is no longer %s\", \n crewMember.getName(), \n event.getEffect().name()));\n }\n }\n }", "public static void sendCreateEvent(TransactionalEditingDomain domain, EObject eObject) {\n\n\t\tNotification createNotification = new ENotificationImpl(\n\t\t\t(InternalEObject) eObject, EventTypes.CREATE,\n\t\t\t(EStructuralFeature) null, (Object) null, (Object) null, -1);\n\t\t\n\t\teObject.eNotify(createNotification);\n\t}", "public void invokeReplaceHandlers()\n\t{\n\t\tfor( Property<?> property : new HashSet<>( handler.replaceHandlers.keySet() ) )\n\t\t\thandler.handleEvent( new PropertyEvent( property.getOwner(), property, PropertyEvent.Event.VALUE, null ) );\n\t}", "public void setReplacedMovie(String replacedMovie) {\n this.replacedMovie = replacedMovie;\n }", "public void addObject(ObjectNode on) throws MismatchException, ChangeNotAllowedException {\r\n FactType ft = getFactType(on.getTypeName());\r\n if (ft == null) {\r\n throw new RuntimeException(\"objecttype \" + on.getTypeName() + \" is unknown at objectmodel\");\r\n }\r\n if (!ft.isObjectType()) {\r\n throw new RuntimeException(\"adding object at facttype \"\r\n + ft.getName() + \" which isn't an objecttype\");\r\n }\r\n ft.addFact(on);\r\n\r\n }", "protected MapEvent instantiateMapEvent(\n int nId, Object oKey, Object oValueOld, Object oValueNew)\n {\n return new MapEvent(this, nId, oKey, oValueOld, oValueNew);\n }", "public abstract E replace(Position<E> p, E e);", "void onIssueEditedEvent(T event);", "public T caseEntityRenamed(EntityRenamed object) {\n\t\treturn null;\n\t}", "public void setReplaceElementHook(ValueExpression replaceElement) {\n this.replaceElement = replaceElement;\n }", "public void setOriginalObject(Object originalObject) {\n this.originalObject = originalObject;\n }", "public ConfigurationChangeEvent(Object source, int changeType, long seqno, MarshalledObject key, String component, String entry, String newValue, String reconstitutedConfig) {\r\n super(source, ID, seqno, key);\r\n this.changeType = changeType;\r\n this.component = component;\r\n this.entry =entry;\r\n this.newValue = newValue;\r\n this.reconstitutedConfig = reconstitutedConfig;\r\n }", "@Override\n\tpublic void VisitNewObjectNode(NewObjectNode Node) {\n\n\t}", "@Override\n void accept(T inventoryEvent, IView view);", "public static ApproxsimEvent getRegionUpdated(Object source) {\n return new ApproxsimEvent(source, REGIONUPDATED);\n }", "public void registryChange() {\n registryEvent(1);\n }", "com.walgreens.rxit.ch.cda.EIVLEvent addNewEvent();", "@Override\n public void newRevision(Object revisionEntity) {\n }", "@Override\n public boolean replace(Integer key, V value, V expectedValue) throws Exception {\n Async.assertUIThread();\n boolean actionPerformed = expectedValue.equals(MirrorArrayAdapter.this.getItem(key));\n\n if (actionPerformed) {\n MirrorArrayAdapter.this.remove(expectedValue);\n MirrorArrayAdapter.this.insert(value, key);\n // Publish the changes to any downstream mirror. Probably there aren't any\n super.replace(key, value, expectedValue);\n }\n\n return actionPerformed;\n }", "public ArmourEquipEvent(final Player player, final EquipMethod equipType, final ArmourType type, final ItemStack oldArmourPiece, final ItemStack newArmourPiece){\n super(player);\n this.equipType = equipType;\n this.type = type;\n this.oldArmourPiece = oldArmourPiece;\n this.newArmourPiece = newArmourPiece;\n }", "@Override\r\n\tpublic void handleElementModifiedEvent(Notification notification,\r\n\t\t\tEObject element) {\n\t\tsuper.handleElementModifiedEvent(notification, element);\r\n\t}", "@Override\n public void onPersonEdited(int eventId) {\n EventDetailFragment eventDetailFragment = new EventDetailFragment();\n CreatePersonFragment createPersonFrag = new CreatePersonFragment();\n Bundle args = new Bundle();\n args.putInt(\"eventId\", eventId);\n int REQUESTCODE_MEMBER_EDITED = 101;\n args.putInt(getString(R.string.statuscode), REQUESTCODE_MEMBER_EDITED);\n eventDetailFragment.setArguments(args);\n\n // for back button -> we dont want that user can via back button go back to create person view.\n popFragmentFromStack(createPersonFrag);\n\n createTransactionAndReplaceFragment(eventDetailFragment, getString(R.string.frg_tag_event_detail));\n\n }", "RemoteEvent createRemoteEvent();", "public void operationsEventNotification(OperationsEvent oe) throws RemoteException;", "public DescriptorEvent(Object sourceObject) {\n super(sourceObject);\n }", "@Override\n public void notify(String newFileContent) {\n Repository.getRepositoryInstance().updateStockOrders(newFileContent);\n//end of modifiable zone..................E/a170c128-ca49-4fc4-abdd-43b714481007\n }", "public void setNewObject(boolean newObject)\r\n\t{\r\n\t\tthis.newObject = newObject;\r\n\t}", "void clobbered(TwoWayEvent.Clobbered<DM, UMD, DMD> evt);", "public void attributeReplaced(HttpSessionBindingEvent arg0) {\n System.out.println(\"HttpSessionAttributeListener--attributeReplaced--名:\"+arg0.getName()+\"--值:\"+arg0.getValue()); \r\n }", "@Override\n @SuppressWarnings(\"deprecation\")\n public void onReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean isMoving) {\n if (!newState.isIn(state.getBlock())) {\n TileEntity tileEntity = world.getTileEntity(pos);\n if (tileEntity instanceof SandwichAssemblyTableTileEntity) {\n for (ItemStack ingredient : ((SandwichAssemblyTableTileEntity) tileEntity).removeItems()) {\n ItemEntity item = new ItemEntity(world, pos.getX() + 0.5, pos.getY() + 1.2, pos.getZ() + 0.5, ingredient);\n world.addEntity(item);\n }\n\n world.updateComparatorOutputLevel(pos, this);\n }\n super.onReplaced(state, world, pos, newState, isMoving);\n }\n }", "protected void sequence_AT_DEFINE_DefinitionTrigger_TRIGGER(ISerializationContext context, DefinitionTrigger semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "@ClassVersion(\"$Id: NewOrReplaceOrder.java 16752 2013-11-14 02:54:13Z colin $\")\r\npublic interface NewOrReplaceOrder\r\n extends OrderBase, Serializable\r\n{\r\n /**\r\n * Gets the OrderType for the Order.\r\n *\r\n * @return the order type.\r\n */\r\n OrderType getOrderType();\r\n\r\n /**\r\n * Sets the OrderType for the Order.\r\n *\r\n * @param inOrderType the order type.\r\n */\r\n void setOrderType(OrderType inOrderType);\r\n\r\n /**\r\n * Gets the time in force value for the Order. If a value\r\n * is not specified, it defaults to\r\n * {@link org.marketcetera.trade.TimeInForce#Day}.\r\n *\r\n * @return the time in force value.\r\n */\r\n TimeInForce getTimeInForce();\r\n\r\n /**\r\n * Sets the time in force value for the Order.\r\n *\r\n * @param inTimeInForce the time in force value.\r\n */\r\n void setTimeInForce(TimeInForce inTimeInForce);\r\n\r\n /**\r\n * Gets the limit price for this order. A limit price should be\r\n * specified when the OrderType is {@link OrderType#Limit}.\r\n * This value is ignored if the OrderType is not {@link OrderType#Limit}.\r\n *\r\n *\r\n * @return the limit price for the order.\r\n */\r\n BigDecimal getPrice();\r\n\r\n /**\r\n * Sets the limit price for this order. A limit price should be\r\n * specified when the OrderType is {@link OrderType#Limit}.\r\n *\r\n * @param inPrice the limit price for the order.\r\n */\r\n void setPrice(BigDecimal inPrice);\r\n\r\n /**\r\n * Gets the order capacity value for this order.\r\n *\r\n * @return the order capacity value.\r\n */\r\n OrderCapacity getOrderCapacity();\r\n\r\n /**\r\n * Sets the order capacity value for this order.\r\n *\r\n * @param inOrderCapacity the order capacity value\r\n */\r\n void setOrderCapacity(OrderCapacity inOrderCapacity);\r\n\r\n /**\r\n * Gets the position effect for this order.\r\n *\r\n * @return the position effect value.\r\n */\r\n PositionEffect getPositionEffect();\r\n\r\n /**\r\n * Sets the position effect value for this order.\r\n *\r\n * @param inPositionEffect the position effect value.\r\n */\r\n void setPositionEffect(PositionEffect inPositionEffect);\r\n \r\n /**\r\n * Gets the display quantity for the Order.\r\n *\r\n * @return the display quantity.\r\n */\r\n BigDecimal getDisplayQuantity();\r\n\r\n /**\r\n * Sets the display quantity for the Order.\r\n *\r\n * @param inDisplayQuantity the display quantity.\r\n */\r\n void setDisplayQuantity(BigDecimal inDisplayQuantity);\r\n /**\r\n * Gets the broker algo value, if any.\r\n *\r\n * @return a <code>BrokerAlgo</code> value\r\n */\r\n BrokerAlgo getBrokerAlgo();\r\n /**\r\n * Sets the broker algo value.\r\n *\r\n * @param inBrokerAlgo a <code>BrokerAlgo</code> value\r\n */\r\n void setBrokerAlgo(BrokerAlgo inBrokerAlgo);\r\n}", "@Override\n public void updateListAfterEventCreated(String eventName) {\n\n Log.i(TAG, \"New event called \" + eventName);\n\n MainFragment mainFragment = new MainFragment();\n Bundle args = new Bundle();\n args.putString(MainFragment.newEventCode, eventName);\n mainFragment.setArguments(args);\n\n createTransactionAndReplaceFragment(mainFragment, getString(R.string.frg_tag_main));\n }", "public static ApproxsimEvent getChildChanged(Object source,\n Object initiator, ApproxsimObject changed) {\n return new ApproxsimEvent(source, CHILDCHANGED, initiator, changed);\n }", "protected void fireVOIadded(VOI voi) {\r\n\r\n try {\r\n\r\n // only if there are listeners to send events to should we\r\n // bother with creating an event and bothering the event queue.\r\n if (listenerList.getListenerCount(VOIVectorListener.class) == 0) {\r\n return;\r\n }\r\n } catch (NullPointerException npe) {\r\n listenerList = new EventListenerList();\r\n }\r\n\r\n // always create a new Event, since we need to carry\r\n // the changed VOI around.\r\n voiUpdate = new VOIVectorEvent(this, voi);\r\n\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = listenerList.getListenerList();\r\n\r\n // Process the listeners last to first, notifying\r\n // those that are interested in this event\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n\r\n if (listeners[i] == VOIVectorListener.class) {\r\n ((VOIVectorListener) listeners[i + 1]).addedVOI(voiUpdate);\r\n }\r\n }\r\n }", "protected final Object writeReplace() throws ObjectStreamException {\n return replacement;\n }", "@Override\r\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) \r\n\t\t\t\t\t{\n\t\t\t\t\t\tString [] parameters = new String[]{\"name\"};\r\n\t\t\t\t\t\tObject [] values = new Object[]{name.getText()};\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tClientApplet.getController().modifyObject(region, parameters, values);\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tframe.dispose();\r\n\t\t\t\t\t}", "public static ApproxsimEvent getGridUpdated(Object source) {\n return new ApproxsimEvent(source, GRIDUPDATED);\n }", "public T caseEvent_Based(Event_Based object) {\n\t\treturn null;\n\t}", "void onIssueCreatedEvent(T event);", "public static ApproxsimEvent getObjectAdded(Object source,\n ApproxsimObject added, Object initiator) {\n return new ApproxsimEvent(source, OBJECTADDED, initiator, added);\n }", "@Override\n\tpublic void GYR_X_ObjectEvent(Interface.GYR_X_ObjectEvent e, String data) {\n\t\t\n\t}", "protected void sequence_Event(ISerializationContext context, Event semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "public void testMoveFileWithReplace() throws Exception {\n IPackageFragment fragment = getRoot().createPackageFragment(\"org.test\", true, null);\n IPackageFragment otherFragment = getRoot().createPackageFragment(\"org.test1\", true, null);\n IFile file = ((IFolder) fragment.getResource()).getFile(\"x.properties\");\n String content = \"A file with no references\";\n file.create(getStream(content), true, null);\n setReadOnly(file);\n IFile file2 = ((IFolder) otherFragment.getResource()).getFile(\"x.properties\");\n file2.create(getStream(content), true, null);\n setReadOnly(file2);\n IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(new IResource[] { file }, new IJavaElement[] {});\n assertTrue(policy.canEnable());\n JavaMoveProcessor javaMoveProcessor = new JavaMoveProcessor(policy);\n javaMoveProcessor.setDestination(ReorgDestinationFactory.createDestination(otherFragment));\n javaMoveProcessor.setReorgQueries(new MockReorgQueries());\n RefactoringStatus status = performRefactoring(new MoveRefactoring(javaMoveProcessor), true);\n if (status != null)\n assertTrue(status.toString(), status.isOK());\n Collection<IPath> validatedEditPaths = RefactoringTestRepositoryProvider.getValidatedEditPaths(getRoot().getJavaProject().getProject());\n assertEquals(1, validatedEditPaths.size());\n // replaced\n assertTrue(validatedEditPaths.contains(file2.getFullPath()));\n }", "protected void addOriginalTypePropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Reference_originalType_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Reference_originalType_feature\", \"_UI_Reference_type\"),\n NoSQLSchemaPackage.Literals.REFERENCE__ORIGINAL_TYPE,\n true,\n false,\n false,\n ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n null,\n null));\n }", "@Override\n public void notify(Object event){\n }", "@Test\r\n public void testReplace_Edge_GenericType() {\r\n System.out.println(\"replace\");\r\n MyDigraph instance = new MyDigraph();\r\n\r\n Object v1Element = 1;\r\n Object v2Element = 2;\r\n\r\n Vertex v1 = instance.insertVertex(v1Element);\r\n Vertex v2 = instance.insertVertex(v2Element);\r\n\r\n Object edgeElement = \"A\";\r\n Edge e = instance.insertEdge(v1, v2, edgeElement);\r\n\r\n Object result = e.element();\r\n String expectedResult = \"A\";\r\n assertEquals(expectedResult, result);\r\n\r\n result = instance.replace(e, \"B\");\r\n expectedResult = \"B\";\r\n assertEquals(expectedResult, result);\r\n }", "public void setRelatedIMEventOriginalID(java.lang.String value) {\n this.relatedIMEventOriginalID = value;\n }", "public void modifyText(ModifyEvent e) {\n Text redefineText = (Text) e.getSource();\n coll.set_value(Key, redefineText.getText());\n\n OtpErlangObject re = parent.getIdeBackend(parent.confCon, coll.type, coll.coll_id, Key, redefineText.getText());\n String reStr = Util.stringValue(re);\n //ErlLogger.debug(\"Ll:\"+document.getLength());\n try {\n parent.document.replace(0, parent.document.getLength(), reStr);\n } catch (BadLocationException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n }", "public interface EventDefinition extends EObject {\r\n}", "public void replace(String cText, GenericObject newObject,\n boolean matchSubstring )\n throws IllegalArgumentException {\n SIPHeader siphdr;\n if (cText == null || newObject == null) {\n throw new IllegalArgumentException(\"null arguments\");\n }\n if (SIPHeader.class.isAssignableFrom(newObject.getClass())) {\n throw new IllegalArgumentException\n (\"Cannot replace object of class\" + newObject.getClass());\n } else if (SIPHeaderList.class.\n isAssignableFrom(newObject.getClass())) {\n throw new IllegalArgumentException\n (\"Cannot replace object of class \" + newObject.getClass());\n } else {\n // not a sipheader or a sipheaderlist so do a find and replace.\n synchronized (this.headers) {\n // Concurrent modification exception noticed by Lamine Brahimi\n ListIterator li = this.headers.listIterator();\n while (li.hasNext()) {\n siphdr = (SIPHeader) li.next();\n siphdr.replace(cText,newObject,matchSubstring);\n }\n }\n }\n }", "Long handleEvent(Long renderedOpID, \n\t\t String propName,\n\t\t Object oldValue, \n\t\t Object newValue) throws RemoteException;", "public boolean isReplaced() {\n return REPLACED.equals(message);\n }", "@Override\r\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\r\n\t\t\t\t\t\tvenObjectsByPack.init(\"NEW\");\r\n\t\t\t\t\t\tUI.getCurrent().addWindow(venObjectsByPack);\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\n\tpublic void alterar() {\n\t\t\n\t}", "void trigger(Entity e);", "@Override\n\tpublic Expression replacedVar(Map<Variable, Variable> replacement) {\n\t\tList<Tuple<String, Variable>> newVars = new ArrayList<Tuple<String, Variable>>(this.variables);\n\t\tnewVars.replaceAll(itm -> {\n\t\t\tif (itm.second() != null && replacement.containsKey(itm.second())) {\n\t\t\t\treturn new Tuple<String, Variable>(itm.first(), replacement.get(itm.second()));\n\t\t\t}\n\t\t\treturn itm;\n\t\t});\n\t\treturn new Expression(this.desc, newVars);\n\t}", "public void addNewborn(Object anObj) { _newBorns.add(anObj); }", "@Override\n\tpublic Object replaceObject(Object obj) throws IOException {\n\t numObjectsCached++;\n\t if (enableReplaceObject) {\n\t\treturn aout.replaceObject(obj);\n\t } else {\n\t\treturn defaultReplaceObject(obj);\n\t }\n\t}", "public interface InterfaceReplacement {\n\n /** The ever present clone method\n */\n public Object clone(); \n\n /** This method will insert the given individual into the population\n * by replacing a individual either from the population or the given\n * subset\n * @param indy The individual to insert\n * @param pop The population\n * @param sub The subset\n */\n public void insertIndividual(AbstractEAIndividual indy, Population pop, Population sub);\n}", "@Test\r\n public void testReplace_Vertex_GenericType() {\r\n System.out.println(\"replace\");\r\n MyDigraph instance = new MyDigraph();\r\n\r\n Object v1Element = 1;\r\n Vertex v1 = instance.insertVertex(v1Element);\r\n\r\n Object result = v1.element();\r\n int expectedResult = 1;\r\n assertEquals(expectedResult, result);\r\n\r\n result = instance.replace(v1, 2);\r\n expectedResult = 2;\r\n assertEquals(expectedResult, result);\r\n }", "public void visitNEW(NEW o){\n\t\t//visitCPInstruction(CPInstruction) has been called before.\n\t\t//visitLoadClass(LoadClass) has been called before.\n\t\t\n\t\tType t = o.getType(cpg);\n\t\tif (! (t instanceof ReferenceType)){\n\t\t\tthrow new AssertionViolatedException(\"NEW.getType() returning a non-reference type?!\");\n\t\t}\n\t\tif (! (t instanceof ObjectType)){\n\t\t\tconstraintViolated(o, \"Expecting a class type (ObjectType) to work on. Found: '\"+t+\"'.\");\n\t\t}\n\t\tObjectType obj = (ObjectType) t;\n\n\t\t//e.g.: Don't instantiate interfaces\n\t\tif (! obj.referencesClass()){\n\t\t\tconstraintViolated(o, \"Expecting a class type (ObjectType) to work on. Found: '\"+obj+\"'.\");\n\t\t}\t\t\n\t}" ]
[ "0.5854871", "0.5706671", "0.56598777", "0.54871434", "0.5454304", "0.5453281", "0.53893507", "0.53542393", "0.53309226", "0.5302501", "0.52670115", "0.52659917", "0.51247203", "0.5074071", "0.50505066", "0.50150377", "0.4990872", "0.49745277", "0.49715805", "0.4931322", "0.48894113", "0.48741525", "0.48642498", "0.48536173", "0.4844973", "0.48023647", "0.47978854", "0.47918764", "0.4780393", "0.47584596", "0.4746014", "0.4746014", "0.4730073", "0.47288066", "0.4728783", "0.4724501", "0.47230217", "0.47167653", "0.47138482", "0.47077355", "0.46971276", "0.46838626", "0.46603325", "0.46597338", "0.46478486", "0.4647477", "0.46284986", "0.46266708", "0.46071738", "0.460353", "0.4600388", "0.45986667", "0.45961565", "0.45778286", "0.45742935", "0.45708692", "0.4566604", "0.45606488", "0.4549915", "0.45488083", "0.4541564", "0.45272115", "0.45257172", "0.4518753", "0.45159623", "0.4513129", "0.45006093", "0.44963875", "0.4491923", "0.44841108", "0.44836667", "0.4481802", "0.447315", "0.44723952", "0.44626385", "0.4459737", "0.4457448", "0.44441116", "0.44303602", "0.44250193", "0.44222516", "0.44217774", "0.4420647", "0.4419498", "0.4410017", "0.4409352", "0.44035682", "0.44034943", "0.4394444", "0.4393445", "0.4392276", "0.43915874", "0.43900123", "0.43878376", "0.438733", "0.438184", "0.43811998", "0.43782356", "0.4377934", "0.43771076" ]
0.7359277
0
Checks if this is a Replaced event.
public boolean isReplaced() { return REPLACED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isReplaceable();", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "boolean hasReplace();", "boolean isReplaceable(TransferDescription description);", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "public boolean shouldRemove() {\r\n\t\treturn death;\r\n\t}", "boolean hasReplacePlayerResponse();", "boolean hasChangeEvent();", "protected boolean checkForMatch(NewEvent event) {\n\t\tevent.export(exporter);\n\t\treturn exporter.checkForMatch(pattern);\n\t}", "public boolean replace(Element oldElement, Element newElement) {\n if (replaceNoNotify(oldElement, newElement)) {\n setChanged();\n Message message = Message.makeModified(newElement);\n notifyObservers(message);\n return true;\n } else {\n return false;\n }\n\n }", "public boolean isLegalReplacement(byte[] repl) {\n return true;\n }", "@Override\r\n\tpublic <T extends Evento> boolean actualizarEvento(Evento evento) {\n\t\treturn false;\r\n\t}", "@Override\n public boolean evaluate(CacheEntryEvent<? extends BinaryObject, ? extends BinaryObject> e) {\n if (!e.getOldValue().<Integer>field(\"population\").equals(\n e.getValue().<Integer>field(\"population\")))\n return true;\n\n // Don't send a notification in all other cases\n return false;\n }", "public String onPlaceholderReplace(PlaceholderReplaceEvent event);", "@Override\r\n\tpublic boolean handleEvent(IEvent event) {\n\t\treturn false;\r\n\t}", "protected abstract void checkRemoved();", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public boolean isCorrectEvent()\n {\n return m_fCorrectEvent;\n }", "private boolean isRemoved() {\r\n\t\t\treturn removed;\r\n\t\t}", "@Override\n public void removeUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }", "public boolean actionReplaceable() {\n return mReplaceable;\n }", "public Boolean getResponseReplaced() {\n\t return this.responseReplaced;\n\t}", "public boolean hasRelatedIMEventOriginalID() {\n return fieldSetFlags()[1];\n }", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "@Override\r\n\t\t\t\t\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "@Override\n public void insertUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "@Override\r\n\tprotected void processIsNotDefinedEvent(InNotDefinedEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic boolean canBePushed() {\n\t\treturn super.canBePushed() && isEgg();\n\t}", "public boolean isSubstitute();", "@Override\n public void changedUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "boolean isOssModified();", "public boolean isOKToRemove(){\n return ( this == Acked || this == Expired || this == DLCMessage);\n }", "@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }", "public SubstituteEvent(Entity substituted) {\n super(EventType.SUBSTITUTE.getType());\n }", "@Override\n\tpublic boolean hasMoved() {\n\t\treturn false;\n\t}", "public boolean modIfChanged () {\n \n boolean modOK = true;\n \n ClubEvent clubEvent = position.getClubEvent();\n if (clubEventPanel1.modIfChanged(clubEvent)) {\n modified = true;\n itemLabel.setText(clubEvent.getWhat());\n } \n if (clubEventPanel2.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel3.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel4.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel5.modIfChanged(clubEvent)) {\n modified = true;\n } \n \n if (modified) {\n currentFileModified = true;\n String newLocalPath = clubEvent.getLocalPath();\n if ((! clubEvent.hasWhat()) || clubEvent.getWhat().length() == 0) {\n trouble.report (this, \n \"The What field has been left blank\", \n \"Missing Key Field\");\n modOK = false;\n } \n else \n if ((! newLocalPath.equals(localPath))\n && writer.exists(eventsFile, newLocalPath)) {\n trouble.report (this, \n \"An event already exists with the same What field\",\n \"Duplicate Found\");\n modOK = false;\n }\n else\n if (position.isNewClubEvent()) {\n clubEventCalc.calcAll(clubEvent);\n if (clubEventCalc.ifOpYearFromFolder()) {\n clubEvent.setYear(clubEventCalc.getOpYearFromFolder());\n }\n addClubEvent (clubEvent);\n } else {\n clubEventCalc.calcAll(clubEvent);\n clubEventList.modify(position);\n writer = new ClubEventWriter();\n String oldDiskLocation = clubEvent.getDiskLocation();\n boolean saved = writer.save(eventsFile, clubEvent, true, false);\n if (saved) {\n String newDiskLocation = clubEvent.getDiskLocation();\n if (! newDiskLocation.equals(oldDiskLocation)) {\n File oldDiskFile = new File (oldDiskLocation);\n oldDiskFile.delete();\n }\n } else {\n trouble.report(this, \"Trouble saving the item to disk\", \"I/O Error\");\n modOK = false;\n }\n }\n clubEventList.fireTableDataChanged();\n } // end if modified\n \n return modOK;\n \n }", "boolean hasEvent();", "public boolean isDropped(){\r\n\t\treturn getDirectHolder() == World.world;\r\n\t}", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isDropped();", "public boolean saveEvent(String gameTitle, Event oldEvent, Event newEvent) {\n\n boolean saved = false;\n\n Game thisGame = MainModel.getInstance().getGame(gameTitle);\n\n Event eventThatAlreadyExist = thisGame.getEvent(newEvent.getName());\n Log.d(\"saveEvent\", \"eventThatAlreadyExist: \"+eventThatAlreadyExist.getName());\n //alreadyExistInGames E' TRUE SE ESISTE GIA' IN QUESTO GIOCO UN EVENTO CON QUEL NOME\n boolean alreadyExistInGames = (eventThatAlreadyExist.getName() != null);\n //modifyingExistingGame E' TRUE SE STO MODIFICANDO UN EVENTO GIA' ESISTENTE\n boolean modifyingExistingGame = (oldEvent != null);\n\n Log.d(\"saveEvent\", \"alreadyExistInGames: \"+ alreadyExistInGames + \" \" + newEvent.getName());\n Log.d(\"saveEvent\", \"modifyingExistingGame: \"+ modifyingExistingGame);\n\n if(alreadyExistInGames && modifyingExistingGame) {\n\n\n\n thisGame.removeEvent(oldEvent);\n thisGame.addEvent(newEvent);\n //MainModel.getInstance().writeGamesJson();\n saved = true;\n }\n else if(!alreadyExistInGames && !modifyingExistingGame) {\n\n Log.d(\"saveEvent\", \"Added new Event\");\n thisGame.addEvent(newEvent);\n //MainModel.getInstance().writeGamesJson();\n saved = true;\n }\n else if(modifyingExistingGame & !alreadyExistInGames) {\n\n Log.d(\"saveEvent\", \"Sto modificando un evento esistente\");\n Log.d(\"saveEvent\", \"Removed old event: \"+ oldEvent.getName() + \", added new Event: \" + newEvent.getName());\n thisGame.removeEvent(oldEvent);\n boolean b = thisGame.addEvent(newEvent);\n if(b)\n Log.d(\"saveEvent\", \"Evento salvato\");\n else\n Log.d(\"saveEvent\", \"Evento non salvato\");\n\n saved = true;\n\n }\n else {\n Log.d(\"saveEvent\", \"Error saving new Event or overwritting the existing one\");\n }\n\n return saved;\n }", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "@Override\n\tpublic boolean erTom() {\n\t\treturn (bak == null);\n\t}", "protected boolean _isEventForSuccessfulUpdate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenUpdated()));\t\t\t\t\t\t\t\t// it's an update event\n\t}", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "protected boolean canReplace(ODOMElement element) {\n Element e = ActionSupport.cloneContainingDeviceLayout(element);\n\n e = replace(e, 1, 1);\n\n return !LayoutConstraintsProvider.constraints.violated(e, null);\n }", "public boolean tryEditingScheduledEvent();", "public boolean isRemoved() {\n return REMOVED.equals(message);\n }", "@Override\r\n\tpublic boolean isExisting() {\n\t\treturn false;\r\n\t}", "protected boolean beforeRemove() {\n return true;\n }", "public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }", "@Override\n\tpublic Boolean hasMoved() {\n\t\treturn moved;\n\t}", "@Override\n\tprotected boolean checkOverride(IEventInstance eventInstance, Operand operand) {\n\t\treturn false;\n\t}", "public boolean isIdentifierChanged() {\n return IDENTIFIERCHANGED.equals(message);\n }", "public boolean replaceEdit(UndoableEdit anEdit) {\n throw new UnsupportedOperationException(\"The replaceEdit(UndoableEdit) method is not supported.\");\n }", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "public void setResponseReplaced(Boolean responseReplaced) {\n\t this.responseReplaced = responseReplaced;\n\t}", "boolean canReplace(SearchResult result);", "@Override\n public boolean isInUseableZone(Game game, MageObject source, GameEvent event) {\n Permanent before = ((ZoneChangeEvent) event).getTarget();\n if (before == null) {\n return false;\n }\n if (!(before instanceof PermanentToken) && !this.hasSourceObjectAbility(game, before, event)) {\n return false;\n }\n // check now it is in graveyard\n if (before.getZoneChangeCounter(game) + 1 == game.getState().getZoneChangeCounter(sourceId)) {\n Zone after = game.getState().getZone(sourceId);\n return after != null && Zone.GRAVEYARD.match(after);\n } else {\n // Already moved to another zone, so guess it's ok\n return true;\n }\n }", "boolean isRegistrateChangeListener();", "@Override\n public boolean exists()\n {\n return orig.exists();\n }", "public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }", "protected boolean _isEventForSuccessfulDelete(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenDeleted()));\t\t\t\t\t\t\t\t// it's a delete event\n\t}", "public boolean replaceMapping(final String oldName, final String newName) throws DuplicateMappingException {\n if (this.mappings.containsKey(newName)) {\n throw new DuplicateMappingException(\n String.format(\n \"Could not replace block type %s, the block type %s already exists in the schematic.\",\n oldName, newName\n )\n );\n }\n\n final Short id = this.mappings.get(oldName);\n if (id != null) {\n this.mappings.remove(oldName);\n this.mappings.put(newName, id);\n return true;\n }\n\n return false;\n }", "public static boolean isContainerUpdated(final ResourceMapping mapping) {\n String containerId = ContainerInfo.getInstance().getContainerId();\n\n ResourceMapping.ContainerInstance container\n = mapping.getContainer(containerId);\n if (container == null) {\n LOGGER.warn(\"No flakes for this container.\");\n return false;\n } else {\n return true;\n }\n }", "boolean isManipulated();", "protected boolean _isEventForSuccessfulCreateOrUpdate(final PersistenceOperationOKEvent opEvent) {\t\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenCreated() || opResult.as(CRUDOK.class).hasBeenUpdated()));\t// it's a create or update event\n\t}", "public boolean isStillValid() {\n if (!this.mAbortOnInflation && this.mEntry.getSbn().getGroupKey() == this.mOriginalNotification.getGroupKey() && this.mEntry.getSbn().getNotification().isGroupSummary() == this.mOriginalNotification.getNotification().isGroupSummary()) {\n return true;\n }\n return false;\n }", "public boolean isFired() {\n\t\t// TODO Auto-generated method stub\n\t\treturn shot;\n\t}", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "public boolean isTaggedAsRemoved() {\n\t return levelOfRemoval > 0;\n\t}", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public boolean isChangeType()\n {\n return hasChanges;\n }", "public EventHandler<KeyEvent> checkItemExistence() {\r\n\t\treturn new EventHandler<KeyEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(KeyEvent e) {\r\n\t\t\t\tif (e.getCode() == KeyCode.TAB) {\r\n\t\t\t\t\tLOGGER.info(\"Tab Event Handled : {}\", barcodeField.getText());\r\n\t\t\t\t\tif (itemService.findByBarcode(barcodeField.getText()) != null) {\r\n\t\t\t\t\t\tLOGGER.info(\"Item already exists for barcode : {}\", barcodeField.getText());\r\n\t\t\t\t\t\tMessageDialog.showAlert(AlertType.WARNING, \"Product Already Exists\", null,\r\n\t\t\t\t\t\t\t\t\"Product already exists for a given barcode : [\" + barcodeField.getText() + \"]\");\r\n\t\t\t\t\t\tbarcodeField.clear();\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t};\r\n\t}", "public boolean isResponseChanged() {\n return responseChanged;\n }", "public boolean isDroppedOnMap() { return dropped; }", "@Override\n public void onViewDragged(int oldPosition, int newPosition) {\n EventTask tempEventTask = new EventTask(eventTasks.get(oldPosition));\n eventTasks.remove(oldPosition);\n eventTasks.add(newPosition, tempEventTask);\n notifyItemMoved(oldPosition, newPosition);\n }", "@Override\r\n\t\t\t\t\tpublic void insertUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public boolean check(EventType event);", "@Override\n @SuppressWarnings(\"deprecation\")\n public void onReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean isMoving) {\n if (!newState.isIn(state.getBlock())) {\n TileEntity tileEntity = world.getTileEntity(pos);\n if (tileEntity instanceof SandwichAssemblyTableTileEntity) {\n for (ItemStack ingredient : ((SandwichAssemblyTableTileEntity) tileEntity).removeItems()) {\n ItemEntity item = new ItemEntity(world, pos.getX() + 0.5, pos.getY() + 1.2, pos.getZ() + 0.5, ingredient);\n world.addEntity(item);\n }\n\n world.updateComparatorOutputLevel(pos, this);\n }\n super.onReplaced(state, world, pos, newState, isMoving);\n }\n }", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "private void checkForReload(@NotNull List<? extends VFileEvent> events) {\n LOG.debug(\"Checking received events for a possible reloading\");\n boolean toReload = false;\n for (VFileEvent event : events) {\n final VirtualFile file = event.getFile();\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Checking the file \" + file);\n }\n if (file != null && file.getName().endsWith(KAMELETS_FILE_SUFFIX)) {\n String canonicalPath = file.getCanonicalPath();\n if (canonicalPath == null || canonicalPath.contains(\"/\" + KAMELETS_DIR + \"/\")) {\n LOG.debug(\"An event on a potential Kamelet has been detected\");\n toReload = true;\n }\n }\n }\n if (toReload) {\n LOG.debug(\"At least one event on a Kamelet has been detected, the Kamelets will be reloaded\");\n this.kamelets = null;\n }\n }", "public boolean match(Event e);", "@GuardedBy(\"mLock\")\n private boolean shouldSendEvent(TimeZoneProviderEvent newEvent) {\n if (!newEvent.isEquivalentTo(mLastEventSent)) {\n return true;\n }\n\n // Guard against implementations that generate a lot of uninteresting events in a short\n // space of time and would cause the time_zone_detector to evaluate time zone suggestions\n // too frequently.\n //\n // If the new event and last event sent are equivalent, the client will still send an update\n // if their creation times are sufficiently different. This enables the time_zone_detector\n // to better understand how recently the location time zone provider was certain /\n // uncertain, which can be useful when working out ordering of events, e.g. to work out\n // whether a suggestion was generated before or after a device left airplane mode.\n long timeSinceLastEventMillis =\n newEvent.getCreationElapsedMillis() - mLastEventSent.getCreationElapsedMillis();\n return timeSinceLastEventMillis > mEventFilteringAgeThresholdMillis;\n }", "@Override\n public boolean isEntryRemovedInContext(Object key) {\n return true;\n }", "protected void assertEvent(boolean fExpected)\n {\n Eventually.assertThat(invoking(this).wasInserted(), is(fExpected));\n }", "boolean isModified();", "boolean isModified();", "public boolean isRemoved() {\n return removed;\n }", "public boolean replaceEdit(UndoableEdit anEdit);", "public boolean replaceEdit(UndoableEdit anEdit);", "public boolean hasChanged();" ]
[ "0.5730953", "0.56022894", "0.546064", "0.54079807", "0.5297149", "0.52385336", "0.5202842", "0.51822335", "0.51748705", "0.51552933", "0.5145419", "0.5144196", "0.5121206", "0.5095857", "0.50905854", "0.50693566", "0.5064208", "0.50631934", "0.50289595", "0.50199425", "0.50166523", "0.5000495", "0.4983198", "0.4975046", "0.49658862", "0.49542218", "0.49222928", "0.49200526", "0.49135366", "0.49125808", "0.49024153", "0.49003884", "0.48964065", "0.48837912", "0.48731658", "0.48674452", "0.4866137", "0.48416486", "0.48341444", "0.48247617", "0.48177028", "0.4808831", "0.48040986", "0.47932884", "0.47905827", "0.47792882", "0.47709882", "0.4770817", "0.47632816", "0.47577125", "0.4756663", "0.4756663", "0.47556996", "0.4755618", "0.4754972", "0.4749404", "0.4749137", "0.47467637", "0.4743112", "0.4741647", "0.47406268", "0.4737857", "0.4737829", "0.47367325", "0.473268", "0.47315654", "0.47144684", "0.47088227", "0.4704559", "0.47041795", "0.46970752", "0.46907654", "0.46878868", "0.46872902", "0.46863768", "0.46821672", "0.467813", "0.467813", "0.46780795", "0.4653249", "0.4647425", "0.46415415", "0.46411198", "0.4630547", "0.4629618", "0.46276814", "0.4626686", "0.46183982", "0.46163067", "0.46127728", "0.4608446", "0.46080613", "0.4607765", "0.46047166", "0.46045187", "0.46045187", "0.46038878", "0.45988104", "0.45988104", "0.45914507" ]
0.64331096
0
Creates a new ChildChanged event. This type of event is triggered by a ApproxsimComplex descendant when one of its children has changed.
public static ApproxsimEvent getChildChanged(Object source, Object initiator, ApproxsimObject changed) { return new ApproxsimEvent(source, CHILDCHANGED, initiator, changed); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void childrenChanged() {\n\n }", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "protected void childrenChanged() {\n proxyGroup.childrenChanged();\n }", "@Transient\n // not really needed\n public void addChild(final ChangeRequestMessageEntry child) {\n children.add(child);\n child.setParent(this);\n child.setProcessInstanceId(getProcessInstanceId());\n }", "@Override\n\t\tpublic void onChanged() {\n\t\t\tsuper.onChanged();\n\t\t\tinitChildViews();\n\t\t}", "public @Override void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (children == null && getParent() == null) {\n return;\n }\n \n super.changedUpdate(e, a, f);\n }", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t\t}", "@Override\n public void childAdded(Node child) {\n }", "public void notifyEvent(AccessibleEventObject event) {\n switch (event.EventId) {\n case AccessibleEventId.ACTIVE_DESCENDANT_CHANGED:\n setActiveDescendant(event.NewValue);\n break;\n case AccessibleEventId.CHILD:\n if (AnyConverter.isObject(event.OldValue)) {\n remove(event.OldValue);\n }\n if (AnyConverter.isObject(event.NewValue)) {\n add(event.NewValue);\n }\n break;\n default:\n super.notifyEvent(event);\n }\n }", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;", "public native final EditorBaseEvent changedEvent(EventFacade val) /*-{\n\t\tthis.changedEvent = val;\n\t\treturn this;\n\t}-*/;", "public void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t}", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\t\t\t\t\n\t\t\t}", "public AddChildEvent(Object source, AbstractComponent child, int childIndex) {\n super(source);\n this.child = child;\n this.childIndex = childIndex;\n }", "@Override\n\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\t\t\n\t}", "public AddChildEvent(Object source, AbstractComponent child) {\n this(source, child, -1);\n }", "public void changed(Item itemChanged) {\n int childNumber = this.indexOf(itemChanged);\n if (childNumber != -1) {\n fireContentsChanged(this, childNumber, childNumber);\n }\n }", "@Override\r\n\tpublic void valuesChanged() {\r\n\t\tString name = getView().getProductGroupName();\r\n\t\t\r\n\t\tboolean validName = _productGroupFacade.canCreateChildWithName(_parent,name);\r\n\t\t\r\n\t\t//TODO fix when jay and chris get their crap together\r\n\t\tString amount = getView().getSupplyValue();\r\n\t\tString supplyUnit = getView().getSupplyUnit().toString();\r\n\t\tboolean validUnitSize = UnitSize.isValid(amount, supplyUnit);\r\n\t\t\r\n\t\tif(validName && validUnitSize){\r\n\t\t\tgetView().enableOK(true);\r\n\t\t}else{\r\n\t\t\tgetView().enableOK(false);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "public void addDeepChangeListener(DeepChangeListener aListener)\n{\n addListener(DeepChangeListener.class, aListener); // Add listener\n if(getListenerCount(DeepChangeListener.class)==1) // If first listener, add for children\n for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);\n child.addPropertyChangeListener(this); child.addDeepChangeListener(this); }\n}", "protected Command createChangeConstraintCommand( EditPart child, Object constraint ) {\n return null;\r\n }", "public native final EditorBaseEvent changedNode(Node val) /*-{\n\t\tthis.changedNode = val;\n\t\treturn this;\n\t}-*/;", "@Override\n public void onChanged() {\n super.onChanged();\n\n mHandler.removeCallbacks(mRefreshChildrenRunnable);\n mHandler.post(mRefreshChildrenRunnable);\n }", "public void addChildEdited(Consumer<SpanNode<T>> listener){\n childEditedListeners.add(listener);\n }", "public void entityParentChanged(EntityInstance e, EntityInstance parent, int signal)\r\n\t{\n\r\n\t\tswitch (signal) {\r\n\t\tcase TaListener.DRAWROOT_CUTTING_SIGNAL:\r\n\t\t\tnavigateTo(parent, true);\r\n\t\t\tbreak;\r\n\t\tcase TaListener.CONTAINER_CUTTING_SIGNAL:\r\n\t\t{\r\n\t\t\tclearEntityGroupFlag(e);\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tcase TaListener.ENTITY_CUTTING_SIGNAL:\r\n\t\t{\r\n\t\t\tVector\t\t\tgroupedEntities = m_groupedEntities;\r\n\t\t\tEntityInstance\tgrouped;\r\n\t\t\tint\t\t\t\ti;\r\n\r\n\t\t\tfor (i = groupedEntities.size(); --i >= 0; ) {\r\n\t\t\t\tgrouped = (EntityInstance) groupedEntities.elementAt(i);\r\n\t\t\t\tif (e.hasDescendantOrSelf(grouped)) {\r\n\t\t\t\t\tclearEntityGroupFlag(grouped);\r\n\t\t\t}\t}\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tcase TaListener.ENTITY_NEW_SIGNAL:\r\n\t\tcase TaListener.ENTITY_RELOCATED_SIGNAL:\r\n\t\tcase TaListener.ENTITY_CUT_SIGNAL:\r\n\t\tcase TaListener.ENTITY_PASTED_SIGNAL:\r\n\t\tcase TaListener.CONTAINER_PASTED_SIGNAL:\r\n\t\t\tm_flags |= REFILL_FLAG;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "@Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) {\n }", "public void relationParentChanged(RelationInstance ri, int signal)\r\n\t{\n\r\n\t\tm_flags |= REFILL_FLAG;\r\n\t}", "public final void onChanged(BigDecimal bigDecimal) {\n this.this$0.asy();\n this.this$0.bub = bigDecimal;\n this.this$0.asr().c(this.this$0.asr().getItems(), bigDecimal != null ? com.iqoption.core.util.e.a(bigDecimal, 0, null, true, false, null, 19, null) : null);\n }", "@Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) {\n\n }", "public void changeChild(Node oldChild, Node newChild) {\r\n System.out.println(\"Variable.changeChild() should never be called!\");\r\n }", "@Override\r\n public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) {\n LogManager.i(\"=============OnChildClickListener\");\r\n setListener();\r\n return true;\r\n }", "public void notifyChildrenOfSizeChange() {\n Util.runDescendentsLayout(this);\n }", "@Override\r\n\tprotected CodeSyncElement createModelElementChild(EObject object, View child) {\n\t\treturn null;\r\n\t}", "@Override\n public void ancestorAdded(AncestorEvent event) {\n updateComponents();\n }", "@Override\n\tpublic void update(ShapeModelEvent event) {\n\t\t\n\t\tShapeModel source = event.source();\n\t\t\n\t\tint[] childIndices = new int[1];\n\t\tchildIndices[0] = event.index();\n\t\t\n\t\tShape[] children = new Shape[1];\n\t\tchildren[0] = event.operand();\n\t\t\n\t\t\n\t\t\n\t\tif(event.eventType().equals(EventType.ShapeAdded)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesInserted(treeModelEvent);\n\t\t\t\n\t\t}else if(event.eventType().equals(EventType.ShapeRemoved)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesRemoved(treeModelEvent);\n\t\t}\n\t\t\n\t}", "@objid (\"d94cc6fc-55b6-11e2-877f-002564c97630\")\n @Override\n protected void reorderChild(final EditPart child, final int index) {\n IFigure childFigure = ((GraphicalEditPart) child).getFigure();\n super.reorderChild(child, index);\n setLayoutConstraint(child, childFigure, ((GmAbstractObject) child.getModel()).getLayoutData());\n }", "@Override\n public void changed( Change change ) {\n if ( !( change.isSelected()\n && change.isForInstanceOf( Node.class )\n && change.isForProperty( \"other\" ) ) ) {\n if ( change.isUpdated() ) {\n setFlowUpdated( true );\n }\n super.changed( change );\n }\n }", "@Override\n public boolean onDependentViewChanged(CoordinatorLayout parent,\n FooterBarLayout child,\n View dependency) {\n //Check if the view position has actually changed\n if (mDependencyOffset != dependency.getTop()) {\n mDependencyOffset = dependency.getTop();\n\n child.offsetTopAndBottom(\n mChildInitialOffset - child.getTop() - mDependencyOffset);\n //Notify that we changed our attached child\n return true;\n }\n\n return false;\n }", "void onTreeChange(TreeChangeEvent event);", "public void minorAxisPreferenceChanged(ViewLayoutState child) {\n int childIndex = getChildIndexNoCheck(child);\n markRepaint(childIndex, false);\n children.minorAxisPreferenceChanged(child, childIndex);\n }", "public void changedUpdate(DocumentEvent evt, FoldHierarchyTransaction transaction) {\n }", "public synchronized void setChanged() {\n super.setChanged();\n }", "public void objectChanged(ObjectChangeEvent e) {\n\t\tString key = e.getAttributeName();\n\t\tStructure s = (Structure) attributes.get(key);\n\t\tif (s!=null) {\n\t\t\tStructure change = (Structure) changedAttributes.get(key);\n\t\t\tif(change==null) {\n\t\t\t\tchange = new Structure();\n\t\t\t\tchange.setAttributeValue(ATTRIBUTE_NAME_, s.getAttributeValue(ATTRIBUTE_NAME_, null));\n\t\t\t}\n\t\t\tchange.setAttributeValue(ATTRIBUTE_VALUE_, e.getChangedObject());\n\t\t\tchangedAttributes.put(key, change);\n\t\t\tTrace.send(Trace.ALL_LEVELS, traceKey, i18n, \"AttributeValueChanged\", key, e.getChangedObject(), changedAttributes);\n\t\t\t \n\t\t}\n\t}", "public void gxlAttrValueChanged(GXLAttrValueModificationEvent e) {\n\t}", "public void structureChanged(GraphEvent e);", "public final synchronized void setChanged() {\n\t\tsuper.setChanged ();\n }", "@OneToMany(cascade = CascadeType.ALL)\n // (mappedBy = \"parent\")\n @JoinColumn(name = \"PARENT_ID_\")\n @IndexColumn(name = \"IDX_\", base = 1)\n public List<ChangeRequestMessageEntry> getChildren() {\n return children;\n }", "public void selectionChanged(MPart part, Object object) {\n\t\tif (object == null) {\n\t\t\treturn;\n\t\t}\n\n\t\tStructuredSelection selection = new StructuredSelection(object);\n\n\t\t// Query the new selection for appropriate new child/sibling descriptors\n\t\t//\n\t\tCollection<?> newChildDescriptors = null;\n\t\tCollection<?> newSiblingDescriptors = null;\n\n\t\tif (editingDomain != null) {\n\n\t\t\tnewChildDescriptors = editingDomain.getNewChildDescriptors(object,\n\t\t\t\t\tnull);\n\t\t\tnewSiblingDescriptors = editingDomain.getNewChildDescriptors(null,\n\t\t\t\t\tobject);\n\n\t\t\t// Generate actions for selection; populate and redraw the menus.\n\t\t\tgenerateCreateChildActions(newChildDescriptors, selection);\n\t\t\tgenerateCreateSiblingActions(newSiblingDescriptors, selection);\n\n\t\t\t// create or update our Menu Manger.\n\t\t\tgetCreateChildMenuManager();\n\t\t\tSystem.out.println(\"EMF Editor selection changed child menu size: \"\n\t\t\t\t\t+ createChildMenuManager.getChildren().size());\n\t\t\tgetCreateSiblingMenuManager();\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"EMF Editor selection changed sibling menu size: \"\n\t\t\t\t\t\t\t+ createSiblingMenuManager.getChildren().size());\n\n\t\t\tpopulateContextMenu(part);\n\t\t}\n\t}", "@Override\n\tpublic void setChild(Knoten child) {\n\n\t}", "@Override\n\tpublic Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain,\n\t\tObject sibling)\n\t{\n\n\t\t// if selected object is an ECUC container, extract the children\n\t\t// according with its definition\n\t\tGContainer container = null;\n\t\tif (object instanceof GContainer)\n\t\t{\n\t\t\tcontainer = (GContainer) object;\n\t\t}\n\t\telse if (sibling instanceof GContainer)\n\t\t{\n\t\t\tcontainer = (GContainer) sibling;\n\t\t}\n\t\tif (container != null)\n\t\t{\n\t\t\tCollection<CommandParameter> result = getContainerChildDescriptors(container);\n\t\t\tCollection<?> others = super.getNewChildDescriptors(object, editingDomain, sibling);\n\t\t\tfor (Object descr: others)\n\t\t\t{\n\t\t\t\tif (descr instanceof CommandParameter)\n\t\t\t\t{\n\t\t\t\t\t// just skip commands that creates parameter, references or\n\t\t\t\t\t// containers\n\t\t\t\t\tCommandParameter cmd = (CommandParameter) descr;\n\t\t\t\t\tif (!(cmd.value instanceof GContainer)\n\t\t\t\t\t\t&& !(cmd.value instanceof GParameterValue)\n\t\t\t\t\t\t&& !(cmd.value instanceof GConfigReferenceValue))\n\t\t\t\t\t{\n\t\t\t\t\t\tresult.add(cmd);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\n\t\t// unknown selection, so retrieve default children descriptors\n\t\treturn super.getNewChildDescriptors(object, editingDomain, sibling);\n\t}", "public void setOnItemChildClickListener(OnItemChildClickListener listener) {\n\t\tmChildEvent = listener;\n\t}", "BaleElementEvent fixup()\n{\n if (line_elements.size() > 0) addLine();\n\n BaleElementEvent ee = new BaleElementEvent(root_element,new_children);\n root_element.clear();\n for (BaleElement be : new_children) root_element.add(be);\n BoardLog.logD(\"BALE\",\"ELEMENT FIXUP ROOT \" + new_children.size());\n\n return ee;\n}", "@Override\n public void eventsChanged() {\n }", "@Override\n public void onChanged() {\n }", "@Override\r\n\t\t\t\t\t\t\tpublic void ancestorRemoved(AncestorEvent event) {\n\t\t\t\t\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "void changed(DiscoveryEvent e);", "protected Command createChangeConstraintCommand(EditPart child,\n\t\t\tObject constraint) {\n\t\tif (child instanceof HANodePart) {\n\t\t\tNodeResizeCommand cmd = new NodeResizeCommand();\n\t\t\tcmd.setNode((HANode) child.getModel());\n\t\t\tcmd.setNewRect((Rectangle) constraint);\n\t\t\treturn cmd;\n\t\t}\n\t\treturn null;\n\t}", "@Override\r\n\t\t\tpublic void ancestorRemoved(AncestorEvent event) {\n\t\t\t}", "@Override\n public void childAdded(Attraction a) {\n Log.d(\"Ajq\",\"Child added called\");\n attractions.add(a);\n }", "public void objectChanged(NamingEvent evt) throws RemoteException;", "private void addOMEChild(String name, String value, OMElement parent, OMFactory factory, OMNamespace dsNs){\r\n\t\t OMElement child = factory.createOMElement(name, dsNs);\r\n\t\t child.addChild(factory.createOMText(value));\r\n\t\t parent.addChild(child);\r\n\t }", "@Override\r\n\t\t\tpublic void ancestorRemoved(AncestorEvent event) {\n\t\t\t\t\r\n\t\t\t}", "void depend(int parentID, int childID){\n check(parentID, childID);\n nodes_[childID].parent_ = parentID;\n nodes_[parentID].addChild(childID);\n }", "public void setChild(String child) {\n this.child = child;\n }", "@Override\n\t\t\t\tpublic void changedUpdate(final DocumentEvent e) {\n\t\t\t\t}", "public void majorAxisPreferenceChanged(ViewLayoutState child, double majorAxisSpanDelta) {\n int childIndex = getChildIndexNoCheck(child);\n if (majorAxisSpanDelta != 0.0d) {\n // repaint till end as the children above the index get shifted\n markRepaint(childIndex, true);\n children.majorAxisPreferenceChanged(child, childIndex, majorAxisSpanDelta);\n\n } else { // make sure that the child gets repainted\n markRepaint(childIndex, false);\n }\n }", "@Override\n public void changed(final ObservableValue<? extends T> observable, final T oldValue, final T newValue) {\n\n updateDetails(newValue);\n }", "@Override\n\t\t\tpublic void changedUpdate(DocumentEvent arg0) {\n\t\t\t}", "public @Override void preferenceChanged(View childView, boolean width, boolean height) {\n if (childView == null) { // notify parent about this view change\n getParent().preferenceChanged(this, width, height);\n\n } else { // Child of this view has changed\n // First find the index of the child view\n int index;\n // Try to cast the view to ViewLayoutState and find index that way \n if (childView instanceof ViewLayoutState) {\n // Trust the view to be really child of this view - check is done later\n index = getChildIndexNoCheck((ViewLayoutState)childView);\n } else { // child view not instance of ViewLayoutState\n // Use binary search to find the view\n index = getViewIndex(childView.getStartOffset());\n }\n\n ViewLayoutState child = getChild(index);\n if (child.getView() != childView) {\n int ind;\n for (ind = getViewCount() - 1; ind >= 0; ind--) {\n if (getView(ind) == childView) {\n break;\n }\n }\n if (ind == -1) {\n throw new IllegalArgumentException(\"childView=\" // NOI18N\n + childView + \" not child of view \" + this); // NOI18N\n\n } else { // is child but at different index\n throw new IllegalStateException(\n \"Internal error. Child expected at index=\" + index // NOI18N\n + \" but found at index=\" + ind); // NOI18N\n }\n }\n\n // Mark the child as invalid\n child.viewPreferenceChanged(width, height);\n\n // Mark the layout of the child as invalid - this must be done\n // _after_ the real changes affecting child's layout were performed\n // because the layout may be directly updated\n // by the parent during the call of the following method.\n children.markLayoutInvalid(index, 1);\n }\n }", "public final XmlAttributeInfo setChild (int child)\r\n {\r\n _value.setChild(child);\r\n return this;\r\n }", "public void designerStateModified(DesignerEvent e);", "@Override // com.android.server.wm.WindowContainer, com.android.server.wm.ConfigurationContainer\n public void onParentChanged() {\n }", "public void actionPerformed(PropertyChangeEvent afterEvent) {\n source.getEntity().removePropertyChangeListener(prop, this);\n \n // Re-add vetoable change and list change listeners to the parent\n parent.addVetoablePropertyChangeListener(vpcl);\n parent.addListChangeListener(listChangeListener());\n\n // Get the new value\n Entity newLeafEntity = getLeafEntity();\n Property newLeafProperty = getLeafProperty();\n\n Object newValue;\n if (newLeafEntity != null && newLeafProperty != null) {\n \n // Re-add the property change listener to the leaf entity\n newLeafEntity.getEntity().addPropertyChangeListener(newLeafProperty, pcl);\n newValue = newLeafEntity.getEntity().get(newLeafProperty);\n \n } else {\n newValue = null;\n }\n if (!Objects.equals(oldValue, newValue)) {\n // We need to explicitly fire the property change event\n // if the new value has changed, because otherwise we won't receive the event.\n listeners.fireActionEvent(new PropertyChangeEvent(newLeafEntity, newLeafProperty, oldValue, newValue));\n }\n \n\n\n }", "protected void AddEvents()\r\n {\r\n INotifyPropertyChanged propParent = (INotifyPropertyChanged)getProxyParent();\r\n propParent.getPropertyChanged().addObservers(filterPropertyChanges);\r\n }", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Override\r\n\t\tpublic void ancestorRemoved(AncestorEvent arg0) {\n\t\t\t\r\n\t\t}", "@Override\npublic void childComponentsAdded(boolean hasProperties) {\n\t\n}", "public void testSetChild() {\n GeneralizableElement mockChild = EasyMock.createMock(GeneralizableElement.class);\n instance.setChild(mockChild);\n assertSame(\"same value expected.\", mockChild, instance.getChild());\n\n mockChild = EasyMock.createMock(GeneralizableElement.class);\n instance.setChild(mockChild);\n assertSame(\"same value expected.\", mockChild, instance.getChild());\n }", "protected void PropertyChanged()\r\n { }", "public void addChild( ChildType child );", "@Override\r\n\t\t\tpublic void ancestorMoved(AncestorEvent event) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void ancestorMoved(AncestorEvent event) {\n\t\t\t}", "public void setCheckingDirtyChildPainters(boolean b)\n/* */ {\n/* 265 */ boolean old = isCheckingDirtyChildPainters();\n/* 266 */ this.checkForDirtyChildPainters = b;\n/* 267 */ firePropertyChange(\"checkingDirtyChildPainters\", Boolean.valueOf(old), Boolean.valueOf(isCheckingDirtyChildPainters()));\n/* */ }", "public void treeStructureChanged(TreeModelEvent e) {\n //To change body of implemented methods use Options | File Templates.\n }", "public AddChildEvent(Object source, AbstractComponent child, Point loc) {\n this(source, child, -1);\n location = loc;\n }", "public void testInheritanceEditMetadataCreateChildWithEditedParent()\r\n\t{\r\n\r\n\t\tEntityManagerInterface entityManagerInterface = EntityManager.getInstance();\r\n\t\tDomainObjectFactory factory = DomainObjectFactory.getInstance();\r\n\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Step 1 \r\n\t\t\tEntityInterface specimen = factory.createEntity();\r\n\t\t\tspecimen.setName(\"specimen\");\r\n\t\t\tspecimen.setAbstract(true);\r\n\t\t\tAttributeInterface barcode = factory.createStringAttribute();\r\n\t\t\tbarcode.setName(\"barcode\");\r\n\t\t\tspecimen.addAbstractAttribute(barcode);\r\n\t\t\t//Step 2 \t\t\t\r\n\t\t\tEntityInterface savedSpecimen = entityManagerInterface.persistEntity(specimen);\r\n\t\t\t//Checking step 2\r\n\t\t\tResultSetMetaData metaData = executeQueryForMetadata(\"select * from \"\r\n\t\t\t\t\t+ specimen.getTableProperties().getName());\r\n\t\t\tassertEquals(noOfDefaultColumns + 1, metaData.getColumnCount());\r\n\t\t\t//Step 3\r\n\t\t\tAttributeInterface label = factory.createStringAttribute();\r\n\t\t\tlabel.setName(\"label\");\r\n\t\t\tsavedSpecimen.addAbstractAttribute(label);\r\n\t\t\t//Step 4\r\n\t\t\tEntityInterface tissueSpecimen = factory.createEntity();\r\n\t\t\ttissueSpecimen.setName(\"tissueSpecimen\");\r\n\t\t\tAttributeInterface quantityInCellCount = factory.createIntegerAttribute();\r\n\t\t\tquantityInCellCount.setName(\"quantityInCellCount\");\r\n\t\t\ttissueSpecimen.addAbstractAttribute(quantityInCellCount);\r\n\t\t\t//Step 5\r\n\t\t\ttissueSpecimen.setParentEntity(savedSpecimen);\r\n\t\t\t//Step 6\r\n\t\t\tEntityInterface savedTissueSpecimen = entityManagerInterface\r\n\t\t\t\t\t.persistEntity(tissueSpecimen);\r\n\t\t\tassertEquals(savedTissueSpecimen.getParentEntity(), savedSpecimen);\r\n\t\t\t//Step 7\r\n\t\t\tmetaData = executeQueryForMetadata(\"select * from \"\r\n\t\t\t\t\t+ savedSpecimen.getTableProperties().getName());\r\n\t\t\tassertEquals(noOfDefaultColumns + 2, metaData.getColumnCount());\r\n\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tLogger.out.debug(DynamicExtensionsUtility.getStackTrace(e));\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "public VEdge(ScaffoldNode parent, ScaffoldNode child) {\n this.parent = parent;\n this.child = child;\n this.parent.addEdge(this);\n this.child.addEdge(this);\n this.parent.addPropertyChangeListener(PNode.PROPERTY_FULL_BOUNDS, this);\n this.child.addPropertyChangeListener(PNode.PROPERTY_FULL_BOUNDS, this);\n this.setPickable(false);\n this.updateCoords();\n }", "@Test\n public void onChildrenChanged_calledWhenSubscribed() throws Exception {\n final String expectedParentId = SUBSCRIBE_ID_NOTIFY_CHILDREN_CHANGED_TO_ALL;\n\n final CountDownLatch latch = new CountDownLatch(1);\n final BrowserCallback controllerCallbackProxy = new BrowserCallback() {\n @Override\n public void onChildrenChanged(MediaBrowser browser, String parentId,\n int itemCount, LibraryParams params) {\n assertEquals(expectedParentId, parentId);\n assertEquals(NOTIFY_CHILDREN_CHANGED_ITEM_COUNT, itemCount);\n MediaTestUtils.assertLibraryParamsEquals(params, NOTIFY_CHILDREN_CHANGED_EXTRAS);\n latch.countDown();\n }\n };\n\n LibraryResult result = createBrowser(null, controllerCallbackProxy)\n .subscribe(expectedParentId, null)\n .get(TIMEOUT_MS, TimeUnit.MILLISECONDS);\n assertEquals(RESULT_SUCCESS, result.getResultCode());\n\n // The MediaLibrarySession in MockMediaLibraryService is supposed to call\n // notifyChildrenChanged() in its callback onSubscribe().\n assertTrue(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS));\n }", "@Override\n\tpublic void setChanged() {\n\t\tthis.changed = true;\n\t}", "public void setChildformid(Long childformid) {\n this.childformid = childformid;\n }", "@Override\r\n\t\t\t\t\t\t\tpublic void ancestorMoved(AncestorEvent event) {\n\t\t\t\t\t\t\t}", "public void entityInstanceChanged(EntityInstance e, int signal)\r\n\t{\n\r\n\t\tswitch (signal) {\r\n\t\tcase TaListener.POSITION_SIGNAL:\r\n\t\tcase TaListener.BOUNDS_SIGNAL:\r\n\t\tcase TaListener.SIZE_SIGNAL:\r\n\t\t\te.setEntityBounds();\r\n\t\t\tm_flags |= (REFILL_EDGES_FLAG | RESHADE_FLAG | REPAINT_FLAG);\r\n\t\tdefault:\r\n\t\t\te.repaint();\r\n\t}\t}", "private void buildChildMediator(Component child) {\n\t\t// auto create and register child mediator\n\t\tMediator m = MediatorFactory.getInstance().getMediator(this, child);\n\t\tif (m == null) {\n\t\t\tlog.error(\"Child mediator registration failed.\");\n\t\t\t// Context.getInstance().registerMediator(m);\n\t\t}\n\t}", "@Override\n protected void onLayout(boolean changed, int l, int t, int r, int b) {\n final int count = getChildCount();\n int parentWidth = getMeasuredWidth();\n\n //get the available size of child view\n int childLeft = this.getPaddingLeft();\n int childTop = this.getPaddingTop();\n\n //walk through each child, and arrange it from left to right\n for (int i = 0; i < count; i++) {\n View child = getChildAt(i);\n if (child.getVisibility() != GONE) {\n LayoutUtils.layoutChild(child, childLeft, childTop);\n childTop += child.getMeasuredHeight();\n }\n }\n }", "public void testInheritanceEditMetadataCreateChildWithParent()\r\n\t{\r\n\r\n\t\tEntityManagerInterface entityManagerInterface = EntityManager.getInstance();\r\n\t\tDomainObjectFactory factory = DomainObjectFactory.getInstance();\r\n\r\n\t\ttry\r\n\t\t{\r\n\t\t\tEntityInterface specimen = factory.createEntity();\r\n\t\t\tspecimen.setName(\"specimen\");\r\n\t\t\tspecimen.setAbstract(true);\r\n\t\t\tAttributeInterface barcode = factory.createStringAttribute();\r\n\t\t\tbarcode.setName(\"barcode\");\r\n\t\t\tspecimen.addAbstractAttribute(barcode);\r\n\r\n\t\t\tspecimen = entityManagerInterface.persistEntity(specimen);\r\n\r\n\t\t\tEntityInterface tissueSpecimen = factory.createEntity();\r\n\t\t\ttissueSpecimen.setName(\"tissueSpecimen\");\r\n\t\t\tAttributeInterface quantityInCellCount = factory.createIntegerAttribute();\r\n\t\t\tquantityInCellCount.setName(\"quantityInCellCount\");\r\n\t\t\ttissueSpecimen.addAbstractAttribute(quantityInCellCount);\r\n\r\n\t\t\ttissueSpecimen.setParentEntity(specimen);\r\n\r\n\t\t\tEntityInterface savedTissueSpecimen = entityManagerInterface\r\n\t\t\t\t\t.persistEntity(tissueSpecimen);\r\n\r\n\t\t\tsavedTissueSpecimen = entityManagerInterface.getEntityByIdentifier(savedTissueSpecimen\r\n\t\t\t\t\t.getId().toString());\r\n\t\t\tassertEquals(savedTissueSpecimen.getParentEntity(), specimen);\r\n\r\n\t\t\tEntityInterface savedSpecimen = entityManagerInterface.getEntityByIdentifier(specimen\r\n\t\t\t\t\t.getId());\r\n\t\t\tCollection childColelction = entityManagerInterface.getChildrenEntities(savedSpecimen);\r\n\t\t\tassertEquals(childColelction.size(), 1);\r\n\t\t\tchildColelction.contains(savedTissueSpecimen);\r\n\r\n\t\t\tResultSetMetaData metaData = executeQueryForMetadata(\"select * from \"\r\n\t\t\t\t\t+ specimen.getTableProperties().getName());\r\n\t\t\tassertEquals(noOfDefaultColumns + 1, metaData.getColumnCount());\r\n\r\n\t\t\tmetaData = executeQueryForMetadata(\"select * from \"\r\n\t\t\t\t\t+ tissueSpecimen.getTableProperties().getName());\r\n\t\t\tassertEquals(noOfDefaultColumns + 1, metaData.getColumnCount());\r\n\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tLogger.out.debug(DynamicExtensionsUtility.getStackTrace(e));\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "public void stateChanged( ChangeEvent event )\n {\n \n }" ]
[ "0.6707788", "0.61667705", "0.59935486", "0.59168273", "0.576966", "0.5754513", "0.552421", "0.552421", "0.5509191", "0.54791266", "0.5455713", "0.54461986", "0.54294974", "0.5424211", "0.54113644", "0.5392858", "0.5284276", "0.5279585", "0.5212426", "0.5211811", "0.52024627", "0.51977056", "0.5194108", "0.5188865", "0.50873345", "0.50800014", "0.50792366", "0.50709593", "0.5064503", "0.50621283", "0.506173", "0.50534177", "0.49865884", "0.4977271", "0.4974906", "0.49537656", "0.49323022", "0.49284115", "0.4896576", "0.48951373", "0.48786014", "0.48748252", "0.48566338", "0.4853072", "0.4821251", "0.4809079", "0.48090562", "0.48043445", "0.47997004", "0.47994095", "0.47991025", "0.47944397", "0.47894126", "0.47893456", "0.47854033", "0.47825962", "0.47825962", "0.47825962", "0.47825962", "0.47748265", "0.47656998", "0.47596574", "0.4749782", "0.47444895", "0.47433382", "0.47372478", "0.47314566", "0.47189572", "0.4715022", "0.46576694", "0.46563593", "0.46510044", "0.46503025", "0.46483853", "0.4647904", "0.46451315", "0.46444535", "0.46440238", "0.46385762", "0.4636007", "0.46358436", "0.46340284", "0.46333486", "0.46193376", "0.4610734", "0.4610008", "0.46087366", "0.46032825", "0.4602999", "0.46019766", "0.4601513", "0.46012118", "0.4601087", "0.4600841", "0.45976043", "0.45947435", "0.4594045", "0.45936543", "0.45918027", "0.45900345" ]
0.7125702
0
Checks if this is a ChildChanged event.
public boolean isChildChanged() { return CHILDCHANGED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "protected void childrenChanged() {\n\n }", "boolean hasChangeEvent();", "public boolean isCheckingDirtyChildPainters()\n/* */ {\n/* 254 */ return this.checkForDirtyChildPainters;\n/* */ }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "public boolean isTreeSelectionChanging() {\n\t\treturn treeSelectionChanging > 0;\n\t}", "public boolean isChanged() {\n return this.changed;\n }", "public boolean hasChanged();", "public boolean hasChanged();", "public boolean isChanged() {\r\n return isChanged;\r\n }", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "Boolean getIsChanged();", "public @Override void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (children == null && getParent() == null) {\n return;\n }\n \n super.changedUpdate(e, a, f);\n }", "public @Override void preferenceChanged(View childView, boolean width, boolean height) {\n if (childView == null) { // notify parent about this view change\n getParent().preferenceChanged(this, width, height);\n\n } else { // Child of this view has changed\n // First find the index of the child view\n int index;\n // Try to cast the view to ViewLayoutState and find index that way \n if (childView instanceof ViewLayoutState) {\n // Trust the view to be really child of this view - check is done later\n index = getChildIndexNoCheck((ViewLayoutState)childView);\n } else { // child view not instance of ViewLayoutState\n // Use binary search to find the view\n index = getViewIndex(childView.getStartOffset());\n }\n\n ViewLayoutState child = getChild(index);\n if (child.getView() != childView) {\n int ind;\n for (ind = getViewCount() - 1; ind >= 0; ind--) {\n if (getView(ind) == childView) {\n break;\n }\n }\n if (ind == -1) {\n throw new IllegalArgumentException(\"childView=\" // NOI18N\n + childView + \" not child of view \" + this); // NOI18N\n\n } else { // is child but at different index\n throw new IllegalStateException(\n \"Internal error. Child expected at index=\" + index // NOI18N\n + \" but found at index=\" + ind); // NOI18N\n }\n }\n\n // Mark the child as invalid\n child.viewPreferenceChanged(width, height);\n\n // Mark the layout of the child as invalid - this must be done\n // _after_ the real changes affecting child's layout were performed\n // because the layout may be directly updated\n // by the parent during the call of the following method.\n children.markLayoutInvalid(index, 1);\n }\n }", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "@Override\n public boolean onDependentViewChanged(CoordinatorLayout parent,\n FooterBarLayout child,\n View dependency) {\n //Check if the view position has actually changed\n if (mDependencyOffset != dependency.getTop()) {\n mDependencyOffset = dependency.getTop();\n\n child.offsetTopAndBottom(\n mChildInitialOffset - child.getTop() - mDependencyOffset);\n //Notify that we changed our attached child\n return true;\n }\n\n return false;\n }", "protected void childrenChanged() {\n proxyGroup.childrenChanged();\n }", "@objid (\"808e6a8a-1dec-11e2-8cad-001ec947c8cc\")\n @SuppressWarnings (\"static-method\")\n protected boolean isValidChild(GmNodeModel node) {\n return true;\n }", "private void containerChanged() {\n if (getContainer() == null) {\n return;\n }\n\n ListModel dataCenter = getContainer().getDataCenter();\n dataCenter.getSelectedItemChangedEvent().addListener(new IEventListener() {\n @Override\n public void eventRaised(Event ev, Object sender, EventArgs args) {\n\n containerDataCenterChanged();\n }\n });\n\n // Call handler if there some data center is already selected.\n if (dataCenter.getSelectedItem() != null) {\n containerDataCenterChanged();\n }\n }", "public boolean isChild() {\n\t\treturn false;\n\t}", "public final boolean hasChild ()\r\n {\r\n return _value.hasChild();\r\n }", "public boolean isChangeType()\n {\n return hasChanges;\n }", "public boolean containsChild() {\n return !(getChildList().isEmpty());\n }", "public void setCheckingDirtyChildPainters(boolean b)\n/* */ {\n/* 265 */ boolean old = isCheckingDirtyChildPainters();\n/* 266 */ this.checkForDirtyChildPainters = b;\n/* 267 */ firePropertyChange(\"checkingDirtyChildPainters\", Boolean.valueOf(old), Boolean.valueOf(isCheckingDirtyChildPainters()));\n/* */ }", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "public boolean isChild(){\n return child;\n }", "public boolean isChild(){\n return child;\n }", "@Override\n\t\tpublic void onChanged() {\n\t\t\tsuper.onChanged();\n\t\t\tinitChildViews();\n\t\t}", "public boolean isChild();", "public boolean isTreeModified() {\n return FxContext.get().getTreeWasModified();\n }", "@Override // com.android.server.wm.WindowContainer, com.android.server.wm.ConfigurationContainer\n public void onParentChanged() {\n }", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "public void changed() {\n this.fireContentsChanged(this, 0, this.getSize() - 1);\n }", "public void onChildChanged(DataSnapshot arg0, String arg1) {\n\n\t\t}", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "@Override\n\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\t\t\n\t}", "public void changed(Item itemChanged) {\n int childNumber = this.indexOf(itemChanged);\n if (childNumber != -1) {\n fireContentsChanged(this, childNumber, childNumber);\n }\n }", "@Override\n\t\t\tpublic void onChildChanged(DataSnapshot arg0, String arg1) {\n\t\t\t\t\n\t\t\t}", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean isBackgroundChanged() {\n return backgroundChanged;\n }", "private boolean _hasChild() {\r\n boolean ret = false;\r\n if (_childs != null && _childs.size() > 0) {\r\n ret = true;\r\n }\r\n\r\n return ret;\r\n }", "public boolean isSelectionChanged() {\n return selectionChanged;\n }", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public final boolean isChildrenLayoutNecessary() {\n return isStatusBitsNonZero(CHILDREN_LAYOUT_NECESSARY_BIT);\n }", "public boolean canBeSeen()\n {\n if (!this.hasParent() || !this.isVisible())\n {\n return false;\n }\n\n GuiElement element = this;\n\n while (true)\n {\n if (!element.isVisible())\n {\n return false;\n }\n\n GuiElement parent = element.getParent();\n\n if (parent instanceof GuiDelegateElement && ((GuiDelegateElement) parent).delegate != element)\n {\n return false;\n }\n\n if (parent == null)\n {\n break;\n }\n\n element = parent;\n }\n\n return element instanceof GuiBase.GuiRootElement;\n }", "private boolean isChild(Slot current, Slot toCheck, HashMap<Slot, Slot> parents) {\n if (parents.get(current) != null) {\n if (parents.get(current).equals(toCheck)) {\n return true;\n }\n }\n\n return false;\n }", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;", "public boolean hasUpdate(VehicleState change) {\n\n return !this.equals(change);\n }", "private void onShowingChanged(ObservableValue<? extends Boolean> pObservable, Boolean pOldValue, Boolean pNewValue)\n\t\t{\n\t\t\tif (!pNewValue.booleanValue())\n\t\t\t{\n\t\t\t\tfireEditingComplete(ICellEditorListener.FOCUS_LOST);\n\t\t\t}\n\t\t}", "public boolean isChild(){\n return false;\n }", "public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }", "public synchronized boolean hasChanged() {\n return changed;\n }", "public boolean hasConstraintChanged()\n {\n return hasConstraintChanged;\n }", "@Override\r\n \tpublic boolean hasChildren() {\n \t\treturn getChildren().length > 0;\r\n \t}", "@Override\r\n\tpublic void valuesChanged() {\r\n\t\tString name = getView().getProductGroupName();\r\n\t\t\r\n\t\tboolean validName = _productGroupFacade.canCreateChildWithName(_parent,name);\r\n\t\t\r\n\t\t//TODO fix when jay and chris get their crap together\r\n\t\tString amount = getView().getSupplyValue();\r\n\t\tString supplyUnit = getView().getSupplyUnit().toString();\r\n\t\tboolean validUnitSize = UnitSize.isValid(amount, supplyUnit);\r\n\t\t\r\n\t\tif(validName && validUnitSize){\r\n\t\t\tgetView().enableOK(true);\r\n\t\t}else{\r\n\t\t\tgetView().enableOK(false);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n public void onChanged() {\n super.onChanged();\n\n mHandler.removeCallbacks(mRefreshChildrenRunnable);\n mHandler.post(mRefreshChildrenRunnable);\n }", "protected boolean isDirty()\n/* */ {\n/* 284 */ boolean dirty = super.isDirty();\n/* 285 */ if (dirty) {\n/* 286 */ return true;\n/* */ }\n/* 288 */ if (isCheckingDirtyChildPainters()) {\n/* 289 */ for (Painter p : this.painters) {\n/* 290 */ if ((p instanceof AbstractPainter)) {\n/* 291 */ AbstractPainter ap = (AbstractPainter)p;\n/* 292 */ if (ap.isDirty()) {\n/* 293 */ return true;\n/* */ }\n/* */ }\n/* */ }\n/* */ }\n/* 298 */ return false;\n/* */ }", "public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "void eventChanged();", "@Override\n public boolean canUpdate()\n {\n return cacheable.getParentNode() != null && cacheable.getPropertyBoolean(PROPERTY_DIRTY);\n }", "public Boolean getIsChild() {\n return isChild;\n }", "public boolean isBomItemsChanged() {\n\t\treturn bomItemsChanged;\n\t}", "@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }", "@Override\n\tpublic boolean valueChanged() {\n\t\treturn false;\n\t}", "public boolean isAddedFromInvisibleEvent(int newIndex) {\r\n return isVisibilityChange;\r\n }", "private final boolean m80074b(MotionEvent motionEvent) {\n FpsRecyclerView mScrollingChild = getMScrollingChild();\n C7573i.m23582a((Object) mScrollingChild, \"mScrollingChild\");\n return m80073a((View) mScrollingChild, motionEvent);\n }", "private boolean isSuddenlyChanged(float deltaY) {\n if (mLastDeltaY > 0 && deltaY < 0) {\n return true;\n } else if (mLastDeltaY < 0 && deltaY > 0) {\n return true;\n }\n return false;\n }", "public void stateChanged( ChangeEvent event )\n {\n \n }", "public boolean hasChildComponent(Widget component) {\n return locationToWidget.containsValue(component);\n }", "@SuppressWarnings(\"unused\")\n private static void checkHasProcessingEventIfHasChildren(Specimen specimen)\n throws BiobankSessionException {\n if (!specimen.getChildSpecimens().isEmpty()\n && specimen.getProcessingEvent() == null) {\n String msg = MessageFormat.format(\n CHILDREN_WITHOUT_PROCESSING_EVENT, specimen.getInventoryId());\n throw new BiobankSessionException(msg);\n }\n }", "public boolean mo4276a(CoordinatorLayout parent, C0313f child, MotionEvent event) {\n int actionMasked = event.getActionMasked();\n if (actionMasked != 0) {\n if (actionMasked == 1 || actionMasked == 3) {\n C0269T.m1643a().mo4576e(C0307r.this.f1124j);\n }\n } else if (parent.mo4367a((View) child, (int) event.getX(), (int) event.getY())) {\n C0269T.m1643a().mo4575d(C0307r.this.f1124j);\n }\n return super.mo4276a(parent, child, event);\n }", "protected boolean isChildrenResizeDisabled() {\n return false; // by default must resize children upon setSize() on view\n }", "@Override\n public void eventsChanged() {\n }", "boolean onChildClick(int childPosition) {\n return false;\n }", "public boolean isMovementChanged() {\n return movementChanged;\n }", "@Override\n public boolean dispatchTouchEvent(final MotionEvent ev) {\n final boolean superRes = super.dispatchTouchEvent(ev);\n\n boolean childRes = false;\n final FragmentManager fragmentManager = getSupportFragmentManager();\n final List<Fragment> children = fragmentManager.getFragments();\n if (children != null) {\n for (final Fragment child : children) {\n if (child != null && child.getView() != null &&\n DispatchTouchEventListener.class.isInstance(child)\n && child.getUserVisibleHint()) {\n childRes |= ((DispatchTouchEventListener) child).dispatchTouchEvent(ev);\n }\n }\n }\n\n return childRes || superRes;\n }", "public boolean checkRoot() {\n\t\t\treturn (this.getParent().getHeight() == -1);\n\t\t}", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "@Override\n public void changed( Change change ) {\n if ( !( change.isSelected()\n && change.isForInstanceOf( Node.class )\n && change.isForProperty( \"other\" ) ) ) {\n if ( change.isUpdated() ) {\n setFlowUpdated( true );\n }\n super.changed( change );\n }\n }", "protected void checkForChange()\n {\n double changeRatio = _sceneChangeListener.check();\n _sceneChangeValueSlot.setValue(changeRatio);\n\n /*\n * if the ratio exceeds threshold, and hasn't already, set the flag\n */\n if (_resetTimedEvent == null && changeRatio >= getSceneChangeThreshold())\n {\n _sceneChangeFlagSlot.setValue(Boolean.TRUE);\n\n /*\n * queue up the reset. We want to reset the scene-changed flag after\n * visual onset duration.\n */\n double now = ACTRRuntime.getRuntime().getClock(_model).getTime();\n double resetTime = _visualModule.getVisualMemory().getNewFINSTOnsetDuration();\n _resetTimedEvent = new AbstractTimedEvent(now, now + resetTime) {\n @Override\n public void fire(double currentTime)\n {\n super.fire(currentTime);\n clearFlag();\n }\n\n @Override\n public void abort()\n {\n super.abort();\n clearFlag();\n }\n };\n\n // queue it up\n _model.getTimedEventQueue().enqueue(_resetTimedEvent);\n }\n }", "public static ApproxsimEvent getChildChanged(Object source,\n Object initiator, ApproxsimObject changed) {\n return new ApproxsimEvent(source, CHILDCHANGED, initiator, changed);\n }", "@Override\n public boolean onDependentViewChanged(CoordinatorLayout parent, V child, View dependency) {\n if (!isPrepared) {\n prepare(parent, child, dependency);\n }\n updateView(child, dependency);\n return false;\n }", "boolean hasParentalStatusView();", "public boolean isChildOf(Loop child, Loop parent) {\n\t\treturn ((parent.start <= child.start) && (parent.stop >= child.stop) && (parent != child));\n\t}", "@Override\r\n\tpublic boolean hasChildren() {\n\t\tSystem.out.println(\"this children is=\"+this.children);\r\n\t\tif(this.children==null||this.children.isEmpty()){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn !this.children.isEmpty();\r\n\t}", "public boolean isResponseChanged() {\n return responseChanged;\n }", "public boolean isSelfMessageProcessingEvent();", "public boolean hasChildren()\n/* */ {\n/* 487 */ return !this.children.isEmpty();\n/* */ }", "public boolean isPathChanged() {\r\n return ctrlDomain.isPathChanged();\r\n }", "public boolean isClockChangeCalled();", "public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}" ]
[ "0.6381789", "0.62345636", "0.6082744", "0.5956858", "0.5839458", "0.5821314", "0.5736872", "0.5734421", "0.571098", "0.56809855", "0.56809855", "0.56473213", "0.56310236", "0.5607072", "0.5600176", "0.55832464", "0.5526349", "0.55185765", "0.55135226", "0.54926634", "0.5488154", "0.54567254", "0.5447923", "0.5446207", "0.5438128", "0.54365623", "0.542933", "0.5391082", "0.5391082", "0.53896475", "0.5379798", "0.5364477", "0.5355227", "0.53482455", "0.5341721", "0.5341721", "0.5324917", "0.5324917", "0.5323725", "0.5316273", "0.5314135", "0.5313217", "0.5297016", "0.5285015", "0.52759516", "0.5253416", "0.52429426", "0.52336", "0.5225226", "0.52185184", "0.52160203", "0.5207454", "0.51989555", "0.5193957", "0.51926315", "0.51922137", "0.5186224", "0.5181311", "0.51800096", "0.5176846", "0.517234", "0.51585734", "0.5156373", "0.5149755", "0.514767", "0.5131785", "0.5130414", "0.5119393", "0.51180863", "0.51122564", "0.5105155", "0.5103427", "0.50940746", "0.50912815", "0.50843054", "0.50794315", "0.5075976", "0.5075742", "0.50711274", "0.50685984", "0.5068316", "0.5066436", "0.5043126", "0.50335103", "0.50286335", "0.5023595", "0.5020494", "0.5018058", "0.50072646", "0.49867225", "0.4970716", "0.49681348", "0.49654445", "0.49652672", "0.49631616", "0.4961943", "0.49524912", "0.49503344", "0.4947788", "0.49477753" ]
0.79822284
0
Creates a new SubscriptionHandled event. This type of event is triggered by the Client when the XMLHandler has handled all data that arrived from the server for a certain timestep.
public static ApproxsimEvent getSubscriptionHandled(Object source, Timestamp time) { return new ApproxsimEvent(source, SUBSCRIPTIONHANDLED, null, time); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void receive(SubscriptionCreation event) {\n logger.info(\"###Received subscription creation event with id:\" + event.getSubscriptionId());\n }", "@Override\n public void receive(SubscriptionTermination event) {\n logger.info(\"###Received subscription termination event with id:\" + event.getSubscriptionId());\n }", "public void subscribe(final SubscriptionHandler<T> handler) throws IOException {\n\n reader.set_listener(new DataReaderListener() {\n public void on_requested_deadline_missed(DataReader dataReader, RequestedDeadlineMissedStatus requestedDeadlineMissedStatus) {\n\n }\n\n public void on_requested_incompatible_qos(DataReader dataReader, RequestedIncompatibleQosStatus requestedIncompatibleQosStatus) {\n\n }\n\n public void on_sample_rejected(DataReader dataReader, SampleRejectedStatus sampleRejectedStatus) {\n\n }\n\n public void on_liveliness_changed(DataReader dataReader, LivelinessChangedStatus livelinessChangedStatus) {\n\n }\n\n public void on_data_available(DataReader dataReader) {\n\n logger.trace(\"Data available call\");\n\n try {\n\n final ReadResult<T> take =\n typeHandle.take(reader, ResourceLimitsQosPolicy.LENGTH_UNLIMITED, SampleStateKind.ANY_SAMPLE_STATE,\n ViewStateKind.ANY_VIEW_STATE, InstanceStateKind.ALIVE_INSTANCE_STATE);\n\n handler.handle(take);\n\n } catch (Throwable ex) {\n logger.warn(\"Error in data available: \" + ex);\n ex.printStackTrace(System.err);\n }\n }\n\n public void on_sample_lost(DataReader dataReader, SampleLostStatus sampleLostStatus) {\n\n }\n\n public void on_subscription_matched(DataReader dataReader, SubscriptionMatchedStatus subscriptionMatchedStatus) {\n\n }\n }, StatusKind.DATA_AVAILABLE_STATUS);\n\n }", "public boolean isSubscriptionHandled() {\n return SUBSCRIPTIONHANDLED.equals(message);\n }", "private void handleEarlySubscribeReceived()\n {\n for(Jid from : earlySubscriptions.keySet())\n {\n handleSubscribeReceived(from, earlySubscriptions.get(from));\n }\n\n earlySubscriptions.clear();\n }", "private void handleSubscriptions(RoutingContext routingContext) {\n LOGGER.debug(\"Info: handleSubscription method started\");\n /* Handles HTTP request from client */\n HttpServerRequest request = routingContext.request();\n /* Handles HTTP response from server to client */\n HttpServerResponse response = routingContext.response();\n /* HTTP request body as Json */\n JsonObject requestBody = routingContext.getBodyAsJson();\n /* HTTP request instance/host details */\n String instanceID = request.getHeader(HEADER_HOST);\n String subHeader = request.getHeader(HEADER_OPTIONS);\n String subscrtiptionType =\n subHeader != null && subHeader.contains(SubsType.STREAMING.getMessage())\n ? SubsType.STREAMING.getMessage()\n : SubsType.CALLBACK.getMessage();\n requestBody.put(SUB_TYPE, subscrtiptionType);\n /* checking authentication info in requests */\n JsonObject authInfo = (JsonObject) routingContext.data().get(\"authInfo\");\n LOGGER.debug(\"authInfo : \" + authInfo);\n\n if (requestBody.containsKey(SUB_TYPE)) {\n JsonObject jsonObj = requestBody.copy();\n jsonObj.put(JSON_CONSUMER, authInfo.getString(JSON_CONSUMER));\n jsonObj.put(JSON_INSTANCEID, instanceID);\n LOGGER.debug(\"Info: json for subs :: ;\" + jsonObj);\n Future<JsonObject> subsReq = subsService.createSubscription(jsonObj, databroker, database);\n subsReq.onComplete(subHandler -> {\n if (subHandler.succeeded()) {\n LOGGER.info(\"Success: Handle Subscription request;\");\n handleSuccessResponse(response, ResponseType.Created.getCode(),\n subHandler.result().toString());\n } else {\n LOGGER.error(\"Fail: Handle Subscription request;\");\n processBackendResponse(response, subHandler.cause().getMessage());\n }\n });\n } else {\n LOGGER.error(\"Fail: Bad request\");\n handleResponse(response, ResponseType.BadRequestData, MSG_SUB_TYPE_NOT_FOUND);\n }\n }", "public Event createSubscribe(Address resource, String event, int expires);", "public SOAPEnvelope fromSubscription(Subscription subscription) {\n SOAPEnvelope message = factory.getDefaultEnvelope();\n EndpointReference subscriptionManagerEPR =\n new EndpointReference(subscription.getEventSinkURL());\n subscriptionManagerEPR.addReferenceParameter(new QName(EventingConstants.WSE_EVENTING_NS,\n EventingConstants.WSE_EN_IDENTIFIER, EventingConstants.WSE_EVENTING_PREFIX),\n subscription.getId());\n OMNamespace eventingNamespace = factory.createOMNamespace(EventingConstants.WSE_EVENTING_NS,\n EventingConstants.WSE_EVENTING_PREFIX);\n OMElement subscribeResponseElement = factory.createOMElement(\n EventingConstants.WSE_EN_SUBSCRIBE_RESPONSE, eventingNamespace);\n try {\n OMElement subscriptionManagerElement = EndpointReferenceHelper.toOM(\n subscribeResponseElement.getOMFactory(),\n subscriptionManagerEPR,\n new QName(EventingConstants.WSE_EVENTING_NS,\n EventingConstants.WSE_EN_SUBSCRIPTION_MANAGER,\n EventingConstants.WSE_EVENTING_PREFIX),\n AddressingConstants.Submission.WSA_NAMESPACE);\n subscribeResponseElement.addChild(subscriptionManagerElement);\n OMElement expiresElement =\n factory.createOMElement(EventingConstants.WSE_EN_EXPIRES, eventingNamespace);\n if (subscription.getExpires() != null) {\n factory.createOMText(expiresElement,\n ConverterUtil.convertToString(subscription.getExpires()));\n } else {\n factory.createOMText(expiresElement, \"*\");\n }\n subscribeResponseElement.addChild(expiresElement);\n message.getBody().addChild(subscribeResponseElement);\n } catch (AxisFault axisFault) {\n log.error(\"Unable to create subscription response\", axisFault);\n throw new BuilderException(\"Unable to create subscription response\", axisFault);\n }\n return message;\n }", "@Override\n\tpublic void onSubscribe(Subscription subscription) {\n\t\tSystem.out.println(\"onSubscribe invoked\");\n\t\tsubscription.request(Long.MAX_VALUE);\n\t}", "@Override\r\n public void onResponse(@Nonnull com.apollographql.apollo.api.Response<OnCreateBuyableItemSubscription.Data> response) {\n Log.i(TAG, \"new data added\");\r\n final BuyableItem newItem = new BuyableItem(response.data().onCreateBuyableItem().title(), response.data().onCreateBuyableItem().priceInCents());\r\n Handler handler = new Handler(Looper.getMainLooper()) {\r\n @Override\r\n public void handleMessage(Message inputMessage) {\r\n buyableItemAdapter.addItem(newItem);\r\n }\r\n };\r\n\r\n handler.obtainMessage().sendToTarget();\r\n\r\n }", "ISubscription addEventHandler(EventType type, IEventHandler<DetectionEvent> handler);", "public Event subscribe(Address resource, String event, int expires, Content body);", "public com.vodafone.global.er.decoupling.binding.request.SubscriptionType createSubscriptionType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SubscriptionTypeImpl();\n }", "private void subscribeHandler(MqttSubscribeMessage subscribe) {\n\n final int messageId = subscribe.messageId();\n LOG.info(\"SUBSCRIBE [{}] from MQTT client {}\", messageId, this.mqttEndpoint.clientIdentifier());\n\n // sending AMQP_SUBSCRIBE\n\n List<AmqpTopicSubscription> topicSubscriptions =\n subscribe.topicSubscriptions().stream().map(topicSubscription -> {\n return new AmqpTopicSubscription(topicSubscription.topicName(), topicSubscription.qualityOfService());\n }).collect(Collectors.toList());\n\n AmqpSubscribeMessage amqpSubscribeMessage =\n new AmqpSubscribeMessage(this.mqttEndpoint.clientIdentifier(),\n topicSubscriptions);\n\n this.ssEndpoint.sendSubscribe(amqpSubscribeMessage, done -> {\n\n if (done.succeeded()) {\n\n ProtonDelivery delivery = done.result();\n\n List<MqttQoS> grantedQoSLevels = null;\n if (delivery.getRemoteState() == Accepted.getInstance()) {\n\n // QoS levels requested are granted\n grantedQoSLevels = amqpSubscribeMessage.topicSubscriptions().stream().map(topicSubscription -> {\n return topicSubscription.qos();\n }).collect(Collectors.toList());\n\n // add accepted topic subscriptions to the local collection\n amqpSubscribeMessage.topicSubscriptions().stream().forEach(amqpTopicSubscription -> {\n this.grantedQoSLevels.put(amqpTopicSubscription.topic(), amqpTopicSubscription.qos());\n });\n\n } else {\n\n // failure for all QoS levels requested\n grantedQoSLevels = new ArrayList<>(Collections.nCopies(amqpSubscribeMessage.topicSubscriptions().size(), MqttQoS.FAILURE));\n }\n\n this.mqttEndpoint.subscribeAcknowledge(messageId, grantedQoSLevels);\n\n LOG.info(\"SUBACK [{}] to MQTT client {}\", messageId, this.mqttEndpoint.clientIdentifier());\n }\n });\n }", "@Override\n public void onMessage(Message message) {\n try {\n // Generate data\n QueueProcessor processor = getBean(QueueProcessor.class);\n ServiceData serviceData = processor.parseResponseMessage(response, message);\n\n // If return is a DataList or Data, parse it with the query\n if (serviceData.getClientActionList() == null || serviceData.getClientActionList().isEmpty()) {\n serviceData = queryService.onSubscribeData(query, address, serviceData, parameterMap);\n } else {\n // Add address to client action list\n for (ClientAction action : serviceData.getClientActionList()) {\n action.setAddress(getAddress());\n }\n }\n\n // Broadcast data\n broadcastService.broadcastMessageToUID(address.getSession(), serviceData.getClientActionList());\n\n // Log sent message\n getLogger().log(QueueListener.class, Level.DEBUG,\n \"New message received from subscription to address {0}. Content: {1}\",\n getAddress().toString(), message.toString());\n } catch (AWException exc) {\n broadcastService.sendErrorToUID(address.getSession(), exc.getTitle(), exc.getMessage());\n\n // Log error\n getLogger().log(QueueListener.class, Level.ERROR, \"Error in message from subscription to address {0}. Content: {1}\", exc,\n getAddress().toString(), message.toString());\n } catch (Exception exc) {\n broadcastService.sendErrorToUID(address.getSession(), null, exc.getMessage());\n\n // Log error\n getLogger().log(QueueListener.class, Level.ERROR, \"Error in message from subscription to address {0}. Content: {1}\", exc,\n getAddress().toString(), message.toString());\n }\n }", "@Override\n public void handle() throws RetriableException, UnRetriableException {\n Observable<Client> permissionObservable = checkPermission(getMessage().getSessionId(),\n getMessage().getAuthKey(), AuthorityRole.CONNECT);\n permissionObservable.subscribe(\n\n (client) -> {\n\n\n /**\n * MUST respond to a PUBREL packet by sending a PUBCOMP packet containing the same Packet Identifier as the PUBREL.\n * After it has sent a PUBCOMP, the receiver MUST treat any subsequent PUBLISH packet that contains that Packet Identifier as being a new publication.\n */\n\n\n Observable<PublishMessage> messageObservable = getDatastore().getMessage(\n client.getPartition(), client.getClientId(), getMessage().getMessageId(), true);\n\n messageObservable.subscribe(publishMessage -> {\n\n publishMessage.setReleased(true);\n Observable<Long> messageIdObservable = getDatastore().saveMessage(publishMessage);\n\n messageIdObservable.subscribe(messageId -> {\n try {\n\n client.internalPublishMessage(getMessenger(), publishMessage);\n\n //Initiate a publish complete.\n CompleteMessage destroyMessage = CompleteMessage.from(publishMessage.getMessageId());\n destroyMessage.copyBase(publishMessage);\n pushToServer(destroyMessage);\n\n\n //Destroy message.\n getDatastore().removeMessage(publishMessage);\n\n } catch (RetriableException e) {\n log.error(\" releaseInboundMessage : encountered a problem while publishing.\", e);\n }\n });\n });\n }, this::disconnectDueToError);\n }", "@Subscribe\n public void handleFallback(Object event) {\n if (!LOG.isVerboseEnabled()) {\n return;\n }\n if (EXPLICITLY_HANDLED_EVENT_TYPES.contains(event.getClass())) {\n return;\n }\n LOG.verbose(\"%s\", event);\n }", "@Override\n\tpublic SubscriptionHandle subscribe(final MessageType topic, final BiConsumer<Message, ModuleUniqueId> handler) {\n\t\treturn eventDispatcher.subscribe(topic, handler);\n\t}", "public Management subscribe(String resource, HandlerContext context, Management request, Management response) throws JAXBException, SOAPException, DatatypeConfigurationException, IOException {\n\t\treturn null;\n\t}", "public void handleMessageEvent(StunMessageEvent e) {\n delegate.processRequest(e);\n }", "@Subscribe\n public void onEvent(Object event) {\n }", "@Subscribe\n public void onEvent(Object event) {\n }", "public Subscription toSubscription(SOAPEnvelope envelope)\n throws InvalidMessageException, InvalidExpirationTimeException {\n Subscription subscription = null;\n OMElement notifyToElem;\n if (envelope == null) {\n log.error(\"No SOAP envelope was provided.\");\n throw new BuilderException(\"No SOAP envelope was provided.\");\n }\n OMElement elem = null;\n if (envelope.getBody() != null) {\n elem = envelope.getBody().getFirstChildWithName(SUBSCRIBE_QNAME);\n }\n if (elem != null) {\n OMElement deliveryElem = elem.getFirstChildWithName(DELIVERY_QNAME);\n if (deliveryElem != null) {\n notifyToElem = deliveryElem.getFirstChildWithName(NOTIFY_TO_QNAME);\n if (notifyToElem != null) {\n String ep = BuilderUtils.getEndpointFromWSAAddress(\n notifyToElem.getFirstElement());\n if (ep != null) {\n subscription = new Subscription();\n subscription.setEventSinkURL(ep);\n }\n } else {\n log.error(\"NotifyTo element not found in the subscription message.\");\n throw new InvalidMessageException(\n \"NotifyTo element not found in the subscription message.\");\n }\n } else {\n log.error(\"Delivery element is not found in the subscription message.\");\n throw new InvalidMessageException(\n \"Delivery element is not found in the subscription message.\");\n }\n\n OMElement filterElem = elem.getFirstChildWithName(FILTER_QNAME);\n if (subscription != null && filterElem != null) {\n OMAttribute dialectAttribute = filterElem.getAttribute(ATT_DIALECT);\n if (dialectAttribute != null && dialectAttribute.getAttributeValue() != null) {\n subscription.setEventFilter(\n new EventFilter(dialectAttribute.getAttributeValue(),\n filterElem.getText().trim()));\n } else {\n log.error(\"Error in creating subscription. Filter dialect not defined.\");\n throw new BuilderException(\n \"Error in creating subscription. Filter dialect not defined.\");\n }\n } else if (subscription == null) {\n log.error(\"Error in creating subscription.\");\n throw new BuilderException(\"Error in creating subscription.\");\n }\n OMElement expiryElem = elem.getFirstChildWithName(EXPIRES);\n if (expiryElem != null) {\n Calendar calendarExpires;\n try {\n String expiryText = expiryElem.getText().trim();\n if (expiryText.startsWith(\"P\")) {\n calendarExpires = Calendar.getInstance();\n Duration duration = ConverterUtil.convertToDuration(expiryText);\n calendarExpires.add(Calendar.YEAR, duration.getYears());\n calendarExpires.add(Calendar.MONTH, duration.getMonths());\n calendarExpires.add(Calendar.DAY_OF_MONTH, duration.getDays());\n calendarExpires.add(Calendar.HOUR_OF_DAY, duration.getHours());\n calendarExpires.add(Calendar.MINUTE, duration.getMinutes());\n calendarExpires.add(Calendar.SECOND, (int)duration.getSeconds());\n } else {\n calendarExpires = ConverterUtil.convertToDateTime(expiryText);\n }\n } catch (Exception e) {\n log.error(\"Error converting the expiration date.\", e);\n throw new InvalidExpirationTimeException(\n \"Error converting the expiration date.\", e);\n }\n Calendar calendarNow = Calendar.getInstance();\n if (calendarNow.before(calendarExpires)) {\n subscription.setExpires(calendarExpires);\n } else {\n log.error(\"The expiration time has passed.\");\n throw new InvalidExpirationTimeException(\"The expiration time has passed.\");\n }\n }\n\n OMElement scriptElement = elem.getFirstChildWithName(new QName(EventingConstants.WSE_EXTENDED_EVENTING_NS, EventingConstants.EVENTING_EXECUTABLE_SCRIPT_ELEMENT));\n if (scriptElement != null) {\n subscription.getProperties().put(EventingConstants.EVENTING_EXECUTABLE_SCRIPT_ELEMENT, scriptElement.getText());\n }\n } else {\n log.error(\"Subscribe element is required as the payload of the subscription message.\");\n throw new InvalidMessageException(\n \"Subscribe element is required as the payload of the subscription message.\");\n }\n return subscription;\n }", "@Override\n\tpublic void brokenSubscription() {\n\t\t\n\t}", "public static Subscription createSubscriptionToReceiveResponses(\n String linkId)\n\t{\n\t\tif (linkId == null)\n\t\t{\n\t\t\tString msg = \"linkId can't be null\";\n\t\t\tthrow new IllegalArgumentException(msg);\n\t\t}\n\n\t\t// receive all events that are responses and were sent over this link\n String expr = Attribute.Event.EVENT_TYPE + \" == \\\"\" +\n\t\t\t\tEventType.RESPONSE + \"\\\" && \" +\n\t\t\t\tLINK_ID + \" == \\\"\" + linkId + \"\\\"\";\n\t\treturn new Subscription(expr);\n\t}", "public com.vodafone.global.er.decoupling.binding.request.SelfcareFullSubscriptions createSelfcareFullSubscriptions()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SelfcareFullSubscriptionsImpl();\n }", "public void createSubscription(Subscription sub);", "@Override\n public void onHandlerShutdown(EndpointHandler handler) {\n if (isShutdown) {\n return;\n }\n isShutdown = true;\n creatorEndpoint.onHandlerShutdown(this);\n }", "@Override\n\t\t\t\tpublic void subscriptionStateChanged(LinphoneCore lc, LinphoneEvent ev,\n\t\t\t\t\t\tSubscriptionState state) {\n\t\t\t\t\t\n\t\t\t\t}", "public void checkSubscriptionEventCreated(final UUID bundleId, final UUID subscriptionEventId, final CallContext context) {\n final List<AuditLog> auditLogsForSubscriptionEvent = getAuditLogsForSubscriptionEvent(bundleId, subscriptionEventId, context);\n Assert.assertEquals(auditLogsForSubscriptionEvent.size(), 1);\n checkAuditLog(ChangeType.INSERT, context, auditLogsForSubscriptionEvent.get(0), subscriptionEventId, SubscriptionEventSqlDao.class, true, true);\n }", "public void registerHandler(ReceivedDataHandler handler)\n {\n this.handler = handler;\n }", "@Override\n public void receive(SubscriptionDeletion event) {\n logger.info(\"###Received subscription deletion event with id:\" + event.getSubscription().getId());\n }", "@Override\n\tpublic void handleEvent(EnOceanMessage data) {\n\t}", "private static void addConsumer(final String eventID, final String tenantId, final IEventHandler subscriber) {\n // get the qualifier of the subscriber\n final Named annotationNamed = subscriber.getClass().getAnnotation(Named.class);\n final String qualifier = annotationNamed == null ? null : annotationNamed.value();\n\n // get handler instance\n final EventMessageHandler handler = REGISTERED_HANDLER.computeIfAbsent(toBusAddress(eventID), (final String busAddress) -> {\n final EventMessageHandler eventMessageHandler = new EventMessageHandler(eventID);\n final MessageConsumer<Object> consumer = bus.consumer(busAddress);\n consumer.completionHandler((final AsyncResult<Void> asyncResult) -> {\n if (asyncResult.succeeded()) {\n LOGGER.info(\"vertx async event42 handler successfully registered on eventbus address {}\", busAddress);\n } else {\n LOGGER.error(\"vertx async event42 handler FAILED to register on event bus at {}\", busAddress);\n }\n });\n consumer.handler(eventMessageHandler);\n return eventMessageHandler;\n });\n\n // add tenant to qualifier mapping to handler for but address\n LOGGER.info(\"vertx async event42 handler {} added with qualifier {} for tenant {}\", subscriber.getClass().getSimpleName(), qualifier, tenantId);\n handler.addQualifierByTenantId(tenantId, qualifier);\n }", "public com.vodafone.global.er.decoupling.binding.request.NotificationSubscribe createNotificationSubscribe()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.NotificationSubscribeImpl();\n }", "void addNewSubscription(Subscription newSubscription);", "private void handleSubscribeReceived(final Jid fromID,\n final String displayName)\n {\n // run waiting for user response in different thread\n // as this seems to block the packet dispatch thread\n // and we don't receive anything till we unblock it\n new Thread(new Runnable() {\n public void run()\n {\n if (logger.isTraceEnabled())\n {\n logger.trace(\n fromID\n + \" wants to add you to its contact list\");\n }\n\n // buddy want to add you to its roster\n ContactJabberImpl srcContact\n = ssContactList.findContactById(fromID);\n\n Presence.Type responsePresenceType = null;\n\n if(srcContact == null)\n {\n srcContact = createVolatileContact(fromID, displayName);\n }\n else\n {\n if(srcContact.isPersistent())\n responsePresenceType = Presence.Type.subscribed;\n }\n\n if(responsePresenceType == null)\n {\n AuthorizationRequest req = new AuthorizationRequest();\n AuthorizationResponse response\n = handler.processAuthorisationRequest(\n req, srcContact);\n\n if(response != null)\n {\n if(response.getResponseCode()\n .equals(AuthorizationResponse.ACCEPT))\n {\n responsePresenceType\n = Presence.Type.subscribed;\n if (logger.isInfoEnabled())\n logger.info(\n \"Sending Accepted Subscription\");\n }\n else if(response.getResponseCode()\n .equals(AuthorizationResponse.REJECT))\n {\n responsePresenceType\n = Presence.Type.unsubscribed;\n if (logger.isInfoEnabled())\n logger.info(\n \"Sending Rejected Subscription\");\n }\n }\n }\n\n // subscription ignored\n if(responsePresenceType == null)\n return;\n\n Presence responsePacket = new Presence(\n responsePresenceType);\n\n responsePacket.setTo(fromID);\n try\n {\n parentProvider.getConnection().sendStanza(responsePacket);\n }\n catch (NotConnectedException | InterruptedException e)\n {\n logger.error(\"Could not send presence repsonse\", e);\n }\n }}).start();\n }", "public com.vodafone.global.er.decoupling.binding.request.InactivateSubscriptionType createInactivateSubscriptionType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.InactivateSubscriptionTypeImpl();\n }", "@Override\n\tpublic void RegisterHandler(HotSpotServerEventHandler handler) {\n\t\teventHandlers.add(handler);\n\t}", "@Override\n public void onSubscribe(Subscription s) {\n s.request(10);\n\n // Should not produce anymore data\n s.request(10);\n }", "protected void onDiscoveryStarted() {\n logAndShowSnackbar(\"Subscription Started\");\n }", "@Override\r\n\t\tpublic void call(TServerDistanceInfo sdi) {\n\t synchronized (this) {\r\n\t\t\t\tserverInfo.put(sdi.name, sdi);\r\n\t subject.onNext(sdi);\r\n\t // Raise the FinishedInitialisation event just once, when all servers have been polled\r\n\t if (!initialisedRaised && serverInfo.size() == servers.size()) {\r\n\t finishedInitialisation.raise(this);\r\n\t finishedInitialisation.removeAllHandlers();\r\n\t initialisedRaised = true;\r\n\t }\r\n\t\t\t}\r\n\t\t}", "@Override\n\tpublic void processAddListenEventCondition(EventType type,\n\t\t\tEventSubscriptionInfo condition) {\n\n\t}", "public interface Subscription {\n /**\n * Calling this will send the event to the subscribed service\n * @param event the event to transmit to the subscribed service\n */\n boolean onEvent(Event event);\n\n /**\n * Returns a stream of all subscribeRequests that are transmitted by the subbed service\n * @return a stream of subscribeRequests transmitted by subbed service\n */\n Observable<SubscribeRequest> getSubscribeRequestStream();\n\n /**\n * This completable will complete when the subscription is terminated for some reason (most likely a connection termination)\n * @return a completable that will complete when the subscription is terminated\n */\n Completable getCompletable();\n}", "@Override\n public void handle(Event event) {\n }", "public void handleEvent(final Event event, final Object payload) {\n if ( this.running ) {\n if ( prefix == null || event.getTopic().startsWith(prefix) ) {\n incCount();\n eventRecievedList.offer(event);\n }\n }\n }", "public com.vodafone.global.er.decoupling.binding.request.SubscriptionFullType createSubscriptionFullType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SubscriptionFullTypeImpl();\n }", "public Subscription() {\n System.out.println(\"create new subscription\");\n }", "public com.vodafone.global.er.decoupling.binding.request.InactivateSubscription createInactivateSubscription()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.InactivateSubscriptionImpl();\n }", "@Override\r\n\tpublic void handle(Event e) {\r\n\t\tif (e.getCheck().equals(Check.CREATED)) {\r\n\t\t\tmultiples.add(e.getObjectID());\r\n\t\t\t// System.out.println(\"Object with id \" + e.getObjectID()\r\n\t\t\t// + \" has been created more than once.\");\r\n\t\t}\r\n\r\n\t}", "@Override\n\t\tpublic void onSubscribe(Disposable d) {\n\t\t\tSystem.out.println(\"subscribe\");\n\t\t}", "public interface SubscriptionListener {\n public void onReceivedMessage(String message);\n}", "@Override\n public SoapEvent create(SoapEvent event) {\n throw new UnsupportedOperationException();\n }", "private void tryToConsumeEvent() {\n if (subscriber == null || storedEvent == null) {\n return;\n }\n sendMessageToJs(storedEvent, subscriber);\n\n }", "public com.vodafone.global.er.decoupling.binding.request.SubscriptionAttributesType createSubscriptionAttributesType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SubscriptionAttributesTypeImpl();\n }", "public void createSubscription(CartridgeSubscription cartridgeSubscription) throws ADCException, AlreadySubscribedException {\n cartridgeSubscription.getCluster().setClusterDomain(cartridgeSubscription.getAlias() + \".\" +\n cartridgeSubscription.getCluster().getHostName() + \".\" + cartridgeSubscription.getType() + \".domain\");\n cartridgeSubscription.getCluster().setHostName(cartridgeSubscription.getAlias() + \".\" +\n cartridgeSubscription.getCluster().getHostName());\n }", "private void handleNewClientProxyEvent(NewClientProxyEvent event) throws AppiaEventException {\n \t\tevent.loadMessage();\n \t\tSystem.out.println(\"Received a new client from a server\");\n \n \t\t//Get the parameters\n \t\tString groupId = event.getClient().getGroup().id;\n \n \t\t//Add the client as a future client\n \t\tVsClientManagement.addAsFutureClient(groupId, event.getClient());\n \n \t\t//I ask if I have some client in that group\n \t\tif( VsClientManagement.hasSomeClientConnectedToServer(groupId, listenAddress)){\n \t\t\tSystem.out.println(\"I have clients to ask to shut up\");\n \n \t\t\t//I need to ask my attached clients for them to Block\t\n \t\t\tVsGroup group = VsClientManagement.getVsGroup(groupId);\n \t\t\tShutUpStubEvent shutUpEvent = new ShutUpStubEvent(groupId);\n \t\t\tsendStubEvent(shutUpEvent, group);\n \t\t}\n \n \t\t//If I don't have no clients in that group\n \t\telse{\n \t\t\tSystem.out.println(\"I have no clients for group: \" + groupId + \" so I can send the blockOk\");\n \n \t\t\t//Get my version for this group\n \t\t\tint viewVersion = VsClientManagement.getVsGroup(groupId).getCurrentVersion();\n \n \t\t\t//I may send directly the BlockOkProxy event to me and the other server\n \t\t\tBlockOkProxyEvent blockedOkProxy = new BlockOkProxyEvent(groupId, myEndpt, viewVersion);\n \t\t\tsendToOtherServers(blockedOkProxy);\n \t\t\tsendToMyself(blockedOkProxy);\n \t\t}\n \t}", "public Event createOneShotPublish(Address resource, String event);", "private void appendSubscription(RoutingContext routingContext) {\n LOGGER.debug(\"Info: appendSubscription method started\");\n HttpServerRequest request = routingContext.request();\n HttpServerResponse response = routingContext.response();\n String domain = request.getParam(JSON_DOMAIN);\n String usersha = request.getParam(JSON_USERSHA);\n String alias = request.getParam(JSON_ALIAS);\n String subsId = domain + \"/\" + usersha + \"/\" + alias;\n JsonObject requestJson = routingContext.getBodyAsJson();\n String instanceID = request.getHeader(HEADER_HOST);\n requestJson.put(SUBSCRIPTION_ID, subsId);\n requestJson.put(JSON_INSTANCEID, instanceID);\n String subHeader = request.getHeader(HEADER_OPTIONS);\n String subscrtiptionType =\n subHeader != null && subHeader.contains(SubsType.STREAMING.getMessage())\n ? SubsType.STREAMING.getMessage()\n : SubsType.CALLBACK.getMessage();\n requestJson.put(SUB_TYPE, subscrtiptionType);\n JsonObject authInfo = (JsonObject) routingContext.data().get(\"authInfo\");\n LOGGER.debug(\"authInfo : \" + authInfo);\n if (requestJson != null && requestJson.containsKey(SUB_TYPE)) {\n if (requestJson.getString(JSON_NAME).equalsIgnoreCase(alias)) {\n JsonObject jsonObj = requestJson.copy();\n jsonObj.put(JSON_CONSUMER, authInfo.getString(JSON_CONSUMER));\n Future<JsonObject> subsReq = subsService.appendSubscription(jsonObj, databroker, database);\n subsReq.onComplete(subsRequestHandler -> {\n if (subsRequestHandler.succeeded()) {\n LOGGER.info(\"Success: Appending subscription\");\n handleSuccessResponse(response, ResponseType.Created.getCode(),\n subsRequestHandler.result().toString());\n } else {\n LOGGER.error(\"Fail: Appending subscription\");\n processBackendResponse(response, subsRequestHandler.cause().getMessage());\n }\n });\n } else {\n LOGGER.error(\"Fail: Bad request\");\n handleResponse(response, ResponseType.BadRequestData, MSG_INVALID_NAME);\n }\n } else {\n LOGGER.error(\"Fail: Bad request\");\n handleResponse(response, ResponseType.BadRequestData, MSG_SUB_TYPE_NOT_FOUND);\n }\n }", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\tAddNotificationWizard wizard = new AddNotificationWizard(humanInteractions,notificationPage,domain,notficationViewer);\n\t\t\t\tWizardDialog wizardDialog = new WizardDialog(Display .getCurrent().getActiveShell(),wizard);\n\t\t\t\twizardDialog.create(); \n\t\t\t\twizardDialog.open();\n\t\t\t}", "@PostMapping(\"/subscriptions\")\n @Timed\n public ResponseEntity<Subscription> createSubscription(@Valid @RequestBody Subscription subscription) throws URISyntaxException {\n log.debug(\"REST request to save Subscription : {}\", subscription);\n if (subscription.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(ENTITY_NAME, \"idexists\", \"A new subscription cannot already have an ID\")).body(null);\n }\n Subscription result = subscriptionService.save(subscription);\n return ResponseEntity.created(new URI(\"/api/subscriptions/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "public void handleMessageEvent(StunMessageEvent e) {\n delegate.handleMessageEvent(e);\n }", "public void handleMessageEvent(StunMessageEvent e) {\n delegate.handleMessageEvent(e);\n }", "@Override\n\t\t\tpublic void onSubscribe(Disposable arg0) {\n\t\t\t\t\n\t\t\t}", "public void createAlert(Subscription subscription, List<Event> events) throws DeliveryException { \r\n\tsuper.createAlert(subscription, events, sender);\r\n }", "public void handlePublishedSoxEvent(SoxEvent e) {\n\t\ttry{\n\n\t\toutBuffer.write(\":::::Received Data:::::\" + \"\\n\");\n\t\toutBuffer.write(\"Message from: \"+e.getOriginServer());\n\t\tList<TransducerValue> values = e.getTransducerValues();\n\t\tString to_python_arg = \"\";\n\t\tPattern pat;\n\t\tMatcher mat;\n\t\tString id_arg, value_arg, timing_arg;\n\t\tid_arg=\"\";\n\t\tvalue_arg=\"\";\n\t\toutBuffer.write(\"\\n\" +\":::::Node ID:::::\" + e.getNodeID() + \"\\n\");\n\t\tString group_id = e.getNodeID();\n\t\tfor (TransducerValue value : values) {\n\t\t\toutBuffer.write(\"TransducerValue[id:\" + value.getId()\n\t\t\t\t\t+ \", rawValue:\" + value.getRawValue() + \", typedValue:\"\n\t\t\t\t\t+ value.getTypedValue() + \", timestamp:\"\n\t\t\t\t\t+ value.getTimestamp() + \"]\" + \"\\n\");\n\t\t\t\n\t\t\tif (value.getId().length() > 255 ){ id_arg = value.getId().substring(0,255); } else { id_arg = value.getId(); }\n\t\t\tif (value.getRawValue().length() > 255 ){ value_arg = value.getRawValue().substring(0,255); } else { value_arg = value.getRawValue(); }\n\n\t\t\tid_arg = dummy_escape(id_arg);\n\t\t\tvalue_arg = dummy_escape(value_arg);\n\t\t\ttiming_arg = value.getTimestamp();\n\t\t\tto_python_arg = \"'group_id\" + group_id + \" item_id=\" + id_arg + \" raw_value=\" + value_arg + \" timing=\" + timing_arg + \"'\";\n\n\t\t\tp = new ProcessBuilder(\"/var/local/jikkyolizer/bin/python3\", \"/home/jikkyolizer_input/jikkyolizer_input2.py\", to_python_arg, \"1>>/home/jikkyolizer_input/log/processing_input.log\").start();\n\t\t\tret = p.waitFor();\n\n\n\n\t\toutBuffer.write(\"/var/local/jikkyolizer/bin/python3 /home/jikkyolizer_input/jikkyolizer_input.py \" + to_python_arg + \" 1>>/home/jikkyolizer_input/log/processing_input.log\");\n\t\t}\n\t\toutBuffer.flush();\n\t\t} catch(IOException e2){\n\t\t\te2.printStackTrace();\n\t\t} catch(InterruptedException ie){\n\t\t}\n\t}", "@Override\r\n\tpublic CardEventHandler createEventHandler() {\n\t return new ClientEventHandler(this,this.getUIControl());\r\n\t }", "@Override\n public void registerSubscriber(final String eventID, final String tenantId, final IEventHandler subscriber) {\n LOGGER.debug(\"Registering subscriber {} for event {} in tenant {} ...\", subscriber.getClass().getCanonicalName(), eventID, tenantId);\n\n boolean isNewSubscriber = true;\n\n final Pair<String, String> key = new Pair<>(eventID, tenantId);\n final Set<IEventHandler> currentEventHandlers = SUBSCRIBERS.get(key);\n\n if (currentEventHandlers == null) {\n final Set<IEventHandler> newSubscriberSet = new HashSet<>();\n newSubscriberSet.add(subscriber);\n SUBSCRIBERS.put(key, newSubscriberSet);\n LOGGER.debug(\" (this is the initial handler for this event)\");\n } else if (!currentEventHandlers.contains(subscriber)) {\n currentEventHandlers.add(subscriber);\n SUBSCRIBERS.put(key, currentEventHandlers);\n LOGGER.debug(\" (this event now has {} registered handlers)\", SUBSCRIBERS.size());\n } else {\n isNewSubscriber = false;\n LOGGER.info(\"Subscriber {} already registered for event {} in tenant {}. Skip this one.\", subscriber, eventID, tenantId);\n }\n\n if (isNewSubscriber && bus != null) {\n addConsumer(eventID, tenantId, subscriber);\n }\n }", "private void consumeInputWire(final NHttpClientEventHandler handler) {\n if (getContext() == null) {\n return;\n }\n SynapseWireLogHolder logHolder = null;\n if (getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY) != null) {\n logHolder = (SynapseWireLogHolder) getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY);\n } else {\n logHolder = new SynapseWireLogHolder();\n }\n synchronized (logHolder) {\n logHolder.setPhase(SynapseWireLogHolder.PHASE.TARGET_RESPONSE_READY);\n getContext().setAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY, logHolder);\n if (this.status != ACTIVE) {\n this.session.clearEvent(EventMask.READ);\n return;\n }\n try {\n if (this.response == null) {\n int bytesRead;\n do {\n bytesRead = this.responseParser.fillBuffer(this.session.channel());\n if (bytesRead > 0) {\n this.inTransportMetrics.incrementBytesTransferred(bytesRead);\n }\n this.response = this.responseParser.parse();\n } while (bytesRead > 0 && this.response == null);\n if (this.response != null) {\n if (this.response.getStatusLine().getStatusCode() >= 200) {\n final HttpEntity entity = prepareDecoder(this.response);\n this.response.setEntity(entity);\n this.connMetrics.incrementResponseCount();\n }\n this.hasBufferedInput = this.inbuf.hasData();\n onResponseReceived(this.response);\n handler.responseReceived(this);\n if (this.contentDecoder == null) {\n resetInput();\n }\n }\n if (bytesRead == -1 && !this.inbuf.hasData()) {\n handler.endOfInput(this);\n }\n }\n if (this.contentDecoder != null && (this.session.getEventMask() & SelectionKey.OP_READ) > 0) {\n handler.inputReady(this, this.contentDecoder);\n if (this.contentDecoder.isCompleted()) {\n //This is the place where it finishes the response read from back-ends\n if (getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY) != null) {\n logHolder = (SynapseWireLogHolder) getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY);\n logHolder.setPhase(SynapseWireLogHolder.PHASE.TARGET_RESPONSE_DONE);\n getContext().setAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY, logHolder);\n }\n // Response entity received\n // Ready to receive a new response\n resetInput();\n }\n }\n } catch (final HttpException ex) {\n resetInput();\n handler.exception(this, ex);\n } catch (final Exception ex) {\n handler.exception(this, ex);\n } finally {\n if (getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY) != null) {\n logHolder = (SynapseWireLogHolder) getContext().getAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY);\n logHolder.setPhase(SynapseWireLogHolder.PHASE.TARGET_RESPONSE_DONE);\n getContext().setAttribute(SynapseDebugInfoHolder.SYNAPSE_WIRE_LOG_HOLDER_PROPERTY, logHolder);\n }\n // Finally set buffered input flag\n this.hasBufferedInput = this.inbuf.hasData();\n }\n }\n }", "public void checkSubscriptionCreated(final UUID bundleId, final UUID subscriptionId, final CallContext context) {\n final List<AuditLog> auditLogsForSubscription = getAuditLogsForSubscription(bundleId, subscriptionId, context);\n Assert.assertTrue(auditLogsForSubscription.size() >= 1);\n checkAuditLog(ChangeType.INSERT, context, auditLogsForSubscription.get(0), subscriptionId, SubscriptionSqlDao.class, true, true);\n }", "public SubscriptionRecord() {\n super(Subscription.SUBSCRIPTION);\n }", "@Test\n public void testHandleRequestForGraphQLSubscriptions() {\n\n ThrottleHandler throttleHandler = new ThrottlingHandlerWrapper(timer, new ThrottleDataHolder(),\n throttleEvaluator, accessInformation);\n Axis2MessageContext messageContext = Mockito.mock(Axis2MessageContext.class);\n org.apache.axis2.context.MessageContext axis2MessageContext =\n Mockito.mock(org.apache.axis2.context.MessageContext.class);\n Mockito.when(messageContext.\n getAxis2MessageContext()).thenReturn(axis2MessageContext);\n Mockito.when(axis2MessageContext.getIncomingTransportName()).thenReturn(\"ws\");\n Mockito.when(messageContext.getProperty(APIConstants.GRAPHQL_SUBSCRIPTION_REQUEST)).thenReturn(true);\n Assert.assertTrue(throttleHandler.handleRequest(messageContext));\n\n Mockito.when(axis2MessageContext.getIncomingTransportName()).thenReturn(\"wss\");\n Assert.assertTrue(throttleHandler.handleRequest(messageContext));\n\n // clean up message context\n Mockito.when(messageContext.getProperty(APIConstants.GRAPHQL_SUBSCRIPTION_REQUEST)).thenReturn(false);\n Mockito.when(axis2MessageContext.getIncomingTransportName()).thenReturn(\"http\");\n }", "@Override\n\tpublic void onSubscribe(String arg0, int arg1) {\n\t\t\n\t}", "EventHubManagementClient withSubscriptionId(String subscriptionId);", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onSubscribe(Disposable d) {\n\n\t\t\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t}", "CatchingEvent createCatchingEvent();", "@RequestMapping(value = \"/publish\", method = RequestMethod.POST)\n public String publish(@RequestParam(value = \"destination\", required = false, defaultValue = \"**\") String destination) {\n\n final String myUniqueId = \"config-client1:7002\";\n System.out.println(context.getId());\n final MyCustomRemoteEvent event =\n new MyCustomRemoteEvent(this, myUniqueId, destination, \"--------dfsfsdfsdfsdfs\");\n //Since we extended RemoteApplicationEvent and we've configured the scanning of remote events using @RemoteApplicationEventScan, it will be treated as a bus event rather than just a regular ApplicationEvent published in the context.\n //因为我们在启动类上设置了@RemoteApplicationEventScan注解,所以通过context发送的时间将变成一个bus event总线事件,而不是在自身context中发布的一个ApplicationEvent\n context.publishEvent(event);\n\n return \"event published\";\n }", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\n\t\t\t}", "public com.vodafone.global.er.decoupling.binding.request.SelfcareFullSubscriptionsType createSelfcareFullSubscriptionsType()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.SelfcareFullSubscriptionsTypeImpl();\n }", "void subscribe(Long subscriptionId, ApplicationProperties.VendorConfiguration configuration);", "public void onSubscribe() {\n\n }", "@Override\n public void onSubscribe(Disposable d) {\n }", "@Override\n\tprotected boolean handleHandshakedEvent(Connection conn,\n\t\t\tMessageContext context) {\n\t\treturn true;\n\t}", "public SubscriptionListener() {\n this.protocol = \"stomp\";\n }", "@Override\n public void onEventReceived(Event event) {\n super.onEventReceived(event);\n\n switch (event.getRawEventType())\n {\n case Track:\n trackManager.manageTrackEvent(event);\n break;\n case TentativeTracking:\n manageTentativeTrackingEvent(event);\n break;\n case Tracking:\n manageTrackingEvent(event);\n break;\n }\n }", "WithCreate withDestination(EventChannelDestination destination);", "@Override\n\tpublic void eventFired(TChannel channel, TEvent event, Object[] args) {\n\t\t\n\t}", "@Override\n public void handleEvent(final StreamSinkChannel theConnectionChannel) {\n if (anyAreSet(state, FLAG_DELEGATE_SHUTDOWN)) {\n try {\n //either it will work, and the channel is closed\n //or it won't, and we continue with writes resumed\n channel.flush();\n return;\n } catch (IOException e) {\n handleError(channel, e);\n }\n }\n //if there is data still to write\n if (buffersToWrite != null) {\n long toWrite = Buffers.remaining(buffersToWrite);\n long written = 0;\n long res;\n do {\n try {\n res = channel.write(buffersToWrite);\n written += res;\n if (res == 0) {\n return;\n }\n } catch (IOException e) {\n handleError(channel, e);\n }\n } while (written < toWrite);\n buffersToWrite = null;\n }\n if (anyAreSet(state, FLAG_CLOSED)) {\n try {\n channel.shutdownWrites();\n state |= FLAG_DELEGATE_SHUTDOWN;\n channel.flush(); //if this does not succeed we are already resumed anyway\n } catch (IOException e) {\n handleError(channel, e);\n }\n } else {\n state |= FLAG_READY;\n theConnectionChannel.suspendWrites();\n theConnectionChannel.getWorker().submit(new Runnable() {\n @Override\n public void run() {\n try {\n state |= FLAG_IN_CALLBACK;\n listener.onWritePossible();\n theConnectionChannel.getWriteSetter().set(WriteChannelListener.this);\n theConnectionChannel.resumeWrites();\n } catch (Throwable e) {\n IoUtils.safeClose(channel);\n } finally {\n state &= ~FLAG_IN_CALLBACK;\n }\n }\n });\n }\n }" ]
[ "0.5528565", "0.5460485", "0.519201", "0.517568", "0.51489973", "0.5098325", "0.50839496", "0.5072439", "0.49527138", "0.4830916", "0.48085243", "0.46715534", "0.46197093", "0.46085533", "0.45594987", "0.4542211", "0.4518701", "0.4497161", "0.4478931", "0.44663325", "0.44476932", "0.44476932", "0.4445984", "0.44172937", "0.44148302", "0.44146824", "0.44098717", "0.44064558", "0.43878838", "0.43857524", "0.43753272", "0.4373171", "0.4371092", "0.43634927", "0.43602905", "0.43435603", "0.43147364", "0.4311777", "0.43084702", "0.4301991", "0.42944232", "0.4284585", "0.42839664", "0.42656794", "0.42621398", "0.42608136", "0.4246438", "0.42452312", "0.42450795", "0.42350435", "0.42329887", "0.4232704", "0.4199074", "0.4198757", "0.41939148", "0.41773027", "0.41630492", "0.41591606", "0.4151547", "0.41514036", "0.41506815", "0.41428807", "0.41428807", "0.41291395", "0.41273776", "0.41270933", "0.41265896", "0.41262683", "0.41255075", "0.41197875", "0.41173473", "0.41056836", "0.41012874", "0.40996346", "0.40926492", "0.40926492", "0.40926492", "0.40926492", "0.40926492", "0.40926492", "0.4091829", "0.4091829", "0.4091829", "0.40893835", "0.40831375", "0.4079024", "0.4079024", "0.4079024", "0.4079024", "0.4079024", "0.4078395", "0.4076679", "0.40766624", "0.40699807", "0.40652892", "0.40579748", "0.40572414", "0.40553904", "0.4054453", "0.4054422" ]
0.56855994
0
Checks if this is a SubscriptionHandled event.
public boolean isSubscriptionHandled() { return SUBSCRIPTIONHANDLED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isHandled() \n { return (eventAction != null) ? eventAction.isHandled() : false; }", "@Override\n public boolean isHandled() {\n return handled;\n }", "public final boolean isHandled() {\n return this.handled;\n }", "public boolean isHandled() {\r\n return handled;\r\n }", "@Override\r\n\tpublic boolean isHandled() {\n\t\treturn true;\r\n\t}", "public abstract boolean canHandle(Object event);", "@Override\r\n\tpublic boolean handleEvent(IEvent event) {\n\t\treturn false;\r\n\t}", "public boolean isSelfMessageProcessingEvent();", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "boolean hasSubscribe();", "boolean hasEvent();", "boolean hasSubscription();", "@Override\n public boolean hasSubscriber(Subscriber subscriber) {\n return ((subscriber.getId() == this.subscriberReconnect.getId()) || (subscriber.getId() == this.subscriberReceiver.getId()));\n }", "public boolean hasSubscribe() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "private void tryToConsumeEvent() {\n if (subscriber == null || storedEvent == null) {\n return;\n }\n sendMessageToJs(storedEvent, subscriber);\n\n }", "public boolean hasSubscribe() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "public boolean isEventsSuppressed() {\r\n\t\treturn eventsSuppressed;\r\n\t}", "public boolean isHandled(StatusBean bean);", "@Override\n public boolean hasSubscriber(Subscriber subscriber) {\n return (subscriber.getId() == this.subscriber.getId());\n }", "@Subscribe\n public void handleFallback(Object event) {\n if (!LOG.isVerboseEnabled()) {\n return;\n }\n if (EXPLICITLY_HANDLED_EVENT_TYPES.contains(event.getClass())) {\n return;\n }\n LOG.verbose(\"%s\", event);\n }", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean handleEvent(Event e){\r\n\t\tthis.handledEvents++;\r\n\t\tif(this.ptModes.contains(super.getMode())){\r\n\t\t\thandler.handleEvent(e);\r\n\t\t\tif(this.handledEvents == this.nrOfExpEvents){\r\n\t\t\t\thandler.finish(this);\r\n\t\t\t\treturn true;\r\n\t\t\t}else{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\tif(first == null){\r\n\t\t\t\tfirst = e.getTime();\r\n\t\t\t}else{\r\n\t\t\t\tlast = e.getTime();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(this.handledEvents == nrOfExpEvents){\r\n\t\t\t\tthis.tripTTime = last - first;\r\n\t\t\t\treturn true;\r\n\t\t\t}else{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "public boolean isCorrectEvent()\n {\n return m_fCorrectEvent;\n }", "@java.lang.Override\n public boolean hasSpeechEventOffset() {\n return speechEventOffset_ != null;\n }", "@Override\n protected boolean acceptEvent(BuilderEvent event)\n {\n if (getEventType() == null)\n {\n return false;\n }\n assert event != null : \"Event is null!\";\n\n Class<?> eventClass = event.getClass();\n try\n {\n Method method = eventClass.getMethod(METHOD_TYPE);\n Object eventType = method.invoke(event);\n if (eventType instanceof Enum<?>)\n {\n return getEventType().equals(((Enum<?>) eventType).name());\n }\n }\n catch (Exception ex)\n {\n // All exceptions cause the event to be not accepted\n }\n\n return false;\n }", "public boolean isSuppressed();", "public boolean isSubscribing() {\n\t\treturn isSubscribing;\n\t}", "@Override\n\tpublic boolean isEventStarted() {\n\t\treturn status>=EventStarted;\n\t}", "public boolean isDisposed() {\n PublishSubscriber<T> c = state.current;\n return c.isDisposed();\n }", "public void setHandled()\n { if (eventAction != null) eventAction.setHandled(); }", "protected boolean isSubscriberSuspending()\r\n {\r\n boolean result = false;\r\n if (isSuspendOnFailure() && getSub().isSuspendingEntities()\r\n && getSub().getSubscriberType().equals(SubscriberTypeEnum.PREPAID))\r\n {\r\n result = true;\r\n }\r\n return result;\r\n }", "public boolean handleMessage(Message message)\n {\n return false;\n }", "boolean hasEvents() {\n return !currentSegment.isEmpty() || !historySegments.isEmpty();\n }", "public boolean isSpeaking() {\n return (mSelf.mIsSpeaking && (mSpeechQueue.size() < 1));\n }", "@Override\n public boolean canHandle(HandlerInput handlerInput) {\n\n return handlerInput.matches(intentName(\"NextQuestionIntent\"));\n\n }", "public abstract boolean isSubscribesEnabled();", "boolean isSetEvent();", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "public boolean isAcceptedEventType(Class< ? extends Object> classType) {\n\t\treturn isAcceptedEventType(classType.getName());\n\t}", "public boolean hasPushEvent();", "boolean isAcceptingLifecycleEvents() {\n return adapter.isStarted();\n }", "@Override\n public Trap hasTrap() {\n return trap;\n }", "@Override\n\tprotected boolean handleHandshakedEvent(Connection conn,\n\t\t\tMessageContext context) {\n\t\treturn true;\n\t}", "public boolean isHandRaised ( ) {\n\t\treturn extract ( handle -> handle.isHandRaised ( ) );\n\t}", "@Override\n public boolean onSingleTapConfirmed(MotionEvent event) {\n return PickNavigateController.this.onSingleTapHandler(event);\n }", "public boolean hasReceived() {\n\t if (LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n LogWriter.logMessage(LogWriter.TRACE_DEBUG, \"hasReceived()\" );\n Via via=(Via)sipHeader;\n return via.hasParameter(Via.RECEIVED);\n }", "final boolean shouldCancelDropsFor( final BlockSnapshot snapshot ) {\n return this.pendingMends.stream().anyMatch( mend -> mend.contains(snapshot) );\n }", "public boolean isDropped();", "public boolean handleEvent (JVREvent event) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (event.target == this) {\r\n\t\t\t\t\t\t// This is the signal to begin the call.\r\n\t\t\t\t\t\tgcob = new GCOutbound(dxdev,linedev,destination,origin);\r\n\t\t\t\t\t\tgcob.protocol = protocol;\r\n\t\t\t\t\t\tif (cap != null) { gcob.cap = cap; }\r\n\t\t\t\t\t\tjvr.addEventListener(gcob);\r\n\t\t\t\t\t\tgcob.start();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (event.target == gcob) {\r\n\t\t\t\t\t\t// Is this the \"finished\" event?\r\n\t\t\t\t\t\tif (\"finished\".equals(event.data)) {\r\n\t\t\t\t\t\t\t// logger.info(\"Connect Type: \" + jvr.symbolName(\"GCCT_\",gcob.connectType));\r\n\t\t\t\t\t\t\tfinished = true;\r\n\t\t\t\t\t\t\tjvr.removeEventListener(gcob);\r\n\t\t\t\t\t\t\tsynchronized (this) { notifyAll(); }\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Throwable t) {\r\n\t\t\t\t\tjvr.removeEventListener(gcob);\r\n\t\t\t\t\tlogger.throwing(getClass().getName(),\"handleEvent\",t);\r\n\t\t\t\t}\r\n\t\t\t\treturn true;\r\n\t\t\t}", "@Override\n\tprotected boolean isBindEventBusHere() {\n\t\treturn false;\n\t}", "boolean eventEnabled(AWTEvent e) {\n if (e.id == ActionEvent.ACTION_PERFORMED) {\n if ((eventMask & AWTEvent.ACTION_EVENT_MASK) != 0 ||\n actionListener != null) {\n return true;\n }\n return false;\n }\n return super.eventEnabled(e);\n }", "public boolean isTerminatingToSource() {\n return getFlow().getSignificanceToSource() == Flow.Significance.Terminates;\n }", "public boolean resultProcessingForSubscriptions(JSONObject response, String paramName) {\n try {\n if (response != null) {\n if (response.has(paramName)) {\n return response.getBoolean(paramName);\n } else {\n return false;\n }\n }\n } catch(Exception e) {\n return false;\n }\n\n return false;\n }", "public boolean wasPageDismissed() {\n return getNextSubPageIdx() == null;\n }", "protected boolean preprocessSubfocusEvent(VectorSubfocusEvent e) {\n return subfocusListeners.hasListeners() ? subfocusListeners.vetoableDispatch(e) : true;\n }", "@Override\n\tpublic boolean onSingleTapConfirmed(MotionEvent arg0) {\n\t\treturn false;\n\t}", "@Override\n public boolean canHandle(HandlerInput input) {\n return input.matches(intentName(\"SkipIntent\").and(sessionAttribute(Attributes.RIDDLE_STATE_KEY, Attributes.RIDDLE_STATE)));\n }", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSender();", "boolean hasSignal();", "public boolean allowSubscribeThisCalendar(String arg0) {\n\t\treturn false;\n\t}", "private boolean canSendTo(String receiver) {\n\t\treturn subscriber.containsKey(receiver);\n\t}", "public void checkHandler()\n {\n ContextManager.checkHandlerIsRunning();\n }", "@Override\n\tpublic boolean hasCancelBeenRequested() {\n\t\treturn false;\n\t}", "boolean hasTopicSubscription();", "public boolean interpretLongPressEvents() {\n return false;\n }", "public boolean hasSig() {\n return sig_ != null;\n }", "public boolean isCancelled()\n\t{\n\t\treturn _buttonHit;\n\t}", "@Override\n\tprotected boolean checkOverride(IEventInstance eventInstance, Operand operand) {\n\t\treturn false;\n\t}", "@Override\n public boolean onGenericMotionEvent(MotionEvent event) {\n return mGestureDetector.onMotionEvent(event)\n || super.onGenericMotionEvent(event);\n }", "public boolean check(EventType event);", "public boolean isNeedsAlert() {\n return current.needsAlert();\n }", "@Override\n public boolean equals(Object obj) {\n if (this == obj)\n return true;\n if (!getClass().isInstance(obj))\n return false;\n\n MessageTypeEventHandler<?> mteh = (MessageTypeEventHandler<?>) obj;\n return (messageType == mteh.messageType) && delegate.equals(mteh.delegate);\n }", "public boolean shouldHandle(String requestUri) {\n\t\tif (requestUri.startsWith(this.requestStart)) {\n\t\t\tthis.eventListener.log(InternationalisationUtils.getI18nString(I18N_PROCESSING_REQUEST, requestUri.toString()));\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "boolean shouldAutoSubscribe();", "public boolean isSetSender() {\n return this.sender != null;\n }", "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "@Override\n\tpublic boolean beforeHandle(BaseEvent event) {\n\t\treturn false;\n\t}", "@Override\r\n\tpublic boolean handleMessage(Message msg) {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic boolean processEvent(MsgEvent event) throws IllegalArgumentException {\r\n\t\tboolean result = false;\r\n\t\tif (fsm != null && !shuttingDown) {\r\n\t\t\tq.add(event);\r\n\t\t\t// We have some special processing to do if the event\r\n\t\t\t// is a Publish message\r\n\t\t\tif (event.getEventName().equals(SIPConstants.PUBLISH)) \r\n\t\t\t\tupdateStatus(event);\r\n\t\t\t\t\r\n\t\t\tif (processDuplicates && event.isDuplicate()) \r\n\t\t\t\tresult = fsm.processEvent(event);\r\n\t\t\t\t\t\r\n\t\t\telse if (!event.isDuplicate()) \r\n\t\t\t\tresult = fsm.processEvent(event);\r\n\t\t\t\t\r\n\t\t\telse\r\n\t\t\t\tlogger.info(PC2LogCategory.Model, subCat, \r\n\t\t\t\t\t\"Dropping duplicate event.\");\r\n\t\t\t\t\r\n\t\t}\r\n\t\telse if (!event.equals(EventConstants.SHUTDOWN)) {\r\n\t\t\tlogger.info(PC2LogCategory.Model, subCat, \"Model \" \r\n\t\t\t\t\t+ name + \" unable to add event(\" + event.getEventName() \r\n\t\t\t\t\t+ \") to QUEUE because fsm=\" + fsm + \" and shutting down=\" \r\n\t\t\t\t\t+ shuttingDown);\r\n\t\t\treturn false;\r\n\t\t}\r\n return result;\r\n\t \r\n\t}", "public synchronized boolean hasSubscribers ()\n {\n return !this.listeners.isEmpty ();\n }", "public final void setHandled() {\n this.handled = true;\n this.target = null;\n this.info = null;\n }", "@Override\n public boolean onTouchEvent(MotionEvent event) {\n return mHandleView.dispatchTouchEvent(event);\n }", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "@SuppressLint(\"ClickableViewAccessibility\")\n @Override\n public boolean onTouchEvent(MotionEvent event) {\n return gestureHandler.onTouchEvent(event);\n }", "boolean hasTrickEndedResponse();", "@Override\n\tpublic boolean isEventComplete() {\n\t\treturn status==EventCompleted;\n\t}", "public boolean isSetEvents() {\n return this.events != null;\n }", "boolean hasUnReceived();", "public void checkRelease(){\n\n\t\t//Clear boolean to indicate that the GUIItem is no longer touched\n\t\twhileTouched = false;\n\t\tif (touchObject != null)\n\t\t\tonRelease = true;\n\t}", "@Override\r\n\t\tpublic void handle(Event e) {\r\n\t\t\t// TODO Auto-generated method stub\r\n\t\t\tlogger.error(\"Error: handle never pressed. \");\r\n\t\t}", "public boolean hasSubscribers() {\n return state.current.psm.array().length > 0;\n }", "protected boolean isDragAcceptable(DropTargetDragEvent evt) {\n\t\t\treturn (\n\t\t\t\tsuper.isDragAcceptable(evt)\n\t\t\t\t\t&& evt.isDataFlavorSupported(QuestionTranferable.QUESTION_FLAVOR));\n\t\t}", "@Metered\n public boolean collectEvent(final Event event)\n {\n forwardDispatcher.offer(event);\n\n if (spoolDispatcher.offer(event)) {\n spooledMeter.mark();\n return true;\n }\n else {\n lostMeter.mark();\n return false;\n }\n }", "public static boolean isReceivingSong(Player player) {\n\t\treturn ((plugin.playingSongs.get(player.getUniqueId()) != null) \n\t\t\t\t&& (!plugin.playingSongs.get(player.getUniqueId()).isEmpty()));\n\t}" ]
[ "0.6395164", "0.6144525", "0.6127796", "0.60614675", "0.57636046", "0.566733", "0.5597125", "0.5485918", "0.54736584", "0.5350093", "0.52245003", "0.5187233", "0.5184173", "0.51469874", "0.51268053", "0.5123384", "0.5110785", "0.5076843", "0.50754535", "0.50475484", "0.5043006", "0.50121826", "0.49786416", "0.4960568", "0.49307412", "0.49298784", "0.49222356", "0.4918395", "0.49137047", "0.4906982", "0.48822352", "0.4874042", "0.4871582", "0.48534334", "0.48423442", "0.48385322", "0.48355746", "0.48298392", "0.48298392", "0.48237413", "0.4794064", "0.47715554", "0.47671914", "0.47601858", "0.47499186", "0.47476763", "0.47291914", "0.4713282", "0.47070098", "0.47002405", "0.46920943", "0.4690212", "0.4687851", "0.46855494", "0.46834135", "0.46822882", "0.467746", "0.4676696", "0.46721998", "0.46721998", "0.46721998", "0.46721998", "0.46721998", "0.46721998", "0.46721888", "0.4668107", "0.4658864", "0.46557805", "0.4654966", "0.46526083", "0.46522123", "0.46456218", "0.4644113", "0.46398267", "0.46382353", "0.46216166", "0.46158844", "0.46115106", "0.4611217", "0.4601528", "0.45998368", "0.45951205", "0.45930457", "0.4586383", "0.4581433", "0.4581055", "0.45779634", "0.4575657", "0.4575336", "0.4559771", "0.45590398", "0.4558638", "0.4555948", "0.4555122", "0.45508108", "0.4547968", "0.45439172", "0.4537365", "0.45371273", "0.453233" ]
0.7795236
0
Creates a new ValueChanged event. This type of event is triggered by a ApproxsimSimple descendant when its value changes.
public static ApproxsimEvent getValueChanged(Object source, Object initiator) { return new ApproxsimEvent(source, VALUECHANGED, initiator, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "void valueChanged(T oldValue, T newValue);", "protected void valueChanged() {\r\n \t\tint newValue = slider.getSelection();\r\n \t\tint oldValue = this.intValue;\r\n \t\tintValue = newValue;\r\n \t\tjava.beans.PropertyChangeEvent event = new java.beans.PropertyChangeEvent(\r\n \t\t\t\tthis, IPropertyEditor.VALUE, oldValue, newValue);\r\n \t\tvalueChangeListener.valueChange(event);\r\n \t}", "AttributeRaiseType getValueChange();", "public native final EditorBaseEvent changedEvent(EventFacade val) /*-{\n\t\tthis.changedEvent = val;\n\t\treturn this;\n\t}-*/;", "public void gxlValueChanged(GXLValueModificationEvent e) {\n\t}", "public void gxlAttrValueChanged(GXLAttrValueModificationEvent e) {\n\t}", "public void valueChanged(ConfigurationIdentifier configurationIdentifier, Serializable value);", "public void dropDown1_processValueChange(ValueChangeEvent event) {\n \n }", "void valueChanged(CalcModel model);", "void valueChanged(CalcModel model);", "void entityValueChange(String name, String value);", "void onChangeEvent(CarPropertyValue value);", "public void changed(ObservableValue ov, Number value, Number new_value)\n\t {\n\n\t String dsConexao = optionsConexao.get(new_value.intValue());\n\t conexao = dao.consultar(dsConexao);\n\t carregarEmpresas(consultas.listar(conexao));\n\t carregarConfigSuprii(conexao);\n\t }", "public void valueChanged(TreeSelectionEvent e) {\n\t}", "public void changed(ObservableValue ov, Number value, Number new_value)\n {\n\n String dsEstoque = optionsEstoques.get(new_value.intValue());\n String[] campoEstoque = dsEstoque.split(\"-\");\n estoque = new Estoque();\n estoque.setCdEstoque(campoEstoque[0]);\n estoque.setDsEstoque(campoEstoque[1]);\n }", "public interface ValueChangeListener {\n public void onValueChange(CustomComponent view, String value);\n}", "public interface OnValueChangeListener {\n void onChanged(String fieldName, Object oldValue, Object newValue);\n}", "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "public void valueChanged( TreeSelectionEvent e )\n {\n //throw new UnsupportedOperationException( \"Not supported yet.\" );\n }", "@Override\n\tpublic void adjustmentValueChanged(AdjustmentEvent arg0) {\n\n\t}", "void onChange( T newValue );", "public void onValueChange(ValueChangeEvent event) {\n rating.setReadOnly(true);\n getMessagePanel().clear();\n saveVote(voteForId);\n }", "public void changed(ObservableValue ov, Number value, Number new_value)\n {\n\n String dsMultiEmpresa = optionsEmpresa.get(new_value.intValue());\n String[] cdMultiEmpresa = dsMultiEmpresa.split(\"-\");\n carregarEstoques(consultas.listarEstoques(conexao,cdMultiEmpresa[0]));\n }", "private void fireValueChange(boolean b) {\n \t\n\t\t\n\t}", "public void valueChanged(IntegerStorageChange change);", "@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n\t\t\t\tif(newValue.intValue()<(int)systolicAlarm.getValue() && !sysShowing[0] ) {\n\t\t\t\t\tSystem.err.println(\"systolic alarm condition...\");\n\t\t\t\t\tjavafx.application.Platform.runLater(()-> {\n\t\t\t\t\t\tsysShowing[0]=true;\n\t\t\t\t\t\tsysAlert.show();\n\t\t\t\t\t});\n\t\t\t\t\tBPAlarm alarm=new BPAlarm(BP_ALARM_SYS, newValue.intValue());\n\t\t\t\t} else {\n\t\t\t\t\tsysAlert.hide();\n\t\t\t\t\tsysShowing[0]=false;\n\t\t\t\t}\n\t\t\t}", "public void adjustmentValueChanged(AdjustmentEvent e) {\n }", "public synchronized void adjustmentValueChanged(AdjustmentEvent e) {\n\n\t\tnotify();\n\t}", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;", "public final EObject ruleEventValueReferenceExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token otherlv_1=null;\r\n Token otherlv_2=null;\r\n Token otherlv_4=null;\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3494:28: ( ( () otherlv_1= 'valueof' otherlv_2= '(' ( ( ruleFQN ) ) otherlv_4= ')' ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3495:1: ( () otherlv_1= 'valueof' otherlv_2= '(' ( ( ruleFQN ) ) otherlv_4= ')' )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3495:1: ( () otherlv_1= 'valueof' otherlv_2= '(' ( ( ruleFQN ) ) otherlv_4= ')' )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3495:2: () otherlv_1= 'valueof' otherlv_2= '(' ( ( ruleFQN ) ) otherlv_4= ')'\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3495:2: ()\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3496:5: \r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n current = forceCreateModelElement(\r\n grammarAccess.getEventValueReferenceExpressionAccess().getEventValueReferenceExpressionAction_0(),\r\n current);\r\n \r\n }\r\n\r\n }\r\n\r\n otherlv_1=(Token)match(input,53,FOLLOW_53_in_ruleEventValueReferenceExpression8012); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_1, grammarAccess.getEventValueReferenceExpressionAccess().getValueofKeyword_1());\r\n \r\n }\r\n otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleEventValueReferenceExpression8024); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_2, grammarAccess.getEventValueReferenceExpressionAccess().getLeftParenthesisKeyword_2());\r\n \r\n }\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3509:1: ( ( ruleFQN ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3510:1: ( ruleFQN )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3510:1: ( ruleFQN )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:3511:3: ruleFQN\r\n {\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tif (current==null) {\r\n \t current = createModelElement(grammarAccess.getEventValueReferenceExpressionRule());\r\n \t }\r\n \r\n }\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getEventValueReferenceExpressionAccess().getValueEventCrossReference_3_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleFQN_in_ruleEventValueReferenceExpression8047);\r\n ruleFQN();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n \r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleEventValueReferenceExpression8059); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \tnewLeafNode(otherlv_4, grammarAccess.getEventValueReferenceExpressionAccess().getRightParenthesisKeyword_4());\r\n \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public void onValueChange(final ChangeListener listener) {\n\t\tchangeListener = listener;\n\t\treturn;\n\t}", "public native final EditorBaseEvent changedType(String val) /*-{\n\t\tthis.changedType = val;\n\t\treturn this;\n\t}-*/;", "protected void fireValueChangedEvent(ValueChangedEvent event) {\n\t\tif (listeners != null) {\n\t\t\tfor (int i = 0; i < listeners.length; i++) { \n\t\t\t\tlisteners[i].valueChanged(event);\n\t\t\t}\n\t\t}\n\t}", "public void changeValue(ValueHolder newValue) {\r\n value = ((AttrObject) newValue).getValue();\r\n\tuserInfo = ((AttrObject) newValue).getUserInfo();\r\n\tnotifyFromAttr(); \r\n }", "@Override\n public void changeEventRaised(ChangeEvent event)\n {\n if (!(event instanceof ValueSourceChangeEvent))\n return;\n\n if (event instanceof SingularSubsourceChangeEvent)\n {\n SingularSubsourceChangeEvent e = (SingularSubsourceChangeEvent) event;\n singleSubsourceReplaced(e, e.getOldSource(), e.getNewSource());\n }\n else if (event instanceof ValueChangeEvent)\n {\n ValueChangeEvent e = (ValueChangeEvent) event;\n valueChanged(e, e.getOldValue(), e.getNewValue());\n }\n else if (event instanceof TypeChangeEvent)\n {\n TypeChangeEvent e = (TypeChangeEvent) event;\n typeChanged(e, e.getOldType(), e.getNewType());\n }\n else if (event instanceof SubsourceModificationEvent)\n subsourceChanged((SubsourceModificationEvent) event);\n }", "void onPropertyChange(String name, String newValue);", "public Builder setEventValue(int value) {\n event_ = value;\n onChanged();\n return this;\n }", "@Override\r\n public void valueChanged(TreeSelectionEvent e) {\n }", "public native final EditorBaseEvent changedNode(Node val) /*-{\n\t\tthis.changedNode = val;\n\t\treturn this;\n\t}-*/;", "@Override\n\tpublic boolean valueChanged() {\n\t\treturn false;\n\t}", "protected void giveValueToListeners(String value, MinMaxEvent evt) {\n for(int i = 0; i < listeners.size(); i++) {\n listeners.get(i).setValueOfNode(value, evt);\n }\n }", "public interface CalcValueListener {\n\n\t/**\n\t * Method notifies the implementing class that a value has changed.\n\t * \n\t * @param model\n\t * implementation of the CalcModel\n\t */\n\tvoid valueChanged(CalcModel model);\n}", "public void valueChanged(ListSelectionEvent e)\n\t\t\t{\n\t\t\t}", "@Override\n\tpublic void addValueChangeListener(final ValueChangeListener<T> listener) {\n\t\t\n\t}", "ChangeObserver<T> setInitialMaxValue(Object value);", "protected void FirePropertyChangedEvent(Object value)\r\n {\r\n Type type = ProxyUtilities.getNonProxyBaseType(value.getClass());\r\n\r\n try {\r\n\t Field fInfo = type.getClass().getField(\"PropertyChanged\");//, BindingFlags.Instance | BindingFlags.NonPublic);\r\n\t if (fInfo != null)\r\n\t {\r\n\t Event eventDelegate;\t\t\t\r\n\t\t\t\t\teventDelegate = (Event)fInfo.get(value);\r\n\t\t\t\t\r\n\t\r\n\t if (eventDelegate != null)\r\n\t {\r\n\t \teventDelegate.RaiseEvent();\r\n\t// ArrayList<Delegate> delegates = eventDelegate.getInvocationList();\r\n\t//\r\n\t// for (Delegate dlg : delegates)\r\n\t// dlg.getMethod.Invoke(dlg.Target, new Object[] { value, new PropertyChangedEventArgs(_propertyName) });\r\n\t }\r\n\t }\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} \r\n }", "public void valueChanged(ListSelectionEvent e)\n\t{\n\t\t//Only process the final event\n\t\tif(!e.getValueIsAdjusting())\n\t\t{\n\t\t\tpopupMenu.setVisible(false);\n\t\t\tint index=popupList.getSelectedIndex();\n\t\t\t//redraw the label\n\t\t\tsetIcon(index<0?renderer.unselectedIcon:renderer.listIcons[index]);\n\t\t\t//pass the event on\n\t\t\tActionEvent ae = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, actionCommand);\n\t\t\tfor(int i = listeners.size() - 1; i >= 0; i--)\n\t\t\t{\n\t\t\t\tlisteners.get(i).actionPerformed(ae);\n\t\t\t}\n\t\t}\n\t}", "private void onShowingChanged(ObservableValue<? extends Boolean> pObservable, Boolean pOldValue, Boolean pNewValue)\n\t\t{\n\t\t\tif (!pNewValue.booleanValue())\n\t\t\t{\n\t\t\t\tfireEditingComplete(ICellEditorListener.FOCUS_LOST);\n\t\t\t}\n\t\t}", "public HandlerRegistration addValueChangeHandler(ValueChangeHandler<SSDate> handler) {\n return box.addValueChangeHandler(handler);\n }", "public void valueChanged(IntegerStorageChange istoragech);", "public HandlerRegistration addDataChangeHandler(ValueChangeHandler<Class<E>> handler);", "public void valueChanged(ListSelectionEvent e) {\n\t\t\n\t}", "public void valueChanged(ListSelectionEvent arg0) {\n\t\t\r\n\t}", "public synchronized void addValueChangedListener(ValueChangedListener listener) {\n\t\tif (listener == null) {\n\t\t\tthrow new NullPointerException(\"Listener must not be null\"); \n\t\t}\n\t\tif (listeners == null) {\n\t\t\tlisteners = new ValueChangedListener[] { listener };\n\t\t} else {\n\t\t\tValueChangedListener[] tmp = new ValueChangedListener[listeners.length + 1];\n\t\t\tSystem.arraycopy(listeners, 0, tmp, 0, listeners.length);\n\t\t\ttmp[listeners.length] = listener;\n\t\t\tlisteners = tmp;\n\t\t}\n\t}", "public SerialPortEvent(SerialPort srcport, int eventtype, boolean oldvalue, boolean newvalue)\n\t{\n\t\tsuper(constructRealObject(srcport, eventtype, oldvalue, newvalue));\n\t}", "public interface AttrToVisVarChangeListener {\n\n\tpublic void valuesChanged(AttrToVisVarChangeEvent e);\n\t\n}", "protected void boundObjectChanged(Object componentValue) {\r\n this.boundObjectChanged(true, componentValue);\r\n }", "public void adjustmentValueChanged(AdjustmentEvent sbChanged)\r\n\t{\r\n\t\t//If adjustment came from the speed scroll bar\r\n\t\tif (sbChanged.getSource() == weaponVelocitySB)\r\n\t\t{\t\t\r\n\t\t\t\t//Prevent adjustment while projectile is moving\r\n\t\t\t\tif (weaponMotion == false) \r\n\t\t\t\t{\r\n\t\t\t\t//Adjust firing power to something reasonable\r\n\t\t\t\ttempSBValue = sbChanged.getValue();\r\n\t\t\t\ttempSBValue = (int) (tempSBValue/powerBalance);\r\n\t\t\t\tweaponV0 = tempSBValue;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(weaponV0);\r\n\t\t}\r\n\t\t\r\n\t\t//If adjustment came from the size scroll bar\r\n\t\tif (sbChanged.getSource() == angleSB)\r\n\t\t{\t\t\t\r\n\t\t\tdeg = sbChanged.getValue();\r\n\t\t\t//Set size scroll bar movement flag\r\n\t\t\t//angleSBMoveFlag = true;\r\n\t\t\t//System.out.println(deg);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n public void onChanged() {\n }", "public void cellValueChanged(int row, int col, String oldValue, String newValue);", "public void observe(int val) {\n observe(val, 1);\n }", "@Override\r\n\tpublic void valuesChanged() {\r\n\t\tString name = getView().getProductGroupName();\r\n\t\t\r\n\t\tboolean validName = _productGroupFacade.canCreateChildWithName(_parent,name);\r\n\t\t\r\n\t\t//TODO fix when jay and chris get their crap together\r\n\t\tString amount = getView().getSupplyValue();\r\n\t\tString supplyUnit = getView().getSupplyUnit().toString();\r\n\t\tboolean validUnitSize = UnitSize.isValid(amount, supplyUnit);\r\n\t\t\r\n\t\tif(validName && validUnitSize){\r\n\t\t\tgetView().enableOK(true);\r\n\t\t}else{\r\n\t\t\tgetView().enableOK(false);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "public void valueChanged (TreeSelectionEvent event)\n {\n updateSelection();\n }", "private void updateAndAlertListener() {\n\n\t\teditText.setText(getRoundedValue(value));\n\n\t\tif (changeListener != null) {\n\t\t\tchangeListener.onValueChange(this, value);\n\t\t}\n\t}", "void eventChanged();", "@Override\r\n\tpublic void valuesChanged() {\r\n\t}", "public void stateChanged(ChangeEvent e) {\n\t\tJSlider source = (JSlider) e.getSource();\n\t\tif (!source.getValueIsAdjusting()) {\n\t\t\tdgopval = Math.pow(10, -source.getValue() / 10.0);\n\t\t\tpvalLabel.setText(\"X = \" + source.getValue() / 10.0\n\t\t\t\t\t+ \"; p-value threshold is \"\n\t\t\t\t\t+ DREMGui_KeyInputs.doubleToSz(dgopval));\n\t\t\taddGOLabels(rootptr);\n\t\t}\n\t}", "@Override\n public HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> handler) {\n return addHandler(handler, ValueChangeEvent.getType());\n }", "public void valueChanged(ListSelectionEvent event) {\n String contratoId = jTableContratos.getValueAt(jTableContratos.getSelectedRow(), 0).toString(); \n String clienteId = jTableContratos.getValueAt(jTableContratos.getSelectedRow(), 6).toString(); \n String activo = jTableContratos.getValueAt(jTableContratos.getSelectedRow(), 8).toString(); \n \n \n if(activo.equalsIgnoreCase(\"1\")){\n radioActivoEdit.setSelected(true);\n }else if(activo.equalsIgnoreCase(\"0\")){\n radioInactivoEdit.setSelected(true);\n }\n \n lblClienteid.setText(clienteId);\n lblContratoId.setText(contratoId);\n \n }", "void addCalcValueListener(CalcValueListener l);", "public void adjustmentValueChanged( AdjustmentEvent e ) {\n\trefreshControls();\n }", "public void selectOneMenuListener(ValueChangeEvent event) {\n\t Object newValue = event.getNewValue(); \n\t //The rest of your processing logic goes here...\n\t}", "public void setChangeListener();", "@Override\n public void valueChanged(TreeSelectionEvent e) {\n\n }", "@Override\r\n\t\t\tpublic void onValueChange(final ValueChangeEvent<Integer> event) {\n\t\t\t\tstoryTimeService.updateLobbyRoomTimer(roomData.roomName, event.getValue(), new AsyncCallback<Void>() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t\t\tif (DEBUG)\r\n\t\t\t\t\t\t\tSystem.out.println(\"Client: Error occurred in sending server the new submissionTimer value: \" + event.getValue());\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onSuccess(Void result) {\r\n\t\t\t\t\t\tif (DEBUG)\r\n\t\t\t\t\t\t\tSystem.out.println(\"Client: Got confirmation of submissionTimer change from server\");\r\n\t\t\t\t\t\tchoosersTimeBox.setValue(submittersTimeBox.getValue() + 5, true);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}", "public void valueChanged(TreeSelectionEvent ev) {\n controller.removeSelectionListener(modelSelectionListener);\r\n controller.setSelectedFurniture(getSelectedFurniture());\r\n controller.addSelectionListener(modelSelectionListener);\r\n }", "@Override\n public void onChanged(@Nullable final List<User_Values> vals) {\n }", "@Override\n public void onValueAccessed(int value) {\n }", "@Override\n\tpublic abstract void valueChanged(ListSelectionEvent arg0);", "protected void changeValue() {\n \tif(value == null)\n \t\tvalue = true;\n \telse if(!value) { \n \t\tif (mode == Mode.THREE_STATE)\n \t\t\tvalue = null;\n \t\telse\n \t\t\tvalue = true;\n \t}else\n \t\tvalue = false;\n \t\n \tsetStyle();\n \t\n \tValueChangeEvent.fire(this, value);\n }", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "public void valueChanged(TreeSelectionEvent evt) {\n\t\t\t\tTreePath selectedPath = tree.getSelectionPath();\n\t\t\t\tif (selectedPath != null)\n\t\t\t\t\tSystem.out.println(\"In TreeSelectionListener: \"\n\t\t\t\t\t\t\t+ selectedPath.getLastPathComponent());\n\t\t\t}", "@Override\n public void valueChanged(double control_val) {\n playbackRate.setValue((float)control_val);\n // Write your DynamicControl code above this line\n }", "Property changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);", "public void objectChanged(ObjectChangeEvent e) {\n\t\tString key = e.getAttributeName();\n\t\tStructure s = (Structure) attributes.get(key);\n\t\tif (s!=null) {\n\t\t\tStructure change = (Structure) changedAttributes.get(key);\n\t\t\tif(change==null) {\n\t\t\t\tchange = new Structure();\n\t\t\t\tchange.setAttributeValue(ATTRIBUTE_NAME_, s.getAttributeValue(ATTRIBUTE_NAME_, null));\n\t\t\t}\n\t\t\tchange.setAttributeValue(ATTRIBUTE_VALUE_, e.getChangedObject());\n\t\t\tchangedAttributes.put(key, change);\n\t\t\tTrace.send(Trace.ALL_LEVELS, traceKey, i18n, \"AttributeValueChanged\", key, e.getChangedObject(), changedAttributes);\n\t\t\t \n\t\t}\n\t}", "public static ApproxsimEvent getChildChanged(Object source,\n Object initiator, ApproxsimObject changed) {\n return new ApproxsimEvent(source, CHILDCHANGED, initiator, changed);\n }", "protected abstract void setValue(V value);", "@Override\n public void changed(final ObservableValue<? extends T> observable, final T oldValue, final T newValue) {\n\n updateDetails(newValue);\n }", "@ConfigOperation\n @Order(50)\n protected void execChangedValue() throws ProcessingException {\n }", "public void stateChanged( ChangeEvent event )\n {\n \n }", "@Override\n public void setNewValue(Object newValue)\n {\n aggVal = (BigDecimal)newValue;\n }", "@Override\n\tpublic void setOnChangeEvent(String functionName) {\n\t\t\n\t}", "public void onChanged() {\n }", "public void valueChanged(ListSelectionEvent e) {\n Object src = e.getSource();\n\n if(e.getValueIsAdjusting() && src == listaTarefasCadastradas) {\n //envio do indice da tarefa, o controle de tarefas e do seletor 1 - adicionar nova 2 editar;\n\t\t\tnew TelaDetalheTarefa().mostrarDadosTarefa(ct, listaTarefasCadastradas.getSelectedIndex(),2, p.getArrProjetos(ind));\n }\n }", "public interface ChangeListener {\n\t\tpublic void onValueChange(FloatPicker fpw, float value);\n\t}", "public void ValueChangeListener( ValueChangeEvent e ) {\n\n\t\t String componentId = e.getComponent().getId();\n\t\t Long id = Long.parseLong( e.getNewValue().toString() );\n\n\t\t if( id.intValue() == 0 ) {\n\n\t\t\t refresh();\n\t\t\t setRestrictionExpressionStrings(Arrays.asList( new String[] {} ));\n\t\t\t return;\n\t\t }\n\n\t\t if( componentId.equals( \"apmAppId\" ) )\n\t\t \t appstoreAppPlatformMap.getId().setAppId( id );\n\n\t\t else if( componentId.equals( \"apmPlatformId\" ) ) \n\t\t \t appstoreAppPlatformMap.getId().setPlatformId( id );\n\n\t\t setRestrictionExpressionStrings(Arrays.asList( new String[] { \"appstoreAppPlatformMap.id.appId like concat(#{appstoreAppPlatformMapList.appstoreApp.id},'%')\",\n\t\t \t\t \"appstoreAppPlatformMap.id.platformId like concat(#{appstoreAppPlatformMapList.appstorePlatform.id},'%')\",} ));\n\t }" ]
[ "0.67973655", "0.67101735", "0.64733565", "0.6425407", "0.6410019", "0.6382847", "0.6357142", "0.6313754", "0.62024075", "0.6155773", "0.6155773", "0.6122019", "0.60979486", "0.60960174", "0.60689557", "0.6022767", "0.59025407", "0.58790237", "0.5831782", "0.5829046", "0.5797607", "0.5769621", "0.5758966", "0.57511127", "0.57293123", "0.57179004", "0.5703492", "0.5697422", "0.567609", "0.56391996", "0.5635369", "0.56206733", "0.56079614", "0.5602036", "0.55811214", "0.5573996", "0.55674744", "0.5557374", "0.5552871", "0.55465627", "0.5543209", "0.5518833", "0.55148524", "0.549414", "0.5490675", "0.5490486", "0.54878235", "0.54821485", "0.54756683", "0.5466677", "0.5453745", "0.54478335", "0.54426026", "0.54346067", "0.543007", "0.54209983", "0.5410197", "0.5395116", "0.53843135", "0.53836685", "0.53638434", "0.53627485", "0.5359583", "0.5349175", "0.53394806", "0.53336936", "0.5331569", "0.5321105", "0.5315528", "0.5314067", "0.5312036", "0.53042465", "0.5303524", "0.5300005", "0.5288696", "0.5268746", "0.5258014", "0.52322644", "0.52242893", "0.52227736", "0.5216082", "0.5214706", "0.5214706", "0.5214706", "0.5214706", "0.5197764", "0.51906455", "0.5189806", "0.51836795", "0.51777947", "0.5171903", "0.5166508", "0.5163509", "0.5162325", "0.5155787", "0.5128477", "0.5126239", "0.5121886", "0.51199716", "0.5117274" ]
0.7311841
0
Checks if this is a ValueChanged event.
public boolean isValueChanged() { return VALUECHANGED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean valueChanged() {\n\t\treturn false;\n\t}", "boolean hasChangeEvent();", "protected void valueChanged() {\r\n \t\tint newValue = slider.getSelection();\r\n \t\tint oldValue = this.intValue;\r\n \t\tintValue = newValue;\r\n \t\tjava.beans.PropertyChangeEvent event = new java.beans.PropertyChangeEvent(\r\n \t\t\t\tthis, IPropertyEditor.VALUE, oldValue, newValue);\r\n \t\tvalueChangeListener.valueChange(event);\r\n \t}", "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "public static boolean getValue(PropertyChangeEvent event, boolean dflt) {\r\n \t\tObject newValue= event.getNewValue();\r\n \t\tif (newValue instanceof Boolean)\r\n \t\t\treturn ((Boolean)newValue).booleanValue();\r\n \t\treturn dflt;\r\n \t}", "void valueChanged(T oldValue, T newValue);", "Boolean getIsChanged();", "public boolean isSetValue() {\n return this.value != null;\n }", "public boolean isSetValue() {\n return this.value != null;\n }", "@java.lang.Override\n public boolean hasVal() {\n return val_ != null;\n }", "public boolean hasChanged();", "public boolean hasChanged();", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "public void gxlValueChanged(GXLValueModificationEvent e) {\n\t}", "public void dropDown1_processValueChange(ValueChangeEvent event) {\n \n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isChanged() {\n return this.changed;\n }", "public void valueChanged(TreeSelectionEvent e) {\n\t}", "public boolean getAChanged() {\r\n return !OpbComparisonHelper.isEqual(\r\n a, aDataSourceValue);\r\n }", "public boolean hasValue() {\n return valueBuilder_ != null || value_ != null;\n }", "public boolean isChanged() {\r\n return isChanged;\r\n }", "public boolean handleChange(final Object oldValue,\n final Object newValue,\n final IFigure figure) {\n if (newValue == null || !(newValue instanceof VType))\n return false;\n\n AlarmSeverity newSeverity = VTypeHelper.getAlarmSeverity((VType) newValue);\n if(newSeverity == null)\n return false;\n\n if (newSeverity != alarmSeverity) {\n alarmSeverity = newSeverity;\n fireAlarmSeverityChanged(newSeverity, figure);\n }\n return true;\n }", "public boolean hasValue() {\n return value_ != null;\n }", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "public boolean isValue() {\n return false;\n }", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "public boolean isValue() {\n return value;\n }", "public boolean isValue() {\n return value;\n }", "public void stateChanged(ChangeEvent e) {\n\t\tJSlider source = (JSlider) e.getSource();\n\t\tif (!source.getValueIsAdjusting()) {\n\t\t\tdgopval = Math.pow(10, -source.getValue() / 10.0);\n\t\t\tpvalLabel.setText(\"X = \" + source.getValue() / 10.0\n\t\t\t\t\t+ \"; p-value threshold is \"\n\t\t\t\t\t+ DREMGui_KeyInputs.doubleToSz(dgopval));\n\t\t\taddGOLabels(rootptr);\n\t\t}\n\t}", "public void valueChanged(ListSelectionEvent arg0) {\n\t\t\r\n\t}", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "void valueChanged(CalcModel model);", "void valueChanged(CalcModel model);", "public void valueChanged(ListSelectionEvent e)\n\t\t\t{\n\t\t\t}", "@Override\r\n\tpublic void stateChanged(ChangeEvent e) {\n\t\tJSlider source = (JSlider)e.getSource();\r\n\t\tif (!source.getValueIsAdjusting()) {\r\n\t\t\tSystem.out.println(source.getValue());\r\n\t\t\tSliderState.setSliderValue(source.getValue());\r\n\t\t}\r\n\t}", "public final boolean isValueLockedSetted() {\n\t\treturn engine.isPropertySetted(Properties.VALUE_LOCKED);\n\t}", "public void valueChanged(ListSelectionEvent e)\n\t{\n\t\t//Only process the final event\n\t\tif(!e.getValueIsAdjusting())\n\t\t{\n\t\t\tpopupMenu.setVisible(false);\n\t\t\tint index=popupList.getSelectedIndex();\n\t\t\t//redraw the label\n\t\t\tsetIcon(index<0?renderer.unselectedIcon:renderer.listIcons[index]);\n\t\t\t//pass the event on\n\t\t\tActionEvent ae = new ActionEvent(this, ActionEvent.ACTION_PERFORMED, actionCommand);\n\t\t\tfor(int i = listeners.size() - 1; i >= 0; i--)\n\t\t\t{\n\t\t\t\tlisteners.get(i).actionPerformed(ae);\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void valueChanged(final ListSelectionEvent e) {\n if (e.getValueIsAdjusting()) {\n return;\n }\n showObject();\n }", "void eventChanged();", "private void fireValueChange(boolean b) {\n \t\n\t\t\n\t}", "public native final EditorBaseEvent changedEvent(EventFacade val) /*-{\n\t\tthis.changedEvent = val;\n\t\treturn this;\n\t}-*/;", "private void onShowingChanged(ObservableValue<? extends Boolean> pObservable, Boolean pOldValue, Boolean pNewValue)\n\t\t{\n\t\t\tif (!pNewValue.booleanValue())\n\t\t\t{\n\t\t\t\tfireEditingComplete(ICellEditorListener.FOCUS_LOST);\n\t\t\t}\n\t\t}", "public void valueChanged(ListSelectionEvent e) {\n\t\t\n\t}", "public boolean checkValueTypeValidity(Object value) {\n\t\treturn propType.checkValueTypeValidity(value);\n\t}", "public interface OnValueChangeListener {\n void onChanged(String fieldName, Object oldValue, Object newValue);\n}", "public void valueChanged(TreeSelectionEvent evt) {\n\t\t\t\tTreePath selectedPath = tree.getSelectionPath();\n\t\t\t\tif (selectedPath != null)\n\t\t\t\t\tSystem.out.println(\"In TreeSelectionListener: \"\n\t\t\t\t\t\t\t+ selectedPath.getLastPathComponent());\n\t\t\t}", "public interface KnobValuesChangedListener {\r\n\t\tvoid onValuesChanged(boolean knobStartChanged, boolean knobEndChanged, int knobStart, int knobEnd);\r\n\t\tvoid onMoveValuePoint(int pX, int pY, int knobStartPX, int knobEndPX, boolean isMoving);\r\n void onSliderClicked();\r\n\t}", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public void valueChanged( TreeSelectionEvent e )\n {\n //throw new UnsupportedOperationException( \"Not supported yet.\" );\n }", "@Override\r\n\tpublic void adjustmentValueChanged(AdjustmentEvent evt) {\n\t\tAdjustable source = evt.getAdjustable();\r\n\r\n\t\t// check if user is currently dragging the scrollbar's knob\r\n\t\tif (evt.getValueIsAdjusting()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// get the orientation of the adjustable object\r\n\t\tint orientation = source.getOrientation();\r\n\r\n\t\tif (orientation == Adjustable.HORIZONTAL) {\r\n\t\t\tSystem.out.println(\"Event from horizontal scrollbar\");\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Event from vertical scrollbar\");\r\n\t\t}\r\n\r\n\t\t// get the type of adjustment which caused the value changed event\r\n\r\n//\t\tint type = evt.getAdjustmentType();\r\n\r\n//\t\tswitch (type) {\r\n//\t\tcase AdjustmentEvent.UNIT_INCREMENT:\r\n//\t\t\tSystem.out.println(\"increased by one unit\");\r\n//\t\t\tbreak;\r\n//\r\n//\t\tcase AdjustmentEvent.UNIT_DECREMENT:\r\n//\t\t\tSystem.out.println(\"decreased by one unit\");\r\n//\t\t\tbreak;\r\n//\r\n//\t\tcase AdjustmentEvent.BLOCK_INCREMENT:\r\n//\t\t\tSystem.out.println(\"increased by one block\");\r\n//\t\t\tbreak;\r\n//\r\n//\t\tcase AdjustmentEvent.BLOCK_DECREMENT:\r\n//\t\t\tSystem.out.println(\"decreased by one block\");\r\n//\t\t\tbreak;\r\n//\t\tcase AdjustmentEvent.TRACK:\r\n//\t\t\tSystem.out.println(\"knob on the scrollbar was dragged\");\r\n//\t\t\tbreak;\r\n//\r\n//\t\t}\r\n\r\n\t\t// get the current value in the adjustment event\r\n//\t\tint value = evt.getValue();\r\n//\t\tSystem.out.println(\"Current Value: \" + value);\r\n\t}", "public static boolean isChanged(PO po) {\n\t\tString[] columnNames = s_sourceColumnNames.get(po.get_TableName());\n\t\tif (columnNames == null || columnNames.length == 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (po.is_new() || po.is_ValueChanged(\"IsActive\")) {\n\t\t\treturn true;\n\t\t}\n\t\tfor (String columnName : columnNames) {\n\t\t\tif (po.is_ValueChanged(columnName)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public interface CalcValueListener {\n\n\t/**\n\t * Method notifies the implementing class that a value has changed.\n\t * \n\t * @param model\n\t * implementation of the CalcModel\n\t */\n\tvoid valueChanged(CalcModel model);\n}", "protected void boundObjectChanged(Object componentValue) {\r\n this.boundObjectChanged(true, componentValue);\r\n }", "public boolean isValue() {\n switch(this.getType()) {\n case CONSTANT_INTEGER : \n case CONSTANT_FLOAT :\n case CONSTANT_DOUBLE : \n case CONSTANT_LONG : \n case CONSTANT_STRING:\n return true ;\n default :\n return false;\n }\n }", "public void gxlAttrValueChanged(GXLAttrValueModificationEvent e) {\n\t}", "protected void fireValueChangedEvent(ValueChangedEvent event) {\n\t\tif (listeners != null) {\n\t\t\tfor (int i = 0; i < listeners.length; i++) { \n\t\t\t\tlisteners[i].valueChanged(event);\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\tpublic void monitorChanged(MonitorEvent arg0) {\n\t\t\tDBR dbr = arg0.getDBR();\n\t\t\tif (dbr.isDOUBLE()) {\n\t\t\t\t// update the latest value\n\t\t\t\tdouble lastValue = latestValue;\n\t\t\t\tlatestValue = ((DBR_Double) dbr).getDoubleValue()[0];\n\n\t\t\t\t// if the percentage change has been great enough, then inform\n\t\t\t\t// IObservers\n\t\t\t\tif (Math.abs((lastValue - latestValue) / lastValue) * 100.0 >= sensitivity) {\n\t\t\t\t\tnotifyIObservers(this, latestValue);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "public static ApproxsimEvent getValueChanged(Object source, Object initiator) {\n return new ApproxsimEvent(source, VALUECHANGED, initiator, null);\n }", "default boolean hasValue() {\n\t\t\treturn getValue() != null;\n\t\t}", "public boolean isValueGet() {\r\n return valueGet;\r\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "boolean isValueLocked();", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "@Override\n\tpublic abstract void valueChanged(ListSelectionEvent arg0);", "public void onValueChange(final ChangeListener listener) {\n\t\tchangeListener = listener;\n\t\treturn;\n\t}", "@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n\t\t\t\tif(newValue.intValue()<(int)systolicAlarm.getValue() && !sysShowing[0] ) {\n\t\t\t\t\tSystem.err.println(\"systolic alarm condition...\");\n\t\t\t\t\tjavafx.application.Platform.runLater(()-> {\n\t\t\t\t\t\tsysShowing[0]=true;\n\t\t\t\t\t\tsysAlert.show();\n\t\t\t\t\t});\n\t\t\t\t\tBPAlarm alarm=new BPAlarm(BP_ALARM_SYS, newValue.intValue());\n\t\t\t\t} else {\n\t\t\t\t\tsysAlert.hide();\n\t\t\t\t\tsysShowing[0]=false;\n\t\t\t\t}\n\t\t\t}", "@Override // androidx.databinding.ViewDataBinding\n public boolean onFieldChange(int i, Object obj, int i2) {\n if (i != 0) {\n return false;\n }\n return onChangeSliderAction((SettingsSliderActionType) obj, i2);\n }", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "public boolean isSetValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(VALUE$12) != null;\n }\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "@Override\n public void changed(ObservableValue<? extends Boolean> ov, Boolean onHidden, Boolean onShown) {\n }", "@Override\r\n\tpublic void valuesChanged() {\r\n\t}", "public interface ChangeListener {\n\t\tpublic void onValueChange(FloatPicker fpw, float value);\n\t}", "private void dataValuesChanged(){\r\n ComboBoxBean cmbTypeCode =(ComboBoxBean)awardAddDocumentForm.cmbDocumentType.getSelectedItem();\r\n if(!cmbTypeCode.getCode().equals(\"\") && !cmbTypeCode.getDescription().equals(\"\")){\r\n if( !awardAddDocumentForm.txtDescription.getText().equals(EMPTY_STRING)\r\n || !awardAddDocumentForm.txtFileName.getText().equals(EMPTY_STRING) ||\r\n Integer.parseInt(cmbTypeCode.getCode())!= DOC_CODE){\r\n dataChanged = true;\r\n }\r\n }else{\r\n if( !awardAddDocumentForm.txtDescription.getText().equals(EMPTY_STRING)\r\n || !awardAddDocumentForm.txtFileName.getText().equals(EMPTY_STRING)){\r\n dataChanged = true;\r\n }else{\r\n dataChanged = false;\r\n } \r\n } \r\n }", "public boolean hasVal() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public void adjustmentValueChanged(AdjustmentEvent sbChanged)\r\n\t{\r\n\t\t//If adjustment came from the speed scroll bar\r\n\t\tif (sbChanged.getSource() == weaponVelocitySB)\r\n\t\t{\t\t\r\n\t\t\t\t//Prevent adjustment while projectile is moving\r\n\t\t\t\tif (weaponMotion == false) \r\n\t\t\t\t{\r\n\t\t\t\t//Adjust firing power to something reasonable\r\n\t\t\t\ttempSBValue = sbChanged.getValue();\r\n\t\t\t\ttempSBValue = (int) (tempSBValue/powerBalance);\r\n\t\t\t\tweaponV0 = tempSBValue;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(weaponV0);\r\n\t\t}\r\n\t\t\r\n\t\t//If adjustment came from the size scroll bar\r\n\t\tif (sbChanged.getSource() == angleSB)\r\n\t\t{\t\t\t\r\n\t\t\tdeg = sbChanged.getValue();\r\n\t\t\t//Set size scroll bar movement flag\r\n\t\t\t//angleSBMoveFlag = true;\r\n\t\t\t//System.out.println(deg);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "public boolean getValueIsAdjusting() {\r\n return isAdjusting;\r\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public void valueChanged(ConfigurationIdentifier configurationIdentifier, Serializable value);", "public void valueChanged(TreeSelectionEvent e) {\n DefaultMutableTreeNode node = (DefaultMutableTreeNode) getLastSelectedPathComponent();\n\n if (node == null)\n return;\n }", "public boolean isCValueEditable();", "private boolean isVal() {\n\t\treturn look.type == Tag.BOOLEAN || look.type == Tag.NUMBER\n\t\t\t\t|| look.type == Tag.STRING || look.type == Tag.NULL;\n\n\t}", "public boolean getANumberChanged() {\r\n return !OpbComparisonHelper.isEqual(\r\n aNumber, aNumberDataSourceValue);\r\n }", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;", "public boolean hasValue() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean hasValue() { return false; }", "public boolean hasValue() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean filtersChanged(){\n if(startDateChanged || endDateChanged || stationIdChanged || languageChanged){\n return true;\n }\n return false;\n }", "@Override\n\t\t\tpublic void valueChanged(ListSelectionEvent arg0) {\n\t\t\t\tif (!arg0.getValueIsAdjusting()){\n\t\t\t\t\tKIDSUITimePeriodComponent selected = timePeriodJList.getSelectedValue();\n\t\t\t\t\tpopulateTree(top, eventJList.getSelectedValue(), selected);\n\t\t\t\t\tParameterTree.repaint();\n\t\t\t\t\tselectedTimePeriod = selected;\n\t\t\t\t}\n\t\t\t}", "public void stateChanged(ChangeEvent e) {\n\n\t\tJSlider src = (JSlider) e.getSource();\n\n\t\tif (src == gainFactorSlider) {\n\t\t\tif (!src.getValueIsAdjusting()) {\n\t\t\t\tint val = (int) src.getValue();\n\t\t\t\tgainFactor = val * 0.25;\n\n\t\t\t}\n\t\t} else if (src == biasFactorSlider) {\n\t\t\tif (!src.getValueIsAdjusting()) {\n\t\t\t\tbiasFactor = (int) src.getValue();\n\n\t\t\t}\n\t\t}\n\n\t}", "public boolean hasVal() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }" ]
[ "0.6484574", "0.62603664", "0.6176476", "0.60139316", "0.5901342", "0.58786875", "0.5811027", "0.57669204", "0.5725921", "0.5697934", "0.56742173", "0.5647397", "0.5647397", "0.56430316", "0.56227434", "0.55739015", "0.5565073", "0.55539906", "0.5528072", "0.55141526", "0.5509695", "0.5498009", "0.5490265", "0.54708654", "0.5467988", "0.5464084", "0.5451646", "0.5442372", "0.5416341", "0.5406174", "0.5396765", "0.5391636", "0.5381647", "0.5364635", "0.5364635", "0.5356738", "0.5354939", "0.53323066", "0.5328093", "0.532503", "0.5324965", "0.5320415", "0.5316266", "0.5290947", "0.5268133", "0.5265139", "0.52459896", "0.5243435", "0.5240469", "0.5236549", "0.5233567", "0.523209", "0.5219329", "0.5210537", "0.5202895", "0.51987976", "0.5192587", "0.5178737", "0.5176297", "0.51748514", "0.5172522", "0.51681554", "0.51621187", "0.51531076", "0.51504433", "0.5141746", "0.51408815", "0.51301885", "0.51301885", "0.51301885", "0.5125176", "0.5116502", "0.5114929", "0.5103237", "0.5102028", "0.50991887", "0.50956655", "0.50956655", "0.50939363", "0.50791854", "0.5073355", "0.5068654", "0.505955", "0.5056739", "0.5052782", "0.50464547", "0.50437486", "0.5029617", "0.5022075", "0.5019937", "0.5016386", "0.5013992", "0.50122255", "0.50122255", "0.500755", "0.5004291", "0.50019985", "0.4999623", "0.49972975", "0.49921682" ]
0.81037366
0
Creates a new Selected event. This type of event is triggered when a ApproxsimObject is selected. Currently, selection of objects may only be performed through the treeview.
public static ApproxsimEvent getSelected(Object source) { return new ApproxsimEvent(source, SELECTED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Subscribe\r\n\tpublic void onSelectExperiement(ExpressionDataSelectedEvent event)\r\n\t{\r\n\t\tgetView().updateSelectionLabel(event.GetPayload().getName());\r\n\t}", "@Override\r\n\tpublic void objectSelectListener(SelectEvent event) {\n\t\t\r\n\t}", "public void ViagemSelecionado(SelectEvent event) {\n\n\t\tViagem m1 = (Viagem) event.getObject();\n\t\tthis.viagem = m1;\n\n\t}", "@Listen(\"onClick = #selectModel\")\n\tpublic void selectModel(){\n\t\ttreeModel.setOpenObjects(List.of(treeModel.getRoot().getChildren().get(path[0])));\n\t\ttreeModel.addToSelection(treeModel.getChild(path));\n\t}", "private void tagSelectionChanged(TagBase source) {\n if (source.isSelected()) {\n getChildren().stream()\n .filter(c -> c instanceof TagBase)\n .map(c -> (TagBase) c)\n .filter(ov -> ov != source).forEach(ov -> ov.setSelected(false));\n if (source instanceof ObjectTag) {\n source.setAnimateOutline(Settings.isAnimateOutline());\n selectedObjectProperty.set((ObjectTag) source);\n }\n tagCoordsProperty.set(getCoordinates(source.shapeItemProperty().get()));\n source.shapeItemProperty().addListener((observable, oldValue, newValue) -> tagCoordsProperty.set(getCoordinates(newValue)));\n }\n else {\n if (objectsProperty.stream().filter(ov -> ov.isSelected()).count() > 0) {\n return;\n }\n source.setAnimateOutline(false);\n selectedObjectProperty.set(null);\n tagCoordsProperty.set(\"\");\n }\n }", "@Override\n\t\t\tpublic void menuSelected(MenuItem selectedItem)\n\t\t\t{\n\n\t\t\t}", "@Override\n\t\t\tpublic void menuSelected(MenuItem selectedItem)\n\t\t\t{\n\n\t\t\t}", "public void treeRowSelectionChanged(AbstractBean beanObj) {\r\n\t}", "@DISPID(-2147412032) //= 0x800117c0. The runtime will prefer the VTID if present\n @VTID(9)\n void onselectionchange(\n @MarshalAs(NativeType.VARIANT) java.lang.Object p);", "public void setSelectedObject(SimObject selectedObject) {\n\t\tthis.selectedObject = selectedObject;\n\t\tthis.mainMenu.updateDetailedMenu();\n\t}", "public void setSelectedObject(Object selectedObject) {\n\t\tList s = new ArrayList();\n\t\ts.add(selectedObject);\n\t\tthis.setSelectedObjects(s);\n\t}", "@Override\n public void menuSelected(MenuEvent e) {\n \n }", "public void onSelectionChanged();", "@Override\r\n\t\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\n\tpublic void menuSelected(MenuEvent e) {\n\n\t}", "@Listen(\"onClick = #selectTree\")\n\tpublic void select(){\n\t\ttreeModel.setOpenObjects(treeModel.getRoot().getChildren());\n\t\tTreeitem[] items = tree.getItems().toArray(new Treeitem[0]);\n\t\ttree.setSelectedItem(items[items.length - 1]);\n\t}", "@Override\n\t\t\tpublic void handleNoteSelectedEvent(EventObject e, Group gr) {\n\t\t\t\tselectedGroup = gr;\n\t\t\t\tonClick(mlv);\n\t\t\t}", "@Subscribe\r\n\tpublic void onSelectOneWayAnova(OneWayANOVADataSelectedEvent event)\r\n\t{\r\n\t\tgetView().updateSelectionLabel(event.GetPayload().getName());\r\n\t}", "public void select(Object obj, boolean selectionFlag);", "public void selectionChanged(Selection selecton) {\r\n }", "protected void onSelectionPerformed(boolean success) {\n }", "public SelectionEvent() {\n }", "public void widgetSelected(SelectionEvent arg0) {\n\t\t\t}", "@Override\n\tpublic void selectionChanged(SelectionChangedEvent arg0) {\n\t\t\n\t}", "void onSelection( Event ev ) {\n Rectangle bounds = chevron.getBounds();\n Event event = new Event();\n event.detail = SWT.ARROW;\n if ( (parent.style & SWT.VERTICAL) != 0 ) {\n event.x = bounds.x + bounds.width;\n event.y = bounds.y;\n } else {\n event.x = bounds.x;\n event.y = bounds.y + bounds.height;\n }\n // postEvent (SWT.Selection, event);\n event.widget = this;\n for ( int i = 0; i < selectionListeners.size(); i++ ) {\n ((SelectionListener) selectionListeners.get( i ))\n .widgetSelected( new SelectionEvent( event ) );\n }\n \n }", "public void fireTableRowSelected(Object source, int iRowIndex, int iSelectionType);", "public void handleSelectionEvent(@Observes @EntitySelectionEvent SalesOrder selectedEntity)\n\t{\n\t\tPropertyReader.copy(selectedEntity, displayedEntity);\n\t\tdisplayView.getClient().setValue(selectedEntity.getCustomer());\n\t\tCustomer customer = new Customer();\n\t\tPropertyReader.copy(displayedEntity.getCustomer(), customer);\n\t\tdisplayView.getAmountHT().setNumber(displayedEntity.getAmountAfterTax());\n\t\tgetCustomerInsurance(customer);\n\t\tsetDiscountt(selectedEntity);\n\t\tresetNetTopay(selectedEntity);\n\t\tdisplayView.getNumBon().setText(null);\n\t}", "@Override\n public void contextMenuOpened(ObservableList<GUITemplate> selected) {\n }", "void evt_MarkSelectedObjects()\r\n {\r\n short num;\r\n CObject pHO;\r\n int oil;\r\n CObjInfo oilPtr;\r\n\r\n for (oil = 0; oil < rhPtr.rhMaxOI; oil++)\r\n {\r\n oilPtr = rhPtr.rhOiList[oil];\r\n if (oilPtr.oilEventCount == rh2EventCount)\r\n {\r\n if (oilPtr.oilEventCountOR != rh4EventCountOR)\r\n {\r\n oilPtr.oilEventCountOR = rh4EventCountOR;\r\n num = oilPtr.oilObject;\r\n while (num >= 0)\r\n {\r\n pHO = rhPtr.rhObjectList[num];\r\n pHO.hoSelectedInOR = 0;\r\n num = pHO.hoNumNext;\r\n }\r\n }\r\n num = oilPtr.oilListSelected;\r\n while (num >= 0)\r\n {\r\n pHO = rhPtr.rhObjectList[num];\r\n pHO.hoSelectedInOR = 1;\r\n num = pHO.hoNextSelected;\r\n }\r\n }\r\n }\r\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent exc) {\n }", "void onSelectedEventChange(@Nullable Event currentSelectedEvent);", "public void onIndividualSelected(Individual individual) {\n\t\t\n\t}", "@Override\n\tpublic void widgetSelected(SelectionEvent arg0) {\n\n\t}", "public void widgetSelected(SelectionEvent e) {\n\t\t\t\tnew ShellEscribirMensaje(tabFolder.getShell(),bundle,vista,null,0,\"\",false,tabla);\r\n\t\t\t\t\r\n\t\t\t}", "public void invSelected()\n {\n\t\t//informaPreUpdate();\n \tisSelected = !isSelected;\n\t\t//informaPostUpdate();\n }", "@Override\r\n protected TreeItem getSelectedItem() {\r\n return getSelectionModel().getSelectedItem();\r\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "@Override\n public void widgetDefaultSelected(SelectionEvent selectionEvent) {\n }", "private void updateStateUiAfterSelection() {\n stageManager.updateStateUi();\n eventBus.publish(EventTopic.DEFAULT, EventType.SELECTED_OBJECT_CHANGED);\n eventManager.fireEvent(EngineEventType.SELECTED_OBJECT_CHANGED);\n }", "protected void setSelectedObjects() {\r\n\t\tint index, arrayLength;\r\n\t\tVector oldObjects = (Vector) getSelectedObjects().clone();\r\n\t\tgetSelectedObjects().removeAllElements();\r\n\t\tint[] intArray = table.getSelectedRows();\r\n\t\tarrayLength = intArray.length;\r\n\t\tfor (int i = 0; i < arrayLength; i++) {\r\n\t\t\tindex = intArray[i];\r\n\t\t\tif (index >= 0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (dataObjects.size() > 0)\r\n\t\t\t\t\t\tselectedObjects.addElement(dataObjects.elementAt(index));\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tselectedObjects.addElement(null);\r\n\t\t\t\t} catch (Throwable t) {\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Object newSingleSelection = getSelectedRowObject();\r\n\t\tnotifySelectedObjectsChanged(oldObjects, selectedObjects);\r\n\t\tnotifySelectedObjectChanged(oldObjects, selectedObjects);\r\n\t}", "public void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\tProposal proposal = (Proposal) e.item.getData();\n\t\t\t\tif (proposal != null) {\n\t\t\t\t\tacceptCurrentProposal(true);\n\t\t\t\t} else {\n\t\t\t\t\tproposalTable.deselectAll();\n\t\t\t\t}\n\t\t\t}", "void selectedEntityChanged(String name);", "protected final void onSelect(CommandSender sender) {\n setInteracting(sender);\n onSelect();\n }", "@Override\n public void selectItem(String selection) {\n vendingMachine.setSelectedItem(selection);\n vendingMachine.changeToHasSelectionState();\n }", "@Override\r\n\tpublic void itemSelectedAtIndexPath(IndexPath path) {\n\r\n\t}", "@DISPID(-2147412032) //= 0x800117c0. The runtime will prefer the VTID if present\n @VTID(10)\n @ReturnValue(type=NativeType.VARIANT)\n java.lang.Object onselectionchange();", "void itemSelected(OutlineItem item);", "public void onEventSelected(int position);", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "public void onShowMushroomSelectionDialogSelected(Context context);", "@Override\n\tpublic void eventSelectOrder() {\n\t\t\n\t}", "public void treeSelection() {\n\t\tFlowTreeNode ftn = (FlowTreeNode) tree.getLastSelectedPathComponent();\n\n\t\tif (ftn == null)\n\t\t\treturn;\n\t\telse\n\n\t\t{\n\n\t\t\tftn.execute();\n\t\t\tthis.revalidate();\n\t\t\t// buildTreeView();\n\n\t\t}\n\t}", "@Override\r\n\t\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\t\r\n\t\t\t\t}", "private void handleSelect(MouseEvent event) {\n\t\tWidget widget = tree.getItem(new Point(event.x, event.y));\n\t\tif (!(widget instanceof TreeItem))\n\t\t\treturn;\n\t\tTreeItem item = (TreeItem) widget;\n\t\tObject o = item.getData();\n\t\tif (o == null)\n\t\t\treturn;\n\t\ttry {\n\t\t\tthis.action.handleAction(o);\n\t\t} catch (ApplicationException e) {\n\t\t\tGUI.getStatusBar().setErrorText(e.getMessage());\n\t\t}\n\t}", "public void selectionChanged(MPart part, Object object) {\n\t\tif (object == null) {\n\t\t\treturn;\n\t\t}\n\n\t\tStructuredSelection selection = new StructuredSelection(object);\n\n\t\t// Query the new selection for appropriate new child/sibling descriptors\n\t\t//\n\t\tCollection<?> newChildDescriptors = null;\n\t\tCollection<?> newSiblingDescriptors = null;\n\n\t\tif (editingDomain != null) {\n\n\t\t\tnewChildDescriptors = editingDomain.getNewChildDescriptors(object,\n\t\t\t\t\tnull);\n\t\t\tnewSiblingDescriptors = editingDomain.getNewChildDescriptors(null,\n\t\t\t\t\tobject);\n\n\t\t\t// Generate actions for selection; populate and redraw the menus.\n\t\t\tgenerateCreateChildActions(newChildDescriptors, selection);\n\t\t\tgenerateCreateSiblingActions(newSiblingDescriptors, selection);\n\n\t\t\t// create or update our Menu Manger.\n\t\t\tgetCreateChildMenuManager();\n\t\t\tSystem.out.println(\"EMF Editor selection changed child menu size: \"\n\t\t\t\t\t+ createChildMenuManager.getChildren().size());\n\t\t\tgetCreateSiblingMenuManager();\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"EMF Editor selection changed sibling menu size: \"\n\t\t\t\t\t\t\t+ createSiblingMenuManager.getChildren().size());\n\n\t\t\tpopulateContextMenu(part);\n\t\t}\n\t}", "@Override\n\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\n\t}", "@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tSystem.out.println(oDate.getSelection());\t\t\t\t\n\t\t\t\teachShipment.setExpectedShipDate(oDate.getSelection());;\n\t\t\t eachShipment.setExpectedRecievedDate(sDate.getSelection());\n\t\t\t eachShipment.setRecieptNumber(recieptText.getText());\n\t\t\t\teachShipment.setOrgId(orgId);\n\t\t\t\t//need to refactor to remove duplication later\n\t\t\t\t//possible try block\n\t\t\t\tList<DatabaseAccess> affectedTables = new ArrayList<DatabaseAccess>();\n\t\t\t\tStoreInDatabase sd = new StoreInDatabase();\n\t\t\t\taffectedTables.add(eachShipment);\n\t\t\t\tsd.writeToDatabase(affectedTables);\n\t\t\t}", "public void setSelectedItem( final T selectedEntity ) {\n this.selectedEntity = selectedEntity;\n }", "@Override\r\n public void onRegionClickSelected(ProteinRegionSelectionEvent event) {\r\n StateChanger changer = new StateChanger();\r\n List<Region> region = new ArrayList<>();\r\n List<PeptideMatch> peptides;\r\n List<String> modifications;\r\n\r\n try {\r\n region.add(new Region(event.getStart(), event.getStart() + event\r\n .getLength() - 1));\r\n changer.addRegionChange(region);\r\n\r\n peptides = PeptideUtils.filterPeptideMatchesNotIn(peptideMatchSelection,\r\n event.getStart(), event.getStart() + event.getLength() - 1);\r\n\r\n if(peptides.size() != peptideMatchSelection.size()) {\r\n changer.addPeptideChange(peptides);\r\n }\r\n\r\n modifications = filterModificationsNotIn(currentModifications,\r\n event.getStart(), event.getStart() + event.getLength() - 1);\r\n\r\n if (modifications.size() != currentModifications.size()) {\r\n changer.addModificationChange(modifications);\r\n }\r\n\r\n UserAction action = new UserAction(UserAction.Type.region,\r\n \"Click Set\");\r\n StateChangingActionEvent.fire(this, changer, action);\r\n } catch (IllegalRegionValueException e) {\r\n // This is probably because of an empty selection,\r\n // we don't send any event\r\n }\r\n }", "public void selectionChanged(Action item);", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t}", "@Override\r\n\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\n\t\t\t}", "public void onComidaSelected(int comidaId);", "@Override\r\n\tpublic void mousePressed(MouseEvent e) {\n\t\tif (selected != null) {\r\n\t\t\tselected.setBackground(null);\r\n\t\t\tselected.rename.setVisible(false);\r\n\t\t\tselected.name.setVisible(true);\r\n\t\t}\r\n\t\tallowAction = true;\r\n\t\tselected = this;\r\n\t\tselected.setBackground(Color.gray);\r\n\t\tSystem.out.println(\"Node: \" + selected.get_path());\t\t\r\n\r\n\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent arg0) {\n\r\n\t\t\t}", "private void pressedSelect(MouseEvent e) {\r\n if (e.getModifiers() >= MouseEvent.BUTTON1_MASK) {\r\n /* Click on a node */\r\n if (graphX.nodesContains(e.getPoint())) {\r\n /* Resize the selected node */\r\n if (graphX.isOneNodeSelected() && !ctrlPressed\r\n && graphX.getSelectedNode().getResizeRectangle().contains(e.getPoint())) {\r\n NodeX nodeX = graphX.getSelectedNode();\r\n nodeX.setResize(true);\r\n nodeX.setState(true);\r\n nodeX.setRelativePosition(e.getPoint());\r\n }\r\n /* Click to resize a node */\r\n else if (graphX.getNode(e.getPoint()).getResizeRectangle().contains(e.getPoint()) && !ctrlPressed) {\r\n /* Put the node over the others */\r\n graphX.selectNode(e.getPoint());\r\n\r\n graphX.deselectAll();\r\n graphX.getNode(e.getPoint()).setResize(true);\r\n graphX.getNode(e.getPoint()).setState(true);\r\n graphX.getNode(e.getPoint()).setRelativePosition(e.getPoint());\r\n\r\n selectTool.setMultiple(false);\r\n selectTool.reset();\r\n }\r\n /* Click to move (select) a node or mode nodes */\r\n else {\r\n NodeX nodeX;\r\n if ((nodeX = graphX.getNode(e.getPoint())) != null) {\r\n if (ctrlPressed == false && nodeX.getState() == false) {\r\n graphX.deselectAll();\r\n }\r\n /* Deselect the node */\r\n if (ctrlPressed == true && nodeX.getState() == true) {\r\n graphX.deselectNode(nodeX);\r\n graphX.selectEdgesFromNodes();\r\n }\r\n /* Select the node */\r\n else {\r\n // graphX.deselectEdges();\r\n graphX.selectNode(nodeX);\r\n graphX.selectEdgesFromNodes();\r\n }\r\n\r\n /* Set the relative position at the selected nodes */\r\n for (int i = 0; i < graphX.nodesNumber(); i++) {\r\n if (graphX.nodeAt(i).getState()) {\r\n moveingGraph = true;\r\n graphX.nodeAt(i).setRelativePositionTo(e.getPoint());\r\n }\r\n }\r\n for (int i = 0; i < graphX.edgesNumber(); i++) {\r\n if (graphX.edgeAt(i).getState()) {\r\n graphX.edgeAt(i).setRelativePositionsTo(e.getPoint());\r\n }\r\n }\r\n\r\n dragMultiple = false;\r\n }\r\n }\r\n }\r\n /* Click on an edge */\r\n else if ((graphX.edgesContains(e.getPoint(), graph instanceof GraphOriented)\r\n || graphX.overSplitPoints(e.getPoint()) || edgeFromLabel(e.getPoint()) != null)\r\n && ctrlPressed == false) {\r\n deleteWays();\r\n\r\n EdgeX edgeX = graphX.getEdge(e.getPoint());\r\n if (edgeX != null) {\r\n graphX.deselectAll();\r\n edgeX.setState(true);\r\n } else {\r\n try {\r\n edgeX = edgeFromLabel(e.getPoint());\r\n graphX.deselectAll();\r\n edgeX.setState(true);\r\n } catch (NullPointerException e1) {\r\n }\r\n }\r\n // /* Set the split point if pressed on it */\r\n // graphX.getSelectedEdge().selectSplitPoint(e.getPoint());\r\n }\r\n /* Click on background */\r\n else {\r\n selectTool.setMultiple(true);\r\n selectTool.setFirstPoint(e.getPoint());\r\n /* Deselect all the nodes and edges */\r\n if (ctrlPressed == false) {\r\n graphX.deselectAll();\r\n /* Delete the ways */\r\n deleteWays();\r\n }\r\n }\r\n } else if (e.getModifiers() >= MouseEvent.BUTTON3_MASK) {\r\n NodeX nodeX = graphX.getNode(e.getPoint());\r\n EdgeX edgeX = graphX.getEdge(e.getPoint());\r\n\r\n if (nodeX != null) {\r\n itemType = NODE;\r\n\r\n /* Select the node */\r\n graphX.deselectAll();\r\n nodeX.setState(true);\r\n\r\n nodePopupMenu.show(this, e.getPoint().x, e.getPoint().y);\r\n } else if (edgeX != null) {\r\n /* Select the edge */\r\n graphX.deselectAll();\r\n edgeX.setState(true);\r\n\r\n if (ctrlPressed) {\r\n edgeX.deleteSplitPoint(e.getPoint());\r\n } else {\r\n itemType = EDGE;\r\n edgePopupMenu.show(this, e.getPoint().x, e.getPoint().y);\r\n splitPointLocation = e.getPoint();\r\n }\r\n\r\n // System.out.println(edgePopupMenu);\r\n // if(ctrlPressed) {\r\n // edgeX.deleteSplitPoint(e.getPoint());\r\n // }\r\n // else {\r\n // edgeX.addSplitPoint(e.getPoint());\r\n // }\r\n }\r\n }\r\n }", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\t\t\t\t\r\n\t\t\t}", "public void handleCreateProject(SelectEvent event) {\n\t}", "@Override\n public void onValueSelected(Entry e, Highlight h) {\n int i = objectIdList.indexOf((int)e.getX());\n String xTvStr = \"objectid: \" + String.valueOf(objectIdList.get(i));\n xTv.setText(xTvStr);\n String yTvStr = classifierTitle + \": \" + String.valueOf(classifiers.get(i));\n yTv.setText(yTvStr);\n String attributeStr = attributeTitle + \": \" + attributes.get(i);\n attrTv.setText(attributeStr);\n if (detailAllLoaded) {\n showJSONDetail(i);\n }\n }", "@Override\n public void onClick(View view)\n {\n if(selectedStructure != null) //checks if object is selected and if prev object is same object\n {\n //if object is the same, then deselect the structure\n if (selectedStructure.equals(structureList.get(getAdapterPosition())))\n selected = false;\n else\n selected = true;\n }\n\n // if selected, get object otherwise let no object is selected\n if (selected)\n {\n selectedStructure = structureList.get(getAdapterPosition());\n }\n else\n {\n selectedStructure = null;\n }\n }", "@Override\n\tpublic Object getModelSelected() {\n\t\treturn null;\n\t}", "@Override\r\n public void selectionChanged(IAction action, ISelection selection) {\n }", "private void userSelected(MouseEvent e) {\n User user = getUser(e);\n if (user != null) {\n userListener.userClicked(user, e);\n }\n }", "public void onSelectedItems(Map<String,Integer> selectedMapPo) {\n\t\t\t\t\n\t\t\t}", "public void actionPerformed(ActionEvent evt) {\n\t\t\t\tDefaultMutableTreeNode selected = (DefaultMutableTreeNode) tree\n\t\t\t\t\t\t.getLastSelectedPathComponent();\n\t\t\t\tif (selected == null) return;\n\n\t\t\t\t// get the parent of the selected node\n\t\t\t\tDefaultMutableTreeNode parent = (DefaultMutableTreeNode) selected\n\t\t\t\t\t\t.getParent();\n\t\t\t\tif (parent == null)\n\t\t\t\t\treturn;\n\n\t\t\t\t// add a new node after the selected node as a child of the\n\t\t\t\t// selected node's parent\n\t\t\t\t// We add item to the MODEL! The view automatically updates.\n\t\t\t\ttModel.insertNodeInto(new DefaultMutableTreeNode(\"New Node\"),\n\t\t\t\t\t\tparent, parent.getIndex(selected) + 1);\n\n\t\t\t\t/*\n\t\t\t\t * Note: additions are done to the model, not the view. See\n\t\t\t\t * below for the treeModelListener methods.\n\t\t\t\t */\n\t\t\t}", "public void itemSelected(boolean selected);", "public void setSelectedUser(ch.ivyteam.ivy.security.IUser _selectedUser)\n {\n selectedUser = _selectedUser;\n }" ]
[ "0.61263907", "0.60846484", "0.6017998", "0.58804095", "0.5878219", "0.5871373", "0.5871373", "0.5834082", "0.5792015", "0.57763875", "0.57661474", "0.5758126", "0.575201", "0.5751364", "0.5743929", "0.5692391", "0.5687715", "0.5672876", "0.5668018", "0.5664317", "0.5657811", "0.56354403", "0.5611465", "0.5607694", "0.560532", "0.5595797", "0.55918896", "0.5591708", "0.5589615", "0.5585493", "0.55833757", "0.5577494", "0.5570068", "0.55608463", "0.55596155", "0.55563754", "0.55198276", "0.55198276", "0.55198276", "0.55198276", "0.55198276", "0.55198276", "0.55051506", "0.54962957", "0.5495163", "0.5493611", "0.549008", "0.547979", "0.54770565", "0.5451122", "0.5441738", "0.5438444", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.5436478", "0.54363316", "0.542066", "0.54203063", "0.54174143", "0.5416021", "0.5413347", "0.5407228", "0.5406568", "0.5400252", "0.53928924", "0.53916025", "0.5381427", "0.5381031", "0.5379183", "0.5363112", "0.53570503", "0.53533906", "0.53533906", "0.53533906", "0.53493065", "0.5348949", "0.5348949", "0.5348949", "0.5348949", "0.5348949", "0.5348949", "0.534741", "0.53455025", "0.5342922", "0.5333917", "0.533343", "0.53200865", "0.5318141", "0.5313123", "0.53127784", "0.53082657", "0.53072745" ]
0.6516738
0
Checks if this is a Selected event.
public boolean isSelected() { return SELECTED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSomethingSelected() {\r\n \t\treturn graph.getSelectionCell() != null;\r\n \t}", "public boolean isSelected() { \n \treturn selection != null; \n }", "public boolean isSelectionChanged();", "public abstract boolean hasSelection();", "public boolean isSelectionChanged() {\n return selectionChanged;\n }", "public boolean isSelected() {\n return (state & STATE_SELECTED) != 0;\n }", "protected boolean isSelected(int selectedID)\n\t{\n\t\treturn (selectedID == this.nameId) && (this.slotId == parentGuiFF.getSelectedListId());\n\t}", "public boolean isSelected() {\n\t\treturn iAmSelected;\n\t}", "public boolean isSelectedIndex(int index) {\n\t\t\treturn tablecolselectmodel.isSelectedIndex(index);\n\t\t}", "public boolean isContactSelected() {\n\t\treturn (currentContact != null);\n\t}", "public boolean isSelectionEmpty()\n/* */ {\n/* 215 */ return this.selectedDates.isEmpty();\n/* */ }", "public boolean isSelectionListener() {\n return true;\n }", "void onSelectedEventChange(@Nullable Event currentSelectedEvent);", "public boolean isToggleSelectionEvent(MouseEvent e) {\r\n \t\treturn ((JmtGraphUI) graph.getUI()).isToggleSelectionEvent(e);\r\n \t}", "public boolean isSelectionEmpty() {\n\t\t\treturn tablecolselectmodel.isSelectionEmpty();\n\t\t}", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isSelected() {\n \t\treturn selected;\n \t}", "boolean isSetEvent();", "public boolean canSelectionChange() {\n return true;\n }", "public boolean isTargetSelected() {\n return targetSelected;\n }", "public boolean isIndexSelected(int idx) {\n return getElement().isIndexSelected(idx);\n }", "public boolean isUnselected() {\n return UNSELECTED.equals(message);\n }", "public boolean isSelected()\n\t{\n\t\treturn selected;\n\t}", "public boolean isSelectedIndex(int index)\r\n {\r\n return (avatarIndex == index);\r\n }", "public boolean isSelected() {\r\n\t\treturn selected;\r\n\t}", "public boolean isClicked() {\n\n// Cycles through all menu cursors\n for (MenuCursor cursor : Main.cursors) {\n\n// If the cursor has a controller and the select button is clicked, return true\n if (cursor.controller != null) {\n if (Main.contains(Main.recentButtons.get(cursor.controller), ControllerButtons.A)) {\n if (isCursorOver(cursor)) {\n this.cursor = cursor;\n return true;\n }\n }\n\n// Otherwise, if the cursor is using a keyboard and the select button is pressed, return true\n } else {\n if (Gdx.input.isKeyJustPressed(Keys.MENU_SELECT)) {\n if (isCursorOver(cursor)) {\n this.cursor = cursor;\n return true;\n }\n }\n }\n }\n// If none of these events occur, return false\n return false;\n }", "public boolean isSelected() {\n\t\treturn selected;\n\t}", "public boolean isSelected() {\n\t\treturn selected;\n\t}", "public boolean isFontNameSelected()\r\n\t{\r\n\t\t// return false if Font Name list has nothing selected, true if an item is selected\r\n\t\treturn !fontNamesList.isSelectionEmpty();\r\n\t}", "public boolean isSelectingAction() {\n return false;\n }", "public boolean isMaskSelected() {\n return (this.mActivity.getCameraAppUI().getCurrSelect() == null || this.mActivity.getCameraAppUI().getCurrSelect() == \"\") ? false : true;\n }", "public boolean isSelected() { return selected; }", "public boolean isSelected(PortalSiteRequestContext context)\n {\n // menu is selected if a selected element exists\n return (getSelectedElement(context) != null);\n }", "public boolean isSelectable(){\n\t\treturn (type != MONSTER_GOAL && type != MONSTER_ENTRANCE);\n\t}", "public boolean isSelected() {\r\n return selected;\r\n }", "boolean hasIronSelected();", "public boolean isSelected();", "public boolean isSelected();", "public boolean isSelected()\n {\n return selected;\n }", "public boolean hasSelectedTile()\r\n\t{\r\n\t\treturn (selectedTile != null);\r\n\t}", "public boolean isSelected(){\r\n return selected;\r\n }", "private static boolean hasSelectionListener( Text text ) {\n Button defButton = text.getShell().getDefaultButton();\n // TODO [rst] On GTK, the SelectionListener is also off when the default\n // button is invisible or disabled. Check with Windows and repair.\n boolean hasDefaultButton = defButton != null && defButton.isVisible();\n return !hasDefaultButton && SelectionEvent.hasListener( text );\n }", "public boolean isTileSelected() {\n return selectedTile != null;\n }", "public boolean isSelected() \n {\n return selected;\n }", "public boolean matchesSelectionType(int type) {\n\t\tif (type == DBRecord.SELECTED && selected)\n\t\t\treturn true;\n\t\telse if (type == DBRecord.UNSELECTED && !selected)\n\t\t\treturn true;\n\t\telse if (type == DBRecord.SELECTED_OR_NOT)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "boolean isSelected();", "boolean isSelected();", "boolean isSelected();", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "public boolean isSelectionEmpty() {\n return selectionEmpty;\n }", "public boolean isCellSelected(Object cell) {\r\n \t\treturn graph.isCellSelected(cell);\r\n \t}", "private void checkSelection() {\n \t\tboolean oldIsSelection = isSelection;\n \t\tisSelection = text.getSelectionCount() > 0;\n \t\tif (oldIsSelection != isSelection) {\n \t\t\tfireEnablementChanged(COPY);\n \t\t\tfireEnablementChanged(CUT);\n \t\t}\n \t}", "public boolean shouldSelectCell(EventObject event) {\n\treturn realEditor.shouldSelectCell(event);\n }", "boolean hasChangeEvent();", "@Override\n\tpublic boolean isSelected() {\n\t\treturn false;\n\t}", "public abstract boolean isSelected();", "protected boolean isCurrentLidSelected() {\n HydroDisplayManager displayManager = HydroDisplayManager.getInstance();\n\n currentLid = displayManager.getCurrentLid();\n\n if (currentLid == null) {\n MessageDialog.openError(getParent(), \"Invalid Selection\",\n \"You must select a site first\");\n return false;\n }\n\n return true;\n }", "public boolean canHandle(Object selection);", "@Override\r\n\t\t\t\t\tpublic boolean shouldSelectCell(EventObject arg0) {\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}", "public boolean isSetEvents() {\n return this.events != null;\n }", "private void checkSelectable() {\n \t\tboolean oldIsSelectable = isSelectable;\n \t\tisSelectable = isSelectAllEnabled();\n \t\tif (oldIsSelectable != isSelectable) {\n \t\t\tfireEnablementChanged(SELECT_ALL);\n \t\t}\n \t}", "public static boolean isSelectGameTypeDone() {\r\n\t\tboolean gameTypeSelected = false;\r\n\t\t\r\n\t\t//Check if the game type has been selected.\r\n\t\tif (GameSetup.threeHanded.getState()) {\r\n\t\t\tgameTypeSelected = true;\r\n\t\t}\r\n\t\tif (GameSetup.fourHandedSingle.getState()) {\r\n\t\t\tgameTypeSelected = true;\r\n\t\t}\r\n\t\tif (GameSetup.fourHandedTeams.getState()) {\r\n\t\t\tgameTypeSelected = true;\r\n\t\t}\r\n\r\n\t\t//Show dialog box reminder.\r\n\t\tif (!gameTypeSelected) FrameUtils.showDialogBox(\"A Game Type must be selected.\");\r\n\t\t\t\t\r\n\t\t//Saves the game type.\r\n\t\tsaveGameType();\r\n\t\t\r\n\t\treturn gameTypeSelected;\r\n\t}", "boolean hasEvent();", "public boolean noDaySelected() {\n return selectedDays.size() == 0;\n }", "public boolean noDaySelected() {\n return selectedDays.size() == 0;\n }", "public boolean isSelected() {\r\n return isSelected;\r\n }", "public boolean isSelectorType() {\n return m_selectorType != NestingCustomBase.SELECTION_UNCHECKED;\n }", "@Override\r\n\tpublic boolean shouldSelectCell(EventObject anEvent) {\n\t\treturn true;\r\n\t}", "public boolean getIsSelected() {\n return this.isSelected;\n }", "public boolean isMultiSelection()\n\t{\n\t\treturn this.isMultiple();\n\t}", "@Nullable\n public Event getCurrentSelectedEvent() {\n if (null != mAdapter) {\n return mAdapter.getCurrentSelectedEvent();\n }\n\n return null;\n }", "protected boolean isSelected(int slotIndex)\n {\n return false;\n }", "protected boolean isSelected(int slotIndex)\n {\n return false;\n }", "protected boolean isSelected(int slotIndex)\n {\n return false;\n }", "public boolean isSelected(Date date)\n/* */ {\n/* 200 */ Contract.asNotNull(date, \"date must not be null\");\n/* 201 */ return this.selectedDates.contains(date);\n/* */ }", "private boolean CheckParkSelection() {\n\t\tif (Park_ComboBox.getSelectionModel().isEmpty()) {\n\t\t\tif (!Park_ComboBox.getStyleClass().contains(\"error\"))\n\t\t\t\tPark_ComboBox.getStyleClass().add(\"error\");\n\t\t\tParkNote.setText(\"* Select park\");\n\t\t\treturn false;\n\t\t}\n\t\tPark_ComboBox.getStyleClass().remove(\"error\");\n\t\tParkNote.setText(\"*\");\n\t\treturn true;\n\t}", "public boolean hasSelectionLimit()\n {\n return (this.getSelectionLimit() > 0L);\n }", "public boolean isAcceptedEventType(Class< ? extends Object> classType) {\n\t\treturn isAcceptedEventType(classType.getName());\n\t}", "protected void checkSelectGesture(GraphicsNodeEvent evt) {\n\n\t\tGraphicsNodeMouseEvent mevt = null;\n\t\tif (evt instanceof GraphicsNodeMouseEvent) {\n\t\t\tmevt = (GraphicsNodeMouseEvent) evt;\n\t\t}\n\n\t\tGraphicsNode source = evt.getGraphicsNode();\n\t\tif (isDeselectGesture(evt)) {\n\t\t\tif (selectionNode != null) {\n\t\t\t\tselectionNodeRoot.removeTreeGraphicsNodeChangeListener(this);\n\t\t\t}\n\t\t\tclearSelection();\n\t\t} else if (mevt != null) {\n\n\t\t\tPoint2D p = mevt.getPoint2D();\n\n\t\t\tif ((source instanceof Selectable) && (isSelectStartGesture(evt))) {\n\t\t\t\tif (selectionNode != source) {\n\t\t\t\t\tif (selectionNode != null) {\n\t\t\t\t\t\tselectionNodeRoot.removeTreeGraphicsNodeChangeListener(this);\n\t\t\t\t\t}\n\t\t\t\t\tselectionNode = source;\n\t\t\t\t\tif (source != null) {\n\t\t\t\t\t\tselectionNodeRoot = source.getRoot();\n\t\t\t\t\t\tselectionNodeRoot.addTreeGraphicsNodeChangeListener(this);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t((Selectable) source).selectAt(p.getX(), p.getY());\n\t\t\t\tdispatchSelectionEvent(new SelectionEvent(null, SelectionEvent.SELECTION_STARTED, null));\n\n\t\t\t} else if (isSelectEndGesture(evt)) {\n\t\t\t\tif (selectionNode == source) {\n\t\t\t\t\t((Selectable) source).selectTo(p.getX(), p.getY());\n\t\t\t\t}\n\t\t\t\tObject oldSelection = getSelection();\n\t\t\t\tif (selectionNode != null) {\n\t\t\t\t\tShape newShape;\n\t\t\t\t\tnewShape = ((Selectable) selectionNode).getHighlightShape();\n\t\t\t\t\tdispatchSelectionEvent(new SelectionEvent(oldSelection, SelectionEvent.SELECTION_DONE, newShape));\n\t\t\t\t}\n\t\t\t} else if (isSelectContinueGesture(evt)) {\n\n\t\t\t\tif (selectionNode == source) {\n\t\t\t\t\tboolean result = ((Selectable) source).selectTo(p.getX(), p.getY());\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\tShape newShape = ((Selectable) selectionNode).getHighlightShape();\n\n\t\t\t\t\t\tdispatchSelectionEvent(new SelectionEvent(null, SelectionEvent.SELECTION_CHANGED, newShape));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if ((source instanceof Selectable) && (isSelectAllGesture(evt))) {\n\t\t\t\tif (selectionNode != source) {\n\t\t\t\t\tif (selectionNode != null) {\n\t\t\t\t\t\tselectionNodeRoot.removeTreeGraphicsNodeChangeListener(this);\n\t\t\t\t\t}\n\t\t\t\t\tselectionNode = source;\n\t\t\t\t\tif (source != null) {\n\t\t\t\t\t\tselectionNodeRoot = source.getRoot();\n\t\t\t\t\t\tselectionNodeRoot.addTreeGraphicsNodeChangeListener(this);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t((Selectable) source).selectAll(p.getX(), p.getY());\n\t\t\t\tObject oldSelection = getSelection();\n\t\t\t\tShape newShape = ((Selectable) source).getHighlightShape();\n\t\t\t\tdispatchSelectionEvent(new SelectionEvent(oldSelection, SelectionEvent.SELECTION_DONE, newShape));\n\t\t\t}\n\t\t}\n\t}", "public boolean isSelected()\n {\n\treturn _isSelected;\n }", "protected boolean selectionIsAppropriate(Element selection) {\n return selection.getName().equals(FormatType.EMPTY.getElementName());\n }", "public boolean IsSelected0(int i) {\n\t\treturn theSelected0[i];\n\t}", "public boolean IsSelected1(int i) {\n\t\treturn theSelected1[i];\n\t}", "boolean hasSelectedTransport()\n {\n for(JCheckBoxMenuItem item : transportMenuItems.values())\n {\n if(item.isSelected())\n return true;\n }\n\n return false;\n }", "public final boolean hasActorsSelected() {\n return (selectedActors.size() > 0);\n }", "public boolean isGraphicSelected(int id)\n\t{\n\t\treturn getObject().isGraphicSelected(id);\n\t}", "public boolean ifAvto() {\n return choiceSelect == AVTO_CHOICE;\n }", "public boolean hasValidItemSelected() {\n return !(autoComplete.getSelection() == null || ((Comboitem)autoComplete.getSelection()).getValue() == null);\n }", "public boolean isScheduleSelected() {\r\n return scheduleSelected;\r\n }", "@Override\n\tpublic boolean isEventComplete() {\n\t\treturn status==EventCompleted;\n\t}", "public boolean getSelected()\n {\n return selected; \n }", "public boolean isSelected_txt_Pick_Up_Text(){\r\n\t\tif(txt_Pick_Up_Text.isSelected()) { return true; } else { return false;} \r\n\t}", "public boolean isEventCondition() {\n return true;\n }", "public void onEventSelected(int position);", "public boolean isMaskSelected() {\n return false;\n }", "public Boolean isMultipleSelection() {\n return m_multipleSelection;\n }", "public boolean raceSelected(){\n\t\tif(btnDwarf.isEnabled() && btnElf.isEnabled() && btnHuman.isEnabled())\n\t\t\treturn false;\n\t\telse\n\t\t\treturn true;\n\t}", "@Override\n\tpublic boolean isEmpty() {\n\t\treturn (getSelection() == null);\n\t}", "public boolean imageIsSelected() {\n return getBikeImagePath() != null;\n }", "@Override\n public boolean isValid() {\n return getComponent().manager.getSelectedNodes().length == 1;\n }" ]
[ "0.6983708", "0.6857424", "0.68512714", "0.64969397", "0.64194834", "0.6398468", "0.6370462", "0.634776", "0.6331324", "0.62905884", "0.6231629", "0.62191254", "0.6175919", "0.6066047", "0.6059725", "0.602941", "0.6020499", "0.6011808", "0.59947366", "0.5984728", "0.5973841", "0.59338105", "0.5932748", "0.59250754", "0.5924072", "0.5913733", "0.59028417", "0.59028417", "0.5898867", "0.5891896", "0.58894324", "0.5883226", "0.58825195", "0.5874614", "0.5845331", "0.58346784", "0.5825685", "0.5825685", "0.581936", "0.5818308", "0.58179414", "0.5806675", "0.58059514", "0.5802228", "0.57975113", "0.57853985", "0.57853985", "0.57853985", "0.5780686", "0.57662565", "0.5755822", "0.573544", "0.572731", "0.57187057", "0.57056093", "0.5702852", "0.5701157", "0.56961334", "0.56821537", "0.5681481", "0.5679298", "0.5669878", "0.5633407", "0.56203794", "0.56203794", "0.5591947", "0.558714", "0.5580766", "0.55779445", "0.5571586", "0.55667764", "0.5563635", "0.5563635", "0.5563635", "0.5546097", "0.55441743", "0.5536529", "0.55327356", "0.5530301", "0.55297416", "0.55064124", "0.54925287", "0.5479505", "0.5477316", "0.547673", "0.54609305", "0.5444396", "0.5442906", "0.54308015", "0.54279006", "0.54258895", "0.54162306", "0.5407657", "0.54062676", "0.5392873", "0.53757364", "0.53686005", "0.5366952", "0.53638035", "0.5353787" ]
0.6332329
8
Creates a new Unselected event. This type of event is triggered when a ApproxsimObject is unselected. Currently, unselection of objects may only be performed through the treeview.
public static ApproxsimEvent getUnselected(Object source) { return new ApproxsimEvent(source, UNSELECTED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void processUnselect() {\n \n }", "public void menuDeselected(MenuEvent evt) {\n }", "public void deselectNotify() {\n }", "public void nodeUnselected(ITreeNode node, ITree tree,boolean needNotifier);", "@Override\n\tpublic void menuDeselected(MenuEvent e) {\n\t\t\n\t}", "@Override\n\t\t\tpublic void menuDeselected(MenuEvent e) {\n\n\t\t\t}", "@Override\n\tpublic void menuDeselected(MenuEvent e) {\n\n\t}", "@Override\n\tpublic void unselect() {\n\t}", "@Override\n public void menuDeselected(MenuEvent e) {\n\n }", "public void onRowUnselect(UnselectEvent event) throws IOException {\n\r\n\r\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void onUnselectFeatures(ControllerEvent event) {\n\n\t\tMapViewer viewer = getViewer();\n\t\tMapContext context = viewer.getConfiguration().getContext();\n\n\t\tselectedFeatureId = null;\n\n\t\tfor (FeatureMapLayer layer : context.getFeatureLayers()) {\n\t\t\tlayer.setSelection(new ArrayList<String>(1));\n\t\t}\n\n\t\tList<String> ids = (List<String>) event.getParams().get(\"featureIds\");\n\t\tif (ids.size() > 0) {\n\t\t\tif (object.getProbleem() instanceof BordProbleem) {\n\t\t\t\t((BordProbleem) object.getProbleem()).setBord(null);\n\t\t\t}\n\n\t\t\tif (object.getProbleem() instanceof NetwerkAnderProbleem) {\n\t\t\t\tobject.setTraject(null);\n\t\t\t}\n\t\t}\n\t}", "public void menuDeselected (MenuEvent event) {\n EventQueue.invokeLater(new Runnable() {\n public void run () {\n restoreActions();\n }\n });\n }", "@Override\n\tpublic void eventUnSelectEmployees(Long id) {\n\t\t\n\t}", "public void removeMySelectionListener(EventListener l);", "@Override\r\npublic void menuDeselected(MenuEvent arg0) {\n\t\r\n}", "@Override\n public void deselectGolem() {\n }", "@Override\n public void onUnselectedChange(HorizontalBarChart2 barChart, View unselectedView, HorizontalBarChart2.Data unselectedData) {\n }", "public void itemRemoved(boolean wasSelected);", "void onDiscardChangesSelected();", "public void deselect();", "@Override\n public void onValueDeselected() {\n }", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "public boolean isUnselected() {\n return UNSELECTED.equals(message);\n }", "private void unSelect() {\n /** if we had some object selected we need to delete it's Transformation Points. */\n if(this.action.isSelect() && this.curr_obj != null) {\n this.canvas.remove(this.transformPoints);\n this.transformPoints.clear();\n this.curr_obj = null;\n\n /** if we were in the middle of a text operation, we have to remove the TextBox and set the text to it's last version*/\n } else if(this.action.isText()) {\n int size = Integer.parseInt(currentFontSize.getItemText(currentFontSize.getSelectedIndex()));\n\n curr_obj = new Text(editor.getText());\n ((Text)curr_obj).setFont(currFont);\n addTextObject(curr_obj, (int)aux_obj.getX() + (int)((1.0/4.0)*size), (int)aux_obj.getY()+ (size) + (int)((1.0/4.0)*size));\n\n aux_obj = null;\n curr_obj = null;\n apanel.remove(editor);\n editor = null;\n action.setAction(Action.TEXTBOX);\n }\n }", "public void removeSelectedAction() {\n\t\tvar selectedItems = pairsListView.getSelectionModel().getSelectedItems();\n\t\tpairsListView.getItems().removeAll(selectedItems);\n\t}", "@Override\n\t\t\tpublic void widgetSelected(final SelectionEvent e) {\n\t\t\t\ttableAttachments.remove(tableAttachments.getSelectionIndices());\n\t\t\t}", "public void objectRemoved(NamingEvent evt) throws RemoteException;", "@Override\n\t\t\tpublic void handleEvent(Event event) {\n\t\t\t\tboolean done= humanInteractions.getNotifications().getNotification().remove(selectedNotification);\n\t\t\t\tnotficationViewer.setInput(createNotificationModle());\n\n\t\t\t}", "@Override\r\n public void selectionRemoved(ChangeEvent e) {\n\r\n }", "private void deSelectCheckedState(){\n int noOfItems = navigationView.getMenu().size();\n for (int i=0; i<noOfItems;i++){\n navigationView.getMenu().getItem(i).setChecked(false);\n }\n }", "public void deselectObjects() {\n if (contextMenu != null) {\n contextMenu.hide();\n contextMenu = null;\n }\n\n // Deselect all objects\n objectsProperty.stream().forEach(ov -> ov.setSelected(false));\n hintsProperty.stream().forEach(hv -> hv.setSelected(false));\n }", "public interface IUnselectListener extends Serializable{\n\n /**\n * This method is called whenever a node is unselected in the tree.\n * @param node The node that was unselected.\n * @param tree The tree this node was unselected in.\n */\n public void nodeUnselected(ITreeNode node, ITree tree,boolean needNotifier);\n}", "void unsetEvent();", "@Override\n\tpublic void deleteSelected() {\n\n\t}", "public void LimpiarZonas(UnselectEvent e) {\n zonas = new ArrayList<>();\n }", "public void invertSelection () {\r\n\t\tif ( modeSelectAll){\r\n\t\t\tselectedDataIds.clear();\r\n\t\t\tif (! unselectedDataIds.isEmpty()){\r\n\t\t\t\tselectedDataIds.addAll(unselectedDataIds);\r\n\t\t\t\tunselectedDataIds.clear();\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\tunselectedDataIds.clear();\r\n\t\t\tif (!selectedDataIds.isEmpty()){\r\n\t\t\t\tunselectedDataIds.addAll(selectedDataIds);\r\n\t\t\t\tselectedDataIds.clear();\r\n\t\t\t}\r\n\t\t}\r\n\t\tmodeSelectAll=!modeSelectAll;\r\n\t\tfireSelectionChangeNotification();\r\n\t\t\r\n\t}", "public void onItemUnsetSelection(AdapterView<?> parent, View view, int position);", "protected void removeSelection() {\n\t\tBEAN oldBean = getInternalValue();\n\t\tsetInternalValue(null);\n\t\ttextField.setValue(null);\n\t\tif (searchListener != null) {\n\t\t\tsearchListener.remove(oldBean);\n\t\t}\n\t}", "public void evt_DeleteCurrentObject()\r\n {\r\n rh2EventPos.hoOiList.oilNumOfSelected -= 1;\t\t\t\t\t// Un de moins dans l'OiList\r\n if (rh2EventPrev != null)\r\n {\r\n rh2EventPrev.hoNextSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = rh2EventPrev; // Car le courant est vire!\r\n }\r\n else\r\n {\r\n// rhPtr.rhOiList[rh2EventPosOiList].oilListSelected=rh2EventPos.hoNextSelected;\r\n rh2EventPrevOiList.oilListSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = null;\r\n }\r\n }", "@Override\npublic void setUIComponentDeselected(ObjectAdapter[] child) {\n\t\n}", "@Override\n\tpublic void onNothingSelected() {\n\n\t}", "@Override\n\tpublic void onNothingSelected() {\n\t}", "@Override\r\n\tpublic void deleteObjectListener(ActionEvent e) {\n\t\t\r\n\t}", "void disableAgentSelectionControl();", "public void deselect() {\n if (selection != null) {\n \t\tworld.destroyJoint(mouseJoint);\n \t selection = null;\n \t mouseJoint = null;\n\t }\n }", "public void removeSelectionListener (SelectionListener listener) {\r\n\tcheckWidget();\r\n\tif (listener == null) error (SWT.ERROR_NULL_ARGUMENT);\r\n\tif (eventTable == null) return;\r\n\teventTable.unhook (SWT.Selection, listener);\r\n\teventTable.unhook (SWT.DefaultSelection,listener);\t\r\n}", "public void removeSelectionTreeListener(final SelectionTreeListener listener);", "@Override\n\tpublic Object getModelSelected() {\n\t\treturn null;\n\t}", "@Override\r\n\t\t\tpublic void OnUnCheck(Object o) {\n\t\t\t\tSystem.out.println(\"Entered in ckFun OnUnCheck\");\r\n\t\t\t\tchecAll(getFunTbl().getModel().getData(), false);\r\n\t\t\t\tgetFunTbl().updateUI();\r\n\t\t\t}", "public void dragExit(DropTargetEvent evt) {\n\t\t\tshowUnselected();\n\t\t}", "public void menuSelected(MenuEvent evt) {\n JMenu source = (JMenu) evt.getSource();\n\n if (source.getText().equals(\"View...\")) {\n ((JMenuItem) source).setSelected(false);\n }\n }", "public void remove(Object selObj){\n\t\t_list.removeElement(selObj);\n\t}", "public void actionPerformed(ActionEvent evt) {\n\t\t\t\tDefaultMutableTreeNode selected = (DefaultMutableTreeNode) tree\n\t\t\t\t\t\t.getLastSelectedPathComponent();\n\t\t\t\tif (selected == null) return;\n\t\t\t\t\n\t\t\t\t// Identify the parent of the selected node; we are not allowing\n\t\t\t\t// the root node to be removed\n\t\t\t\tif (selected.getParent() == null)\n\t\t\t\t\treturn;\n\n\t\t\t\t// User the models remove method to remove the selected node\n\t\t\t\ttModel.removeNodeFromParent(selected);\n\t\t\t}", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String[] propertyNames);", "@Override\n\t\tpublic void onTabUnselected(Tab arg0, FragmentTransaction arg1) {\n\t\t\t\n\t\t}", "public void removeSelected()\n {\n for (int i = shapes.size() - 1; i >= 0; i--)\n {\n SceneShape s = shapes.get(i);\n if (s.isSelected()) shapes.remove(i);\n }\n repaint();\n }", "@Override\r\n\t\tpublic void popupMenuWillBecomeInvisible(PopupMenuEvent arg0) {\n\t\t\t\r\n\t\t}", "@FXML\n\tvoid RemoveVisitor_Button_Clicked(ActionEvent event) {\n\t\tint index = listViewVisitors.getSelectionModel().getSelectedIndex();\n\t\tif (index == -1 || index == 0) {\n\t\t\tPopUp.showInformation(\"Visitor remove\", \"Visitor remove\", \"Please select one of the additional visitor\");\n\t\t\treturn;\n\t\t}\n\t\tif (listViewVisitors.getItems().size() == 2) {\n\t\t\tPlaceOrder_Button.setDisable(true);\n\t\t\tRemoveVisitor_Button.setDisable(true);\n\t\t}\n\t\tstringList.remove(listViewVisitors.getSelectionModel().getSelectedItem());\n\t\tvisitorsIDArray.remove(index);\n\t\tvisitorsCounter--;\n\t}", "@Override\r\n\t\t\tpublic void OnUnCheck(Object o) {\n\t\t\t\tchecAll(getSchTbl().getModel().getData(), false);\r\n\t\t\t\tgetSchTbl().updateUI();\r\n\t\t\t}", "@FXML\n private void removeSelectedCivilization(ActionEvent event) {\n \tPair<String,Integer> removeCivil = tableCivilizations.getSelectionModel().getSelectedItem();\n \t\n \tif(removeCivil == null) {\n \t\telementNotSelectedAlert();\n \t}\n \telse {\n \t\tcivilizationsTemp.remove(removeCivil);\n \t\ttableCivilizations.getItems().remove(removeCivil);\n \t}\n \n }", "@Override\n\tpublic void undoCommand() {\n\t\tselectionModel.removeAllFromSelectionList();\n\t\tmodel.removeElement(device);\n\t}", "public void removeSelectionListener(SelectionListener listener) {\r\n\tcheckWidget();\r\n\tif (listener == null) error (SWT.ERROR_NULL_ARGUMENT);\r\n\tif (eventTable == null) return;\r\n\teventTable.unhook (SWT.Selection, listener);\r\n\teventTable.unhook (SWT.DefaultSelection,listener);\t\r\n}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tUser zws = alllist.getSelectedValue();\r\n\t\t\t\tam.removeElement(zws);\r\n\t\t\t\tall.remove(zws);\r\n\t\t\t\tvm.addElement(zws);\r\n\t\t\t\tverwalter.remove(zws);\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void OnUnCheck(Object o) {\n\t\t\t\tchecAll(getProcTbl().getModel().getData(), false);\r\n\t\t\t\tgetProcTbl().updateUI();\r\n\t\t\t}", "@FXML\n\tpublic void handleExcluir(MouseEvent event) {\n\t\tif(colNome.getCellData(jtvIngredienteTable.getSelectionModel().getSelectedIndex()) != null){\n\t\t\tingredienteService = new IngredienteService();\n\t\t\tIngrediente ingrediente = jtvIngredienteTable.getSelectionModel().getSelectedItem();\n\t\t\tingredienteService.delete(ingrediente.getId());\n\t\t\tatualizarTable();\n\t\t}else{\n\t\t\tScreenUtils.janelaInformação(spDialog, Internationalization.getMessage(\"header_erro3\"), Internationalization.getMessage(\"item_nao_selecionado\"), Internationalization.getMessage(\"erro_button2\"));\n//\t\t\tScreenUtils.janelaInformação(spDialog, \"Ops\", \"Por favor, selecione um item.\", \"Sem problemas\");\n\t\t}\n\t}", "public MenuOption getUndone() { return this.option; }", "public void unSelectWidget(Widget w) {\n if (!w.isSelected()) return;\n w.unSelect();\n doSelectedCount(w);\n toolBar.setEditButtons(selectedCnt, selectedGroupCnt);\n }", "public void removeSelection() {\n this.selection = null;\n }", "@Override\n public void windowDeactivated( WindowEvent arg0 )\n {\n\n }", "@Override\n public void windowDeactivated( WindowEvent arg0 )\n {\n\n }", "public void removeNotify() {\n synchronized (getTreeLock()) {\n MenuComponentPeer p = this.peer;\n if (p != null) {\n Toolkit.getEventQueue().removeSourceEvents(this, true);\n this.peer = null;\n p.dispose();\n }\n }\n }", "public void setUnselectableDates(SortedSet<Date> unselectableDates)\n/* */ {\n/* 230 */ this.unselectableDates = unselectableDates;\n/* 231 */ for (Date unselectableDate : this.unselectableDates) {\n/* 232 */ removeSelectionInterval(unselectableDate, unselectableDate);\n/* */ }\n/* 234 */ fireValueChanged(DateSelectionEvent.EventType.UNSELECTED_DATES_CHANGED);\n/* */ }", "public void onNothingSelected(TosAdapterView<?> parent) {\n\t\t\t\t\r\n\t\t\t}", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String propertyName);", "@Override\n\tpublic void onTabUnselected(Tab arg0, FragmentTransaction arg1) {\n\n\t}", "@Override\n\tpublic void onTabUnselected(Tab arg0, FragmentTransaction arg1) {\n\n\t}", "@Override\n public void onNothingSelected(AdapterView<?> parent) {\n mFruit = FruitEntry.TYPE_NOTSELECTED;\n }", "static void setNotSelected(){isSelected=false;}", "@Override\n public void windowDeiconified( WindowEvent arg0 )\n {\n\n }", "@Override\n public void windowDeiconified( WindowEvent arg0 )\n {\n\n }", "public void invSelected()\n {\n\t\t//informaPreUpdate();\n \tisSelected = !isSelected;\n\t\t//informaPostUpdate();\n }", "@Override\n public void modelDisconnected(ModelEvent event)\n {\n _model.removeListener(this);\n }", "private void onRemove() throws Exception\n {\n // get the target list selection\n Object selection[] = _lstTarget.getSelectedValues();\n\n // iterate the selection\n TransferEntity te;\n EntityDobj table;\n for(int i = 0; selection != null && i < selection.length; i++)\n {\n // get the te\n te = (TransferEntity)selection[i];\n if(te != null)\n {\n // get the associate entitydobj\n table = _dt.getSourceDataSource().getEntity(te.getSourceEntityName());\n if(table != null)\n {\n // add to the source list\n _lstSource.addItem(table);\n\n // remove from ds\n _dt.removeTransferEntity(te, true);\n }\n }\n }\n\n // remove the selection from the target list\n for(int i = 0; selection != null && i < selection.length; i++)\n {\n // get the table\n te = (TransferEntity)selection[i];\n if(te != null)\n _lstTarget.removeItem(te);\n }\n }", "public void treeNodesRemoved(TreeModelEvent e) {\n //To change body of implemented methods use Options | File Templates.\n }", "@Override\n\t//When the user clicks join the event remains in the list,when the user clicks decline the event is removed from the list.\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getSource()==Join)\n\t\t{\n\t\t\tif (logIn.events.getSelectedIndex() != -1)\n\t\t\t{\n\t\t\t\tlogIn.selected = true;\n\t\t\t\t\n\t\t\t\tdispose();\n\t\t\t\tlogIn.selected = false;\n\t\t \n\t\t\t}\n\t\t}\n\t\tif(e.getSource()==Decline)\n\t\t{\n\t\t\tif (logIn.events.getSelectedIndex() != -1)\n\t\t\t{\n\t\t\t\tlogIn.selected = true;\n\t\t\t\tlogIn.eventList.remove((logIn.events.getSelectedIndex()));\n\t\t\t\tdispose();\n\t\t\t\tlogIn.selected = false;\n\t\t \n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\t\t\tpublic void windowDeactivated(WindowEvent arg0) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void windowDeactivated(WindowEvent arg0) {\n\n }", "public void deselect() {\n\t\tfor (int row = 0; row < field.getRowCount(); row++) {\n\t\t\tCheckBox cb = (CheckBox) field.getWidget(row, 3);\n\t\t\tcb.setValue(false);\n\t\t}\n\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t // TODO Auto-generated method stub\t \n\t\t\t }", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t // TODO Auto-generated method stub\t \n\t\t\t }", "@Override\r\n public void windowDeactivated(WindowEvent e) {\n }", "public void onNothingSelected(AdapterView<?> arg0) {\n\t }", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t}", "@Override\r\n\tpublic void windowDeactivated(WindowEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void windowDeactivated(WindowEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void windowDeactivated(WindowEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void windowDeactivated(WindowEvent arg0) {\n\t\t\r\n\t}" ]
[ "0.6350526", "0.6340053", "0.6244443", "0.6231436", "0.62145346", "0.619999", "0.6193426", "0.617186", "0.6169166", "0.61307645", "0.60037774", "0.5957182", "0.5921479", "0.5837927", "0.58070314", "0.57458234", "0.57386535", "0.56830364", "0.5619901", "0.55149764", "0.54995173", "0.54791915", "0.54791915", "0.54791915", "0.54791915", "0.54784197", "0.5316733", "0.5248673", "0.5238182", "0.522867", "0.5205565", "0.5201401", "0.51884615", "0.51836044", "0.5177794", "0.5106194", "0.50870144", "0.50854397", "0.5079747", "0.50648224", "0.5047283", "0.50218284", "0.5020155", "0.50113034", "0.50016314", "0.4996608", "0.49962074", "0.4994901", "0.49914384", "0.4982694", "0.497525", "0.49750704", "0.4974891", "0.49736494", "0.4972103", "0.49679065", "0.49623847", "0.49601164", "0.49537158", "0.4948888", "0.49403977", "0.49391934", "0.49301517", "0.4927097", "0.4921738", "0.491963", "0.49107626", "0.49031976", "0.48998198", "0.48960525", "0.48954046", "0.48935103", "0.48935103", "0.48631883", "0.4859101", "0.48588568", "0.4858317", "0.4838338", "0.4838338", "0.483519", "0.48336172", "0.48328596", "0.48328596", "0.48248693", "0.48157653", "0.48154274", "0.48148143", "0.48120216", "0.48024595", "0.47991422", "0.47991094", "0.4798137", "0.4798137", "0.47926256", "0.4790488", "0.47853997", "0.47842363", "0.47842363", "0.47842363", "0.47842363" ]
0.7093742
0
Checks if this is a Unselected event.
public boolean isUnselected() { return UNSELECTED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "@Override\n protected void processUnselect() {\n \n }", "public void menuDeselected(MenuEvent evt) {\n }", "public boolean isSelectionEmpty()\n/* */ {\n/* 215 */ return this.selectedDates.isEmpty();\n/* */ }", "public boolean noDaySelected() {\n return selectedDays.size() == 0;\n }", "public boolean noDaySelected() {\n return selectedDays.size() == 0;\n }", "@Override\n\tpublic void menuDeselected(MenuEvent e) {\n\t\t\n\t}", "@Override\n\tpublic void menuDeselected(MenuEvent e) {\n\n\t}", "public static ApproxsimEvent getUnselected(Object source) {\n return new ApproxsimEvent(source, UNSELECTED);\n }", "@Override\n\t\t\tpublic void menuDeselected(MenuEvent e) {\n\n\t\t\t}", "public boolean isSelectionEmpty() {\n\t\t\treturn tablecolselectmodel.isSelectionEmpty();\n\t\t}", "public boolean isSelectorType() {\n return m_selectorType != NestingCustomBase.SELECTION_UNCHECKED;\n }", "public boolean isToggleSelectionEvent(MouseEvent e) {\r\n \t\treturn ((JmtGraphUI) graph.getUI()).isToggleSelectionEvent(e);\r\n \t}", "public boolean isSomethingSelected() {\r\n \t\treturn graph.getSelectionCell() != null;\r\n \t}", "@Override\n public void menuDeselected(MenuEvent e) {\n\n }", "public boolean isSelectingAction() {\n return false;\n }", "public boolean isSelectionChanged();", "public boolean isSelectable(){\n\t\treturn (type != MONSTER_GOAL && type != MONSTER_ENTRANCE);\n\t}", "public void onRowUnselect(UnselectEvent event) throws IOException {\n\r\n\r\n }", "public boolean isSelectingWeapon() {\n return false;\n }", "public void itemRemoved(boolean wasSelected);", "@Override\n\tpublic boolean isSelected() {\n\t\treturn false;\n\t}", "public boolean isSelected() { \n \treturn selection != null; \n }", "public boolean isCancelled()\n\t{\n\t\treturn _buttonHit;\n\t}", "public boolean isSelectionEmpty() {\n return selectionEmpty;\n }", "boolean isSetEvent();", "public boolean isUnselectableDate(Date date)\n/* */ {\n/* 241 */ return ((this.upperBound != null) && (this.upperBound.getTime() < date.getTime())) || ((this.lowerBound != null) && (this.lowerBound.getTime() > date.getTime())) || ((this.unselectableDates != null) && (this.unselectableDates.contains(date)));\n/* */ }", "public boolean isMaskSelected() {\n return false;\n }", "public boolean getUnselectedCloseVisible() {\n checkWidget();\n return showUnselectedClose;\n }", "boolean hasIronSelected();", "public void deselectNotify() {\n }", "public abstract boolean hasSelection();", "public boolean isSetUnAssureCondition() {\n return this.unAssureCondition != null;\n }", "public boolean hasSelectedTile()\r\n\t{\r\n\t\treturn (selectedTile != null);\r\n\t}", "boolean hasChangeEvent();", "private boolean isUserVisibleEvent(int eventType) {\n return eventType != UsageEvents.Event.SYSTEM_INTERACTION\n && eventType != UsageEvents.Event.STANDBY_BUCKET_CHANGED;\n }", "boolean hasEvent();", "public boolean isPickedUp() {\r\n return pickedUp;\r\n }", "public void menuDeselected (MenuEvent event) {\n EventQueue.invokeLater(new Runnable() {\n public void run () {\n restoreActions();\n }\n });\n }", "public abstract boolean hasBeenPickedUp();", "boolean toBeRemoved(){\n\t\tif(isCancelled() || getStatus() == 0){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isSelected() {\n return (state & STATE_SELECTED) != 0;\n }", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isSetEvents() {\n return this.events != null;\n }", "public boolean hasValidItemSelected() {\n return !(autoComplete.getSelection() == null || ((Comboitem)autoComplete.getSelection()).getValue() == null);\n }", "public boolean isSelected() {\n return SELECTED.equals(message);\n }", "public boolean isFontNameSelected()\r\n\t{\r\n\t\t// return false if Font Name list has nothing selected, true if an item is selected\r\n\t\treturn !fontNamesList.isSelectionEmpty();\r\n\t}", "public void checkRelease(){\n\n\t\t//Clear boolean to indicate that the GUIItem is no longer touched\n\t\twhileTouched = false;\n\t\tif (touchObject != null)\n\t\t\tonRelease = true;\n\t}", "public void dragExit(DropTargetEvent evt) {\n\t\t\tshowUnselected();\n\t\t}", "public boolean isDropped();", "@Override\n\tpublic void unselect() {\n\t}", "public boolean getUnselectedImageVisible() {\n checkWidget();\n return showUnselectedImage;\n }", "@Override\n public void onUnselectedChange(HorizontalBarChart2 barChart, View unselectedView, HorizontalBarChart2.Data unselectedData) {\n }", "@Override\r\npublic void menuDeselected(MenuEvent arg0) {\n\t\r\n}", "public boolean isSelectionChanged() {\n return selectionChanged;\n }", "static void setNotSelected(){isSelected=false;}", "@Override\n public void onNothingSelected(AdapterView<?> parent) {\n mFruit = FruitEntry.TYPE_NOTSELECTED;\n }", "@Override\n public void onValueDeselected() {\n }", "public boolean wasJustPressed() {\n\t\treturn (mNow && (!mLast));\n\t}", "private boolean isActionUpOrCancel(MotionEvent event){\n\n //return true if event.getAction is up or cancel\n //meaning the user has removed their finger from screen\n // or if the scrolling has reached end of scroll and android has triggered a cancel\n return event.getAction() == MotionEvent.ACTION_UP\n || event.getAction() == MotionEvent.ACTION_CANCEL;\n }", "protected boolean selectionIsAppropriate(Element selection) {\n return selection.getName().equals(FormatType.EMPTY.getElementName());\n }", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "@Override\n\tpublic void onNothingSelected() {\n\n\t}", "@Override\r\n\t\t\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\t\t\tif(e.getStateChange()==ItemEvent.DESELECTED)return;\r\n\t\t\t\t\t\tif(b[0].isSelected())gender=false;\r\n\t\t\t\t\t\telse gender=true;\r\n\t\t\t\t\t}", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "@Override\n public void onValueDeselected() {\n\n }", "public boolean hasUserCancelled() {\n return myIsDialogCancelled;\n }", "public boolean isInactive() {\n return !nativeInput.get();\n }", "@Override\n\tpublic void onNothingSelected() {\n\t}", "public boolean isTileSelected() {\n return selectedTile != null;\n }", "@Override\n public void onNothingSelected(AdapterView<?> adapterView) {\n Log.d(TAG, \"onNothingSelected: \");\n }", "void onSelectedEventChange(@Nullable Event currentSelectedEvent);", "@Override\n\tpublic boolean isEmpty() {\n\t\treturn (getSelection() == null);\n\t}", "boolean hasUnReceived();", "public void invSelected()\n {\n\t\t//informaPreUpdate();\n \tisSelected = !isSelected;\n\t\t//informaPostUpdate();\n }", "@Override\n public void onNothingSelected(AdapterView<?> parent) {\n // Unknown\n }", "@Override\n\tpublic boolean isInactive() {\n\t\treturn model.isInactive();\n\t}", "public boolean isRemovalEnabled() {\r\n // Additional business logic can go here\r\n return (getContactSelection().getMinSelectionIndex() != -1);\r\n }", "public void mouseUp(MouseEvent e) {\n \t\t\t\tcheckSelection();\n \t\t\t\tcheckDeleteable();\n \t\t\t\tcheckSelectable();\n \t\t\t}", "boolean hasEvents() {\n return !currentSegment.isEmpty() || !historySegments.isEmpty();\n }", "public boolean wasPageDismissed() {\n return getNextSubPageIdx() == null;\n }", "public boolean isMaskSelected() {\n return (this.mActivity.getCameraAppUI().getCurrSelect() == null || this.mActivity.getCameraAppUI().getCurrSelect() == \"\") ? false : true;\n }", "@Override\n\tpublic boolean onMouseReleased(MouseButtonEvent event) {\n\t\treturn false;\n\t}", "protected boolean onMenuItemSelected(int menuItemId) {\r\n\t\treturn false;\r\n\t}", "public void onNothingSelected(AdapterView<?> parent) {\n Log.i(TAG,\"onNothingSelected()\");\n }", "public final boolean hasActorsSelected() {\n return (selectedActors.size() > 0);\n }", "@Override\n\tpublic void onNothingSelected(AdapterView<?> parent) {\n\t\tLog.d(TAG, \"nothing selected\");\n\t}", "public boolean isOutOfFocus() {\n\t\treturn isOutOfFocus;\n\t}", "private static boolean hasSelectionListener( Text text ) {\n Button defButton = text.getShell().getDefaultButton();\n // TODO [rst] On GTK, the SelectionListener is also off when the default\n // button is invisible or disabled. Check with Windows and repair.\n boolean hasDefaultButton = defButton != null && defButton.isVisible();\n return !hasDefaultButton && SelectionEvent.hasListener( text );\n }", "public boolean isUnsaved(Object obj) {\n return null;\r\n }", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\r\n\t\t\t}", "public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {\n \t\t\t\t\n \t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "public void onNothingSelected(AdapterView<?> arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}" ]
[ "0.6111782", "0.5915304", "0.59062004", "0.5860486", "0.5837735", "0.5837735", "0.5802628", "0.57889545", "0.5768456", "0.5760659", "0.5715358", "0.57129055", "0.5707593", "0.56971484", "0.5681542", "0.5675441", "0.5674414", "0.56648964", "0.565907", "0.5655715", "0.5646157", "0.5621684", "0.5610658", "0.5610637", "0.56085426", "0.5515104", "0.55022955", "0.5474541", "0.5459817", "0.5448511", "0.5440037", "0.54303795", "0.54279417", "0.54236287", "0.54220724", "0.540354", "0.53875244", "0.5370831", "0.5360012", "0.53550816", "0.53524375", "0.53452814", "0.5281927", "0.5280334", "0.52522826", "0.52516747", "0.52491975", "0.5247044", "0.5239434", "0.5239125", "0.52311635", "0.5229179", "0.52270514", "0.5225722", "0.5222699", "0.52200824", "0.52106297", "0.52086926", "0.5202525", "0.51962036", "0.51940614", "0.51848847", "0.5172493", "0.51591593", "0.51588106", "0.51588106", "0.51588106", "0.51588106", "0.51510775", "0.5142865", "0.5137764", "0.51346713", "0.5132774", "0.5131973", "0.51284254", "0.5117671", "0.51094866", "0.51059747", "0.51037234", "0.5096763", "0.5084255", "0.50834584", "0.5081911", "0.50794405", "0.50785524", "0.5078285", "0.5076379", "0.5069411", "0.50502616", "0.5044068", "0.50369096", "0.5035254", "0.50340873", "0.5033788", "0.50304097", "0.50304097", "0.50304097", "0.50304097", "0.50304097", "0.50304097" ]
0.7700609
0
Creates a RegionUpdated event. This event is triggered when the actual region showed in the map is updated. This happens when a new Shape is added to/ removed from the region.
public static ApproxsimEvent getRegionUpdated(Object source) { return new ApproxsimEvent(source, REGIONUPDATED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onMapRegionChangeStarted(SKCoordinateRegion mapRegion) {\n\n }", "@Override\n public void onMapRegionChangeEnded(SKCoordinateRegion mapRegion) {\n\n }", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "private void fireAreaUpdated(Rectangle original, Rectangle updated) {\n for (Iterator<AreaUpdatedListener> iterator = listeners.iterator(); iterator.hasNext();) {\n AreaUpdatedListener listener = iterator.next();\n listener.rectangleUpdated(original, updated);\n }\n }", "public void addAreaUpdateListener(AreaUpdatedListener areaUpdatedListener) {\n listeners.add(areaUpdatedListener);\n }", "private void update() {\n int curRegionX = client.getRegionBaseX();\n int curRegionY = client.getRegionBaseY();\n if(lastRegionX != curRegionX || lastRegionY != curRegionY) {\n //Search for Altars:\n altars.clear();\n Landscape.accept(new LandscapeVisitor() {\n @Override\n public void acceptObject(RSEntityMarker marker) {\n int id = UID.getEntityID(marker.getUid());\n RSObjectDefinition def = client.getObjectDef(id);\n if(def == null || def.getName() == null) return;\n if(def.getName().equals(\"Altar\")) {\n altars.add(marker);\n }\n }\n });\n }\n }", "void addRegion(Region region);", "@Override\n public void onExitedRegion(Region arg0) {\n\n }", "@Override\r\n public void onRegionClickHighlighted(ProteinRegionHighlightEvent event) {\n }", "public void updateWorldRegion()\n\t{\n\t\tif(!isVisible)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tL2WorldRegion newRegion = WorldManager.getInstance().getRegion(getWorldPosition());\n\t\tL2WorldRegion oldRegion = region;\n\t\tif(!newRegion.equals(oldRegion))\n\t\t{\n\t\t\tif(oldRegion != null)\n\t\t\t{\n\t\t\t\toldRegion.removeVisibleObject(object);\n\t\t\t}\n\n\t\t\tsetWorldRegion(newRegion);\n\n\t\t\t// Add the L2Object spawn to _visibleObjects and if necessary to all players of its L2WorldRegion\n\t\t\tnewRegion.addVisibleObject(object);\n\t\t}\n\t}", "public void setRegionid(int newRegionid) {\n regionid = newRegionid;\n }", "public interface ShapeListener {\n\tvoid shapeChanged(Shape shape);\n}", "@Override\n \tpublic void roiChanged(ROIEvent evt) {\n \t\t\n \t}", "@Override\n public void onLocationChanged(MapWidget v, Location location) {\n }", "void setMapChanged();", "public void setRegionname(java.lang.String newRegionname) {\n\tregionname = newRegionname;\n}", "protected void addWidgetShapeChangeHandler()\n {\n AlertHandler widgetTitleChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n FrameUIModel.WidgetTitleChange chg =\n (FrameUIModel.WidgetTitleChange) alert;\n\n // chg.widget may be the remote label of the currently\n // selected widget\n if (selection.getElementSelectionCount() == 1) {\n FrameElement elt =\n selection.getSelectedIFrameElements()[0];\n\n if (chg.widget == elt.getAttribute(WidgetAttributes.REMOTE_LABEL_ATTR))\n {\n view.setRemoteLabelText(chg.widget.getTitle());\n }\n }\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetTitleChange.class,\n widgetTitleChangeHandler);\n\n AlertHandler widgetShapeChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n delayedRepainting.requestRepaint(SHAPE_CHANGE_REPAINT);\n // a FULL repaint is probably not needed\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetShapeImageChange.class,\n widgetShapeChangeHandler);\n\n AlertHandler widgetGroupChangeHandler =\n new AlertHandler() {\n\n public void handleAlert(EventObject alert)\n {\n FrameUIModel.WidgetGroupChange evt =\n (FrameUIModel.WidgetGroupChange) alert;\n\n if (evt.isAdd) {\n GraphicalWidget<?> gw =\n frameUI.getWidgetFigure(evt.widget);\n\n delayedWidgetSelection.addToSelection(evt.widget, gw);\n }\n else {\n delayedWidgetSelection.removeFromSelection(evt.widget);\n\n SimpleWidgetGroup group = evt.widget.getParentGroup();\n\n if (group.size() == 0) {\n //evt.widget was the last widget in this group,\n //so hide the halo for it\n\n removeHalo(evt.widget);\n }\n }\n }\n };\n\n frameUI.addHandler(this,\n FrameUIModel.WidgetGroupChange.class,\n widgetGroupChangeHandler);\n }", "@Override\n\tpublic void update(ShapeModelEvent event) {\n\t\t\n\t\tShapeModel source = event.source();\n\t\t\n\t\tint[] childIndices = new int[1];\n\t\tchildIndices[0] = event.index();\n\t\t\n\t\tShape[] children = new Shape[1];\n\t\tchildren[0] = event.operand();\n\t\t\n\t\t\n\t\t\n\t\tif(event.eventType().equals(EventType.ShapeAdded)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesInserted(treeModelEvent);\n\t\t\t\n\t\t}else if(event.eventType().equals(EventType.ShapeRemoved)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesRemoved(treeModelEvent);\n\t\t}\n\t\t\n\t}", "public void setRegion_id(String region_id) {\n this.region_id = region_id;\n }", "public void setRegion(Region region) {\n this.region = region;\n }", "void fireRectangleAdded(Rectangle newArea) {\n Rectangle candidate = null;\n int delta = Integer.MAX_VALUE;\n // Search for an already existing rectangle, closest to the new one.\n for (Rectangle rectangle : originalAreas) {\n if (!rectangle.contains(newArea)) {\n int cDelta = newArea.y - rectangle.y;\n if (candidate == null || cDelta > 0 && cDelta < delta) {\n candidate = rectangle;\n delta = cDelta;\n }\n }\n }\n \n for (Iterator<AreaUpdatedListener> iterator = listeners.iterator(); iterator.hasNext();) {\n AreaUpdatedListener listener = iterator.next();\n listener.rectangleAdded(newArea, candidate);\n }\n }", "@Override\r\n public void addQueryRegion(QueryRegion region)\r\n {\n removeQueryRegion(region.getGeometries());\r\n\r\n synchronized (myQueryRegions)\r\n {\r\n myQueryRegions.add(region);\r\n }\r\n\r\n Collection<PolygonGeometry> geometries = New.collection(region.getGeometries().size());\r\n for (PolygonGeometry polygon : region.getGeometries())\r\n {\r\n if (polygon.getRenderProperties().isDrawable() || polygon.getRenderProperties().isPickable())\r\n {\r\n geometries.add(polygon);\r\n }\r\n }\r\n myToolbox.getGeometryRegistry().addGeometriesForSource(this, geometries);\r\n\r\n myChangeSupport.notifyListeners(listener -> listener.queryRegionAdded(region), myDispatchExecutor);\r\n }", "public void update(MazeEventPushed e) {\r\n }", "void addEvent(IShape shape, IEvent event, int eventBegin, int eventEnd);", "public void changed(LocationEvent arg0) {\n \t\t\t\t\t\t\n \t\t\t\t\t}", "@Override\n\t\t\tpublic void onChanged(ListChangeListener.Change<? extends PR1Model.Shape> e) { \n\t\t\t\t\n\t\t\t\trepaint(); \n\t\t\t\treTable();\n\t\t\t\tviewState.set(ViewState.MODIFIED);\n\t\t\t\t\n\t\t\t}", "public void setRegion(String region) {\n this.region = region;\n }", "public void setRegion(String region);", "public void setRegion(final TypeOfRegion region);", "@Override\n \tpublic void roiDragged(ROIEvent evt) {\n \t\t\n \t}", "WithCreate withRegion(Region location);", "WithCreate withRegion(Region location);", "public void setRegionid(String regionid) {\n this.regionid = regionid;\n }", "public void tagUpdated(TagEvent event) {\n updatedEvent = event;\n }", "public void setRegion(String region) {\n this.region = region;\n }", "@Override\r\n public void onRegionClickSelected(ProteinRegionSelectionEvent event) {\r\n StateChanger changer = new StateChanger();\r\n List<Region> region = new ArrayList<>();\r\n List<PeptideMatch> peptides;\r\n List<String> modifications;\r\n\r\n try {\r\n region.add(new Region(event.getStart(), event.getStart() + event\r\n .getLength() - 1));\r\n changer.addRegionChange(region);\r\n\r\n peptides = PeptideUtils.filterPeptideMatchesNotIn(peptideMatchSelection,\r\n event.getStart(), event.getStart() + event.getLength() - 1);\r\n\r\n if(peptides.size() != peptideMatchSelection.size()) {\r\n changer.addPeptideChange(peptides);\r\n }\r\n\r\n modifications = filterModificationsNotIn(currentModifications,\r\n event.getStart(), event.getStart() + event.getLength() - 1);\r\n\r\n if (modifications.size() != currentModifications.size()) {\r\n changer.addModificationChange(modifications);\r\n }\r\n\r\n UserAction action = new UserAction(UserAction.Type.region,\r\n \"Click Set\");\r\n StateChangingActionEvent.fire(this, changer, action);\r\n } catch (IllegalRegionValueException e) {\r\n // This is probably because of an empty selection,\r\n // we don't send any event\r\n }\r\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void save() {\n RegionOwn.saveRegionOwner(this);\n }", "public void mouseExited(MouseEvent e) {\n if (e.getSource() instanceof MapBean) {\n // erase the old line first\n paintRubberband(rPoint1, rPoint2);\n // set the second point to null so that a new line will be\n // re-drawn if the mouse comes back, and the line will use\n // the old starting point.\n rPoint2 = null;\n }\n }", "public void setRegion(String region) {\r\n this.region = region;\r\n }", "public void setRegion(String region) {\r\n this.region = region;\r\n }", "public void setRegion(String region) {\r\n this.region = region;\r\n }", "public void addRegion(com.hps.july.persistence.Region arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().addRegion(arg0);\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (view != null) {\n view.changedUpdate(e, a, f);\n }\n }", "public void stateChanged(ChangeEvent e){\n\r\n fShape.removeChangeListener(this); // ordinarily stateChange can get called many\r\n //times during resize, so we'll stop listening once we know\r\n // there is change\r\n\r\n\r\n if (fLastEdit!=this){\r\n if (fLastEdit != null) // kill the previous one so there's only one undo\r\n fLastEdit.die(); // don't kill ourselves\r\n\r\n //fUndoListener.undoableEditHappened(new UndoableEditEvent(TShapePanel.this, this)); // tell the listener.\r\n\r\n tellListeners(new UndoableEditEvent(TShapePanel.this,this)); // tell the listeners.\r\n\r\n fLastEdit = this;\r\n }\r\n }", "void postMerge(final ObserverContext<RegionServerCoprocessorEnvironment> c,\n final Region regionA, final Region regionB, final Region mergedRegion) throws IOException;", "@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer Pattern on Room Reservation Notification: \");\n\t\tSystem.out.println(\"Your room is \" + reserve.getState()+\"\\n\");\n\t}", "public void update(Map<String, String> eventMap) {\r\n\r\n LOG.debug(\"MonitorEventSubscriber:\"+eventMap);\r\n }", "@Override\n public void onEnteredRegion(Region arg0, List<Beacon> arg1) {\n }", "@Override\n public final void onActivation() {\n eventManager.addListener(strokeConfigListener);\n eventBus.addSubscriber(regenerateShapeSubscriber);\n }", "WithCreate withRegion(String location);", "WithCreate withRegion(String location);", "public void setRegionId(long regionId) {\r\n this.regionId = regionId;\r\n }", "public void onUpdate()\n\t{\n\t\tchunk.setModelBound(new BoundingBox());\n\t\tchunk.updateModelBound();\n\n\t}", "public void setRegion(CoordinateRadius region);", "public void structureChanged(GraphEvent e);", "@Override\n public void layoutStateChanged(LayoutStateChange.Event evt) {\n setActive(!evt.active);\n // if the layout model is finished, then rebuild the spatial data structure\n if (!evt.active) {\n recalculate();\n getLayoutModel().getModelChangeSupport().fireModelChanged(); // this will cause a repaint\n }\n }", "@SuppressWarnings(\"synthetic-access\")\r\n\t @Override\r\n\t public void componentResized(final ComponentEvent arg0) {\n\t\tupdateLocation(WSResizeHandleComponent.this.parent);\r\n\t }", "Long handleEvent(Long renderedOpID, \n\t\t int srcIndex,\n\t\t SerializableState srcInvalidRegion, \n\t\t Object oldRendering) throws RemoteException;", "@Override\n\tpublic void locationChanged(Location newLocation) {\n\t\tshowOnMap(newLocation);\n\t\tgiveNavigationInstructions(newLocation);\n\t}", "public void setRegionid(int newValue) {\n\tthis.regionid = newValue;\n}", "@FXML\n private void mouseReleased(MouseEvent event) {\n if (dragging) {\n mapOffsetX += dragOffsetX;\n mapOffsetY += dragOffsetY;\n dragOffsetX = 0;\n dragOffsetY = 0;\n dragging = false;\n dragFinished = true;\n solarSystemLocations.clear();\n drawUniverse();\n }\n }", "void onMeshUpdate(MeshOrganizer mesh);", "public void secondaryAddRegion(com.hps.july.persistence.Region arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().secondaryAddRegion(arg0);\n }", "@Generated\n @Selector(\"setRegion:\")\n public native void setRegion(@NotNull UIRegion value);", "public void update(MazeEvent e) {\r\n\r\n }", "public static Region newModifiedRegion(Region region, int changedStart, int changedEnd) {\n return new Region(region.chr, changedStart, changedEnd, region.gene, region.insertStart, region.insertEnd);\n }", "@Override\r\n\tpublic void onMapElementCreated(MapElement mapElement) {\r\n\t\tfields.put(mapElement, new UIElement(mapElement.getCoord(), UIUtility.getImage(mapElement.getImagePath())));\r\n\r\n\t\tUILogger.log(mapElement + \" changed\");\r\n\r\n\t\t// Notify the GamePanel that its contents need to be repainted\r\n\t\tparent.repaint();\r\n\t\tUILogger.log(\"GamePanel.repaint()\");\r\n\t}", "public void componentResized(ComponentEvent e)\n/* 410: */ {\n/* 411:478 */ TileGIS.this.mapPanel.setSize(TileGIS.this.placeholder.getJComponent().getSize());\n/* 412: */ }", "public void update(MazeEventInfoField e) {\r\n }", "@Override\n protected void onSizeChanged(int w, int h, int oldW, int oldH) {\n super.onSizeChanged(w, h, oldW, oldH);\n\n canvasWidth = w;\n canvasHeight = h;\n updatePolygonSize();\n\n if (Math.min(canvasWidth, canvasHeight) != Math.min(oldW, oldH)) {\n refreshImage();\n }\n }", "@Override\n\t\tpublic void onMapStatusChange(MapStatus arg0) {\n\n\t\t}", "void postMergeCommit(final ObserverContext<RegionServerCoprocessorEnvironment> ctx,\n final Region regionA, final Region regionB, final Region mergedRegion) throws IOException;", "public void setRegionManager(final RegionManagerBean injRegionManager) {\n regionManager = injRegionManager;\n }", "@Method(selector = \"setRegion:animated:\")\n public native void setRegion(@ByVal MKCoordinateRegion region, boolean animated);", "public void toolGroupUpdated(ToolGroupEvent evt) {\n }", "public void highlightChanged(HighlightChangedEvent highlightChangedEvent)\r\n {\r\n // get the currently highlighted state id, \r\n // get the x and y of the point with this id\r\n // repaint the corresponding portion of the component\r\n int hiliteID = highlightManager_.getHighlight();\r\n SPlotPoint thePoint;\r\n \r\n // The x and y coordinates of the point to be highlighted\r\n int x,y;\r\n \r\n if (hiliteID > 0)\r\n {\r\n // The -1 is there to compensate for vectors starting at index 0\r\n thePoint = (SPlotPoint)pointVector_.elementAt(hiliteID -1);\r\n thePoint.setIsHilited(true);\r\n currHilitePoint_ = thePoint;\r\n \r\n // Get the x and y coordinates of the point\r\n x = (int)thePoint.x;\r\n y = (int)thePoint.y;\r\n \r\n // Only repaint the point if it has valid data (in this case >0)\r\n if ((x > INVALID_VALUE) || (y > INVALID_VALUE))\r\n {\r\n repaint( ((int)(x) - (OVAL_RADIUS)), \r\n ((int)(y) - (OVAL_RADIUS)), \r\n OVAL_REPAINT_SIZE, \r\n OVAL_REPAINT_SIZE );\r\n\r\n\r\n if (prevHilitePoint_ != null)\r\n {\r\n prevHilitePoint_.setIsHilited(false);\r\n\r\n\r\n repaint( ((int)prevHilitePoint_.x - (OVAL_RADIUS)), \r\n ((int)prevHilitePoint_.y - (OVAL_RADIUS)), \r\n OVAL_REPAINT_SIZE, \r\n OVAL_REPAINT_SIZE );\r\n }\r\n }\r\n prevHilitePoint_ = currHilitePoint_;\r\n \r\n }\r\n\r\n\r\n // If cursor is over a state (and the corresponding plot point is\r\n // highlighted), and then the cursor leaves the map area and enters the\r\n // white area around it (with value -1 in this case), \r\n // we want the highlighted scatter plot point to return to its normal color.\r\n if (hiliteID < INVALID_VALUE)\r\n {\r\n // Unhighlight any highlighted scatter plot point when the cursor\r\n // leaves the map and enters the surrounding white area around it\r\n if (currHilitePoint_ != null)\r\n {\r\n currHilitePoint_.setIsHilited(false);\r\n\r\n\r\n repaint( ((int)currHilitePoint_.x - (OVAL_RADIUS)), \r\n ((int)currHilitePoint_.y - (OVAL_RADIUS)), \r\n OVAL_REPAINT_SIZE, \r\n OVAL_REPAINT_SIZE );\r\n } \r\n }\r\n }", "public void update(MazeEventPickup e) {\r\n }", "@Override\n\t@Transactional\n\t@Scheduled(cron = \"0 0 */4 * * *\")\n\tpublic void updateRegionsStatus() {\n\t\tregionRepository.updateRegionsStatus();\n\t}", "@Override\n public void componentResized(ComponentEvent e) {\n setShape(new Ellipse2D.Double(0,0,FRAME_WIDTH,FRAME_WIDTH));\n }", "public void update() {\n\t\t\n\t\tVector size = new Vector(Main.frame.getContentPane().getWidth() + 64, 64 + 64);\n\t\tposition = new Vector(0, Main.frame.getContentPane().getHeight() - 40);\n\t\t\n\t\tRectangle rect = new Rectangle(position, size);\n\t\t\n\t\tif (rect.contains(Mouse.getVector())) {\n\t\t\troom.isMouseOverGUI = true;\n\t\t}\n\t}", "public TypeOfRegion getRegion();", "@Override\n public void onLocationChanged(Location location) {\n //Log.i(TAG, \"New Location: \" + location.getLatitude() + \" \" + location.getLongitude());\n if (isDrawing) {\n //We are drawing so add a point and move the camera accordingly\n currentDrawing.addPoint(new LatLng(location.getLatitude(), location.getLongitude()), currentColor);\n LatLng userLocation = new LatLng(location.getLatitude(), location.getLongitude());\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(userLocation, 20));\n }\n }", "void m6861a(@NonNull RegionType regionType) {\n this.f5232c = regionType;\n }", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public abstract void positionChanged(PositionChangedEvent event);", "public void onWorldChanged(World world);", "IRegion getRegion();", "public FigureChangeEvent(Figure source, Rectangle r) {\n super(source);\n rect = r;\n }", "@Override\n\tpublic void update(float timeDelta)\n\t{\n\t\tstarField.update(timeDelta);\n\t}", "public abstract void mapDrawableAdapterUpdated(MapDrawableAdapter drawableAdapter);", "protected @Override void updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) {\n \n //super.updateLayout(ec, e, a);\n }", "@Override\n public void itemModified (ItemEvent e) {\n super.itemModified(e);\n Sequence denotationSequence = e.getDenotation();\n Structure denotation = (Structure) denotationSequence.elementAt(0);\n Symbol attributeName = (denotation!=null?(Symbol)denotation.getAttributeValue(NAME_, null):null);\n if (LABEL_.equals(attributeName)) {\n setLabel((String)(e.getNewValue()));\n }\n Rectangle bounds = getExactBounds()[0];\n Rectangle[] invalRegion = {bounds};\n ((WorkspaceView)getParent()).invalidate(invalRegion);\n }", "@Override\n\tpublic void handleEventWorldUpdate(World world) {\n\t}", "public void assingRectanglesEvents(Rectangle rectReg){\n rectReg.setOnMouseClicked(new EventHandler<MouseEvent>(){\n\n @Override\n public void handle(MouseEvent event) {\n\n System.out.println(event.getSource());\n gramatica.cambiarFormaRegla(gramatica.getRelRectRegla().get(event.getSource()));\n }\n\n });\n rectReg.setOnKeyPressed(new EventHandler<KeyEvent>(){\n\n @Override\n public void handle(KeyEvent event) {\n Rectangle rect=(Rectangle)event.getSource();\n if(event.getCode()==KeyCode.ENTER){\n System.out.println(event.getSource());\n gramatica.cambiarFormaRegla(gramatica.getRelRectRegla().get(event.getSource()));\n } \n else{\n \n } \n \n }\n \n\n }); \n rectReg.setOnMouseEntered(new EventHandler<MouseEvent>(){\n\n @Override\n public void handle(MouseEvent event) {\n\n System.out.println(event.getSource());\n Rectangle rect=(Rectangle)event.getSource();\n \n rect.setFill(Color.YELLOW);\n\n gramatica.drawRectangle(gramatica.getRelRectRegla().get(event.getSource()));\n Tooltip t = new Tooltip(gramatica.getRelRectRegla().get(event.getSource()).getValor());\n Tooltip.install(rect, t);\n \n }\n\n });\n rectReg.setOnMouseExited(new EventHandler<MouseEvent>(){\n\n @Override\n public void handle(MouseEvent event) {\n Rectangle rect=(Rectangle)event.getSource();\n rect.setFill(Color.BLACK);\n System.out.println(event.getSource());\n gramatica.erasedRectangle(gramatica.getRelRectRegla().get(event.getSource()));\n }\n\n });\n rectReg.focusedProperty().addListener(new ChangeListener<Boolean>(){\n @Override\n public void changed(ObservableValue<? extends Boolean> arg0, Boolean oldPropertyValue, Boolean newPropertyValue)\n {\n if (newPropertyValue)\n {\n// System.out.println(event.getSource());\n// Rectangle rect=(Rectangle)event.getSource();\n// System.out.println(event.getSource());\n rectReg.setFill(Color.YELLOW);\n \n \n }\n else\n {\n rectReg.setFill(Color.BLACK); \n }\n }\n });\n }", "public void update()\n\t{\n\t\tGViewMapManager gViewMapManager = this.guiController.getCurrentStyleMapManager();\n\t\tLayout layout = gViewMapManager.getLayout();\n\n\t\tswitch (layout)\n\t\t{\n\t\t\tcase LINEAR:\n\t\t\t\tthis.linear.setSelected(true);\n\t\t\t\tbreak;\n\t\t\tcase CIRCULAR:\n\t\t\t\tthis.circular.setSelected(true);\n\t\t\t\tbreak;\n default:\n break;\n\t\t}\n\t}" ]
[ "0.6031966", "0.5950113", "0.5929595", "0.5703428", "0.52973366", "0.5293441", "0.52921844", "0.517263", "0.5044688", "0.49888155", "0.4987141", "0.4934017", "0.4871714", "0.4856673", "0.48519996", "0.4813129", "0.48105988", "0.47746474", "0.4752865", "0.4744347", "0.4732415", "0.4729282", "0.47218972", "0.47098863", "0.47002876", "0.46965766", "0.4659317", "0.46366155", "0.46319228", "0.46275258", "0.46145746", "0.46108553", "0.46108553", "0.4608473", "0.46072423", "0.4606085", "0.46056175", "0.45888937", "0.45888937", "0.45888937", "0.4587251", "0.4580119", "0.45762396", "0.45762396", "0.45762396", "0.4575142", "0.45733547", "0.45684627", "0.4566636", "0.4548683", "0.45351166", "0.45234546", "0.45207593", "0.4506905", "0.45030302", "0.45030302", "0.44982058", "0.4493816", "0.448787", "0.44773665", "0.44607848", "0.4458001", "0.44410324", "0.44404167", "0.44382194", "0.44343862", "0.4404388", "0.43910047", "0.4376309", "0.43576694", "0.43448845", "0.43398347", "0.4336284", "0.43330148", "0.43306735", "0.43291664", "0.43232828", "0.43175262", "0.4316786", "0.43165892", "0.4311546", "0.43111187", "0.43089995", "0.4299598", "0.4296277", "0.42931142", "0.42897853", "0.42825645", "0.42775172", "0.42694804", "0.42666525", "0.4262736", "0.4262304", "0.42581838", "0.42483738", "0.42367965", "0.4224453", "0.42243165", "0.4218299", "0.42175287" ]
0.59388727
2
Checks if this is a RegionUpdated event.
public boolean isRegionUpdated() { return REGIONUPDATED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}", "@java.lang.Override\n public boolean hasRegionLocationMatrix() {\n return regionLocationMatrix_ != null;\n }", "@java.lang.Override\n public boolean hasRegionsCount() {\n return regionsCount_ != null;\n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "@java.lang.Override\n public boolean hasRegionInputsCount() {\n return regionInputsCount_ != null;\n }", "public boolean isCoordSystemChanged() {\n return COORDSYSTEMCHANGED.equals(message);\n }", "public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}", "@java.lang.Override\n public boolean hasRegionFramesCount() {\n return regionFramesCount_ != null;\n }", "public boolean wasDataUpdated() {\n\t\treturn true;\n\t}", "public boolean hasChanged()\n {\n return map.hasChanged();\n }", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "boolean hasStatusChanged();", "public static ApproxsimEvent getRegionUpdated(Object source) {\n return new ApproxsimEvent(source, REGIONUPDATED);\n }", "public boolean isUpdated() {\n return this.updated;\n }", "public boolean hasUpdate(VehicleState change) {\n\n return !this.equals(change);\n }", "public boolean isUpRegion(int regionID){\n\t\t\n\t\tfor(int i=0;i<arrDownRegions.size();i++){\n\t\t\t\n\t\t\tif(arrDownRegions.get(i)==regionID)\n\t\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\t\t\t\t\n\t}", "public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }", "default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }", "@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }", "private boolean isNotifyLocationChange(Location old, Location update) {\n boolean isNotifyLocationChange = false;\n\n isNotifyLocationChange = (old.distanceTo(update) >= MIN_DISTANCE_NOTIFY) && (update.getTime() - old.getTime() >= MIN_TIME_NOTIFY);\n\n return isNotifyLocationChange;\n }", "public boolean isChanged() {\n return this.changed;\n }", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "public boolean hasChanged();", "public boolean hasChanged();", "@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }", "public boolean isMiniMapChanged() {\n return minimapChanged;\n }", "public boolean hasRegionsCount() {\n return regionsCountBuilder_ != null || regionsCount_ != null;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean isChanged() {\r\n return isChanged;\r\n }", "protected boolean _isEventForSuccessfulUpdate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenUpdated()));\t\t\t\t\t\t\t\t// it's an update event\n\t}", "public boolean hasRegionLocationMatrix() {\n return regionLocationMatrixBuilder_ != null || regionLocationMatrix_ != null;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "public synchronized boolean hasChanged() {\n return changed;\n }", "boolean hasChangeEvent();", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "private static boolean checkIfToUpdateAfterCreateFailed(LocalRegion rgn, EntryEventImpl ev) {\n boolean doUpdate = true;\n if (ev.oldValueIsDestroyedToken()) {\n if (rgn.getVersionVector() != null && ev.getVersionTag() != null) {\n rgn.getVersionVector().recordVersion(\n (InternalDistributedMember) ev.getDistributedMember(), ev.getVersionTag());\n }\n doUpdate = false;\n }\n if (ev.isConcurrencyConflict()) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"basicUpdate failed with CME, not to retry:\" + ev);\n }\n doUpdate = false;\n }\n return doUpdate;\n }", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "public boolean hasRegionFramesCount() {\n return regionFramesCountBuilder_ != null || regionFramesCount_ != null;\n }", "public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}", "public boolean areGraticulesUpdated() {\n return GRATICULESUPDATED.equals(message);\n }", "public boolean hasRegionInputsCount() {\n return regionInputsCountBuilder_ != null || regionInputsCount_ != null;\n }", "public boolean isGameUpdated() {\n if (gameUpdated) {\n gameUpdated = false;\n return true;\n }\n return false;\n }", "public boolean filtersChanged(){\n if(startDateChanged || endDateChanged || stationIdChanged || languageChanged){\n return true;\n }\n return false;\n }", "boolean hasUpdate();", "boolean hasUpdate();", "private boolean needsToRecalcStats() {\n\n return this.equipsChanged;\n }", "public boolean hasUpdateInode() {\n return ((bitField0_ & 0x20000000) == 0x20000000);\n }", "private boolean stabilizedOnUpdate(\n final UpdateMonitoringScheduleRequest updateMonitoringScheduleRequest,\n final UpdateMonitoringScheduleResponse updateMonitoringScheduleResponse,\n final ProxyClient<SageMakerClient> proxyClient,\n final ResourceModel model,\n final CallbackContext callbackContext) {\n\n if(model.getMonitoringScheduleArn() == null){\n model.setMonitoringScheduleArn(updateMonitoringScheduleResponse.monitoringScheduleArn());\n }\n\n final ScheduleStatus monitoringScheduleState = proxyClient.injectCredentialsAndInvokeV2(\n TranslatorForRequest.translateToReadRequest(model),\n proxyClient.client()::describeMonitoringSchedule).monitoringScheduleStatus();\n\n switch (monitoringScheduleState) {\n case SCHEDULED:\n case STOPPED:\n logger.log(String.format(\"%s [%s] has been stabilized with state %s during update operation.\",\n ResourceModel.TYPE_NAME, model.getPrimaryIdentifier(), monitoringScheduleState));\n return true;\n case PENDING:\n logger.log(String.format(\"%s [%s] is stabilizing during update.\", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier()));\n return false;\n default:\n throw new CfnGeneralServiceException(\"Stabilizing during update of \" + model.getPrimaryIdentifier());\n\n }\n }", "public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }", "public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }", "public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}", "@Override\n public void onMapRegionChangeEnded(SKCoordinateRegion mapRegion) {\n\n }", "public boolean isResponseChanged() {\n return responseChanged;\n }", "public boolean hasUpdateInode() {\n return ((bitField0_ & 0x20000000) == 0x20000000);\n }", "public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }", "public boolean isBomItemsChanged() {\n\t\treturn bomItemsChanged;\n\t}", "boolean hasUpdateInode();", "@Override\n public void onMapRegionChangeStarted(SKCoordinateRegion mapRegion) {\n\n }", "public boolean isRegdateModified() {\n return regdate_is_modified; \n }", "public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}", "public boolean rotationNeedsUpdate() {\n int lastOrientation = getLastOrientation();\n int oldRotation = getRotation();\n return oldRotation != this.mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation);\n }", "public boolean wasChangeDetected() {\n return bChangeDetected;\n }", "public boolean isEstadoModified()\n\t{\n\t\treturn estadoModified;\n\t}", "boolean isOssModified();", "public boolean isUpdate() {\r\n\t\treturn update;\r\n\t}", "public boolean hasRelevantRegions() {\n return fieldSetFlags()[6];\n }", "public boolean isSetStatusmodifytime() {\n return this.statusmodifytime != null;\n }", "public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "public static boolean isContainerUpdated(final ResourceMapping mapping) {\n String containerId = ContainerInfo.getInstance().getContainerId();\n\n ResourceMapping.ContainerInstance container\n = mapping.getContainer(containerId);\n if (container == null) {\n LOGGER.warn(\"No flakes for this container.\");\n return false;\n } else {\n return true;\n }\n }", "public boolean isMovementChanged() {\n return movementChanged;\n }", "boolean hasChangeStatus();", "@Override\n\tpublic boolean isEventComplete() {\n\t\treturn status==EventCompleted;\n\t}", "boolean hasTsUpdate();", "private boolean isDownRegion(int regionID){\n\t\t\n\t\tfor(int i=0;i<arrDownRegions.size();i++){\n\t\t\t\n\t\t\tif(arrDownRegions.get(i)==regionID)\n\t\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\t\t\t\n\t}", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "public boolean isReservationroomidModified() {\n return reservationroomid_is_modified; \n }", "public boolean isMarkerChange() {\n \t\t\treturn fMarkerChange;\n \t\t}", "public boolean getBitmapIsChanged() {\n\t\treturn mChanged;\n\t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "public boolean isModified()\n {\n // a class is only modifiable after it is loaded\n if (!m_fLoaded)\n {\n return m_fModified;\n }\n\n if (m_fModified || m_abClazz == null || m_pool.isModified())\n {\n return true;\n }\n\n // check all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n if (((VMStructure) enmr.nextElement()).isModified())\n {\n return true;\n }\n }\n }\n\n return false;\n }", "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "public boolean requiresUpdate(final Rectangle rect) {\n if (!viewport.intersects(rect)) {\n return false;\n }\n \n return fullUpdate || (getDirtyArea(rect) != null);\n }", "public boolean isChangeType()\n {\n return hasChanges;\n }", "boolean hasUpdateTriggerTime();", "public final boolean getIsRowUpdated() {\n return isRowUpdated_;\n }", "public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }", "public boolean isVisionChanged() {\n return visionChanged;\n }", "@Override\r\n\tpublic boolean onUpdate(Session arg0) throws CallbackException {\n\t\treturn false;\r\n\t}", "public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}", "public boolean rowUpdated() throws SQLException {\n\n try {\n debugCodeCall(\"rowUpdated\");\n return false;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "private boolean checkPropertyUpdateView() {\n \t\treturn Boolean.getBoolean(PROPERTY_RIENA_LNF_UPDATE_VIEW);\n \t}", "public boolean updated() {\n return (!getText().equals(\"0.0.0.0\"));\n }", "public boolean isStModified() {\n return st_is_modified; \n }", "public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }", "public boolean isRegbyidModified() {\n return regbyid_is_modified; \n }", "Boolean getIsChanged();" ]
[ "0.679158", "0.6455339", "0.5951466", "0.58395344", "0.5828077", "0.5788363", "0.5732154", "0.5729259", "0.57244676", "0.5704047", "0.56312364", "0.55874586", "0.55827516", "0.55781627", "0.55772704", "0.5549051", "0.5543507", "0.55316484", "0.55088097", "0.5503145", "0.5495579", "0.5490076", "0.54726183", "0.54710364", "0.54687524", "0.54687524", "0.54617184", "0.54384935", "0.54223424", "0.5418009", "0.5408471", "0.5407155", "0.5405543", "0.54044265", "0.5399633", "0.5379944", "0.53713125", "0.53663385", "0.5332438", "0.5328508", "0.53119314", "0.5282584", "0.5269033", "0.52641296", "0.52628183", "0.5260415", "0.5251037", "0.5245941", "0.5245941", "0.52428466", "0.5236938", "0.5213514", "0.5204294", "0.52042377", "0.51948917", "0.51921993", "0.51916283", "0.5185942", "0.51721823", "0.51707524", "0.51648974", "0.51574695", "0.51503", "0.51500714", "0.5142094", "0.51340085", "0.5133312", "0.5132665", "0.5115806", "0.5113054", "0.5112894", "0.5104972", "0.50820124", "0.506936", "0.5062624", "0.5059459", "0.50583637", "0.50576127", "0.50308406", "0.5029186", "0.50164324", "0.50122076", "0.5011593", "0.49970967", "0.49683312", "0.49637508", "0.49631205", "0.49580935", "0.49497578", "0.49456865", "0.4941469", "0.49401677", "0.49385995", "0.49373907", "0.49347132", "0.49342132", "0.49315077", "0.49207553", "0.49164805", "0.49123463" ]
0.8365171
0
Creates a GridUpdated event. This event is triggered when the grid is updated with new values.
public static ApproxsimEvent getGridUpdated(Object source) { return new ApproxsimEvent(source, GRIDUPDATED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void update(Grid theOldGrid, Grid theNewGrid);", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public void reactToNewGrid(Grid grid)\n {\n theGrid = grid;\n }", "public void logEventStoreChanged(LogEventStoreEvent event) {\n fireModelChangedEvent(LogEventTableModelReasonForChange.logEventsChanged);\r\n\r\n // set status messageColumnTitle request\r\n sendSetStatusMessageRequest();\r\n }", "@Override\n public void stateChanged(ChangeEvent e) {\n model.generateGridWithSpecifiedProblemDifficulty(view.getSpinnerValue());\n view.updateGridPanel(model.getGrid(), model.getAgentLocation());\n }", "public void updategrid(int[][] grid) {\n this.grid = grid;\n }", "public void dataUpdateEvent();", "EventChannel.Update update();", "@Override\n\t\t\tpublic void changedUpdate(DocumentEvent arg0) {\n\t\t\t}", "public void receiveBoothUpdatedEvent(BoothUpdatedEvent event) {\r\n\t\tthis.fireTableDataChanged();\r\n\t}", "public void updateGridY();", "public void tagUpdated(TagEvent event) {\n updatedEvent = event;\n }", "public void onUpdate(T oldValue, T newValue);", "public void changedUpdate(DocumentEvent event) {\n\t\t\t}", "public void SimUpdate(UpdateSimEvento event);", "public void onCellEdit(CellEditEvent event) {\n Object oldValue = event.getOldValue();\n Object newValue = event.getNewValue();\n Object o = event.getSource();\n System.out.println(\"event called: \" + newValue + \" \" + oldValue);\n System.out.println(o.toString());\n DataTable table = (DataTable) event.getComponent();\n Long id = (Long) table.getRowKey();\n System.out.println(\"#### row key is : \" + id + \" ####\");\n if (newValue != null && !newValue.equals(oldValue)) {\n FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, \"Cell Changed\", \"Old: \" + oldValue + \", New:\" + newValue);\n FacesContext.getCurrentInstance().addMessage(null, msg);\n for (Gnome gnome : user.getCart()) {\n if ((gnome.getId() != null) && (gnome.getId().compareTo(id) == 0)) {\n System.out.println(\"cart size on cell edit \" + user.getCart().size());\n gnome.setShopQuantity((Integer) newValue);\n userFacade.updateCart(user, gnome);\n }\n }\n }\n }", "public void awaleChanged(Awale awale, short eventType, short row,\r\n\t short column);", "public void handleUpdate(WasteBinSensorData updatedData)\n\t{\n\t\t// extract updated values and store them in the current instance\n\t\t// variables.\n\t\tthis.fillLevel = updatedData.getFillLevel();\n\t\tthis.temperatureAsMeasure = updatedData.getTemperature();\n\t\t\n\t\t// update the latest update time\n\t\tthis.latestUpdate = new Date();\n\t\tHashMap<String, Object> valuesMap = new HashMap<>();\n\t\tvaluesMap.put(\"getTemperature\", this.getTemperature());\n\t\tvaluesMap.put(\"getLevel\", this.getLevel());\n\t\tPWALNewDataAvailableEvent event = new PWALNewDataAvailableEvent(this.getUpdatedAt(), this.getPwalId(),\n\t\t\t\tthis.getExpiresAt(), valuesMap, this);\n\t\tlogger.info(\"Device {} is publishing a new data available event on topic: {}\", this.getPwalId(),\n\t\t\t\tthis.eventPublisher.getTopics());\n\t\tthis.eventPublisher.publish(event);\n\t\t\n\t}", "@Override\n\tpublic void onUpdate() {\n\t\tlistener.onUpdate();\n\t}", "public void update(MazeEventInfoField e) {\r\n }", "public void updateGridX();", "public TagEvent getTagUpdatedEvent() {\n return updatedEvent;\n }", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "@Override\n\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\n\t\t}", "@Override\n public void componentResized(java.awt.event.ComponentEvent evt) {\n resizeGrid();\n }", "void onConfigChanged(ConfigUpdate update);", "public final void emitOnUpdated(SettingUpdate data) {\n nativeEmitEventWithJsonData(this.RVRCtxTag, \"SettingsManagerModule_onUpdated\", String.valueOf(data.convertToJSONObject()));\n }", "public interface GridPaneScaledListener extends java.util.EventListener {\n\n /**\n * Called when the scale of the GridPane has been changed.\n *\n * @param e GridPaneScaledEvent to process\n */\n public void gridPaneScaled (GridPaneScaledEvent e);\n}", "public void managerModelModified(ManagerEvent e);", "@Override\n\t\t\t\tpublic void rowsUpdated(int firstRow, int endRow, int column) {\n\n\t\t\t\t}", "Update withSource(EventChannelSource source);", "protected void onUpdated( E entity, GameState state, int index )\r\n\t{\r\n\t\t\r\n\t}", "void onListenerChanged(ListenerUpdate update);", "@Override\r\n\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t}", "@Override\r\n public void changedUpdate(DocumentEvent e)\r\n {\n }", "@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer Pattern on Room Reservation Notification: \");\n\t\tSystem.out.println(\"Your room is \" + reserve.getState()+\"\\n\");\n\t}", "public void allActualValuesUpdated ();", "public void update(@Observes FirePushEventsEnum event) {\n switch(event) {\n case NODE_EVENT:\n this.nodeEventUpdateRequest.set(true);\n break;\n case RUN_TASK_EVENT:\n this.runTaskEventUpdateRequest.set(true);\n break;\n }\n }", "void configurationChanged(WMSLayerConfigChangeEvent event);", "@Override\n\tpublic void update(Event e) {\n\t}", "public void update(MazeEventWon e) {\r\n }", "public void changedUpdate(DocumentEvent e) {\n\n\t}", "@Override\n\t\t\t\tpublic void changedUpdate(final DocumentEvent e) {\n\t\t\t\t}", "@DISPID(-2147412091)\n @PropGet\n java.lang.Object onbeforeupdate();", "void onUpdate(Message message);", "protected void onUpdate() {\r\n\r\n\t}", "public void updateVerificationGrid(int verificationGrid) {\n\t\tthis.verificationGrid = verificationGrid;\n\t}", "@DISPID(-2147412090)\n @PropGet\n java.lang.Object onafterupdate();", "@Override\n public void reloadGridsData() {\n \n }", "public void entryUpdated(EntryEvent<Identifier, SystemMetadata> event) {\n\n if (ComponentActivationUtility.replicationIsActive()) {\n log.info(\"Received entry updated event on the hzSystemMetadata map for pid: \"\n + event.getKey().getValue());\n\n if (isAuthoritativeReplicaValid(event.getValue())) {\n createReplicationTask(event.getKey());\n } else {\n log.info(\"Authoritative replica is not valid, not queueing to replication for pid: \"\n + event.getKey().getValue());\n }\n }\n }", "@Override\r\n\t\t\tpublic void update(final ViewerCell cell) {\n\t\t\t}", "@Override\r\n\t\t\tpublic void update(final ViewerCell cell) {\n\t\t\t}", "@Override\n public void onStateUpdated(VertexStateUpdate event) {\n enqueueAndScheduleNextEvent(new VertexManagerEventOnVertexStateUpdate(event));\n }", "public void handleTopologyUpdateEvent() {\n\t\t\n\t\tif(!Constants.MY_ADDR.equals(Constants.CLIENT_ADDR))\n\t\t{\n\t\t\tif(RoutingInterface.instance().isConnected(session.getDestination()))\n\t\t\t{\n\t\t\t\t// Disable EOR\n\t\t\t\tsessionManager.setLive();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// Enable EOR and put it into DT...\n\t\t\t\tsessionManager.setDT();\n\t\t\t}\n\t\t}\n\t}", "public void willbeUpdated() {\n\t\t\n\t}", "@Override\n\tpublic void changedUpdate(DocumentEvent de) {\n\n\t}", "public void update(InputEvent event);", "public void update()\r\n\t{\r\n\t\tAndroidGame.camera.update(grid, player);\r\n\t\tplayer.update(grid);\r\n\t\tplayButton.update(player, grid);\r\n\t\tmenu.update(grid);\r\n\t\tgrid.update();\r\n\t\tif(grid.hasKey())\r\n\t\t\tgrid.getKey().update(player, grid.getFinish());\r\n\t\tif(levelEditingMode)//checking if the make button is clicked\r\n\t\t{\r\n\t\t\tif(makeButton.getBoundingRectangle().contains(Helper.PointerX(), Helper.PointerY()))\r\n\t\t\t{\r\n\t\t\t\tgrid.makeLevel();\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tdoorBubble.update();\r\n\t\t\tif(hasKey)\r\n\t\t\t\tkeyBubble.update();\r\n\t\t}\r\n\t}", "public void cellValueChanged(int row, int col, String oldValue, String newValue);", "void registerUpdateListener(IUpdateListener listener);", "public void updateGrid(ShelterGrid shelters)\n {\n this.shelters = shelters;\n gridWidth = Parameters.getDefaultGridSize();\n gridHeight = gridWidth;\n\n simulation.reset(); // remove all agents, etc.\n\n // call repaint to redisplay the new background, then agents & grid\n repaint();\n }", "public void modelsChanged(IModelProviderEvent event);", "public void update(MazeEvent e) {\r\n\r\n }", "public void updateGrid(Viewport viewport) {\n Rectangle view = viewport.getShape();\n if (view.isEmpty()) return;\n\n // Compute the visible user space area from the viewport\n Point2D visibleUL = new Point2D.Double();\n Point2D visibleLR = new Point2D.Double();\n Point viewLL = new Point(view.x, view.height + view.y);\n Point viewUR = new Point(view.width + view.x, view.y);\n viewport.getInverseTransform().transform(viewLL, visibleUL);\n viewport.getInverseTransform().transform(viewUR, visibleLR);\n\n // Dynamic line interval scaling\n double visibleHeight = visibleUL.getY() - visibleLR.getY();\n if (majorInterval > 0) {\n while (visibleHeight / majorInterval > maxThreshold) {\n majorInterval *= intervalScaleFactor;\n }\n while (visibleHeight / majorInterval < minThreshold) {\n majorInterval /= intervalScaleFactor;\n }\n }\n\n if (EditorCommonSettings.getLightGrid()) {\n updateGridMinorCrosses(viewport, majorInterval * minorIntervalFactor);\n updateGridMajorCrosses(viewport, majorInterval);\n } else {\n updateGridMinorLines(viewport, majorInterval * minorIntervalFactor);\n updateGridMajorLines(viewport, majorInterval);\n }\n\n for (GridListener l : listeners) {\n l.gridChanged(this);\n }\n }", "public void dataChanged(DataChangeEvent e) {\n\t\t\t}", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public void update(MazeEventPushed e) {\r\n }", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer2 has received update!\");\r\n\t}", "public void onUpdate()\n\t{\n\t\tchunk.setModelBound(new BoundingBox());\n\t\tchunk.updateModelBound();\n\n\t}", "public static ApproxsimEvent getRegionUpdated(Object source) {\n return new ApproxsimEvent(source, REGIONUPDATED);\n }", "@Override\r\n\tpublic void onGridCellEditorEnter(String sectionName, ListGrid grid, int row, int col, Object value) {\n\t}", "private void update() {\n gsm.update();\n }", "public void gxlValueChanged(GXLValueModificationEvent e) {\n\t}", "public EventMapper onUpdate(final Consumer<Duty> consumer) {\n\t\tinitConsumerDelegate();\n\t\t((ConsumerDelegate)getDepPlaceholder().getDelegate()).setConsumerUpdate(consumer);\n\t\treturn this;\n\t}", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer1 has received update!\");\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer3 has received update!\");\r\n\t}", "@Override\n\tpublic void tableChanged(TableModelEvent e) {\n\t\tint row = e.getFirstRow();\n\t\tint column = e.getColumn();\n\t\tTableModel model = (TableModel)e.getSource();\n\t\tString columnName = model.getColumnName(column);\n\t\tObject data = model.getValueAt(row, column);\n\t\tdb.update(row, columnName, data);\n\t}", "@Override\n\tpublic Event updateEvent(Event e) {\n\t\treturn eventDao.updateEvent(e);\n\t}", "protected void fireUpdateEvent(UpdateResult evt) {\n \t\tif (periodModel != null) {\n \t\t\ttry {\n \t\t\t\tperiodModel.update();\n \t\t\t} catch (RaplaException e) {\n \t\t\t\tgetLogger().error(\"Can't update Period Model\", e);\n \t\t\t}\n \t\t}\n \t\t{\n \t\t\tCollection<ModificationListener> modificationListeners = directListenerList;\n \t\t\tif (modificationListeners.size() > 0 ) {\n \t\t\t\tnew UpdateCommandModification(modificationListeners,evt).execute(); \n \t\t\t}\n \t\t}\n \t\t{\n \t\t\tCollection<ModificationListener> modificationListeners = getModificationListeners();\n \t\t\tif (modificationListeners.size() > 0 ) {\n \t\t\t\tnotifyQueue.schedule(new UpdateCommandModification(modificationListeners, evt),0);\n \t\t\t}\n \t\t\tCollection<AllocationChangeListener> allocationChangeListeners = getAllocationChangeListeners();\n \t\t\tif (allocationChangeListeners.size() > 0) {\n \t\t\t\tnotifyQueue.schedule(new UpdateCommandAllocation(allocationChangeListeners, evt),0);\n \t\t\t}\n \t\t}\n \t}", "public void gridPaneScaled (GridPaneScaledEvent e);", "public final void changedUpdate(DocumentEvent e) {\n Rectangle alloc = (painted) ? getVisibleEditorRect() : null;\n rootView.changedUpdate(e, alloc, rootView.getViewFactory());\n }", "public void receivedUpdateFromServer();", "public void update(Event event){\n em.merge(event);\n }", "private void fireStructureChanged() {\n\n tableModel.fireTableStructureChanged();\n paramsTable.getColumnModel().getColumn(COL_SAMPLING).setCellEditor(\n new SamplingEditor());\n }", "public void update(MazeEventWalkedDrowned e) {\r\n }", "@Override\r\n\tpublic void onGridCellEditorExit(String sectionName, ListGrid grid, int row, int col, Object newValue) {\n\t}", "@Override\n\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\tchange();\n\t\t\t\t}", "@EventName(\"targetInfoChanged\")\n EventListener onTargetInfoChanged(EventHandler<TargetInfoChanged> eventListener);", "public void stateChanged (ChangeEvent event)\n {\n ((GroupItem)gbox.getSelectedItem()).configChanged();\n }", "public void toolGroupUpdated(ToolGroupEvent evt) {\n }", "protected void updated() {\n if (state.isSynced()) {\n this.state.setState(ENodeState.Updated);\n }\n }", "public void updateMapGrid() {\n char[][] map = controller.getPopulatedMap();\n\t if (mapGrid == null) {\n mapGrid = new MapGrid(map.length, map[0].length, ICON_SIZE);\n }\n mapGrid.insertCharMap(map);\n }", "public interface On4gLteUpdateListener {\n void on4gLteUpdated();\n }", "public void addAreaUpdateListener(AreaUpdatedListener areaUpdatedListener) {\n listeners.add(areaUpdatedListener);\n }", "@Override\n public void cellChanged(String newCellValue) {\n\t \n }", "@PreUpdate\n\tprotected void onUpdate() {\n\t\tupdated = new Date();\n\t\trcaCase.updated = updated;\n\t}", "private void fireConfigChanged()\n {\n ScmEventBus.getInstance().post(\n new RepositoryHandlerConfigChangedEvent<C>(config));\n }", "public abstract void rowsUpdated(int firstRow, int endRow, int column);", "@Override\n\tpublic void onModified(LttlComponent source)\n\t{\n\t\tif (!isEnabled() || !isAutoUpdating()) return;\n\t\tupdateMesh();\n\t}", "Long handleEvent(Long renderedOpID, \n\t\t String propName,\n\t\t Object oldValue, \n\t\t Object newValue) throws RemoteException;" ]
[ "0.6157226", "0.59483486", "0.5587028", "0.53882986", "0.527052", "0.5265341", "0.52137315", "0.517253", "0.5141729", "0.51377404", "0.5131805", "0.51036227", "0.5097784", "0.506806", "0.5057287", "0.5047358", "0.49702543", "0.49636206", "0.49590316", "0.49551415", "0.49448022", "0.49298468", "0.49158588", "0.4881933", "0.48678023", "0.48451316", "0.48440608", "0.48438233", "0.48368084", "0.48282683", "0.48220325", "0.48155022", "0.48125455", "0.4800372", "0.47985575", "0.47945082", "0.47707275", "0.47585604", "0.47571075", "0.47498155", "0.4747036", "0.47389656", "0.47353622", "0.47344345", "0.47218457", "0.4712196", "0.47091255", "0.47061515", "0.46981657", "0.4696091", "0.46898183", "0.46898183", "0.46895024", "0.4662705", "0.46588796", "0.46491283", "0.4632803", "0.46327752", "0.4628534", "0.4626045", "0.46209884", "0.46114245", "0.46098515", "0.4609223", "0.46072978", "0.46059835", "0.46046793", "0.4601968", "0.45995733", "0.45872334", "0.45834196", "0.45761895", "0.45687178", "0.4565284", "0.45596495", "0.45585993", "0.45499957", "0.45475838", "0.45464295", "0.45439515", "0.45345917", "0.45345193", "0.4529249", "0.4528043", "0.45272914", "0.452361", "0.45148274", "0.4513708", "0.45100802", "0.45097226", "0.45079666", "0.45061597", "0.45004815", "0.44962296", "0.4494152", "0.44920298", "0.44909024", "0.44883627", "0.4487286", "0.44865704" ]
0.642254
0
Checks if this is a GridUpdated event.
public boolean isGridUpdated() { return GRIDUPDATED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }", "public boolean isGameUpdated() {\n if (gameUpdated) {\n gameUpdated = false;\n return true;\n }\n return false;\n }", "public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}", "public boolean wasDataUpdated() {\n\t\treturn true;\n\t}", "public boolean hasUpdate(VehicleState change) {\n\n return !this.equals(change);\n }", "boolean hasUpdateTriggerTime();", "public boolean isCoordSystemChanged() {\n return COORDSYSTEMCHANGED.equals(message);\n }", "public boolean isUpdated() {\n return this.updated;\n }", "boolean hasUpdate();", "boolean hasUpdate();", "public boolean hasUpdateTriggerTime() {\n return instance.hasUpdateTriggerTime();\n }", "public boolean isUpdate() {\r\n\t\treturn update;\r\n\t}", "public boolean areGraticulesUpdated() {\n return GRATICULESUPDATED.equals(message);\n }", "public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }", "protected boolean _isEventForSuccessfulUpdate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenUpdated()));\t\t\t\t\t\t\t\t// it's an update event\n\t}", "@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}", "public boolean isMovementChanged() {\n return movementChanged;\n }", "public boolean isGameChanged() {\n return gameChanged;\n }", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "boolean hasChangeEvent();", "public static ApproxsimEvent getGridUpdated(Object source) {\n return new ApproxsimEvent(source, GRIDUPDATED);\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean isChanged() {\n return this.changed;\n }", "public final boolean getIsRowUpdated() {\n return isRowUpdated_;\n }", "boolean hasTsUpdate();", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "public boolean isChangeType()\n {\n return hasChanges;\n }", "boolean hasStatusChanged();", "public boolean getIsUpdate() {\n return isUpdate_;\n }", "public boolean hasChanged();", "public boolean hasChanged();", "public boolean isSetUpdate_time() {\n return this.update_time != null;\n }", "public boolean rowUpdated() throws SQLException {\n\n try {\n debugCodeCall(\"rowUpdated\");\n return false;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }", "public synchronized boolean hasChanged() {\n return changed;\n }", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "public boolean isBomItemsChanged() {\n\t\treturn bomItemsChanged;\n\t}", "public boolean getIsUpdate() {\n return isUpdate_;\n }", "public boolean isChanged() {\r\n return isChanged;\r\n }", "public boolean isMiniMapChanged() {\n return minimapChanged;\n }", "private boolean needsToRecalcStats() {\n\n return this.equipsChanged;\n }", "public boolean updated() {\n return (!getText().equals(\"0.0.0.0\"));\n }", "public boolean hasUpdateTriggerTime() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public static boolean isChanged(PO po) {\n\t\tString[] columnNames = s_sourceColumnNames.get(po.get_TableName());\n\t\tif (columnNames == null || columnNames.length == 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (po.is_new() || po.is_ValueChanged(\"IsActive\")) {\n\t\t\treturn true;\n\t\t}\n\t\tfor (String columnName : columnNames) {\n\t\t\tif (po.is_ValueChanged(columnName)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "public boolean getFieldStatus() {\n\t\treturn fieldHasBeenUpdated;\n\t}", "private boolean checkPropertyUpdateView() {\n \t\treturn Boolean.getBoolean(PROPERTY_RIENA_LNF_UPDATE_VIEW);\n \t}", "private boolean isNotifyLocationChange(Location old, Location update) {\n boolean isNotifyLocationChange = false;\n\n isNotifyLocationChange = (old.distanceTo(update) >= MIN_DISTANCE_NOTIFY) && (update.getTime() - old.getTime() >= MIN_TIME_NOTIFY);\n\n return isNotifyLocationChange;\n }", "public boolean isTotallyOnGrid() {\n\t\t\tfor(int i=0; i<4; i++) {\n\t\t\t\tif(position.y + i >= 0)\n\t\t\t\t\treturn true; //everything from here down is on grid\n\t\t\t\t// this row is above grid so look for non-empty squares\n\t\t\t\tfor(int j=0; j<4; j++)\n\t\t\t\t\tif(squares[i][j])\n\t\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\tSystem.err.println(\"TetrisPiece.isTotallyOnGrid internal error\");\n\t\t\treturn false;\n\t\t}", "private void checkStatus()\n {\n // If the last command failed\n if(!project.getLastCommandStatus())\n {\n view.alert(\"Error: \" + project.getLastCommandStatusMessage());\n\t\t}\n\t\telse\n\t\t{\n\t\t\tCommand lastCmd = project.getLastCommand();\n\t\t\tif (lastCmd != null && lastCmd.hasOptionalState())\n\t\t\t{\n\t\t\t\tview.loadFromJSON(lastCmd.getOptionalState());\n\t\t\t\tview.onUpdate(project.getProjectSnapshot(), false);\n\t\t\t}\n\t\t}\n }", "public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}", "boolean needUpdate();", "public boolean hasChanged()\n {\n return map.hasChanged();\n }", "public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "public boolean isInit() {\n\t\t\treturn this.gridIsInit;\n\t\t}", "boolean getIsUpdate();", "public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }", "public abstract void update(Grid theOldGrid, Grid theNewGrid);", "public boolean hasModifiedAt() {\n return modifiedAtBuilder_ != null || modifiedAt_ != null;\n }", "public boolean isSet() {\n return nViewportUpdates > 0 && nWindowUpdates > 0;\n }", "public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }", "public boolean isSetUpdateTime() {\n\t\treturn this.updateTime != null;\n\t}", "public boolean isSyntheticUpdate()\n {\n boolean fResult = false;\n\n switch (m_syntheticKind)\n {\n case JCACHE_SYNTHETIC_CLEAR:\n case JCACHE_SYNTHETIC_UPDATE:\n fResult = true;\n break;\n\n case JCACHE_SYNTHETIC_NONE:\n case JCACHE_SYNTHETHIC_LOADED:\n fResult = false;\n break;\n }\n\n return fResult;\n }", "public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "public boolean hasUpdatedAt() {\n return updatedAt_ != null;\n }", "@CheckForNull\n GlobalUpdateStatus getUpdateStatus();", "public boolean requiresWaitingForMappingUpdate() {\n return currentItemState == ItemProcessingState.WAIT_FOR_MAPPING_UPDATE;\n }", "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "public void handleTopologyUpdateEvent() {\n\t\t\n\t\tif(!Constants.MY_ADDR.equals(Constants.CLIENT_ADDR))\n\t\t{\n\t\t\tif(RoutingInterface.instance().isConnected(session.getDestination()))\n\t\t\t{\n\t\t\t\t// Disable EOR\n\t\t\t\tsessionManager.setLive();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// Enable EOR and put it into DT...\n\t\t\t\tsessionManager.setDT();\n\t\t\t}\n\t\t}\n\t}", "public void checkForUpdate();", "private static boolean checkIfToUpdateAfterCreateFailed(LocalRegion rgn, EntryEventImpl ev) {\n boolean doUpdate = true;\n if (ev.oldValueIsDestroyedToken()) {\n if (rgn.getVersionVector() != null && ev.getVersionTag() != null) {\n rgn.getVersionVector().recordVersion(\n (InternalDistributedMember) ev.getDistributedMember(), ev.getVersionTag());\n }\n doUpdate = false;\n }\n if (ev.isConcurrencyConflict()) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"basicUpdate failed with CME, not to retry:\" + ev);\n }\n doUpdate = false;\n }\n return doUpdate;\n }", "public boolean rowUpdated() throws SQLException\n {\n return m_rs.rowUpdated();\n }", "boolean hasGrid();", "@Override\r\n\tpublic boolean onUpdate(Session arg0) throws CallbackException {\n\t\treturn false;\r\n\t}", "private void checkGridCompletion() {\n if (this.model.getPuzzle().isFilled()) {\n if (this.model.getPuzzle().isSolved()) {\n puzzleCompleted();\n }\n }\n }", "public boolean canUpdate();", "public boolean forUpdateOfColumns() {\n \t\t// by default we report no support\n \t\treturn false;\n \t}", "public boolean isColumnNameModified() {\n return columnName_is_modified; \n }", "public boolean isAddedFromInvisibleEvent(int newIndex) {\r\n return isVisibilityChange;\r\n }", "public boolean isStale()\n {\n return (_iMdChecksum != TypeSystem.getRefreshChecksum() && !isProxy());\n }", "public boolean rotationNeedsUpdate() {\n int lastOrientation = getLastOrientation();\n int oldRotation = getRotation();\n return oldRotation != this.mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation);\n }", "public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }", "public boolean isTreeModified() {\n return FxContext.get().getTreeWasModified();\n }", "public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }", "public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}", "@Override\r\n\tpublic boolean canUpdate() {\r\n\t\treturn true;\r\n\t}", "public static boolean isContainerUpdated(final ResourceMapping mapping) {\n String containerId = ContainerInfo.getInstance().getContainerId();\n\n ResourceMapping.ContainerInstance container\n = mapping.getContainer(containerId);\n if (container == null) {\n LOGGER.warn(\"No flakes for this container.\");\n return false;\n } else {\n return true;\n }\n }" ]
[ "0.7084117", "0.618007", "0.61657065", "0.60358286", "0.60184354", "0.59254456", "0.59096414", "0.57576704", "0.5731229", "0.5729854", "0.57266235", "0.5696941", "0.5696941", "0.56840694", "0.56489456", "0.5617513", "0.56055117", "0.56033933", "0.5582566", "0.55578434", "0.55200344", "0.55099744", "0.5508377", "0.550641", "0.5494578", "0.5489747", "0.5484384", "0.5477255", "0.547113", "0.5461193", "0.5431869", "0.5413184", "0.5390256", "0.538433", "0.5371774", "0.5369025", "0.531143", "0.53077704", "0.5300768", "0.5300768", "0.5289755", "0.5285668", "0.5285652", "0.5285324", "0.5279257", "0.5276391", "0.5274276", "0.5263619", "0.5249851", "0.52422595", "0.523669", "0.5223728", "0.5208379", "0.5195816", "0.5184965", "0.51713055", "0.51650375", "0.51648134", "0.516444", "0.5151571", "0.51462376", "0.51326376", "0.5129092", "0.51283544", "0.511375", "0.51104385", "0.51037467", "0.5096427", "0.5075685", "0.5075482", "0.50713015", "0.5070918", "0.50581855", "0.5056725", "0.50290895", "0.5020608", "0.50204444", "0.50147736", "0.5013306", "0.50119746", "0.50072503", "0.5000122", "0.49957857", "0.49929485", "0.49865767", "0.49861798", "0.49822515", "0.49809924", "0.49765983", "0.4972334", "0.49598074", "0.49594882", "0.49575338", "0.49508473", "0.4944727", "0.49366656", "0.49260706", "0.49203834", "0.49192402", "0.49098825" ]
0.821607
0
Creates a GraticulesUpdated event. This event is triggered when the graticules are updated.
public static ApproxsimEvent getGraticulesUpdated(Object source) { return new ApproxsimEvent(source, GRATICULESUPDATED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean areGraticulesUpdated() {\n return GRATICULESUPDATED.equals(message);\n }", "@Override\n\t\t\tpublic void changedUpdate(DocumentEvent arg0) {\n\t\t\t}", "public void toolGroupUpdated(ToolGroupEvent evt) {\n }", "private void fireAreaUpdated(Rectangle original, Rectangle updated) {\n for (Iterator<AreaUpdatedListener> iterator = listeners.iterator(); iterator.hasNext();) {\n AreaUpdatedListener listener = iterator.next();\n listener.rectangleUpdated(original, updated);\n }\n }", "void onListenerChanged(ListenerUpdate update);", "public void managerOutputModified(ManagerEvent e);", "@Override\n\tpublic void changedUpdate(DocumentEvent de) {\n\n\t}", "protected void fireUpdateEvent(UpdateResult evt) {\n \t\tif (periodModel != null) {\n \t\t\ttry {\n \t\t\t\tperiodModel.update();\n \t\t\t} catch (RaplaException e) {\n \t\t\t\tgetLogger().error(\"Can't update Period Model\", e);\n \t\t\t}\n \t\t}\n \t\t{\n \t\t\tCollection<ModificationListener> modificationListeners = directListenerList;\n \t\t\tif (modificationListeners.size() > 0 ) {\n \t\t\t\tnew UpdateCommandModification(modificationListeners,evt).execute(); \n \t\t\t}\n \t\t}\n \t\t{\n \t\t\tCollection<ModificationListener> modificationListeners = getModificationListeners();\n \t\t\tif (modificationListeners.size() > 0 ) {\n \t\t\t\tnotifyQueue.schedule(new UpdateCommandModification(modificationListeners, evt),0);\n \t\t\t}\n \t\t\tCollection<AllocationChangeListener> allocationChangeListeners = getAllocationChangeListeners();\n \t\t\tif (allocationChangeListeners.size() > 0) {\n \t\t\t\tnotifyQueue.schedule(new UpdateCommandAllocation(allocationChangeListeners, evt),0);\n \t\t\t}\n \t\t}\n \t}", "public void changedUpdate(DocumentEvent event) {\n\t\t\t}", "void onDemandUpdated(Vehicule demand);", "public void addAreaUpdateListener(AreaUpdatedListener areaUpdatedListener) {\n listeners.add(areaUpdatedListener);\n }", "public void objectsUpdated(UpdateResult evt) {\n \t\tif (getLogger().isDebugEnabled())\n \t\t\tgetLogger().debug(\"Objects updated\");\n \n \tcacheValidString = null;\n \t\tcachedReservations = null;\n \tif (workingUser != null)\n \t\t{\n \t\t\tif ( evt.isModified( User.TYPE))\n \t\t\t{\n \t\t\t\ttry\n \t\t\t\t{\n \t\t\t\t\tIterator<User> it = operator.getObjects(User.class).iterator();\n \t\t\t\t\tUser newUser = null;\n \t\t\t\t\twhile (it.hasNext()) {\n \t\t\t\t\t\tUser user = it.next();\n \t\t\t\t\t\tif (user.equals(workingUser)) {\n \t\t\t\t\t\t newUser = user;\n \t\t\t\t\t\t break;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tif ( newUser == null)\n \t\t\t\t\t{\n \t\t\t\t\t\tEntityNotFoundException ex = new EntityNotFoundException(\"User (\" + workingUser + \") not found. Maybe it was removed.\");\n \t\t\t\t\t\tfireUpdateError(ex);\n \t\t\t\t\t\treturn;\n \t\t\t\t\t}\n \t\t\t\t\telse\n \t\t\t\t\t{\n \t\t\t\t\t\tworkingUser = newUser;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tcatch (RaplaException ex)\n \t\t\t\t{\n \t\t\t\t\tfireUpdateError(ex);\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\t\t\n \t\tfireUpdateEvent(evt);\n \t}", "public void gxlAttributeChanged(GXLAttributeModificationEvent e) {\n\t}", "@Override\n\tpublic void onModified(LttlComponent source)\n\t{\n\t\tif (!isEnabled() || !isAutoUpdating()) return;\n\t\tupdateMesh();\n\t}", "public interface On4gLteUpdateListener {\n void on4gLteUpdated();\n }", "@BusSignalHandler(iface = ConstantsTest.INTERFACE_NAME, signal = \"updateRule\")\n public void updateRule(String newRule) {\n Message msg = busHandler.obtainMessage(BusHandler.UPDATE_RULE);\n msg.obj = newRule;\n busHandler.sendMessage(msg);\n }", "public void managerModelModified(ManagerEvent e);", "@Override\n\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\n\t\t}", "public void changedUpdate(DocumentEvent evt, FoldHierarchyTransaction transaction) {\n }", "@Override\n\tpublic void onUpdate() {\n\t\tlistener.onUpdate();\n\t}", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "@Override\r\n\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t}", "@Override\r\n public void changedUpdate(DocumentEvent e)\r\n {\n }", "public void addUpdateListener(StoreUpdateListener listener);", "public void receiveBoothUpdatedEvent(BoothUpdatedEvent event) {\r\n\t\tthis.fireTableDataChanged();\r\n\t}", "void onClientsUpdated(String[] clients);", "public void changedUpdate(DocumentEvent e) {\n\n\t}", "public final void emitOnUpdated(SettingUpdate data) {\n nativeEmitEventWithJsonData(this.RVRCtxTag, \"SettingsManagerModule_onUpdated\", String.valueOf(data.convertToJSONObject()));\n }", "void onMeshUpdate(MeshOrganizer mesh);", "@Override\n public void changedUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "public void structureChanged(GraphEvent e);", "public void receivedUpdateFromServer();", "void updateGarage(Garage updatedGarage);", "public void addUpdateListener(Consumer<List<S>> listener) {\n updateListeners.add(listener);\n }", "public final void ruleSingleEventUpdate() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1088:2: ( ( ( rule__SingleEventUpdate__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1089:1: ( ( rule__SingleEventUpdate__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1089:1: ( ( rule__SingleEventUpdate__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1090:1: ( rule__SingleEventUpdate__Group__0 )\n {\n before(grammarAccess.getSingleEventUpdateAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1091:1: ( rule__SingleEventUpdate__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1091:2: rule__SingleEventUpdate__Group__0\n {\n pushFollow(FOLLOW_rule__SingleEventUpdate__Group__0_in_ruleSingleEventUpdate2031);\n rule__SingleEventUpdate__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getSingleEventUpdateAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "@Override\n\t\t\t\tpublic void changedUpdate(final DocumentEvent e) {\n\t\t\t\t}", "EventChannel.Update update();", "@Override\n\tpublic void changedUpdate(DocumentEvent e) {\n\t\tvalidateNameField();\n\t}", "protected void indicateModified() {\n invalidationListenerManager.callListeners(this);\n }", "public void changedUpdate(DocumentEvent e)\n {\n performFlags();\n }", "public void dataUpdateEvent();", "void onConfigChanged(ConfigUpdate update);", "public void willbeUpdated() {\n\t\t\n\t}", "public void awaleChanged(Awale awale, short eventType, short row,\r\n\t short column);", "void recreated(TwoWayEvent.Recreated<DM, UMD, DMD> evt);", "@Override\n\tpublic void onDataChanged(long timestamp, int msg) {\n\t\tif(msg==AgentMessage.ERROR.getCode()) \n\t\t\tToolBox.showRemoteErrorMessage(connBean, error);\n\t\t\n\t\tsynchronized (mutex) {\n setEnabled(false);\n if (solid != null && timestamp > lastestTimeStamp+1500*1000000) {\n int result = JOptionPane.showConfirmDialog(StartUI.getFrame(), \"The config of this lift has changed. Reload it?\", \"Update\",\n JOptionPane.YES_NO_OPTION);\n if (result == JOptionPane.OK_OPTION) {\n solid = null;\n event = new Parser_Event( connBean.getIp(), connBean.getPort() );\n setHot();\n }\n } else {\n setHot();\n }\n setEnabled(true);\n }\n\t}", "void registerUpdateListener(IUpdateListener listener);", "public void serviceUpdated(BNode n) {\n }", "@Override\n\tpublic void changedUpdate(DocumentEvent e)\n\t{\n\t\t\n\t}", "public final void ruleUpdateAddition() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1412:2: ( ( ( rule__UpdateAddition__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1413:1: ( ( rule__UpdateAddition__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1413:1: ( ( rule__UpdateAddition__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1414:1: ( rule__UpdateAddition__Group__0 )\n {\n before(grammarAccess.getUpdateAdditionAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1415:1: ( rule__UpdateAddition__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1415:2: rule__UpdateAddition__Group__0\n {\n pushFollow(FOLLOW_rule__UpdateAddition__Group__0_in_ruleUpdateAddition2651);\n rule__UpdateAddition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUpdateAdditionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public void stateChanged (ChangeEvent event)\n {\n ((GroupItem)gbox.getSelectedItem()).configChanged();\n }", "public final void ruleUpdates() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1016:2: ( ( ( rule__Updates__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1017:1: ( ( rule__Updates__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1018:1: ( rule__Updates__Group__0 )\n {\n before(grammarAccess.getUpdatesAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:1: ( rule__Updates__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:1019:2: rule__Updates__Group__0\n {\n pushFollow(FOLLOW_rule__Updates__Group__0_in_ruleUpdates1893);\n rule__Updates__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUpdatesAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "@Override\n\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\tchange();\n\t\t\t\t}", "public void onUpdate(T oldValue, T newValue);", "public void objectChanged(NamingEvent evt) throws RemoteException;", "@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer Pattern on Room Reservation Notification: \");\n\t\tSystem.out.println(\"Your room is \" + reserve.getState()+\"\\n\");\n\t}", "public void groupUpdated(IGroup group) throws RemoteException {\n\n\t\tlogger.create().block(\"groupUpdated\").info().level(1).msg(\n\t\t\t\t\"Adding updateGroup request to update queue for group: \" + group).send();\n\n\t\tupdateList.add(new GroupUpdatedNotification(group));\n\t}", "public void updateManager();", "void onUpdate(Message message);", "@Override\n public void eventsChanged() {\n }", "protected void onUpdate() {\r\n\r\n\t}", "Long handleEvent(Long renderedOpID, \n\t\t String propName,\n\t\t Object oldValue, \n\t\t Object newValue) throws RemoteException;", "void handleChanged(Collection<AGStoredFile> existingFiles, Collection<AGStoredFile> changedFiles);", "public void handleModified(ModifiedEvent source) {}", "void addClientMetadataModificationListener(MetadataModificationListener modListener, WonderlandClientID wlCid) {\n // if this type of listner hasn't been seen, create its list of connected clients\n if(!clientModificationListeners.containsKey(modListener)){\n clientModificationListeners.put(modListener, new ArrayList<WonderlandClientID>());\n }\n\n logger.log(Level.INFO, \"adding new mod listener for client id \" + wlCid);\n // add the clientID\n clientModificationListeners.get(modListener).add(wlCid);\n }", "private void notifyUpdateLoop(UpdateLoopEvento event) {\r\n\t\tIterator ite = this.iterator();\r\n\t\twhile (ite.hasNext()) {\r\n\t\t\tIListaLoopListener ilLoop = (IListaLoopListener) ite.next();\r\n\t\t\tilLoop.LoopUpdate(event);\r\n\t\t}\r\n\t}", "public void gxlAttrValueChanged(GXLAttrValueModificationEvent e) {\n\t}", "public void objectChanged(ObjectChangeEvent e) {\n\t\tString key = e.getAttributeName();\n\t\tStructure s = (Structure) attributes.get(key);\n\t\tif (s!=null) {\n\t\t\tStructure change = (Structure) changedAttributes.get(key);\n\t\t\tif(change==null) {\n\t\t\t\tchange = new Structure();\n\t\t\t\tchange.setAttributeValue(ATTRIBUTE_NAME_, s.getAttributeValue(ATTRIBUTE_NAME_, null));\n\t\t\t}\n\t\t\tchange.setAttributeValue(ATTRIBUTE_VALUE_, e.getChangedObject());\n\t\t\tchangedAttributes.put(key, change);\n\t\t\tTrace.send(Trace.ALL_LEVELS, traceKey, i18n, \"AttributeValueChanged\", key, e.getChangedObject(), changedAttributes);\n\t\t\t \n\t\t}\n\t}", "public void allActualValuesUpdated ();", "@DISPID(-2147412091)\n @PropGet\n java.lang.Object onbeforeupdate();", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer3 has received update!\");\r\n\t}", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer2 has received update!\");\r\n\t}", "public void onUpdateFound(final String newVersion);", "@Override\n public void onDataChanged(DataEventBuffer dataEventBuffer) {\n for (DataEvent event : dataEventBuffer) {\n if (event.getType() == DataEvent.TYPE_CHANGED) {\n // DataItem changed\n DataItem item = event.getDataItem();\n if (item.getUri().getPath().compareTo(\"/latlnglist\") == 0) {\n\n DataMap dataMap = DataMapItem.fromDataItem(item).getDataMap();\n\n Log.d(\"hudwear\", \"new data, sending message to handler\");\n\n Message m = new Message();\n Bundle b = new Bundle();\n b.putDouble(\"latitude\", dataMap.getDouble(\"latitude\"));\n b.putDouble(\"longitude\", dataMap.getDouble(\"longitude\"));\n m.setData(b);\n handler.sendMessage(m);\n }\n\n } else if (event.getType() == DataEvent.TYPE_DELETED) {\n // DataItem deleted\n }\n }\n }", "@Override\r\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer1 has received update!\");\r\n\t}", "@PreUpdate\n\tprotected void onUpdate() {\n\t\tupdated = new Date();\n\t\trcaCase.updated = updated;\n\t}", "public void update(MazeEventInfoField e) {\r\n }", "@Override\n public void doUpdate(NotificationMessage notification) {\n \n }", "@DISPID(-2147412090)\n @PropGet\n java.lang.Object onafterupdate();", "public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {\n if (view != null) {\n view.changedUpdate(e, a, f);\n }\n }", "@Override\n public void onCrimeUpdated(Crime crime) {\n }", "private void metricModified (ServiceReference srefMetric) {\n // Retrieve the service ID\n Long serviceId =\n (Long) srefMetric.getProperty(Constants.SERVICE_ID);\n logInfo(\n \"A metric service with ID \"\n + serviceId + \" was modified.\");\n }", "public void onUpdatePropertiesEveryEvent(NodeRef nodeRef, Map<QName, Serializable> before,\n Map<QName, Serializable> after)\n {\n // Only process this node if its name property has changed.\n String nameBefore = (String) before.get(ContentModel.PROP_NAME);\n String nameAfter = (String) after.get(ContentModel.PROP_NAME);\n if ((nameBefore != null && !nameBefore.equals(nameAfter)))\n {\n SiteInfo siteInfo = siteHelper.getRelevantShareSite(nodeRef);\n if (siteInfo != null)\n {\n NodeRef feedbackList = siteHelper.getFeedbackList(nameBefore, siteInfo.getShortName(), false);\n if (feedbackList != null)\n {\n siteHelper.renameFeedbackList(feedbackList, nameAfter);\n }\n }\n }\n }", "public interface OnUpdateListener {\n public void onUpdate(String[] infoStrings);\n }", "public void dependencyUpdateDef(Set updatingObjects);", "public void onUpdate()\r\n {\n \tString unitID = this.getUnitID();\r\n \t// hashmap for all assignments from tuple-old/new by seqNo\r\n \tHashMap<Integer, UITeamUsers.Assignments.Assignment> allAssignments = new HashMap<Integer, UITeamUsers.Assignments.Assignment>();\r\n \t// assigned setting for each assignment by seqNo\r\n \tHashMap<Integer, Boolean> assigned = new HashMap<Integer, Boolean>();\r\n \t// map of users plus list of user related assignments\r\n \tHashMap<String, ArrayList<Integer>> userAssignment = new HashMap<String, ArrayList<Integer>>();\r\n \t// collect data from tuple-old\r\n \tUITeamUsers origTeamUsers = (UITeamUsers)this.getOriginalObject();\r\n \tBusObjectIterator<UITeamUsers.Assignments.Assignment> origAssignments = origTeamUsers.getAssignmentsObject().getAssignmentObjects();\r\n \twhile (origAssignments.hasMoreElements())\r\n \t{\r\n \t\tUITeamUsers.Assignments.Assignment origAssignment = (UITeamUsers.Assignments.Assignment)origAssignments.nextElement();\r\n \t\tint seqNo = origAssignment.getSeqNo();\r\n \t\tString orgUserDN = origAssignment.getOrgUserDN();\r\n \t\tallAssignments.put(seqNo, origAssignment);\r\n \t\t// initially, put assigned to false - from the tuple-new, we will determine if it should be put to true\r\n \t\tassigned.put(seqNo, false);\r\n \t\t// add assignment to user list\r\n \t\tArrayList<Integer> userAssignments = null;\r\n \t\tif (userAssignment.containsKey(orgUserDN))\r\n \t\t{\r\n \t\t\tuserAssignments = userAssignment.get(orgUserDN);\r\n \t\t}\r\n \t\telse\r\n \t\t{\r\n \t\t\tuserAssignments = new ArrayList<Integer>();\r\n \t\t\tuserAssignment.put(orgUserDN, userAssignments);\r\n \t\t}\r\n \t\tuserAssignments.add(seqNo);\r\n \t}\r\n \t// collect data from tuple-new\r\n \tBusObjectIterator<UITeamUsers.Assignments.Assignment> newAssignments = this.getAssignmentsObject().getAssignmentObjects();\r\n \twhile (newAssignments.hasMoreElements())\r\n \t{ \t\r\n \t\tUITeamUsers.Assignments.Assignment newAssignment = (UITeamUsers.Assignments.Assignment)newAssignments.nextElement();\r\n \t\tint seqNo = newAssignment.getSeqNo();\r\n \t\tString orgUserDN = newAssignment.getOrgUserDN();\r\n \t\tif (!allAssignments.containsKey(seqNo))\r\n \t\t{\r\n \t\tallAssignments.put(seqNo, newAssignment);\r\n \t\t// add assignment to user list\r\n \t\tArrayList<Integer> userAssignments = null;\r\n \t\tif (userAssignment.containsKey(orgUserDN))\r\n \t\t{\r\n \t\t\tuserAssignments = userAssignment.get(orgUserDN);\r\n \t\t}\r\n \t\telse\r\n \t\t{\r\n \t\t\tuserAssignments = new ArrayList<Integer>();\r\n \t\t\tuserAssignment.put(orgUserDN, userAssignments);\r\n \t\t}\r\n \t\tuserAssignments.add(seqNo);\r\n \t\t}\r\n \t\t// determine assigned\r\n \t\tassigned.put(seqNo, newAssignment.getAssigned());\r\n \t}\r\n \t// as we have all the data now, and also by user, we can see by user if\r\n \t// any teams to be assigned or unassigned\r\n \tfor (String orgUserDN : userAssignment.keySet())\r\n \t{\r\n \t\tTeams assignTeams = new Teams();\r\n \t\tTeams unassignTeams = new Teams();\r\n \t\tArrayList<Integer> userAssignments = userAssignment.get(orgUserDN);\r\n \t\tfor (int seqNo : userAssignments)\r\n \t\t{\r\n\t \t\tUITeamUsers.Assignments.Assignment assignment = allAssignments.get(seqNo);\r\n\t \t\tString assignmentID = assignment.getAssignmentID();\r\n\t \t\tif (Util.isSet(assignmentID) && !assigned.get(seqNo))\r\n\t \t\t{\r\n\t \t\t\t// existing assignment but not assigned anymore, so for removal\r\n\t \t\t\tTeam team = new Team();\r\n\t \t\t\tteam.setUnitID(unitID);\r\n\t \t\t\tRole role = new Role();\r\n\t \t\t\trole.setDN(assignment.getRoleDN());\r\n\t \t\t\tteam.setRoleObject(role);\r\n\t \t\t\tunassignTeams.addTeamObject(team);\r\n\t \t\t}\r\n\t \t\telse if (!Util.isSet(assignmentID) && assigned.get(seqNo))\r\n\t \t\t{\r\n\t \t\t\t// not existing yet; newly assigned\r\n\t \t\t\tTeam team = new Team();\r\n\t \t\t\tteam.setUnitID(unitID);\r\n\t \t\t\tRole role = new Role();\r\n\t \t\t\trole.setDN(assignment.getRoleDN());\r\n\t \t\t\tteam.setRoleObject(role);\r\n\t \t\t\tassignTeams.addTeamObject(team);\r\n\t \t\t}\r\n \t\t}\r\n \t\t// delegate\r\n \t\tTeams.maintainTeams(orgUserDN, assignTeams, unassignTeams);\r\n \t}\r\n // read back \r\n \t\tUITeamUsers actualTeamUsers = UITeamUsers.getUITeamUsers(unitID);\r\n if (actualTeamUsers != null)\r\n {\r\n \tUITeamUsers.Assignments actualAssignments = actualTeamUsers.getAssignmentsObject();\r\n \tUITeamUsers.Assignments uiAssignments = new UITeamUsers.Assignments(new BusObjectConfig(actualAssignments, BusObjectConfig.TRANSIENT_OBJECT));\r\n \tthis.setAssignmentsObject(uiAssignments);\r\n } \r\n }", "public AdminEventBuilder refreshRealmEventsConfig() {\n return this.updateStore().addListeners();\n }", "@Subscribe\n public void update(final CreateUserStatementEvent event) {\n Collection<RuleConfiguration> globalRuleConfigs = load();\n Optional<AuthorityRuleConfiguration> authorityRuleConfig = globalRuleConfigs.stream().filter(each -> each instanceof AuthorityRuleConfiguration)\n .findAny().map(each -> (AuthorityRuleConfiguration) each);\n Preconditions.checkState(authorityRuleConfig.isPresent(), \"No available authority rules for governance.\");\n authorityRuleConfig.get().getUsers().addAll(event.getUsers());\n persist(globalRuleConfigs, true);\n }", "public void attributeDefinitionChanged(AttributeDefinition<?> item)\n {\n event(\"AttributeDefinitionChange\",\n item.getId(),\n -1,\n -1,\n false);\n }", "@Test\n public void testRecuccrenceRuleChange() throws Exception {\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\n int occurences = 10;\n String rrule = RRuleFactory.getFrequencyWithOccurenceLimit(RecurringFrequency.DAILY, occurences);\n deltaEvent.setRrule(rrule);\n\n /*\n * Update as organizer\n */\n long now = now().longValue();\n String fromStr = DateTimeUtil.getZuluDateTime(new Date(now - TimeUnit.DAYS.toMillis(1)).getTime()).getValue();\n String untilStr = DateTimeUtil.getZuluDateTime(new Date(now + TimeUnit.DAYS.toMillis(30)).getTime()).getValue();\n\n ChronosCalendarResultResponse calendarResultResponse = chronosApi.updateEvent(deltaEvent.getFolder(), deltaEvent.getId(), now(), getUpdateBody(deltaEvent), deltaEvent.getRecurrenceId(), null, null, null, null, null, null, fromStr, untilStr, Boolean.TRUE, null);\n assertNull(calendarResultResponse.getError());\n assertTrue(calendarResultResponse.getData().getUpdated().size() == 0);\n assertTrue(calendarResultResponse.getData().getCreated().size() == occurences);\n assertTrue(calendarResultResponse.getData().getDeleted().size() == 1);\n\n /*\n * Check that end date has been updated\n */\n AnalyzeResponse analyzeResponse = receiveUpdateAsAttendee(PartStat.NEEDS_ACTION, CustomConsumers.ALL);\n AnalysisChange change = assertSingleChange(analyzeResponse);\n assertThat(\"Recurrence ID is not correct.\", change.getNewEvent().getRrule(), is(rrule));\n }", "private void notifyListeners (String aMauiApplicationName, RendererEvent aRendererEvent)\n\t{\n\t\tVector theListeners = (Vector) rendererListeners.get (aMauiApplicationName);\n\t\t\n\t\tif (theListeners != null)\n\t\t{\n\t\t\tObject [] theListenerArray = theListeners.toArray ();\n\t\t\n\t\t\tfor (int i = 0; i < theListenerArray.length; i++)\n\t\t\t{\n\t\t\t\t((I_RendererListener) theListenerArray [i]).rendererCreated (aRendererEvent);\n\t\t\t}\n\t\t}\n\t}", "public void fireTableRowUpdated(AcceleratorNode nodeDev) {\n int index = this.lstDaqHware.indexOf(nodeDev);\n \n if (index > -1)\n this.fireTableRowsUpdated(index, index);\n }", "@Override\n\tpublic void entriesUpdated(Collection<String> arg0) {\n\n\t}", "@DISPID(-2147412090)\n @PropPut\n void onafterupdate(\n java.lang.Object rhs);", "public void update(InputEvent event);", "public void aChanged()\r\n throws OpbDataAccessException {\r\n final String methodName = \"aChanged()\";\r\n\r\n logger.entering(CLASS_NAME, methodName);\r\n\r\n final OpbPlsqlCallHelper opbCallHelper = new OpbPlsqlCallHelper(\r\n logger, CLASS_NAME, methodName,\r\n opbConnectionProvider,\r\n \"BEGIN fields.a_changed(); END;\");\r\n\r\n opbCallHelper.execute();\r\n\r\n opbCallHelper.callComplete();\r\n\r\n logger.exiting(CLASS_NAME, methodName);\r\n\r\n }", "private void fireNodeUpdatedEvent(Node node)\n {\n Iterator iterator = clients.keySet().iterator();\n while (iterator.hasNext())\n {\n String key = (String) iterator.next();\n\n ScriptSession asession = clients.get(key);\n Util utilAll = new Util(asession);\n logger.info(\"Setting value on :\" + node.getId() + \" to #\" + node.getNumberOfMessagesHandled().toString());\n utilAll.setValue(node.getId(), node.getNumberOfMessagesHandled().toString());\n Effect effect = new Effect(asession); //, duration: 15\n effect.highlight(node.getId(), \"{ duration: 2, queue: {position: 'end', scope: '\" + node.getId() + \"', limit:1}}\"); //\"{startcolor:'e6e6fa', queue: {position: 'end', scope: 'price', limit:1}}\");\n // highlight a row\n // effect.highlight(\"row_\" + node.getId(), \"{ duration: 1, queue: {position: 'end', scope: 'row_\" + node.getId() + \"', limit:1}}\"); //\"{startcolor:'e6e6fa', queue: {position: 'end', scope: 'price', limit:1}}\");\n }\n }", "@Override\n public void update(Observable o, Object arg) {\n if (arg instanceof CrewEffectChangeObserverEvent) {\n CrewEffectChangeObserverEvent event = (CrewEffectChangeObserverEvent)arg;\n CrewMember crewMember = (CrewMember)o;\n \n if (event.wasAdded()) {\n switch (event.getEffect()) {\n case PLAGUED:\n break;\n case DEAD:\n new EventPopupWindow(String.format(\"%s is now %s\", \n crewMember.getName(),\n event.getEffect().name()), \n \"This is unfortunate.\");\n break;\n default:\n new EventPopupWindow(String.format(\"%s is now %s\", \n crewMember.getName(), \n event.getEffect().name()));\n }\n \n }\n \n if (event.wasRemoved()) {\n new EventPopupWindow(String.format(\"%s is no longer %s\", \n crewMember.getName(), \n event.getEffect().name()));\n }\n }\n }", "public void handleUpdate(WasteBinSensorData updatedData)\n\t{\n\t\t// extract updated values and store them in the current instance\n\t\t// variables.\n\t\tthis.fillLevel = updatedData.getFillLevel();\n\t\tthis.temperatureAsMeasure = updatedData.getTemperature();\n\t\t\n\t\t// update the latest update time\n\t\tthis.latestUpdate = new Date();\n\t\tHashMap<String, Object> valuesMap = new HashMap<>();\n\t\tvaluesMap.put(\"getTemperature\", this.getTemperature());\n\t\tvaluesMap.put(\"getLevel\", this.getLevel());\n\t\tPWALNewDataAvailableEvent event = new PWALNewDataAvailableEvent(this.getUpdatedAt(), this.getPwalId(),\n\t\t\t\tthis.getExpiresAt(), valuesMap, this);\n\t\tlogger.info(\"Device {} is publishing a new data available event on topic: {}\", this.getPwalId(),\n\t\t\t\tthis.eventPublisher.getTopics());\n\t\tthis.eventPublisher.publish(event);\n\t\t\n\t}", "public LedgerRec updateLedger(LedgerRec ledger, String pg) {\n LOGGER.log(INFO, \"setup.updateLedger called with {0}\", ledger);\n ledger = this.configDM.updateLedger(ledger, pg);\n return ledger;\n }" ]
[ "0.5897726", "0.5244838", "0.5229873", "0.5046231", "0.5034542", "0.5020956", "0.49632114", "0.4958923", "0.4917594", "0.49109358", "0.4909286", "0.49074417", "0.48662764", "0.4862588", "0.48611814", "0.48466554", "0.48453552", "0.4827194", "0.48213458", "0.4783403", "0.4764321", "0.47516868", "0.47486356", "0.47185874", "0.47000316", "0.469921", "0.46990222", "0.46971428", "0.46963492", "0.46784493", "0.46754992", "0.46729708", "0.4667596", "0.46591392", "0.46578225", "0.46490648", "0.4639751", "0.4618041", "0.46153942", "0.4594654", "0.4591197", "0.45894673", "0.45816192", "0.4578992", "0.45488146", "0.45432594", "0.45408967", "0.45332438", "0.45269245", "0.45214507", "0.45097414", "0.44967818", "0.4479295", "0.44703653", "0.44669968", "0.4464845", "0.4462732", "0.4442637", "0.44374123", "0.4436157", "0.44201958", "0.44174802", "0.4414167", "0.44007093", "0.4399453", "0.4396183", "0.43948466", "0.43869385", "0.43694115", "0.43692982", "0.4349384", "0.4347564", "0.43436396", "0.4343431", "0.43413", "0.43380195", "0.43291667", "0.43233085", "0.432227", "0.43211824", "0.43196294", "0.4317194", "0.43169212", "0.43131024", "0.43119535", "0.43110526", "0.43104848", "0.4305174", "0.43039522", "0.4303448", "0.4301903", "0.43016216", "0.4292672", "0.42909485", "0.42860317", "0.4284238", "0.4282316", "0.42790744", "0.42770872", "0.42742756" ]
0.6466393
0
Checks if this is a GraticulesUpdated event.
public boolean areGraticulesUpdated() { return GRATICULESUPDATED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public final boolean isUpdated() {\n\t\treturn (m_flags & Updated) != 0 ? true : false;\n\t}", "public boolean hasUpdate(VehicleState change) {\n\n return !this.equals(change);\n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }", "boolean hasUpdate();", "boolean hasUpdate();", "public boolean wasDataUpdated() {\n\t\treturn true;\n\t}", "public boolean isGameUpdated() {\n if (gameUpdated) {\n gameUpdated = false;\n return true;\n }\n return false;\n }", "public boolean hasUpdated() {\n return fieldSetFlags()[5];\n }", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "public boolean hasChanged();", "public boolean hasChanged();", "public boolean isUpdated()\n\t{\n\t\treturn mUpdated;\n\t}", "boolean hasStatusChanged();", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "public boolean updated()\r\n\t{\r\n\t\treturn bChanged;\r\n\t}", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "public synchronized boolean hasChanged() {\n return changed;\n }", "public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }", "public boolean isUpdated() {\n return this.updated;\n }", "boolean hasChangeEvent();", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "boolean isOssModified();", "public boolean isChanged() {\r\n return isChanged;\r\n }", "boolean hasTsUpdate();", "boolean needUpdate();", "public boolean isChanged() {\n return this.changed;\n }", "protected boolean _isEventForSuccessfulUpdate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenUpdated()));\t\t\t\t\t\t\t\t// it's an update event\n\t}", "public boolean isGameChanged() {\n return gameChanged;\n }", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "@Override\n public void changedUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "boolean hasUpdateTriggerTime();", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "public boolean isValidationChanged() {\n return validationChanged;\n }", "@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }", "public boolean filtersChanged(){\n if(startDateChanged || endDateChanged || stationIdChanged || languageChanged){\n return true;\n }\n return false;\n }", "@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }", "private boolean needsToRecalcStats() {\n\n return this.equipsChanged;\n }", "public boolean hasChanges();", "public boolean hasChanged()\n {\n return map.hasChanged();\n }", "public void checkForUpdate();", "public boolean isChangeType()\n {\n return hasChanges;\n }", "boolean hasChangeStatus();", "@Override\r\n\tpublic boolean onUpdate(Session arg0) throws CallbackException {\n\t\treturn false;\r\n\t}", "public boolean isDataModified() {\r\n\t\tint stat = getPageDataStoresStatus();\r\n\r\n\t\tif (stat == DataStoreBuffer.STATUS_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW_MODIFIED)\r\n\t\t\treturn true;\r\n\t\telse if (stat == DataStoreBuffer.STATUS_NEW)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "public boolean canUpdate();", "public\tboolean\tisModified() {\n\t\tif (getAddedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedProperties().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getAddedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getRemovedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\tif (getChangedMethods().size() > 0)\n\t\t\treturn\ttrue;\n\t\t\n\t\treturn\tfalse;\n\t}", "public boolean isUpdate() {\r\n\t\treturn update;\r\n\t}", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "private void checkUpdateCheckTriggered(PackageVersions packageVersions) {\n // Assert the PackageTracker attempted to trigger an update.\n mFakeIntentHelper.assertUpdateTriggered();\n\n // If an update check was triggered reliability triggering should always be enabled to\n // ensure that it can be completed if it fails.\n mFakeIntentHelper.assertReliabilityTriggerScheduled();\n\n // Check the expected storage state.\n checkPackageStorageStatus(PackageStatus.CHECK_STARTED, packageVersions);\n }", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "public boolean isUpdateDateModified() {\n return updateDate_is_modified; \n }", "private boolean checkPropertyUpdateView() {\n \t\treturn Boolean.getBoolean(PROPERTY_RIENA_LNF_UPDATE_VIEW);\n \t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "public boolean isModified() {\n return roomstlogid_is_modified || \n\t\troomstid_is_modified || \n\t\troomid_is_modified || \n\t\tstatusdate_is_modified || \n\t\tst_is_modified || \n\t\tregbyid_is_modified || \n\t\tregdate_is_modified || \n\t\treservationroomid_is_modified || \n\t\troomtypeid_is_modified || \n\t\tblockroomid_is_modified || \n\t\tlogdate_is_modified;\n }", "public boolean isMiniMapChanged() {\n return minimapChanged;\n }", "public void willbeUpdated() {\n\t\t\n\t}", "public static boolean isDirty (ConfigManager cfgmgr)\n {\n for (ConfigGroup<?> group : cfgmgr.getGroups()) {\n if (isDirty(group)) {\n return true;\n }\n }\n return false;\n }", "Boolean getIsChanged();", "@Override\n\t\t\tpublic void changedUpdate(DocumentEvent arg0) {\n\t\t\t}", "public native Boolean hasChanges() /*-{\r\n var self = [email protected]::getOrCreateJsObj()();\r\n var retVal =self.hasChanges();\r\n if(retVal == null || retVal === undefined) {\r\n return null;\r\n } else {\r\n return @com.smartgwt.client.util.JSOHelper::toBoolean(Z)(retVal);\r\n }\r\n }-*/;", "private static boolean checkIfToUpdateAfterCreateFailed(LocalRegion rgn, EntryEventImpl ev) {\n boolean doUpdate = true;\n if (ev.oldValueIsDestroyedToken()) {\n if (rgn.getVersionVector() != null && ev.getVersionTag() != null) {\n rgn.getVersionVector().recordVersion(\n (InternalDistributedMember) ev.getDistributedMember(), ev.getVersionTag());\n }\n doUpdate = false;\n }\n if (ev.isConcurrencyConflict()) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"basicUpdate failed with CME, not to retry:\" + ev);\n }\n doUpdate = false;\n }\n return doUpdate;\n }", "public static ApproxsimEvent getGraticulesUpdated(Object source) {\n return new ApproxsimEvent(source, GRATICULESUPDATED);\n }", "public boolean rotationNeedsUpdate() {\n int lastOrientation = getLastOrientation();\n int oldRotation = getRotation();\n return oldRotation != this.mDisplayRotation.rotationForOrientation(lastOrientation, oldRotation);\n }", "@java.lang.Override\n public boolean hasModifiedAt() {\n return modifiedAt_ != null;\n }", "boolean isModified();", "boolean isModified();", "public boolean isTurnGraphicsChanged() {\n return turnGraphicsChanged;\n }", "public void checkIfFilesHaveChanged(NSNotification n) {\n int checkPeriod = checkFilesPeriod();\n \n if (!developmentMode && (checkPeriod == 0 || System.currentTimeMillis() - lastCheckMillis < 1000 * checkPeriod)) {\n return;\n }\n \n lastCheckMillis = System.currentTimeMillis();\n \n log.debug(\"Checking if files have changed\");\n for (Enumeration e = _lastModifiedByFilePath.keyEnumerator(); e.hasMoreElements();) {\n File file = new File((String)e.nextElement());\n if (file.exists() && hasFileChanged(file)) {\n fileHasChanged(file);\n }\n }\n }", "public boolean changed() {\r\n\t\treturn changed;\r\n\t}", "public void checkUpdateRecordSetComment() {\r\n\t\tif (Thread.currentThread().getId() == DataExplorer.application.getThreadId()) {\r\n\t\t\tif (this.graphicsTabItem != null && this.graphicsTabItem.getGraphicsComposite().isRecordCommentChanged()) this.graphicsTabItem.getGraphicsComposite().updateRecordSetComment();\r\n\t\t}\r\n\t\telse { // if the percentage is not up to date it will updated later\r\n\t\t\tGDE.display.asyncExec(new Runnable() {\r\n\t\t\t\tpublic void run() {\r\n\t\t\t\t\tif (DataExplorer.this.graphicsTabItem.getGraphicsComposite().isRecordCommentChanged()) DataExplorer.this.graphicsTabItem.getGraphicsComposite().updateRecordSetComment();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}", "protected void checkUpdate() {\n \t\t// only update from remote server every so often.\n \t\tif ( ( System.currentTimeMillis() - lastUpdated ) > refreshInterval ) return;\n \t\t\n \t\tClusterTask task = getSessionUpdateTask();\n \t\tObject o = CacheFactory.doSynchronousClusterTask( task, this.nodeId );\n \t\tthis.copy( (Session) o );\n \t\t\n \t\tlastUpdated = System.currentTimeMillis();\n \t}", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "public boolean getBitmapIsChanged() {\n\t\treturn mChanged;\n\t}", "public boolean isStale()\n {\n return (_iMdChecksum != TypeSystem.getRefreshChecksum() && !isProxy());\n }", "public boolean isRoomstlogidModified() {\n return roomstlogid_is_modified; \n }", "public boolean hasUpdateTriggerTime() {\n return instance.hasUpdateTriggerTime();\n }", "public boolean wasChangeDetected() {\n return bChangeDetected;\n }", "public boolean isCoordSystemChanged() {\n return COORDSYSTEMCHANGED.equals(message);\n }", "public boolean isMovementChanged() {\n return movementChanged;\n }", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "public boolean isBomItemsChanged() {\n\t\treturn bomItemsChanged;\n\t}", "public boolean isResponseChanged() {\n return responseChanged;\n }", "@Override\r\n\tpublic boolean canUpdate() {\r\n\t\treturn true;\r\n\t}", "boolean getIsUpdate();", "public boolean updated() {\n return (!getText().equals(\"0.0.0.0\"));\n }", "@Override\n public boolean canUpdate()\n {\n return cacheable.getParentNode() != null && cacheable.getPropertyBoolean(PROPERTY_DIRTY);\n }", "public void checkUpdates(int timePerStep){\r\n\t\tif(updateStatistics_ || statisticsCountdown_ == -1){\r\n\t\t\tstatisticsCountdown_ -= timePerStep;\r\n\t\t\tif(statisticsCountdown_ < 1){\r\n\t\t\t\tstatisticsCountdown_ += STATISTICS_ACTUALIZATION_INTERVAL;\r\n\t\t\t\tupdateStatistics();\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(updateBeaconInfo_){\r\n\t\t\tbeaconInfoCountdown_ -= timePerStep;\r\n\t\t\tif(beaconInfoCountdown_ < 1){\r\n\t\t\t\tbeaconInfoCountdown_ += BEACONINFO_ACTUALIZATION_INTERVAL;\r\n\t\t\t\tupdateBeaconInfo();\r\n\t\t\t}\r\n\t\t}\t\r\n\t}", "private boolean checkForUpdates(boolean force) {\n long lastCheckMillis = mPrefs.getLong(PREF_LAST_CHECK_ATTEMPT_TIME_NAME, PREF_LAST_CHECK_ATTEMPT_TIME_DEFAULT);\n Logger.i(\"Last check time %s\", mSdfLog.format(new Date(lastCheckMillis)));\n if (force || (Math.abs(System.currentTimeMillis() - lastCheckMillis) > CHECK_THRESHOLD_MS)) {\n if (mOnWantUpdateCheckListener != null) {\n if (mOnWantUpdateCheckListener.onWantUpdateCheck(!force/*checkOnly*/)) {\n mPrefs.edit().putLong(PREF_LAST_CHECK_ATTEMPT_TIME_NAME, System.currentTimeMillis()).commit();\n return true;\n }\n }\n }\n return false;\n }", "boolean hasShotChangeDetectionConfig();", "public boolean getFieldStatus() {\n\t\treturn fieldHasBeenUpdated;\n\t}", "public boolean getIsUpdate() {\n return isUpdate_;\n }", "public boolean isModified();", "public boolean isModified();" ]
[ "0.6604353", "0.6440355", "0.6110926", "0.5942325", "0.5914769", "0.58990484", "0.58955944", "0.58955944", "0.5886341", "0.58380824", "0.58378357", "0.58187", "0.5800198", "0.5800198", "0.5794085", "0.57409036", "0.57393897", "0.57197064", "0.5712115", "0.56710523", "0.5662586", "0.5654755", "0.5640476", "0.56301445", "0.56235033", "0.5610464", "0.5609144", "0.560171", "0.5599303", "0.5578337", "0.55697185", "0.5564387", "0.55473995", "0.5542813", "0.55399954", "0.5535115", "0.55110496", "0.5499743", "0.5481548", "0.5477896", "0.5466393", "0.5463589", "0.5445321", "0.54366404", "0.54254293", "0.5408667", "0.5403517", "0.53888106", "0.53885996", "0.5374503", "0.53428423", "0.5337562", "0.5337177", "0.5332845", "0.5330653", "0.5320108", "0.53173274", "0.53077805", "0.5294675", "0.5290654", "0.52856696", "0.5275932", "0.5273638", "0.5272776", "0.52613777", "0.5222156", "0.5219673", "0.5218855", "0.52091825", "0.52010584", "0.5191636", "0.5191636", "0.5185337", "0.51800585", "0.5177166", "0.5171669", "0.51676166", "0.51455384", "0.51360846", "0.5131012", "0.51294434", "0.5125067", "0.51233554", "0.5103856", "0.50992894", "0.50960207", "0.50960207", "0.50909203", "0.50826645", "0.508076", "0.5074979", "0.5074452", "0.50707966", "0.5066359", "0.5064492", "0.5061805", "0.505981", "0.50563586", "0.5051138", "0.5051138" ]
0.76571506
0
Creates a CoordSystemChanged event. This event is triggered when the coordinate representation visible to the user is changed.
public static ApproxsimEvent getCoordSystemChanged(Object source) { return new ApproxsimEvent(source, COORDSYSTEMCHANGED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isCoordSystemChanged() {\n return COORDSYSTEMCHANGED.equals(message);\n }", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "void onNewCoords(Coords coords);", "public void changed(LocationEvent arg0) {\n \t\t\t\t\t\t\n \t\t\t\t\t}", "public abstract void positionChanged(PositionChangedEvent event);", "void addCoordinateSystem(CoordinateSystem cs);", "@Override\n public void layoutStateChanged(LayoutStateChange.Event evt) {\n setActive(!evt.active);\n // if the layout model is finished, then rebuild the spatial data structure\n if (!evt.active) {\n recalculate();\n getLayoutModel().getModelChangeSupport().fireModelChanged(); // this will cause a repaint\n }\n }", "public void propertyChange(java.beans.PropertyChangeEvent evt) {\r\n\t//\r\n\t// must listen to the following events:\r\n\t// this.simulationContext\r\n\t//\t\tsimulationContext.GeometryContext.geometry\r\n\t// simulationContext.GeometryContext.structureMappings\r\n\t// StructureMapping.resolved\r\n\t//\r\n\t// this.speciesContextSpec\r\n\t// SpeciesContextSpec.parameters\r\n\t// Parameter.*\r\n\t//\r\n\ttry {\t\t\r\n\t\t//\r\n\t\t// if geometry changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (fieldSpeciesContextSpec != null && evt.getSource() == fieldSpeciesContextSpec.getSimulationContext().getGeometryContext() \r\n\t\t\t\t&& evt.getPropertyName().equals(\"geometry\")){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t//\r\n\t\t// if structureMappings array changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (fieldSpeciesContextSpec != null && evt.getSource() == fieldSpeciesContextSpec.getSimulationContext().getGeometryContext() \r\n\t\t\t\t&& evt.getPropertyName().equals(\"structureMappings\")){\r\n\t\t\tStructureMapping[] oldStructureMappings = (StructureMapping[])evt.getOldValue();\r\n\t\t\tfor (int i = 0; oldStructureMappings!=null && i < oldStructureMappings.length; i++){\r\n\t\t\t\toldStructureMappings[i].removePropertyChangeListener(this);\r\n\t\t\t}\r\n\t\t\tStructureMapping[] newStructureMappings = (StructureMapping[])evt.getNewValue();\r\n\t\t\tfor (int i = 0; newStructureMappings!=null && i < newStructureMappings.length; i++){\r\n\t\t\t\tnewStructureMappings[i].addPropertyChangeListener(this);\r\n\t\t\t}\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t//\r\n\t\t// if structureMapping changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (evt.getSource() instanceof StructureMapping){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t\r\n\t\tif (evt.getSource() == this && evt.getPropertyName().equals(\"speciesContextSpec\")) {\r\n\t\t\tSpeciesContextSpec oldValue = (SpeciesContextSpec)evt.getOldValue();\r\n\t\t\tif (oldValue!=null){\r\n\t\t\t\toldValue.removePropertyChangeListener(this);\r\n\t\t\t\tParameter oldParameters[] = oldValue.getParameters();\r\n\t\t\t\tif (oldParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0; i<oldParameters.length; i++){\r\n\t\t\t\t\t\toldParameters[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSimulationContext oldSimContext = oldValue.getSimulationContext();\r\n\t\t\t\tif (oldSimContext!=null){\r\n\t\t\t\t\toldSimContext.getGeometryContext().removePropertyChangeListener(this);\r\n\t\t\t\t\tStructureMapping[] oldStructureMappings = oldSimContext.getGeometryContext().getStructureMappings();\r\n\t\t\t\t\tif (oldStructureMappings!=null) {\r\n\t\t\t\t\t\tfor (int i = 0; i < oldStructureMappings.length; i++){\r\n\t\t\t\t\t\t\toldStructureMappings[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tSpeciesContextSpec newValue = (SpeciesContextSpec)evt.getNewValue();\r\n\t\t\tif (newValue!=null){\r\n\t\t\t\tnewValue.addPropertyChangeListener(this);\r\n\t\t\t\tParameter newParameters[] = newValue.getParameters();\r\n\t\t\t\tif (newParameters != null) {\r\n\t\t\t\t\tfor (int i = 0; i < newParameters.length; i ++){\r\n\t\t\t\t\t\tnewParameters[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSimulationContext newSimContext = newValue.getSimulationContext();\r\n\t\t\t\tif (newSimContext!=null){\r\n\t\t\t\t\tnewSimContext.getGeometryContext().addPropertyChangeListener(this);\r\n\t\t\t\t\tStructureMapping[] newStructureMappings = newSimContext.getGeometryContext().getStructureMappings();\r\n\t\t\t\t\tif (newStructureMappings != null) {\r\n\t\t\t\t\t\tfor (int i = 0; i < newStructureMappings.length; i++){\r\n\t\t\t\t\t\t\tnewStructureMappings[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\tif (evt.getSource() instanceof SpeciesContextSpec){\r\n\t\t\t// if parameters changed must update listeners\r\n\t\t\tif (evt.getPropertyName().equals(\"parameters\")) {\r\n\t\t\t\tParameter oldParameters[] = (Parameter[])evt.getOldValue();\r\n\t\t\t\tif (oldParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0;i<oldParameters.length; i++){\r\n\t\t\t\t\t\toldParameters[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tParameter newParameters[] = (Parameter[])evt.getNewValue();\r\n\t\t\t\tif (newParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0;i<newParameters.length; i++){\r\n\t\t\t\t\t\tnewParameters[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (!evt.getPropertyName().equals(SpeciesContextSpec.PARAMETER_NAME_PROXY_PARAMETERS)) {\r\n\t\t\t\t// for any change to the SpeciesContextSpec, want to update all.\r\n\t\t\t\t// proxy parameters don't affect table\r\n\t\t\t\trefreshData();\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(evt.getSource() instanceof Parameter){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t} catch (Exception e){\r\n\t\te.printStackTrace(System.out);\r\n\t}\r\n}", "public void onWorldChanged(World world);", "private void cursorPosChanged( double x, double y )\n {\n }", "public void stateChanged( ChangeEvent event )\n {\n // Update view with extended system games selected in the Single row system.\n int minRights = maltipsDocument.getMaltipsSystem().getSingleSystem().getMinInSingleRow();\n minComboBox.setSelectedIndex( minRights );\n \n int maxRights = maltipsDocument.getMaltipsSystem().getSingleSystem().getMaxInSingleRow();\n maxComboBox.setSelectedIndex( maxRights );\n }", "public void stateChanged(ChangeEvent e) {\n\t\t\t\tplane.setX(jsCentreStick.getValue());\n\t\t\t}", "public synchronized void visitorPositionChanged (CityMap sender) {\n cityMap.getVisitorXY (tmpXY);\n visitorX = tmpXY[CityMap.X];\n visitorY = tmpXY[CityMap.Y];\n repaint ();\n }", "private void handleLatLonWidgetChange() {\n try {\n double lat = latLonWidget.getLat();\n double lon = latLonWidget.getLon();\n double[] xyz = earthToBox(makeEarthLocation(lat, lon, 0));\n setProbePosition(xyz[0], xyz[1]);\n\n } catch (Exception exc) {\n logException(\"Error setting lat/lon\", exc);\n }\n\n }", "public void structureChanged(GraphEvent e);", "public void handleTopologyUpdateEvent() {\n\t\t\n\t\tif(!Constants.MY_ADDR.equals(Constants.CLIENT_ADDR))\n\t\t{\n\t\t\tif(RoutingInterface.instance().isConnected(session.getDestination()))\n\t\t\t{\n\t\t\t\t// Disable EOR\n\t\t\t\tsessionManager.setLive();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// Enable EOR and put it into DT...\n\t\t\t\tsessionManager.setDT();\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void onSensorChanged(SensorEvent event) {\n\t\t\n\t\taccleration.setText(\"X: \" + event.values[0]+\n\t\t\t\t\t\t\t\"\\n Y: \"+ event.values[1]+\n\t\t\t\t\t\t\t\"\\n Z:\" + event.values[2]);\n\t\t\n\t\t\n\t\t\n\t}", "public void mouseMoved(MouseEvent e) {\n \tapp.updateCoord(e.getX(),e.getY());\n }", "private void updateGUIcoordinates(int latitude, int longitude) {\n\t\tGson gson = new Gson();\r\n\t\t// gera as coordenadas\r\n\t\tCoordinates coords = new Coordinates(latitude, longitude);\r\n\t\tMessage message = new Message(MessageType.UPDATEVEHICLE);\r\n\t\tParty p;\r\n\t\tDouble gas = (Double) getBeliefbase().getBelief(\"gas\").getFact();\r\n\t\tVehicle v = new Vehicle(getScope().getAgentName(),(ComponentIdentifier)(getScope().getComponentIdentifier()),gas,coords);\r\n\t\tif((p=(Party)getBeliefbase().getBelief(\"customerAccepted\").getFact())!=null) {\r\n\t\t\tv.setNparties(p.getSize());\r\n\t\t}\r\n\t\t\r\n\t\tString newcontent = gson.toJson(v,Vehicle.class);\r\n\r\n\t\tmessage.setContent(newcontent);\r\n \r\n\t\tCommunicator.sendMessage(\"192.168.1.84\", 8002, message);\r\n\r\n\t}", "@Override\n public void stateChanged()\n {\n if (this.systemUpdated)\n {\n inputModelReady = true;\n }\n }", "public CoordinateSystem( final String name ) {\n super( name );\n }", "@Override\n\tpublic void onDataChanged(long timestamp, int msg) {\n\t\tif(msg==AgentMessage.ERROR.getCode()) \n\t\t\tToolBox.showRemoteErrorMessage(connBean, error);\n\t\t\n\t\tsynchronized (mutex) {\n setEnabled(false);\n if (solid != null && timestamp > lastestTimeStamp+1500*1000000) {\n int result = JOptionPane.showConfirmDialog(StartUI.getFrame(), \"The config of this lift has changed. Reload it?\", \"Update\",\n JOptionPane.YES_NO_OPTION);\n if (result == JOptionPane.OK_OPTION) {\n solid = null;\n event = new Parser_Event( connBean.getIp(), connBean.getPort() );\n setHot();\n }\n } else {\n setHot();\n }\n setEnabled(true);\n }\n\t}", "void axisStateChanged() {\n\t\teventHub.notifyEvent(EventHub.EventType.AXIS);\n\t}", "private void setWorldCoordinatesFromFields() {\n if (trackerPanel == null) return;\n OffsetOriginStep step = (OffsetOriginStep) getStep(trackerPanel.getFrameNumber());\n boolean different = step.worldX != xField.getValue() || step.worldY != yField.getValue();\n if (different) {\n XMLControl trackControl = new XMLControlElement(this);\n XMLControl coordsControl = new XMLControlElement(trackerPanel.getCoords());\n step.setWorldXY(xField.getValue(), yField.getValue());\n step.getPosition().showCoordinates(trackerPanel);\n Undo.postTrackAndCoordsEdit(this, trackControl, coordsControl);\n }\n }", "public void onPositionChanged() {\n\n latPeriodic = location.getLatitude();\n lonperiodic = location.getLongitude();\n\n }", "public void stateChanged( ChangeEvent event )\n {\n \n }", "public void setCoord(Coords coord) {\r\n\t\tthis.coord = coord;\r\n\t}", "@Override\n public void onSensorChanged(SensorEvent event) {\n timestamp = event.timestamp;\n gyroX = event.values[0];\n gyroY = event.values[1];\n gyroZ = event.values[2];\n\n this.setChanged();\n this.notifyObservers(Sensor.TYPE_GYROSCOPE);\n }", "void configurationChanged(WMSLayerConfigChangeEvent event);", "public CoordinateSystem() {\r\n\t\torigin = new GuiPoint(0, 0);\r\n\t\tzoomFactor = 1f;\r\n\t}", "void setMapChanged();", "@Override\n public void eventsChanged() {\n }", "public EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getPlotChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.PLOT_CHANGED);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent event) {\n\t\tString property = event.getPropertyName();\n\t\tif (property.equals(Global.DRAG_EVENT) && isVisible()) { //don't have to move invisible markers\n\t\t\thandleDrag(event.getOldValue(), event.getNewValue());\n\t\t} else if (property.startsWith(Global.ZOOM)){\n\t\t\thandleZoom();\n\t\t}\n\t}", "void eventChanged();", "public void addCoordinateSystem(CoordinateSystem cs) {\n if (cs == null)\n throw new RuntimeException(\"Attempted to add null CoordinateSystem to var \" + forVar.getFullName());\n\n if (coordSys == null)\n coordSys = new ArrayList<>(5);\n coordSys.add(cs);\n }", "@Subscribe\n private void handleCalendarPanelSelectionChangedEvent(CalendarPanelSelectionChangedEvent event) {\n logger.info(LogsCenter.getEventHandlingLogMessage(event));\n setDisplayedDateTime(event.newSelection.getStartLocalDateTime());\n }", "public void setPosition(Coordinate coord) {\n this.coordinate = coord;\n }", "public void propertyChange(PropertyChangeEvent ev) {\n\t\tif (ev.getPropertyName().equals(HPort.PROPERTY_BOUNDS)) this.refreshVisuals();\r\n\t//\tif (ev.getPropertyName().equals(IHProvidesPort.PROPERTY_COLOR)) this.refreshVisuals();\r\n\r\n\t\t\t\r\n\t}", "private void handleProjectionChanged(ProjectionChangedEvent evt)\n {\n mySpecializedProcessorsLock.readLock().lock();\n try\n {\n myProjectionSyncManager.setProjectionSnapshot(evt.getProjectionSnapshot());\n for (final GeometryProcessor<? extends Geometry> proc : myProjectionSensitiveProcessors.values())\n {\n proc.handleProjectionChanged(evt);\n }\n }\n finally\n {\n mySpecializedProcessorsLock.readLock().unlock();\n }\n }", "@Override\n\tpublic void stateChanged(ChangeEvent e) {\n\t\t// TODO Auto-generated method stub\n\t\tepochSelected = ((Number)epochSelector.getValue()).intValue();\n\t\tupdateParticles();\n\t\tthis.repaint();\n\t}", "protected final void viewChanged()\n {\n synchronized (this)\n {\n resetProjectionMatrixClipped();\n resetModelViewMatrix();\n resetClipPlanes();\n notifyViewChanged(ViewChangeSupport.ViewChangeType.VIEW_CHANGE);\n if (getPreferences() != null)\n {\n getPreferences().putJAXBObject(POSITION_PREF_KEY, getPosition().clone(), true, this);\n }\n }\n }", "@Override\n\tpublic void roadChanged() {\n\t\tthis.from_x=this.from.getX();\n\t\tthis.from_y=this.from.getY();\n\t\tthis.to_x=this.to.getX();\n\t\tthis.to_y=this.to.getY();\n\t\tthis.getTopLevelAncestor().repaint();\n\t\tthis.repaint();\n//\t\tthis.getParent().repaint();\n\t}", "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tif (!enabled) {\n\t\t\treturn;\n\t\t}\n\t\tx2 = e.getX();\n\t\ty2 = e.getY();\n\t\tedg.newCords(x2, y2);\n\t\tedg.repaint();\n\t\tedg.revalidate();\n\n\t}", "@Override\n\t\t\tpublic void changedUpdate(DocumentEvent arg0) {\n\t\t\t}", "@Override\n\tpublic void onLocationChanged(Location location) {\n\t\tphysAddr = this.initLocationManager();\n\t}", "public void managerOutputModified(ManagerEvent e);", "@Override\n public void onSensorChanged(SensorEvent event) {\n if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER)\n return;\n /*\n * record the accelerometer data, the event's timestamp as well as\n * the current time. The latter is needed so we can calculate the\n * \"present\" time during rendering. In this application, we need to\n * take into account how the screen is rotated with respect to the\n * sensors (which always return data in a coordinate space aligned\n * to with the screen in its native orientation).\n */\n\n switch (mDisplay.getRotation()) {\n case Surface.ROTATION_0:\n mSensorX = event.values[0];\n mSensorY = event.values[1];\n break;\n case Surface.ROTATION_90:\n mSensorX = -event.values[1];\n mSensorY = event.values[0];\n break;\n case Surface.ROTATION_180:\n mSensorX = -event.values[0];\n mSensorY = -event.values[1];\n break;\n case Surface.ROTATION_270:\n mSensorX = event.values[1];\n mSensorY = -event.values[0];\n break;\n }\n\n mGLView.updateScene(10*mSensorX,10*mSensorY,10*event.values[2]);\n\n }", "public void firePlotChanged(final Object source, final String plotId, final OIFitsCollectionManagerEventListener destination) {\n if (enableEvents) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"firePlotChanged [{}] TO {}\", plotId, (destination != null) ? destination : \"ALL\");\n }\n getPlotChangedEventNotifier().queueEvent((source != null) ? source : this,\n new OIFitsCollectionManagerEvent(OIFitsCollectionManagerEventType.PLOT_CHANGED, plotId), destination);\n }\n }", "@Override\n public void stateChanged(javax.swing.event.ChangeEvent e) {\n }", "public ImmutableList<CoordinateSystem> getCoordinateSystems() {\n return (coordSys == null) ? ImmutableList.of() : ImmutableList.copyOf(coordSys);\n }", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "protected void timeChanged(Real time) {\n try {\n getChart().timeChanged(time);\n } catch (Exception exc) {\n logException(\"changePosition\", exc);\n }\n super.timeChanged(time);\n }", "@Override\n public void setCoord(PuertoPosition pp, Point2D newCoord) {\n layout.setLocation(pp, newCoord);\n }", "@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Observer Pattern on Room Reservation Notification: \");\n\t\tSystem.out.println(\"Your room is \" + reserve.getState()+\"\\n\");\n\t}", "public void changed (ChangeEvent event, Actor actor) {\n\t \t\t\t\tfloat percent = (float)theCasing.maintenance/(float)ST.getJarMaintenance( theCasing.strain.temp_required, Assets.player.inc_temp );\n\t \t\t\t\tif ( theCasing.location==ST.FC )\n\t \t\t\t\t\t percent = (float)theCasing.maintenance/(float)ST.getJarMaintenance( theCasing.strain.temp_required, Assets.player.fc_temp );\n\t \t\t\t\tAssets.player.increaseXP( (int)(ST.MAINTENANCE_XP*ST.logisticSpread( percent ) ) );\n\t \t\t\t\t\n\t \t\t\t\tST.focus( pane, maintenanceBar );\n\t \t\t\t\t\n\t \t\t\t\t// reduce the jar's maintenance to 0\n\t \t\t\t\ttheCasing.maintenance = 0;\n\t \t\t\t}", "@SimpleEvent (description = \"Called after the camera position of a map has changed.\")\n public void CameraPositionChanged(final double lat, final double lng, final float bearing,\n final float tilt, final float zoom) {\n context.runOnUiThread(new Runnable(){\n public void run() {\n Log.i(TAG, \"Camera's position has changed:\" + lat + \", \" + lng + \", \" + bearing + \",\" + tilt + \", \" + zoom);\n EventDispatcher.dispatchEvent(GoogleMap.this, \"CameraPositionChanged\", lat, lng, bearing, tilt, zoom);\n }\n });\n }", "public void mouseMoved( MouseEvent event )\n\t {\n\t \t /*\n\t \t * Change one unit into pixels sx = width/(b-a)\n\t \t * X = (x-a)*sx\n\t \t * \n\t \t * sy = height/(ymax - ymin)\n\t \t * Y1 = height - (y-ymin)*sy\n\t \t * Y2 = (ymax-y)*sy\n\t \t * Y1=Y2(same expression)\n\t \t */\n\t \t double b = InputView.getEnd();\n\t \t\t double a = InputView.getStart();\n\t \t DecimalFormat df = new DecimalFormat(\"#.##\");\n\t \t double sx = 594/(b-a);\n\t \t double sy = 572/(PlotPoints.getMax()-PlotPoints.getMin());\n\t \t coords.setText( \"(\"+ df.format((event.getX()/sx)+a-.02) + \", \" + df.format((.17 + PlotPoints.getMax()) - (event.getY()/sy)) + \")\" );\n\t }", "public void setXCoordinates(double newX) { this.xCoordinates = newX; }", "public void stateChanged(ChangeEvent e) {\n isChanged = true;\n refreshComponents();\n }", "public EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getPlotViewportChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.PLOT_VIEWPORT_CHANGED);\n }", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "@SubscribeEvent(priority = EventPriority.NORMAL)\n\tpublic void getWorldEvent(WorldEvent event)\n\t{\n\t\tdimension = event.getWorld().provider.getDimension();\n\t\t//System.out.println(\"Is this working ?\");\n\t}", "public EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getActivePlotChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.ACTIVE_PLOT_CHANGED);\n }", "public void firePlotViewportChanged(final Object source, final OIFitsCollectionManagerEventListener destination) {\n if (enableEvents) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"firePlotViewportChanged TO {}\", (destination != null) ? destination : \"ALL\");\n }\n getPlotViewportChangedEventNotifier().queueEvent((source != null) ? source : this,\n new OIFitsCollectionManagerEvent(OIFitsCollectionManagerEventType.PLOT_VIEWPORT_CHANGED, null), destination);\n }\n }", "public Onview() {\r\n initComponents();\r\n loadDisplayScreen();\r\n jcbX_Axis.setModel(new DefaultComboBoxModel(new String[]{}));\r\n jcbX_Axis.setEnabled(false);\r\n jcbY_Axis.setModel(new DefaultComboBoxModel(new String[]{}));\r\n jcbY_Axis.setEnabled(false);\r\n setResizable(false);\r\n }", "public void dataUpdateEvent();", "public void fireActivePlotChanged(final Object source, final String plotId, final OIFitsCollectionManagerEventListener destination) {\n if (enableEvents) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"fireActivePlotChanged [{}] TO {}\", plotId, (destination != null) ? destination : \"ALL\");\n }\n getActivePlotChangedEventNotifier().queueEvent((source != null) ? source : this,\n new OIFitsCollectionManagerEvent(OIFitsCollectionManagerEventType.ACTIVE_PLOT_CHANGED, plotId), destination);\n }\n }", "@Override\n public void onApplicationEvent(ApplicationEvent event) {\n if (event instanceof ContextLoadedEvent) {\n //JD: look up GeoServer and register now rather than use constructor injection\n // to avoid circular dependency during service loading startup\n geoServer = GeoServerExtensions.bean(GeoServer.class, \n ((ContextLoadedEvent) event).getApplicationContext());\n listener = new ConfigurationListenerAdapter() {\n @Override\n public void handleServiceChange(ServiceInfo service, List<String> propertyNames, \n List<Object> oldValues, List<Object> newValues) {\n if (service instanceof WPSInfo) {\n resetProcessMappings();\n }\n }\n };\n geoServer.addListener(listener);\n }\n if (event instanceof ContextRefreshedEvent) {\n Processors.addProcessFactory(this);\n } else if (event instanceof ContextClosedEvent) {\n Processors.removeProcessFactory(this);\n }\n }", "@Override\n public void onProcess(final OIFitsCollectionManagerEvent event) {\n logger.debug(\"onProcess {}\", event);\n\n switch (event.getType()) {\n case PLOT_DEFINITION_CHANGED:\n // define id of associated plotDefinition\n _setPlotDefId(event.getPlotDefinition().getId());\n\n refreshForm(event.getPlotDefinition(), null);\n break;\n case PLOT_CHANGED:\n final PlotDefinition plotDef = event.getPlot().getPlotDefinition();\n\n // define id of associated plotDefinition\n _setPlotDefId(plotDef.getId());\n\n refreshForm(plotDef, event.getPlot().getSubsetDefinition().getOIFitsSubset());\n break;\n case PLOT_VIEWPORT_CHANGED:\n final PlotInfosData plotInfosData = event.getPlotInfosData();\n if (this.plotId != null && plotInfosData != null && this.plotId.equals(plotInfosData.getPlotId())) {\n refreshForm(plotInfosData);\n }\n default:\n logger.debug(\"onProcess {} - done\", event);\n }\n }", "@SuppressWarnings(\"unchecked\")\n \tvoid addSystem(EntitySystem system) {\n \t\tif (systems.contains(system))\n \t\t\tthrow new RuntimeException(\"System already added\");\n \t\tsystem.id = getNewSystemId();\n \t\tsystem.componentBits = world.getComponentBits(system.components);\n \n \t\tClass<? extends EntitySystem> class1 = system.getClass();\n \t\tdo {\n \t\t\tfor (Field field : class1.getDeclaredFields()) {\n \t\t\t\t// Check for ComponentManager declarations.\n \t\t\t\tif (field.getType() == ComponentMapper.class) {\n \t\t\t\t\tfield.setAccessible(true);\n \t\t\t\t\t// Read the type in the <> of componentmanager\n \t\t\t\t\tType type = ((ParameterizedType) field.getGenericType()).getActualTypeArguments()[0];\n \t\t\t\t\ttry {\n \t\t\t\t\t\t// Set the component manager declaration with the right\n \t\t\t\t\t\t// component manager.\n \t\t\t\t\t\tfield.set(system, world.getComponentMapper((Class<? extends Component>) type));\n \t\t\t\t\t} catch (IllegalArgumentException e) {\n \t\t\t\t\t\te.printStackTrace();\n \t\t\t\t\t} catch (IllegalAccessException e) {\n \t\t\t\t\t\te.printStackTrace();\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t// check for EventListener declarations.\n \t\t\t\tif (field.getType() == EventListener.class) {\n \t\t\t\t\tfield.setAccessible(true);\n \t\t\t\t\t// Read the type in the <> of eventListener.\n \t\t\t\t\tType type = ((ParameterizedType) field.getGenericType()).getActualTypeArguments()[0];\n \t\t\t\t\t@SuppressWarnings(\"rawtypes\")\n \t\t\t\t\tEventListener<? extends Event> eventListener = new EventListener();\n \t\t\t\t\tworld.registerEventListener(eventListener, (Class<? extends Event>) type);\n \n \t\t\t\t\ttry {\n \t\t\t\t\t\t// Set the event listener declaration with the right\n \t\t\t\t\t\t// field listener.\n \t\t\t\t\t\tfield.set(system, eventListener);\n \t\t\t\t\t} catch (IllegalArgumentException e) {\n \t\t\t\t\t\te.printStackTrace();\n \t\t\t\t\t} catch (IllegalAccessException e) {\n \t\t\t\t\t\te.printStackTrace();\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t\tclass1 = (Class<? extends EntitySystem>) class1.getSuperclass();\n \t\t} while (class1 != EntitySystem.class);\n \t\tsystems.add(system);\n \t\tsystemMap.put(system.id, system);\n\t\tsystem.world = world;\n \t}", "public void updateXLoc();", "@Override\r\n public void stateChanged(ChangeEvent e) {\n }", "@Override\n \tpublic void roiChanged(ROIEvent evt) {\n \t\t\n \t}", "@Override\n\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\n\t}", "private void totalCPUCores_EntityChanged(Object sender, EventArgs args) {\n removeCPUListeners();\n\n behavior.totalCpuCoresChanged();\n\n // start listening again\n addCPUListeners();\n }", "public final void changedUpdate(DocumentEvent e) {\n Rectangle alloc = (painted) ? getVisibleEditorRect() : null;\n rootView.changedUpdate(e, alloc, rootView.getViewFactory());\n }", "public void stateChanged (ChangeEvent e)\n {\n }", "public void stateChanged (ChangeEvent event)\n {\n ((GroupItem)gbox.getSelectedItem()).configChanged();\n }", "public void stateChanged(SensorPort arg0, int arg1, int arg2) {\n\t\t\n\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "public void parameterChange(ParameterChangeEvent e) {\n\t\tsite.setLocation(new Location(((Double) latitude.getValue())\n\t\t\t\t.doubleValue(), ((Double) longitude.getValue()).doubleValue()));\n\t}", "public void onSensorChanged() {\n\t\tsensorChanged();\n\t}", "public void stateChanged(ChangeEvent param1ChangeEvent) {\n/* 1503 */ if (param1ChangeEvent == null) {\n/* 1504 */ throw new NullPointerException();\n/* */ }\n/* 1506 */ firePropertyChange(\"AccessibleVisibleData\", \n/* 1507 */ Boolean.valueOf(false), \n/* 1508 */ Boolean.valueOf(true));\n/* */ }", "@Override\n public void onDragPositionsChanged(int oldPosition, int newPosition) {\n }", "@Override\n\t\tpublic void update() {\n\t\t\tif(!Mouse.isDragging) return;\n\t\t\t\n\t\t\tfor(Editable editable : ServiceLocator.getService(EditorSystem.class).getSelectedEditables()){\n\t\t\t\teditable.getEntity().getComponent(Transform.class).setPosition(Mouse.worldCoordinates.copy());//.sub(SelectionTypeState.mouseClickWorldPosition).add(SelectionTypeState.colliderPositions.get(cnt)));\n\t\t\t}\n\t\t}", "private EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getPlotListChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.PLOT_LIST_CHANGED);\n }", "private void notifyListeners() {\n IDisplayPaneContainer container = (IDisplayPaneContainer) activeEditorMap\n .get(currentWindow);\n for (IVizEditorChangedListener listener : changeListeners) {\n listener.editorChanged(container);\n }\n }", "public void stateChanged(ChangeEvent e) {\n }", "@Override\n public void onSensorChanged(SensorEvent event) {\n float[] valuesCopy = event.values.clone();\n\n if (uptime == 0) {\n uptime = event.timestamp;\n }\n\n double x = (double) ((event.timestamp - uptime))/1000000000.0;\n this.addValues(x, valuesCopy);\n\n TextView xAxisValue = (TextView) findViewById(R.id.xAxisValue);\n xAxisValue.setText(Float.toString(valuesCopy[0]) + \" \" + STI.getUnitString(sensorType));\n\n if (STI.getNumberValues(sensorType) > 1) {\n //set y value to textfield\n TextView yAxisValue = (TextView) findViewById(R.id.yAxisValue);\n yAxisValue.setText(Float.toString(valuesCopy[1]) + \" \" + STI.getUnitString(sensorType));\n\n //set z value to textfield\n TextView zAxisValue = (TextView) findViewById(R.id.zAxisValue);\n zAxisValue.setText(Float.toString(valuesCopy[2]) + \" \" + STI.getUnitString(sensorType));\n }\n }", "@Override\n public void stateChanged(ChangeEvent e) {\n model.generateGridWithSpecifiedProblemDifficulty(view.getSpinnerValue());\n view.updateGridPanel(model.getGrid(), model.getAgentLocation());\n }", "public void firePlotListChanged(final Object source, final OIFitsCollectionManagerEventListener destination) {\n if (enableEvents) {\n if (logger.isDebugEnabled()) {\n logger.debug(\"firePlotListChanged\");\n }\n getPlotListChangedEventNotifier().queueEvent((source != null) ? source : this,\n new OIFitsCollectionManagerEvent(OIFitsCollectionManagerEventType.PLOT_LIST_CHANGED, null), destination);\n }\n }", "@Override\n\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\n\t\t}", "public void newCoord() {\n\t\tx = Data.generateRandomX();\n\t\ty = Data.generateRandomY();\n\t}", "@Override\n\tpublic void handleEventWorldUpdate(World world) {\n\t}", "public void onMapCenterChange(NMapView arg0, NGeoPoint arg1) {\n\n }", "@Override\n\tpublic void onCenterChanged(GeoPoint center) {\n\t}" ]
[ "0.6963478", "0.576325", "0.56553346", "0.55773145", "0.54446495", "0.5366158", "0.5285183", "0.525546", "0.5196286", "0.5161703", "0.512836", "0.51069313", "0.5018887", "0.50132406", "0.5008801", "0.49312127", "0.49222583", "0.48915806", "0.48865405", "0.48742723", "0.48643216", "0.48397368", "0.48282355", "0.48172027", "0.4811493", "0.48097682", "0.48002303", "0.47927344", "0.47893763", "0.47888243", "0.4785848", "0.4771239", "0.47657228", "0.47648266", "0.47629383", "0.4759845", "0.4754891", "0.4741795", "0.47359288", "0.4732809", "0.47304094", "0.4724369", "0.47189018", "0.46871865", "0.46842766", "0.46824247", "0.46772966", "0.46740645", "0.46661615", "0.4664172", "0.46601632", "0.4650223", "0.46490502", "0.4639267", "0.4636401", "0.46138486", "0.46047354", "0.46032292", "0.46004963", "0.4597938", "0.45949137", "0.45896164", "0.45876372", "0.4572679", "0.45684004", "0.45601714", "0.45588443", "0.45587423", "0.4554755", "0.4554017", "0.45505804", "0.4547754", "0.4541201", "0.4540103", "0.45388103", "0.4535696", "0.45301956", "0.45239374", "0.4520489", "0.4518913", "0.451521", "0.451521", "0.451521", "0.451521", "0.45136937", "0.45134178", "0.45090526", "0.4506368", "0.44888577", "0.4487208", "0.44863462", "0.4483848", "0.44773558", "0.44761363", "0.44754362", "0.4474963", "0.4473491", "0.44704145", "0.44662994", "0.4465433" ]
0.6526766
1
Checks if this is a CoordSystemChanged event.
public boolean isCoordSystemChanged() { return COORDSYSTEMCHANGED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ApproxsimEvent getCoordSystemChanged(Object source) {\n return new ApproxsimEvent(source, COORDSYSTEMCHANGED);\n }", "public boolean isValueChanged() {\n return VALUECHANGED.equals(message);\n }", "@Override\n public boolean isLocationValid(XYCoord coords)\n {\n return master.isLocationValid(coords);\n }", "public boolean hasCoordInfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean isMovementChanged() {\n return movementChanged;\n }", "public boolean hasCoordInfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "public boolean hasChanges() {\n return Math.abs(this.x) > 1.0E-5f || Math.abs(this.y) > 1.0E-5f || Math.abs(this.scale - this.minimumScale) > 1.0E-5f || Math.abs(this.rotation) > 1.0E-5f || Math.abs(this.orientation) > 1.0E-5f;\n }", "boolean hasChangeEvent();", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "public boolean isClockChangeCalled();", "boolean hasCoordInfo();", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "@Override\n public boolean isPhysical() {\n return getViewProvider().isEventSystemEnabled();\n }", "private boolean needsToRecalcStats() {\n\n return this.equipsChanged;\n }", "private void checkTickListener()\n\t{\n\t}", "public boolean needCoordinates() { return needCoords; }", "public void changed(LocationEvent arg0) {\n \t\t\t\t\t\t\n \t\t\t\t\t}", "private static boolean atSensor(SensorEvent e, int x, int y) {\n return e.getXpos() == x && e.getYpos() == y;\n }", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean isInCanvas() {\n\t\tif ((sens.getXPos() >= sens.getXMax()) || (sens.getYPos() >= sens.getYMax()) || (sens.getXPos() < 0) || (sens.getYPos() < 0)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public boolean isChanged() {\n return this.editorPane.getChangedProperty();\n }", "public abstract void positionChanged(PositionChangedEvent event);", "public boolean isMovement() {\n return isMovementEvent;\n }", "@Override\n public boolean isLocationFogged(XYCoord coord)\n {\n return isLocationFogged(coord.xCoord, coord.yCoord);\n }", "@Override\n public boolean equals(Object object) {\n if (object != null && object instanceof Coord) { // object is Coord type\n Coord coord = (Coord) object; // typecase object to Coord type\n if (this.x == coord.x && this.y == coord.y) { // Equals Coord\n return true;\n }\n }\n return false;\n }", "public boolean checkProgramChanged(){\r\n\t\tfor(int i = 0; i < paneCount(); i++) {\r\n\t\t\tif (!checkProgramChanged(i))\r\n\t\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "private boolean positionHasChanged(Map<String, Object> variables) {\r\n\t\tif (variables.containsKey(\"positionx\") && (Integer) variables.get(\"positionx\") != getPositionX()) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (variables.containsKey(\"positiony\") && (Integer) variables.get(\"positiony\") != getPositionY()) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean hasUpdate(VehicleState change) {\n\n return !this.equals(change);\n }", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "@Override\r\n\tpublic boolean isUsedEvent(Event e) {\r\n\t\treturn e instanceof PlayerInteractEvent && ((PlayerInteractEvent) e).getClickedBlock().getLocation().equals(pos);\r\n\t}", "public void handleTopologyUpdateEvent() {\n\t\t\n\t\tif(!Constants.MY_ADDR.equals(Constants.CLIENT_ADDR))\n\t\t{\n\t\t\tif(RoutingInterface.instance().isConnected(session.getDestination()))\n\t\t\t{\n\t\t\t\t// Disable EOR\n\t\t\t\tsessionManager.setLive();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// Enable EOR and put it into DT...\n\t\t\t\tsessionManager.setDT();\n\t\t\t}\n\t\t}\n\t}", "@Override\n public boolean isTransforming() {\n return super.isTransforming() || desiredWorldPosition != null;\n }", "public void checkEvents()\n\t{\n\t\t((MBoxStandalone)events).processMessages();\n\t}", "public boolean isChanged() {\n return this.changed;\n }", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "@Override\n public boolean isLocationValid(int x, int y)\n {\n return master.isLocationValid(x, y);\n }", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "@Override\n\tpublic boolean onTouchEvent(MotionEvent event) {\n\t\tswitch (event.getAction()) {\n\t\tcase MotionEvent.ACTION_DOWN:\n\t\tcase MotionEvent.ACTION_MOVE:\n\t\t\tcx = event.getX();\n\t\t\tcy = event.getY();\n\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isChanged() {\r\n return isChanged;\r\n }", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "public boolean isSet() {\n return nViewportUpdates > 0 && nWindowUpdates > 0;\n }", "public boolean onLastCoordinate() {\n\t\treturn Matrix.INSTANCE.onLastMatrixCoordinate(this.location, this);\n\t}", "public EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getPlotChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.PLOT_CHANGED);\n }", "public boolean isChanged()\r\n\t{\r\n\t\treturn changed;\r\n\t}", "public void onPositionChanged() {\n\n latPeriodic = location.getLatitude();\n lonperiodic = location.getLongitude();\n\n }", "public boolean hasConstraintChanged()\n {\n return hasConstraintChanged;\n }", "public boolean hasChanged();", "public boolean hasChanged();", "public EventNotifier<OIFitsCollectionManagerEvent, OIFitsCollectionManagerEventType, Object> getActivePlotChangedEventNotifier() {\n return this.oiFitsCollectionManagerEventNotifierMap.get(OIFitsCollectionManagerEventType.ACTIVE_PLOT_CHANGED);\n }", "public boolean isCalibrated() {\n return ( clicked1!=null && clicked2!=null );\n }", "private boolean isStation(SensorEvent e) {\n for (int[] p : STATION_POSITIONS) {\n if (atSensor(e, p[0], p[1])) {\n return true;\n }\n }\n return false;\n }", "@Override\n public void onGpsStatusChanged(int event) {\n GpsStatus gpsStatus = mLocationManager.getGpsStatus(null);\n if (gpsStatus != null) {\n mSatelliteInUse = 0;\n mSatelliteInView = 0;\n Iterable<GpsSatellite> satellites = gpsStatus.getSatellites();\n Iterator<GpsSatellite> sat = satellites.iterator();\n while (sat.hasNext()) {\n GpsSatellite satellite = sat.next();\n if (satellite.usedInFix())\n mSatelliteInUse++;\n mSatelliteInView++;\n }\n }\n switch (event) {\n case GpsStatus.GPS_EVENT_STARTED:\n mGpsMode = \"Searching\";\n // Toast.makeText(activity, \"GPS_SEARCHING\", Toast\n // .LENGTH_SHORT).show(); System.out.println(\"TAG - GPS searching: \");\n break;\n case GpsStatus.GPS_EVENT_STOPPED:\n // System.out.println(\"TAG - GPS Stopped\");\n mGpsMode = \"Stopped\";\n break;\n case GpsStatus.GPS_EVENT_FIRST_FIX:\n /*\n * GPS_EVENT_FIRST_FIX Event is called when GPS is locked\n */\n // Toast.makeText(activity, \"GPS_LOCKED\", Toast\n // .LENGTH_SHORT).show();\n /*\n * Removing the GPS status listener once GPS is locked\n */\n // mLocationManager.removeGpsStatusListener\n // (gpsStatusListener);\n mGpsMode = \"Fixed\";\n\n break;\n // case GpsStatus.GPS_EVENT_SATELLITE_STATUS:\n // mGpsMode = K.NO_FIX;\n // // System.out.println(\"TAG -\n // GPS_EVENT_SATELLITE_STATUS\");\n // break;\n }\n if (gpsStatus != null) {\n androidLocationUI.updateGpsStatusUI();\n androidLocationUI.updateSatelliteUI();\n }\n\n }", "public boolean isValid() {\n return latitudeSouth != INVALID_LAT_LON;\n }", "@Override\n\tpublic void onDataChanged(long timestamp, int msg) {\n\t\tif(msg==AgentMessage.ERROR.getCode()) \n\t\t\tToolBox.showRemoteErrorMessage(connBean, error);\n\t\t\n\t\tsynchronized (mutex) {\n setEnabled(false);\n if (solid != null && timestamp > lastestTimeStamp+1500*1000000) {\n int result = JOptionPane.showConfirmDialog(StartUI.getFrame(), \"The config of this lift has changed. Reload it?\", \"Update\",\n JOptionPane.YES_NO_OPTION);\n if (result == JOptionPane.OK_OPTION) {\n solid = null;\n event = new Parser_Event( connBean.getIp(), connBean.getPort() );\n setHot();\n }\n } else {\n setHot();\n }\n setEnabled(true);\n }\n\t}", "public boolean isChangeType()\n {\n return hasChanges;\n }", "public boolean positionValide(int coordX, int coordY){\r\n if( !(coordX >= 0 && coordX < m_longueurLigne &&\r\n coordY >= 0 && coordY < m_nbre_lignes) ){\r\n return false;\r\n }\r\n return true;\r\n }", "public boolean getCoordsReady() {\n\t\treturn coordsReady;\n\t}", "void onNewCoords(Coords coords);", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "public boolean updateSystemGestureExclusion() {\n if (this.mSystemGestureExclusionListeners.getRegisteredCallbackCount() == 0) {\n return false;\n }\n Region systemGestureExclusion = calculateSystemGestureExclusion();\n try {\n if (this.mSystemGestureExclusion.equals(systemGestureExclusion)) {\n return false;\n }\n this.mSystemGestureExclusion.set(systemGestureExclusion);\n for (int i = this.mSystemGestureExclusionListeners.beginBroadcast() - 1; i >= 0; i--) {\n try {\n this.mSystemGestureExclusionListeners.getBroadcastItem(i).onSystemGestureExclusionChanged(this.mDisplayId, systemGestureExclusion);\n } catch (RemoteException e) {\n Slog.e(TAG, \"Failed to notify SystemGestureExclusionListener\", e);\n }\n }\n this.mSystemGestureExclusionListeners.finishBroadcast();\n systemGestureExclusion.recycle();\n return true;\n } finally {\n systemGestureExclusion.recycle();\n }\n }", "public boolean hasStatusChanged() {\n return typeCase_ == 5;\n }", "private void ensureGettingGPSUpdates() {\n\t\t// It doesn't do any harm if we call this method repeatedly - we only ever end up subscribing once.\n\t\tMultiLocationProvider.getInstance().addListener(this);\n\t}", "boolean hasUpdateMask();", "boolean hasUpdateMask();", "boolean hasUpdateMask();", "boolean hasUpdateMask();", "protected boolean isCursorAtResizePosition(Event event) {\n\t\tint cursorY = DOM.eventGetClientY(event);\n\t\tint initialY = getAbsoluteTop();\n\t\tint height = getOffsetHeight();\n\n\t\tint cursorX = DOM.eventGetClientX(event);\n\t\tint initialX = getAbsoluteLeft();\n\t\tint width = getOffsetWidth();\n\n\t\tif (((initialX + width - 10) < cursorX && cursorX <= (initialX + width))\n\t\t\t\t&& ((initialY + height - 10) < cursorY && cursorY <= (initialY + height))) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public void isChanged()\n\t{\n\t\tchange = true;\n\t}", "Boolean getIsChanged();", "public boolean equals( final Object object ) {\n if ( object == this )\n return true; // Slight optimization\n return super.equals( object ) && equivalents( (CoordinateSystem) object );\n }", "@SuppressWarnings(\"WeakerAccess\")\n public boolean hasObservers() {\n return mObservers.size() > 0;\n }", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "protected boolean isBound(){\n\t\treturn !listeners.isEmpty();\n\t}", "boolean hasCoordinates();", "boolean hasCoordinates();", "boolean hasCoordinates();", "protected boolean isLayoutMinorAxisPreferenceChanged(boolean majorAxesOrthogonal) {\n double delta;\n if (majorAxesOrthogonal) {\n // processing minor layout state axis but it's in fact major view axis\n delta = updateLastMajorAxisPreferredSpan();\n } else { // major axes equal\n // processing minor layout state axis which is also minor view axis\n delta = updateLastMinorAxisPreferredSpan();\n }\n \n return (delta != 0.0d);\n }", "boolean canSet(Coordinates coord, double horizon, long time) throws AstrometryException;", "@Override\n public boolean shouldDisableDependents() {\n Calendar nowCalender = Calendar.getInstance();\n long persistedLong = getPersistedLong(nowCalender.getTimeInMillis());\n\n Calendar persistedCalender = Calendar.getInstance();\n persistedCalender.setTimeInMillis(persistedLong);\n boolean isEqual = nowCalender.get(Calendar.HOUR_OF_DAY)\n == persistedCalender.get(Calendar.HOUR_OF_DAY)\n && nowCalender.get(Calendar.MINUTE)\n == persistedCalender.get(Calendar.MINUTE);\n return isEqual || super.shouldDisableDependents();\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent event) {\n\t\tString property = event.getPropertyName();\n\t\tif (property.equals(Global.DRAG_EVENT) && isVisible()) { //don't have to move invisible markers\n\t\t\thandleDrag(event.getOldValue(), event.getNewValue());\n\t\t} else if (property.startsWith(Global.ZOOM)){\n\t\t\thandleZoom();\n\t\t}\n\t}", "private boolean getCenterGps() {\n return this.mapState != MapState.FREE && this.mapState != MapState.WP;\n }", "protected boolean isCursorMove(Event event) {\n if(movePanel != null) {\n int cursorY = DOM.eventGetClientY(event);\n int initialY = movePanel.getAbsoluteTop();\n int height = movePanel.getOffsetHeight();\n int cursorX = DOM.eventGetClientX(event);\n int initialX = movePanel.getAbsoluteLeft();\n int width = movePanel.getOffsetWidth();\n \n return initialY <= cursorY && initialY + height >= cursorY && initialX <= cursorX &&\n initialX + width >= cursorX;\n }\n return false;\n }", "public boolean isMarkerChange() {\n \t\t\treturn fMarkerChange;\n \t\t}", "boolean hasHasXCoordinate();", "public boolean isMoving() {\n\t\treturn state.getDirection() != Direction.STATIONARY;\n\t}", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "protected boolean wouldBeNewCoordinator(Address potential_new_coord) {\n Address new_coord;\n\n if(potential_new_coord == null) return false;\n\n synchronized(members) {\n if(members.size() < 2) return false;\n new_coord=(Address)members.elementAt(1); // member at 2nd place\n return new_coord != null && new_coord.equals(potential_new_coord);\n }\n }", "public boolean canUpdate();", "protected boolean isFinished() {\n \tdouble changeInX = targetX - Robot.sensors.getXCoordinate();\n \tdouble changeInY = targetY - Robot.sensors.getYCoordinate();\n \tdouble distance = Math.sqrt(Math.pow(changeInX, 2) + Math.pow(changeInY, 2));\n return distance < 8 || System.currentTimeMillis() >= stopTime;\n }", "public boolean isChangeCursor()\n\t{\n\t\treturn changeCursor;\n\t}", "public boolean isValid() {\n return coordinates != null && coordinates.size() == 2\n && coordinates.get(0) >= -180.0 && coordinates.get(0) <= 180.0\n && coordinates.get(1) >= -90.0 && coordinates.get(1) <= 90.0\n && (coordinateSystem == null || coordinateSystem.isValid());\n }", "protected void onBadCoords()\n\t{\n\t}", "private boolean isDeltaValid() {\n\t\treturn deltaValid;\n\t}", "public void GPSStatus() {\n locationManager = (LocationManager) getApplicationContext().getSystemService(getApplicationContext().LOCATION_SERVICE);\n GpsStatus = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);\n }", "private boolean isNotifyLocationChange(Location old, Location update) {\n boolean isNotifyLocationChange = false;\n\n isNotifyLocationChange = (old.distanceTo(update) >= MIN_DISTANCE_NOTIFY) && (update.getTime() - old.getTime() >= MIN_TIME_NOTIFY);\n\n return isNotifyLocationChange;\n }", "private boolean rangeHasChanged() {\n\t\tboolean tester = true;\n\t\t\n\t\ttester &= plotSheet.getxRange()[0] == this.xrange[0];\n\t\ttester &= plotSheet.getxRange()[1] == this.xrange[1];\n\t\ttester &= plotSheet.getyRange()[0] == this.yrange[0];\n\t\ttester &= plotSheet.getyRange()[1] == this.yrange[1];\n\t\t\n\t\tif(!tester) {\n\t\t\tthis.xrange = plotSheet.getxRange().clone();\n\t\t\tthis.yrange = plotSheet.getyRange().clone();\n\t\t}\n\t\t\n\t\treturn !tester || this.depthSearchAborted;\n\t}", "void axisStateChanged() {\n\t\teventHub.notifyEvent(EventHub.EventType.AXIS);\n\t}", "private boolean isAtStation(){\n\n if (this.selectedTrain.getGPS().getCurrBlock().getStationName() != null){return true; }\n else { return false; }\n }" ]
[ "0.58707166", "0.58071405", "0.56024677", "0.55960315", "0.5569828", "0.55523735", "0.55186236", "0.5446641", "0.5398384", "0.5386866", "0.53770584", "0.53456753", "0.52852654", "0.5262693", "0.52514255", "0.5250225", "0.52429855", "0.5215766", "0.52093035", "0.52093035", "0.52028966", "0.51764286", "0.5169795", "0.5137157", "0.5129114", "0.5128141", "0.5100573", "0.5076622", "0.5073478", "0.5049591", "0.5047339", "0.5042937", "0.50365084", "0.5027908", "0.50204325", "0.49957645", "0.49943417", "0.49820992", "0.4980625", "0.49799964", "0.49746507", "0.4967438", "0.49604812", "0.4957032", "0.4940038", "0.4936309", "0.49322054", "0.4929157", "0.49254808", "0.49254808", "0.4925418", "0.49187472", "0.49185696", "0.4908851", "0.4907397", "0.49042243", "0.49019465", "0.48989245", "0.48984286", "0.4883832", "0.48727214", "0.4872003", "0.4867775", "0.48656103", "0.4864357", "0.4864357", "0.4864357", "0.4864357", "0.48426715", "0.48339042", "0.48326823", "0.483257", "0.48319578", "0.48290467", "0.48290467", "0.48266053", "0.48266053", "0.48266053", "0.48258772", "0.48182315", "0.48160556", "0.48093942", "0.48091632", "0.4794945", "0.47948807", "0.4792181", "0.4777637", "0.47772798", "0.47762567", "0.47709528", "0.47691208", "0.47476345", "0.47415847", "0.4737867", "0.47333616", "0.4733195", "0.4732388", "0.47293615", "0.4729008", "0.4728995" ]
0.83016
0
Creates a new identifierChanged event. This type of event is triggered by a ApproxsimObject when its identifier changes.
public static ApproxsimEvent getIdentifierChanged(Object source, String oldIdentifier) { return new ApproxsimEvent(source, IDENTIFIERCHANGED, null, oldIdentifier); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isIdentifierChanged() {\n return IDENTIFIERCHANGED.equals(message);\n }", "public void objectChanged(NamingEvent evt) throws RemoteException;", "public void setIdentifier(String identifier) {\n this.identifier = identifier;\n }", "public void setIdentifier(String identifier) {\n this.identifier = identifier;\n }", "public void setIdentifier(String identifier) {\n this.identifier = identifier;\n }", "public void setIdentifier(String identifier) {\n this.identifier = identifier;\n }", "public void setIdentityIdentifier(final Identifier identifier) {\r\n this.identityIdentifier = identifier;\r\n }", "@Override\n\t\tpublic void setId(final String identifier) {\n\t\t}", "public void setOidold(Integer oidold) {\n this.oidold = oidold;\n }", "public void setIdentifier(String identifier) {\n\t\tthis.identifier = identifier;\n\t}", "public void setOidnew(Integer oidnew) {\n this.oidnew = oidnew;\n }", "protected void addIdentifierPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t getResourceLocator(),\n\t\t\t\t getString(\"_UI_Requirement_identifier_feature\"),\n\t\t\t\t getString(\"_UI_PropertyDescriptor_description\", \"_UI_Requirement_identifier_feature\", \"_UI_Requirement_type\"),\n\t\t\t\t Y3853992Package.Literals.REQUIREMENT__IDENTIFIER,\n\t\t\t\t true,\n\t\t\t\t false,\n\t\t\t\t false,\n\t\t\t\t ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,\n\t\t\t\t null,\n\t\t\t\t null));\n\t}", "protected void addIdentifierPropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add(createItemPropertyDescriptor(\n\t\t\t\t((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),\n\t\t\t\tgetString(\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_identifier_feature\"),\n\t\t\t\tgetString(\"_UI_PropertyDescriptor_description\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_identifier_feature\",\n\t\t\t\t\t\t\"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancingv2_type\"),\n\t\t\t\tAwsworkbenchPackage.Literals.APPLICATION_LOAD_BALANCER_BUILDER_ELASTICLOADBALANCINGV2__IDENTIFIER, true,\n\t\t\t\tfalse, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));\n\t}", "public void setIdentifier( String pIdentifier )\n {\n identifier = pIdentifier;\n }", "@Override\r\n\tpublic void setAddNewObjectIdentifier(String arg0, Long arg1)\r\n\t{\n\r\n\t}", "org.hl7.fhir.Identifier addNewIdentifier();", "public void setEventID(int value) {\r\n this.eventID = value;\r\n }", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "void onNewRegistrationId(String registrationId);", "void addId(II identifier);", "RemoteEventIdentifier createRemoteEventIdentifier();", "public void setObjid(int newValue) {\n\tthis.objid = newValue;\n}", "public void setRelatedIMEventOriginalID(java.lang.String value) {\n this.relatedIMEventOriginalID = value;\n }", "public void setIdentifier(String value) {\n/* 214 */ setValue(\"identifier\", value);\n/* */ }", "void setIdentifier(org.hl7.fhir.Identifier identifier);", "public void setIdentifier(java.lang.String identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFIER$0);\n }\n target.setStringValue(identifier);\n }\n }", "public void setIdentifier(org.hl7.fhir.Identifier identifier)\n {\n generatedSetterHelperImpl(identifier, IDENTIFIER$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "@Override\r\n public void setIdentifierMessage( int identifier, IBandIdentifier message )\r\n {\r\n\t\tmIdentifierUpdate = message;\r\n }", "public static ApproxsimEvent getChildChanged(Object source,\n Object initiator, ApproxsimObject changed) {\n return new ApproxsimEvent(source, CHILDCHANGED, initiator, changed);\n }", "public void setIdentifier(IdentifierNode identifier);", "public String getIdentifier() {\n return identifier;\n }", "public Object getIdentifier() {\n return identifier;\n }", "public void setIdentifier(String identifier) {\n this.identifier = identifier == null ? null : identifier.trim();\n }", "public void xsetIdentifier(org.apache.xmlbeans.XmlAnyURI identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnyURI target = null;\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(IDENTIFIER$0);\n }\n target.set(identifier);\n }\n }", "public void notifyNew(String publicID) {\n }", "public void companyidChange(AjaxBehaviorEvent ev) {\n\t\tLOG.info(\"[companyidChange] ev = {}\", ev);\n\t\tcompanyidChange();\n\t}", "public void changedEventClicktoJavaFX(int id) {\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "public String getIdentifier() {\n return identifier;\n }", "@Override\n\tpublic void setIdentification(String identification) {\n\n\t}", "void onNewEvent(Event event);", "public void setIdentNo(String identNo) {\n this.identNo = identNo;\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setEventId(java.lang.String value) {\n validate(fields()[13], value);\n this.eventId = value;\n fieldSetFlags()[13] = true;\n return this;\n }", "@Override\n public String getIdentifier() {\n return myIdentity.getIdentifier();\n }", "public void setID(String newID)\r\n {\r\n id=newID;\r\n }", "public String getIdentifier(){\n return identifier;\n }", "public void setEventID(String eventID){\n this.eventID = eventID;\n }", "public String getIdentifier()\n {\n return identifier;\n }", "@Override\n\tpublic String getListenerId()\n\t{\n\t\treturn ID;\n\t}", "private void setIdentifier(final String identifier) {\n if (identifier != null) {\n setIdentifiers(Collections.singleton(new DefaultIdentifier(identifier)));\n }\n }", "public void setIdentifier(au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier target = null;\n target = (au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier)get_store().find_element_user(IDENTIFIER$2, 0);\n if (target == null)\n {\n target = (au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier)get_store().add_element_user(IDENTIFIER$2);\n }\n target.set(identifier);\n }\n }", "private void updateExtendedId() {\r\n\t\tif (category != null && source != null && sink != null) {\r\n\t\t\tif (logger.isLoggable(Level.FINEST)) {\r\n\t\t\t\tlogger.log(Level.FINEST, \"ExtendedID updated\", TaskManager\r\n\t\t\t\t\t\t.getCurrentTick());\r\n\t\t\t}\r\n\t\t\textendedId = new ExtendedId(source.getId(), sink.getExtendedId(),\r\n\t\t\t\t\tcategory.getId());\r\n\t\t}\r\n\t}", "public void addIdListener(CardListener listener){\n\t//\tiDListen = listener;\n\t}", "protected abstract String getIdentifier();", "public String getIdentifier() {\n\t\treturn identifier;\n\t}", "public void setOid(Integer oid) {\n this.oid = oid;\n }", "@Override\n\t\t\t\t\t\t\tpublic void onDataSetInserted(long newRowId) {\n\t\t\t\t\t\t\t\tgetOrInsertServerId(context, listener);\n\t\t\t\t\t\t\t}", "public void objectRenamed(NamingEvent evt) throws RemoteException;", "public void setEventid(Integer eventid) {\n this.eventid = eventid;\n }", "@Override\n\tpublic void onIdentificationRemoved(BetterJSONObject taxon) {\n\t\tIntentFilter filter = new IntentFilter(INaturalistService.ACTION_OBSERVATION_RESULT);\n\t\tregisterReceiver(mObservationReceiver, filter);\n\n\t\tIntent serviceIntent = new Intent(INaturalistService.ACTION_REMOVE_ID, null, ObservationDetails.this, INaturalistService.class);\n\t\tserviceIntent.putExtra(INaturalistService.OBSERVATION_ID, mObservation.optInt(\"id\"));\n\t\tserviceIntent.putExtra(INaturalistService.IDENTIFICATION_ID, taxon.getInt(\"id\"));\n\t\tstartService(serviceIntent);\n\t}", "void selectedEntityChanged(String name);", "public native void setIdentifier (String identifier);", "public void setIdentifierArray(org.hl7.fhir.Identifier[] identifierArray)\n {\n check_orphaned();\n arraySetterHelper(identifierArray, IDENTIFIER$0);\n }", "public void objectAdded(NamingEvent evt) throws RemoteException;", "private UIEvent generateModifyEvent(){\n List<DataAttribut> dataAttributeList = new ArrayList<>();\n for(int i = 0; i< attributModel.size(); i++){\n String attribut = attributModel.elementAt(i);\n dataAttributeList.add(new DataAttribut(attribut));\n }\n //Erstellen des geänderten Produktdatums und des Events\n DataProduktDatum proposal = new DataProduktDatum(name.getText(), new DataId(id.getText()), dataAttributeList, verweise.getText());\n UIModifyProduktDatumEvent modifyEvent = new UIModifyProduktDatumEvent(dataId, proposal);\n return modifyEvent;\n }", "@Override\n public void register(Context context, DSpaceObject dso, String identifier)\n {\n try\n {\n createNewIdentifier(context, dso, identifier);\n if (dso instanceof Item)\n {\n Item item = (Item) dso;\n populateHandleMetadata(context, item, identifier);\n }\n }\n catch (Exception e)\n {\n logger.error(LogManager.getHeader(context,\n \"Error while attempting to create handle\", \"Item id: \"\n + dso.getID()), e);\n throw new RuntimeException(\n \"Error while attempting to create identifier for Item id: \"\n + dso.getID(), e);\n }\n }", "void changed(DiscoveryEvent e);", "public void setIdentifier(FactIdentifier param) {\r\n localIdentifierTracker = true;\r\n\r\n this.localIdentifier = param;\r\n\r\n\r\n }", "public void uidRegistered(UIDRegistrationEvent uidregistrationevent) {\n \r\n }", "public au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier addNewIdentifier()\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier target = null;\n target = (au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier)get_store().add_element_user(IDENTIFIER$2);\n return target;\n }\n }", "public int getIdentifier()\n {\n return identifier;\n }", "String getEventId();", "public gr.grnet.aquarium.message.avro.gen.UserAgreementMsg.Builder setRelatedIMEventOriginalID(java.lang.String value) {\n validate(fields()[1], value);\n this.relatedIMEventOriginalID = value;\n fieldSetFlags()[1] = true;\n return this; \n }", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n public void receive(SubscriptionCreation event) {\n logger.info(\"###Received subscription creation event with id:\" + event.getSubscriptionId());\n }", "@Override\n public String identifier() {\n return this.identifier;\n }", "public void setIdentifiers(String identifiers) {\n this.identifiers = identifiers;\n }", "@EventName(\"targetInfoChanged\")\n EventListener onTargetInfoChanged(EventHandler<TargetInfoChanged> eventListener);", "@Override\n default ManagerPrx ice_adapterId(String newAdapterId)\n {\n return (ManagerPrx)_ice_adapterId(newAdapterId);\n }", "com.walgreens.rxit.ch.cda.EIVLEvent addNewEvent();", "public void valueChanged(ConfigurationIdentifier configurationIdentifier, Serializable value);", "public static ApproxsimEvent getValueChanged(Object source, Object initiator) {\n return new ApproxsimEvent(source, VALUECHANGED, initiator, null);\n }", "Long handleEvent(Long renderedOpID, \n\t\t String propName,\n\t\t Object oldValue, \n\t\t Object newValue) throws RemoteException;", "public String getIdentifier();", "public String getIdentifier();", "public static ApproxsimEvent getReplaced(Object source, Object initiator,\n ApproxsimObject newObject) {\n return new ApproxsimEvent(source, REPLACED, initiator, newObject);\n }", "public Integer getOidold() {\n return oidold;\n }", "private void addBindingAndListener() {\n // When the simulation has more than one time of simulation this property change the selected element\n // of time series.\n this.changeListener = (observable, oldValue, newValue) -> {\n if (newValue instanceof Component) { // IS LINK OR NODE\n Component comp = (Component) newValue;\n idTextField.setText(comp.getId());\n }\n };\n this.selectableItem.addListener(changeListener);\n }", "public final void setIdentifier(ASN1Identifier id)\n {\n content.setIdentifier(id);\n return;\n }", "public org.hl7.fhir.Identifier addNewIdentifier()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.Identifier target = null;\n target = (org.hl7.fhir.Identifier)get_store().add_element_user(IDENTIFIER$0);\n return target;\n }\n }", "public org.hl7.fhir.Identifier addNewIdentifier()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.Identifier target = null;\n target = (org.hl7.fhir.Identifier)get_store().add_element_user(IDENTIFIER$0);\n return target;\n }\n }" ]
[ "0.57919896", "0.5576485", "0.5523609", "0.5523609", "0.5523609", "0.5523609", "0.55015516", "0.5437522", "0.5427732", "0.541686", "0.5364476", "0.5358789", "0.53475684", "0.5281459", "0.52698284", "0.5267111", "0.52622664", "0.51613635", "0.51590997", "0.51444817", "0.5130189", "0.5064647", "0.50439155", "0.50315684", "0.50136", "0.50104004", "0.49929646", "0.4965402", "0.49505192", "0.4884574", "0.4823711", "0.48227593", "0.48083597", "0.47985876", "0.4788204", "0.47689402", "0.4766419", "0.47642773", "0.47642773", "0.47642773", "0.47642773", "0.47642773", "0.47642773", "0.47642773", "0.47642773", "0.4760906", "0.47585964", "0.47537583", "0.47376937", "0.473511", "0.4725777", "0.47256362", "0.47131678", "0.47080174", "0.47045723", "0.46964088", "0.46959665", "0.46843415", "0.46840394", "0.4677274", "0.46626782", "0.4645252", "0.4645105", "0.46445206", "0.4638307", "0.46334547", "0.46263787", "0.46232516", "0.46031317", "0.45946774", "0.45918605", "0.45836052", "0.45804778", "0.45791715", "0.45775867", "0.4568377", "0.45681515", "0.45677045", "0.45644167", "0.45615882", "0.45615882", "0.45615882", "0.45615882", "0.45597062", "0.45591727", "0.454657", "0.4537636", "0.4532245", "0.45319346", "0.4524271", "0.45207655", "0.45182362", "0.4516503", "0.4516503", "0.45161042", "0.4500961", "0.4496178", "0.44873443", "0.4486736", "0.4486736" ]
0.7315841
0
Checks if this is a Replaced event.
public boolean isIdentifierChanged() { return IDENTIFIERCHANGED.equals(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isReplaced() {\n return REPLACED.equals(message);\n }", "boolean isReplaceable();", "public boolean isEventUpdated(Event event) \n\t{\n\t\treturn false;\n\t}", "boolean hasReplace();", "boolean isReplaceable(TransferDescription description);", "private boolean shouldProcessEvent(TimeSeriesEvent e) {\r\n return modCountOnLastRefresh < e.getSeriesModCount();\r\n }", "public boolean shouldRemove() {\r\n\t\treturn death;\r\n\t}", "boolean hasReplacePlayerResponse();", "boolean hasChangeEvent();", "protected boolean checkForMatch(NewEvent event) {\n\t\tevent.export(exporter);\n\t\treturn exporter.checkForMatch(pattern);\n\t}", "public boolean replace(Element oldElement, Element newElement) {\n if (replaceNoNotify(oldElement, newElement)) {\n setChanged();\n Message message = Message.makeModified(newElement);\n notifyObservers(message);\n return true;\n } else {\n return false;\n }\n\n }", "public boolean isLegalReplacement(byte[] repl) {\n return true;\n }", "@Override\r\n\tpublic <T extends Evento> boolean actualizarEvento(Evento evento) {\n\t\treturn false;\r\n\t}", "@Override\n public boolean evaluate(CacheEntryEvent<? extends BinaryObject, ? extends BinaryObject> e) {\n if (!e.getOldValue().<Integer>field(\"population\").equals(\n e.getValue().<Integer>field(\"population\")))\n return true;\n\n // Don't send a notification in all other cases\n return false;\n }", "public String onPlaceholderReplace(PlaceholderReplaceEvent event);", "@Override\r\n\tpublic boolean handleEvent(IEvent event) {\n\t\treturn false;\r\n\t}", "protected abstract void checkRemoved();", "public boolean isRemovedToInvisibleEvent(int oldIndex) {\r\n return isVisibilityChange;\r\n }", "@Override\r\n\t\t\t\t\tpublic void changedUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public boolean isCorrectEvent()\n {\n return m_fCorrectEvent;\n }", "private boolean isRemoved() {\r\n\t\t\treturn removed;\r\n\t\t}", "@Override\n public void removeUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "@Override\n\tpublic boolean hasChanged() {\n\t\treturn this.changed;\n\t}", "public boolean isTypeSpecificChange()\r\n {\r\n return myDTIKey != null;\r\n }", "public boolean actionReplaceable() {\n return mReplaceable;\n }", "public Boolean getResponseReplaced() {\n\t return this.responseReplaced;\n\t}", "public boolean hasRelatedIMEventOriginalID() {\n return fieldSetFlags()[1];\n }", "@Override\r\n public boolean doIsModified() {\r\n return this.updatedGroups.isEmpty();\r\n }", "protected boolean isDataChanged() {\n\n\t\treturn true;\n\t}", "@Override\r\n\t\t\t\t\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "@Override\n public void insertUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "public boolean hasStackFrameChanged() {\n\t\treturn lineNumber != oldLineNumber;\n\t}", "public boolean isChildChanged() {\n return CHILDCHANGED.equals(message);\n }", "@Override\r\n\tprotected void processIsNotDefinedEvent(InNotDefinedEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic boolean canBePushed() {\n\t\treturn super.canBePushed() && isEgg();\n\t}", "public boolean isSubstitute();", "@Override\n public void changedUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "boolean isOssModified();", "public boolean isOKToRemove(){\n return ( this == Acked || this == Expired || this == DLCMessage);\n }", "@Override\r\n public boolean hasContentModified(ContainerUser context)\r\n {\n return hasDescriptorPropertyChanged(ReportDescriptor.Prop.json.name());\r\n }", "public SubstituteEvent(Entity substituted) {\n super(EventType.SUBSTITUTE.getType());\n }", "@Override\n\tpublic boolean hasMoved() {\n\t\treturn false;\n\t}", "public boolean modIfChanged () {\n \n boolean modOK = true;\n \n ClubEvent clubEvent = position.getClubEvent();\n if (clubEventPanel1.modIfChanged(clubEvent)) {\n modified = true;\n itemLabel.setText(clubEvent.getWhat());\n } \n if (clubEventPanel2.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel3.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel4.modIfChanged(clubEvent)) {\n modified = true;\n } \n if (clubEventPanel5.modIfChanged(clubEvent)) {\n modified = true;\n } \n \n if (modified) {\n currentFileModified = true;\n String newLocalPath = clubEvent.getLocalPath();\n if ((! clubEvent.hasWhat()) || clubEvent.getWhat().length() == 0) {\n trouble.report (this, \n \"The What field has been left blank\", \n \"Missing Key Field\");\n modOK = false;\n } \n else \n if ((! newLocalPath.equals(localPath))\n && writer.exists(eventsFile, newLocalPath)) {\n trouble.report (this, \n \"An event already exists with the same What field\",\n \"Duplicate Found\");\n modOK = false;\n }\n else\n if (position.isNewClubEvent()) {\n clubEventCalc.calcAll(clubEvent);\n if (clubEventCalc.ifOpYearFromFolder()) {\n clubEvent.setYear(clubEventCalc.getOpYearFromFolder());\n }\n addClubEvent (clubEvent);\n } else {\n clubEventCalc.calcAll(clubEvent);\n clubEventList.modify(position);\n writer = new ClubEventWriter();\n String oldDiskLocation = clubEvent.getDiskLocation();\n boolean saved = writer.save(eventsFile, clubEvent, true, false);\n if (saved) {\n String newDiskLocation = clubEvent.getDiskLocation();\n if (! newDiskLocation.equals(oldDiskLocation)) {\n File oldDiskFile = new File (oldDiskLocation);\n oldDiskFile.delete();\n }\n } else {\n trouble.report(this, \"Trouble saving the item to disk\", \"I/O Error\");\n modOK = false;\n }\n }\n clubEventList.fireTableDataChanged();\n } // end if modified\n \n return modOK;\n \n }", "boolean hasEvent();", "public boolean isDropped(){\r\n\t\treturn getDirectHolder() == World.world;\r\n\t}", "@objid (\"0480e45a-6886-42c0-b13c-78b8ab8f713d\")\n boolean isIsEvent();", "public boolean isDropped();", "public boolean saveEvent(String gameTitle, Event oldEvent, Event newEvent) {\n\n boolean saved = false;\n\n Game thisGame = MainModel.getInstance().getGame(gameTitle);\n\n Event eventThatAlreadyExist = thisGame.getEvent(newEvent.getName());\n Log.d(\"saveEvent\", \"eventThatAlreadyExist: \"+eventThatAlreadyExist.getName());\n //alreadyExistInGames E' TRUE SE ESISTE GIA' IN QUESTO GIOCO UN EVENTO CON QUEL NOME\n boolean alreadyExistInGames = (eventThatAlreadyExist.getName() != null);\n //modifyingExistingGame E' TRUE SE STO MODIFICANDO UN EVENTO GIA' ESISTENTE\n boolean modifyingExistingGame = (oldEvent != null);\n\n Log.d(\"saveEvent\", \"alreadyExistInGames: \"+ alreadyExistInGames + \" \" + newEvent.getName());\n Log.d(\"saveEvent\", \"modifyingExistingGame: \"+ modifyingExistingGame);\n\n if(alreadyExistInGames && modifyingExistingGame) {\n\n\n\n thisGame.removeEvent(oldEvent);\n thisGame.addEvent(newEvent);\n //MainModel.getInstance().writeGamesJson();\n saved = true;\n }\n else if(!alreadyExistInGames && !modifyingExistingGame) {\n\n Log.d(\"saveEvent\", \"Added new Event\");\n thisGame.addEvent(newEvent);\n //MainModel.getInstance().writeGamesJson();\n saved = true;\n }\n else if(modifyingExistingGame & !alreadyExistInGames) {\n\n Log.d(\"saveEvent\", \"Sto modificando un evento esistente\");\n Log.d(\"saveEvent\", \"Removed old event: \"+ oldEvent.getName() + \", added new Event: \" + newEvent.getName());\n thisGame.removeEvent(oldEvent);\n boolean b = thisGame.addEvent(newEvent);\n if(b)\n Log.d(\"saveEvent\", \"Evento salvato\");\n else\n Log.d(\"saveEvent\", \"Evento non salvato\");\n\n saved = true;\n\n }\n else {\n Log.d(\"saveEvent\", \"Error saving new Event or overwritting the existing one\");\n }\n\n return saved;\n }", "public boolean isDataChanged(){\r\n\t\t\r\n return customElementsForm.isSaveRequired();\r\n }", "@Override\n\tpublic boolean erTom() {\n\t\treturn (bak == null);\n\t}", "protected boolean _isEventForSuccessfulUpdate(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenUpdated()));\t\t\t\t\t\t\t\t// it's an update event\n\t}", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "protected boolean canReplace(ODOMElement element) {\n Element e = ActionSupport.cloneContainingDeviceLayout(element);\n\n e = replace(e, 1, 1);\n\n return !LayoutConstraintsProvider.constraints.violated(e, null);\n }", "public boolean tryEditingScheduledEvent();", "public boolean isRemoved() {\n return REMOVED.equals(message);\n }", "@Override\r\n\tpublic boolean isExisting() {\n\t\treturn false;\r\n\t}", "protected boolean beforeRemove() {\n return true;\n }", "public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }", "@Override\n\tpublic Boolean hasMoved() {\n\t\treturn moved;\n\t}", "@Override\n\tprotected boolean checkOverride(IEventInstance eventInstance, Operand operand) {\n\t\treturn false;\n\t}", "public boolean replaceEdit(UndoableEdit anEdit) {\n throw new UnsupportedOperationException(\"The replaceEdit(UndoableEdit) method is not supported.\");\n }", "public boolean isRegionUpdated() {\n return REGIONUPDATED.equals(message);\n }", "public void setResponseReplaced(Boolean responseReplaced) {\n\t this.responseReplaced = responseReplaced;\n\t}", "boolean canReplace(SearchResult result);", "@Override\n public boolean isInUseableZone(Game game, MageObject source, GameEvent event) {\n Permanent before = ((ZoneChangeEvent) event).getTarget();\n if (before == null) {\n return false;\n }\n if (!(before instanceof PermanentToken) && !this.hasSourceObjectAbility(game, before, event)) {\n return false;\n }\n // check now it is in graveyard\n if (before.getZoneChangeCounter(game) + 1 == game.getState().getZoneChangeCounter(sourceId)) {\n Zone after = game.getState().getZone(sourceId);\n return after != null && Zone.GRAVEYARD.match(after);\n } else {\n // Already moved to another zone, so guess it's ok\n return true;\n }\n }", "boolean isRegistrateChangeListener();", "@Override\n public boolean exists()\n {\n return orig.exists();\n }", "public boolean hasChanges() {\n return !(changed.isEmpty() && defunct.isEmpty());\n }", "protected boolean _isEventForSuccessfulDelete(final PersistenceOperationOKEvent opEvent) {\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenDeleted()));\t\t\t\t\t\t\t\t// it's a delete event\n\t}", "public boolean replaceMapping(final String oldName, final String newName) throws DuplicateMappingException {\n if (this.mappings.containsKey(newName)) {\n throw new DuplicateMappingException(\n String.format(\n \"Could not replace block type %s, the block type %s already exists in the schematic.\",\n oldName, newName\n )\n );\n }\n\n final Short id = this.mappings.get(oldName);\n if (id != null) {\n this.mappings.remove(oldName);\n this.mappings.put(newName, id);\n return true;\n }\n\n return false;\n }", "public static boolean isContainerUpdated(final ResourceMapping mapping) {\n String containerId = ContainerInfo.getInstance().getContainerId();\n\n ResourceMapping.ContainerInstance container\n = mapping.getContainer(containerId);\n if (container == null) {\n LOGGER.warn(\"No flakes for this container.\");\n return false;\n } else {\n return true;\n }\n }", "boolean isManipulated();", "protected boolean _isEventForSuccessfulCreateOrUpdate(final PersistenceOperationOKEvent opEvent) {\t\n\t\tPersistenceOperationOK opResult = opEvent.getResultAsOperationOK();\n\t\tboolean handle = _crudOperationOKEventFilter.hasTobeHandled(opEvent);\n\t\tif (!handle) return false;\n\t\t\n\t\treturn ((opResult.isCRUDOK()) \n\t\t\t && (opResult.as(CRUDOK.class).hasBeenCreated() || opResult.as(CRUDOK.class).hasBeenUpdated()));\t// it's a create or update event\n\t}", "public boolean isStillValid() {\n if (!this.mAbortOnInflation && this.mEntry.getSbn().getGroupKey() == this.mOriginalNotification.getGroupKey() && this.mEntry.getSbn().getNotification().isGroupSummary() == this.mOriginalNotification.getNotification().isGroupSummary()) {\n return true;\n }\n return false;\n }", "public boolean isFired() {\n\t\t// TODO Auto-generated method stub\n\t\treturn shot;\n\t}", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "@Override\n public boolean getOrReplace() {\n return orReplace_;\n }", "public boolean isTaggedAsRemoved() {\n\t return levelOfRemoval > 0;\n\t}", "public boolean isGridUpdated() {\n return GRIDUPDATED.equals(message);\n }", "public boolean isChangeType()\n {\n return hasChanges;\n }", "public EventHandler<KeyEvent> checkItemExistence() {\r\n\t\treturn new EventHandler<KeyEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(KeyEvent e) {\r\n\t\t\t\tif (e.getCode() == KeyCode.TAB) {\r\n\t\t\t\t\tLOGGER.info(\"Tab Event Handled : {}\", barcodeField.getText());\r\n\t\t\t\t\tif (itemService.findByBarcode(barcodeField.getText()) != null) {\r\n\t\t\t\t\t\tLOGGER.info(\"Item already exists for barcode : {}\", barcodeField.getText());\r\n\t\t\t\t\t\tMessageDialog.showAlert(AlertType.WARNING, \"Product Already Exists\", null,\r\n\t\t\t\t\t\t\t\t\"Product already exists for a given barcode : [\" + barcodeField.getText() + \"]\");\r\n\t\t\t\t\t\tbarcodeField.clear();\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t};\r\n\t}", "public boolean isResponseChanged() {\n return responseChanged;\n }", "public boolean isDroppedOnMap() { return dropped; }", "@Override\n public void onViewDragged(int oldPosition, int newPosition) {\n EventTask tempEventTask = new EventTask(eventTasks.get(oldPosition));\n eventTasks.remove(oldPosition);\n eventTasks.add(newPosition, tempEventTask);\n notifyItemMoved(oldPosition, newPosition);\n }", "@Override\r\n\t\t\t\t\tpublic void insertUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public boolean check(EventType event);", "@Override\n @SuppressWarnings(\"deprecation\")\n public void onReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean isMoving) {\n if (!newState.isIn(state.getBlock())) {\n TileEntity tileEntity = world.getTileEntity(pos);\n if (tileEntity instanceof SandwichAssemblyTableTileEntity) {\n for (ItemStack ingredient : ((SandwichAssemblyTableTileEntity) tileEntity).removeItems()) {\n ItemEntity item = new ItemEntity(world, pos.getX() + 0.5, pos.getY() + 1.2, pos.getZ() + 0.5, ingredient);\n world.addEntity(item);\n }\n\n world.updateComparatorOutputLevel(pos, this);\n }\n super.onReplaced(state, world, pos, newState, isMoving);\n }\n }", "@Override\n\tpublic boolean isEventCancelled() {\n\t\treturn status==EventCancelled;\n\t}", "private void checkForReload(@NotNull List<? extends VFileEvent> events) {\n LOG.debug(\"Checking received events for a possible reloading\");\n boolean toReload = false;\n for (VFileEvent event : events) {\n final VirtualFile file = event.getFile();\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Checking the file \" + file);\n }\n if (file != null && file.getName().endsWith(KAMELETS_FILE_SUFFIX)) {\n String canonicalPath = file.getCanonicalPath();\n if (canonicalPath == null || canonicalPath.contains(\"/\" + KAMELETS_DIR + \"/\")) {\n LOG.debug(\"An event on a potential Kamelet has been detected\");\n toReload = true;\n }\n }\n }\n if (toReload) {\n LOG.debug(\"At least one event on a Kamelet has been detected, the Kamelets will be reloaded\");\n this.kamelets = null;\n }\n }", "public boolean match(Event e);", "@GuardedBy(\"mLock\")\n private boolean shouldSendEvent(TimeZoneProviderEvent newEvent) {\n if (!newEvent.isEquivalentTo(mLastEventSent)) {\n return true;\n }\n\n // Guard against implementations that generate a lot of uninteresting events in a short\n // space of time and would cause the time_zone_detector to evaluate time zone suggestions\n // too frequently.\n //\n // If the new event and last event sent are equivalent, the client will still send an update\n // if their creation times are sufficiently different. This enables the time_zone_detector\n // to better understand how recently the location time zone provider was certain /\n // uncertain, which can be useful when working out ordering of events, e.g. to work out\n // whether a suggestion was generated before or after a device left airplane mode.\n long timeSinceLastEventMillis =\n newEvent.getCreationElapsedMillis() - mLastEventSent.getCreationElapsedMillis();\n return timeSinceLastEventMillis > mEventFilteringAgeThresholdMillis;\n }", "@Override\n public boolean isEntryRemovedInContext(Object key) {\n return true;\n }", "protected void assertEvent(boolean fExpected)\n {\n Eventually.assertThat(invoking(this).wasInserted(), is(fExpected));\n }", "boolean isModified();", "boolean isModified();", "public boolean isRemoved() {\n return removed;\n }", "public boolean replaceEdit(UndoableEdit anEdit);", "public boolean replaceEdit(UndoableEdit anEdit);", "public boolean hasChanged();" ]
[ "0.64331096", "0.5730953", "0.56022894", "0.546064", "0.54079807", "0.5297149", "0.52385336", "0.5202842", "0.51822335", "0.51748705", "0.51552933", "0.5145419", "0.5144196", "0.5121206", "0.5095857", "0.50905854", "0.50693566", "0.5064208", "0.50631934", "0.50289595", "0.50199425", "0.50166523", "0.5000495", "0.4983198", "0.4975046", "0.49658862", "0.49542218", "0.49222928", "0.49200526", "0.49135366", "0.49125808", "0.49024153", "0.49003884", "0.48964065", "0.48837912", "0.48731658", "0.48674452", "0.4866137", "0.48416486", "0.48341444", "0.48247617", "0.48177028", "0.4808831", "0.48040986", "0.47932884", "0.47905827", "0.47792882", "0.47709882", "0.4770817", "0.47632816", "0.47577125", "0.4756663", "0.4756663", "0.47556996", "0.4755618", "0.4754972", "0.4749404", "0.4749137", "0.47467637", "0.4743112", "0.4741647", "0.4737857", "0.4737829", "0.47367325", "0.473268", "0.47315654", "0.47144684", "0.47088227", "0.4704559", "0.47041795", "0.46970752", "0.46907654", "0.46878868", "0.46872902", "0.46863768", "0.46821672", "0.467813", "0.467813", "0.46780795", "0.4653249", "0.4647425", "0.46415415", "0.46411198", "0.4630547", "0.4629618", "0.46276814", "0.4626686", "0.46183982", "0.46163067", "0.46127728", "0.4608446", "0.46080613", "0.4607765", "0.46047166", "0.46045187", "0.46045187", "0.46038878", "0.45988104", "0.45988104", "0.45914507" ]
0.47406268
61
The String representation of the object.
public String toString() { return message; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }", "public String toString() { return stringify(this, true); }", "public String toString() {\n\t\treturn this.toJSON().toString();\n\t}", "public String toString() {\n\t\treturn this.toJSON().toString();\n\t}", "public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the class attribute if required; default: don't.\r\n\t\tif (getIncludeClassAttribute() == true)\r\n\t\t\tOutString.append(getClassAttribute());\r\n\t\t// Add any transformation information,\r\n\t\t// probably the minimum is the x and y values.\r\n\t\t// again this is new to Java 1.4;\r\n\t\t// this function returns a StringBuffer.\r\n\t\tOutString.append(getAttributes());\r\n\t\t// close the tag.\r\n\t\tOutString.append(\">\");\r\n\t\tOutString.append(\"&\"+entityReferenceName+\";\");\r\n\t\t// close tag\r\n\t\tOutString.append(\"</\");\r\n\t\tOutString.append(getType());\r\n\t\tOutString.append(\">\");\r\n\r\n\t\treturn OutString.toString();\r\n\t}", "@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }", "public String toString(){\r\n\t\tString superString = super.toString();\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\t//Add the object to the string\r\n\t\tbuilder.append(\". \");\r\n\t\tif (this.error != null) {\r\n\t\t\tbuilder.append(error.toString());\r\n\t\t\tbuilder.append(\". \");\r\n\t\t}\r\n\t\tbuilder.append(\"Object: \");\r\n\t\tbuilder.append(object.toString());\r\n\t\tif (this.recordRoute)\r\n\t\t\tbuilder.append(\", [RECORD_ROUTE]\");\r\n\t\tif (this.reRouting) \r\n\t\t\tbuilder.append(\", [RE-ROUTING]\");\r\n\t\t//Add the masks to the string\r\n\t\tif (this.mask != null) {\r\n\t\t\tbuilder.append(\", label set: \");\r\n\t\t\tbuilder.append(mask.toString());\r\n\t\t}\r\n\t\treturn superString.concat(builder.toString());\r\n\t}", "public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}", "public String toString() {\n StringWriter writer = new StringWriter();\n this.write(writer);\n return writer.toString();\n }", "@Override\n\tpublic String toString() {\n\t\treturn toText();\n\t}", "@Override\n public String toString() {\n return new Gson().toJson(this);\n }", "public String toString() {\n\t\treturn toString(true);\n\t}", "public String toString() {\n return ToStringBuilder.reflectionToString(this);\n }", "@Override\n public String toString() {\n return gson.toJson(this);\n }", "@Override\n public final String toString() {\n return asString(0, 4);\n }", "public String toString() {\n\t\treturn toString(this);\n\t}", "@Override\r\n public String toString() {\r\n return JsonSerializer.SerializeObject(this);\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn toJSON().toString();\n\t}", "@Override()\n public String toString()\n {\n final StringBuilder buffer = new StringBuilder();\n toString(buffer);\n return buffer.toString();\n }", "@Override\n\tpublic String toString() {\n\t\ttry {\n\t\t\treturn this.toJSONString(0);\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn toStringBuilder(new StringBuilder()).toString();\n\t}", "@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }", "@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }", "@Override\n public String toString() {\n return JsonSerializer.SerializeObject(this);\n }", "public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "@Override\r\n\tpublic String toString() {\n\t\tString str = \"\";\r\n\t\treturn str;\r\n\t}", "public String toString() {\n\treturn createString(data);\n }", "public String toString() {\n\t\treturn toString(0, 0);\n\t}", "@Override\n public String toString() {\n ObjectMapper mapper = new ObjectMapper();\n try {\n return mapper.writeValueAsString(this);\n } catch (JsonProcessingException e) {\n return null;\n }\n }", "public String toString() {\n\t\treturn data.toString();\n\t}", "public String toString() {\n\t\treturn data.toString();\n\t}", "@Override\r\n\tpublic String toString() {\n\t\treturn JSONObject.toJSONString(this);\r\n\t}", "@Override\n public String toString() {\n return new GsonBuilder().serializeNulls().create().toJson(this).toString();\n }", "@Override\n public String toString() {\n return toString(false, true, true, null);\n }", "public String toString() {\n return toDisplayString();\n }", "@Override public String toString();", "public String toString()\n\t{\n\t\tString result = \"\";\n\t\tresult += this.data;\n\t\treturn result;\n\t}", "public String toString() {\n return \"\" + data;\n }", "public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}", "public String toString() {\n\t\treturn EPPUtil.toString(this);\n\t}", "@Override\r\n\tpublic String toString();", "@Override\n public String toString() {\n return stringBuilder.toString() + OBJECT_SUFFIX;\n }", "public String toString(){\n return XMLParser.parseObject(this);\n }", "@Override\n\tpublic String toString() {\n\t\treturn Json.pretty( this );\n\t}", "@Override\n\tpublic String toString()\n\t{\n\t\treturn this.str;\n\t}", "@Override\r\n public String toString() {\r\n return toSmartText().toString();\r\n }", "public String toString()\r\n\t{\r\n\t\treturn data.toString();\r\n\t}", "@Override\r\n\tpublic String toString() {\n\t\treturn \"\";\r\n\t}", "@Override\n public String toString() {\n return string;\n }", "@Override\n public String toString() {\n return mString;\n }", "public String toString() {\n\t\treturn data.toString();\n }", "@Override\r\n String toString();", "@Override\n public String toString()\n {\n return this.toLsString();\n }", "@Override String toString();", "@Override\n public String toString() {\n Gson gson = new Gson();\n\n String json = gson.toJson(this);\n System.out.println(\"json \\n\" + json);\n return json;\n }", "@Override\n public String toString() {\n return value();\n }", "@Override\r\n public String toString();", "@Override\n public String toString() {\n byte[] buffer = toBuffer();\n return (buffer == null) ? null : new String(buffer, StandardCharsets.UTF_8);\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Object [name = \" + name.get() + \", typ = \" + typ.get() + \"]\";\n\t}", "@Override\n public String toString() {\n String str = \"\";\n\n //TODO: Complete Method\n\n return str;\n }", "@Override\n public String toString() {\n return (this.str);\n }", "public synchronized String toString() {\n StringBuffer oBuffer = new StringBuffer();\n\n oBuffer\n .append(\"Preprocessing params: \").append(this.oPreprocessingParams).append(\"\\n\")\n .append(\"Feature extraction params: \").append(this.oFeatureExtractionParams).append(\"\\n\")\n .append(\"Classification params: \").append(this.oClassificationParams);\n\n return oBuffer.toString();\n }", "public String toString() ;", "@Override\n\tpublic String toString()\n\t{\n\t\treturn new String(bytes);\n\t}", "@Override\n public String toString()\n {\n return Arrays.toString(this.toArray());\n }", "public String getAsString() {\n\t\treturn new String(this.getAsBytes());\n\t}", "public String objectToString() {\n \n StringBuilder s = new StringBuilder(new String(\"\"));\n if(aggressor instanceof Town) {\n s.append(((Town) aggressor).getName()).append(\" \");\n } else {\n s.append(((Nation) aggressor).getName()).append(\" \");\n }\n if(defender instanceof Town) {\n s.append(((Town) defender).getName()).append(\" \");\n } else {\n s.append(((Nation) defender).getName()).append(\" \");\n }\n s.append(aggressorPoints).append(\" \");\n s.append(defenderPoints).append(\" \");\n for (Town town : towns.keySet()) {\n s.append(town.getName()).append(\" \");\n s.append(towns.get(town)).append(\" \");\n }\n\n if (rebelwar != null)\n s.append(\" \").append(rebelwar.getName());\n else\n s.append(\" \" + \"n u l l\");\n\n return s.toString();\n }", "@Override\n\tpublic String toString() {\n\t\tif (repr == null)\n\t\t\trepr = toString(null);\n\n\t\treturn repr;\n\t}", "@Override\r\n\t\tpublic String toString() {\n\t\t\treturn super.toString();\r\n\t\t}", "public String serialize() {\n switch (type) {\n case LIST:\n return serializeList();\n\n case OBJECT:\n return serializeMap();\n\n case UNKNOWN:\n return serializeUnknown();\n }\n return \"\";\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"\";\n\t}", "public String toString(){\n \treturn \"todo: use serialize() method\";\r\n }", "@Override\n public String toString() {\n final Map<String, Object> augmentedToStringFields = Reflect.getStringInstanceVarEntries(this);\n augmentToStringFields(augmentedToStringFields);\n return Reflect.joinStringMap(augmentedToStringFields, this);\n }", "public String toString() {\n\t\treturn BlobUtil.string(buffer, offset, size);\n\t}", "@Override\n\tpublic String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString();", "public String toString() {\n\t String outPut = \"byteValue(): \" + byteValue()\n\t \t\t+ \"\\nshortValue(): \" + shortValue()\n\t \t\t+ \"\\nintValue(): \" + intValue()\n\t \t\t+ \"\\nlongValue(): \" + longValue()\n\t \t\t+ \"\\nfloatValue(): \" + floatValue()\n\t \t\t+ \"\\ndoubleValue(): \" + doubleValue();\n\t \n\t return outPut;\n }", "public String toString() {\n\t\treturn str;\n\t}", "public String toString() {\n return \"\";\n }" ]
[ "0.84077585", "0.8329443", "0.83211195", "0.83211195", "0.80404526", "0.8037483", "0.8005627", "0.7995609", "0.79878426", "0.79705834", "0.7934759", "0.7917646", "0.7910369", "0.7856802", "0.78353274", "0.78192496", "0.7814665", "0.7813249", "0.78057134", "0.78028274", "0.7800191", "0.7796013", "0.7796013", "0.7796013", "0.7779388", "0.7779388", "0.77555996", "0.7734963", "0.77309203", "0.7727041", "0.7726024", "0.7726024", "0.7723384", "0.7702729", "0.7693447", "0.7680152", "0.7679135", "0.7673684", "0.76414526", "0.7640867", "0.7640867", "0.7636266", "0.7629229", "0.762308", "0.7619257", "0.7604371", "0.7601096", "0.76007605", "0.7588984", "0.75855345", "0.7580131", "0.75785506", "0.75696623", "0.7564813", "0.7564071", "0.7561518", "0.75578326", "0.7556427", "0.7554789", "0.75503594", "0.75479317", "0.7545146", "0.75372636", "0.7519105", "0.7518549", "0.75175464", "0.7515122", "0.75144", "0.75130606", "0.75094146", "0.7508239", "0.7505007", "0.75045615", "0.7504134", "0.74928147", "0.749127", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74899274", "0.74888426", "0.74854857", "0.7481151" ]
0.0
-1
This has to return the configuration
public short[][] getConfigBytes(int maxBytesPerMsg) { /* * it is kind of ugly... Java can't convert a Char-Array to a Short-Array */ short[] config_file = new short[filename.length()]; char[] filename_c = filename.toCharArray(); for( int i=0; i<filename.length(); i++) { config_file[i] = (short)filename_c[i]; } // return the filename short[][] config = {config_file}; return config; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Config getConfig () {\n return this.conf;\n }", "public Config getConfig();", "public String getConfiguration(){\n\t\treturn this.config;\n\t}", "Configuration getConfiguration();", "Configuration getConfiguration();", "Configuration getConfiguration();", "Configuration getConfiguration();", "protected Configuration getConfiguration(){\n return configuration;\n }", "public String getConfiguration()\r\n\t{\r\n\t\treturn _configuration; \r\n\t}", "public static Config getConfig(){\n return _Config;\n }", "public static Configuration getConfiguration() {\r\n\t\treturn config;\r\n\t}", "public C getConfig()\n {\n return config;\n }", "ConfigBlock getConfig();", "public static Config getConfig() {\r\n\t\treturn cfg;\r\n\t}", "protected Configuration getConfiguration() {\n return configuration;\n }", "public String getConfig() {\n\t\treturn(config);\n\t}", "public String getConfiguration() {\r\n\t\treturn configuration;\r\n\t}", "public Configuration getConfiguration() {\n return config;\n }", "public Configuration getConfiguration() {\n return config;\n }", "public String getConfiguration() {\n return configuration;\n }", "public Object getConfig() {\n return config;\n }", "public ConfigurationHolder getConfiguration() {\n return this.cfg;\n }", "public abstract Configuration configuration();", "public String getConfig();", "public Config getConfig() {\n return config;\n }", "public ConfigurationManagement getConfig() {\r\n\t\treturn config;\r\n\t}", "private Configuration getConfiguration() {\n return getPackageData().getConfiguration();\n }", "public abstract String getConfig();", "public ConfigCommon getConfig() {\n return config;\n }", "public Configuration c() {\n return configuration;\n }", "public Object\tgetConfiguration();", "public Configuration getConfiguration() {\n return configurationParameter.getConfiguration();\n }", "@Override\n\tpublic Configuration getConf() {\n\t\treturn this.Conf;\n\t}", "public String getConfiguration() {\n return this.configuration;\n }", "public Configuration getConfiguration() {\n return configuration;\n }", "public Configuration getConfiguration() {\n return configuration;\n }", "public Configuration getConfiguration() {\n return configuration;\n }", "public Configuration getConfiguration() {\n return configuration;\n }", "C getConfiguration();", "public Configuration getCfg() {\n return cfg;\n }", "RootConfig getConfig();", "static Properties getConfig()\n {\n return(config);\n }", "public KernelConfig getConfig()\n {\n Kernel.checkAccess();\n return config;\n }", "GeneralConfiguration getGeneralConfiguration();", "protected Configuration getConfiguration() {\n return variable.getConfiguration();\n }", "public String getConfig() {\n\n return config;\n }", "public p getConfig() {\n return c.K();\n }", "public String configurationInfo();", "public MyConfig getConfig() {\n return config;\n }", "public Bmv2Configuration configuration() {\n return configuration;\n }", "public Object getConf() {\n return this.conf;\n }", "public ConfigProvider getConfig() {\n return config;\n }", "protected Map<String, Object> getConfigurationParameters(){\n\t\treturn configurationParameters;\n\t}", "public Configuration getConfiguration() {\n\t\treturn theConfiguration;\n\t}", "@Override\n\tpublic Map<String, String> getConfig() {\n\t\treturn null;\n\t}", "public ConfigurationNode getConfig() {\n return this.configManager.getConfig();\n }", "protected final Configuration getConfiguration()\n {\n return mConfiguration;\n }", "@Override\n public Map<String, ConfiguredVariableItem> getConfiguration() {\n return config;\n }", "protected final Map<String, String> getConfiguration() {\r\n\t\treturn Collections.unmodifiableMap(configuration);\r\n\t}", "public IProjectConfiguration getConfiguration()\n {\n return new ProjectConfiguration(mProject, mCheckConfigs, mFileSets, mFilters,\n mUseSimpleConfig);\n }", "public JsonObject getConfig() {\n return config;\n }", "public static ConfigManager getConfiguration() {\n return configuration;\n }", "public Parameters getConfigParameters();", "public String getStringConfiguration()\r\n\t{\r\n\t\treturn config;\r\n\t}", "public IIndexFactoryConfig getConfig() {\n\t\treturn getConfiguration();\n\t}", "public Configs getConfig() {\n boolean[] $jacocoInit = $jacocoInit();\n int defaultPerLineCount = Type.FOLLOW_STORE.getDefaultPerLineCount();\n Type type = Type.FOLLOW_STORE;\n $jacocoInit[1] = true;\n Configs configs = new Configs(this, defaultPerLineCount, type.isFixedPerLineCount());\n $jacocoInit[2] = true;\n return configs;\n }", "public CompositeConfiguration getConfiguration() {\n return _configuration;\n }", "public LocalConfiguration getConfiguration() {\n return configuration;\n }", "private static Configuration getConfig() {\n Configuration vgConfig = new Configuration();\n vgConfig.addBrowser(1200, 800, BrowserType.CHROME);\n vgConfig.addBrowser(1200, 800, BrowserType.FIREFOX);\n vgConfig.addBrowser(1200, 800, BrowserType.EDGE);\n vgConfig.addBrowser(1200, 800, BrowserType.SAFARI);\n vgConfig.addDeviceEmulation(DeviceName.iPhone_X, ScreenOrientation.PORTRAIT);\n return vgConfig;\n }", "private void GetConfig()\n {\n boolean useClassPath = false;\n if(configFile_ == null)\n {\n useClassPath = true;\n configFile_ = \"data.config.lvg\";\n }\n // read in configuration file\n if(conf_ == null)\n {\n conf_ = new Configuration(configFile_, useClassPath);\n }\n }", "public FabricCommonConfig getConfig() {\n if (null == config) {\n config = new FabricCommonConfig();\n }\n return config;\n }", "public DeviceConfig getConfig() {\n return config;\n }", "private Configuration getConfig() {\n final Configuration config = new Configuration();\n for (final Field field : getClass().getDeclaredFields()) {\n try {\n final Field configField = Configuration.class.getDeclaredField(field.getName());\n field.setAccessible(true);\n configField.setAccessible(true);\n\n final Object value = field.get(this);\n if (value != null) {\n configField.set(config, value);\n getLog().debug(\"using \" + field.getName() + \" = \" + value);\n }\n } catch (final NoSuchFieldException nsfe) {\n // ignored\n } catch (final Exception e) {\n getLog().warn(\"can't initialize attribute \" + field.getName());\n }\n\n }\n if (containerProperties != null) {\n final Properties props = new Properties();\n props.putAll(containerProperties);\n config.setProperties(props);\n }\n if (forceJspDevelopment) {\n if (config.getProperties() == null) {\n config.setProperties(new Properties());\n }\n config.getProperties().put(\"tomee.jsp-development\", \"true\");\n }\n return config;\n }", "protected final Dictionary<String, ?> getSiteConfiguration() {\n return config;\n }", "ArrayList<ArrayList<String>> get_config(){\n return config_file.r_wartosci();\n }", "public ComponentListConfig getConfig() {\n return CONFIG;\n }", "public PictureConfig getConfig() {\n return config;\n }", "public static Config config() {\n return LiveEventBusCore.get().config();\n }", "@java.lang.Override\n public com.google.protobuf.Any getConfiguration() {\n return configuration_ == null ? com.google.protobuf.Any.getDefaultInstance() : configuration_;\n }", "@Override\n\tpublic Map<String, String> getConf() {\n\t\treturn null;\n\t}", "public FileConfiguration getConfig () {\n if (fileConfiguration == null) {\n this.reloadConfig();\n }\n return fileConfiguration;\n }", "private static ConfigSource config()\n {\n return CONFIG_MAPPER_FACTORY.newConfigSource()\n .set(\"type\", \"mailchimp\")\n .set(\"auth_method\", \"api_key\")\n .set(\"apikey\", \"xxxxxxxxxxxxxxxxxxx\")\n .set(\"access_token\", \"xxxxxxxxxxxxxxxxxxx\")\n .set(\"list_id\", \"xxxxxxxxxxxxxxxxxxx\")\n .set(\"email_column\", \"email\")\n .set(\"fname_column\", \"fname\")\n .set(\"lname_column\", \"lname\");\n }", "public PerWorldConfig getConfig(World world){\n \t\treturn config.get(world);\n \t}", "public ClientConfiguration getConfiguration() {\r\n return this.configuration;\r\n }", "public String getStringConfiguration() {\n\t\treturn config;\n\t}", "protected WorkloadConfiguration getConfguration() {\n\t\treturn workloadConfiguration;\n\t}", "public Configuration getConfiguration() {\n \tif (configurationRef==null)\n \t\treturn null;\n \treturn (Configuration)configurationRef.get();\n }", "public static Configuration getConfiguration() {\n synchronized (Configuration.class) {\n return configuration;\n }\n }", "private String[] getConfiguration() {\n String[] result = new String[6];\n // Query the latest configuration file made and send it back in an array of strings\n String query = \"SELECT * FROM configuration ORDER BY configuration_id DESC LIMIT 1\";\n sendQuery(query);\n try {\n if(resultSet.next()) {\n for (int i = 1; i < 7; i++) {\n result[i-1] = resultSet.getString(i);\n }\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return result;\n }", "public List<TemplatorConfig> getConfig() {\n return cfg;\n }", "public Element getConfig() {\n Element out = new Element(getElementName(),MarsModel.NAMESPACE);\n out.setAttribute(\"enabled\",String.valueOf(enabled));\n out.setAttribute(\"xmlfile\",xmlfile.getPath());\n out.setAttribute(\"period\",String.valueOf(period));\n out.setAttribute(\"xslthref\",xslthref);\n return out;\n }", "public WriterConfig getConfig() {\n return mConfig;\n }", "@ApiModelProperty(required = true, value = \"Configuration parameters for the connector.\")\n public Map<String, String> getConfig() {\n return config;\n }", "protected Configuration createConfiguration()\r\n/* 76: */ {\r\n/* 77:119 */ this.configuration_d.setNumOfIterations(Integer.parseInt(this.jTextField1.getText()));\r\n/* 78:120 */ this.configuration_d.setPopulationSize(Integer.parseInt(this.popSize_d.getText()));\r\n/* 79:121 */ ((GAConfiguration)this.configuration_d).setCrossoverThreshold(Double.valueOf(this.jTextField2.getText()).doubleValue());\r\n/* 80:122 */ ((GAConfiguration)this.configuration_d).setMutationThreshold(Double.valueOf(this.jTextField3.getText()).doubleValue());\r\n/* 81:123 */ ((GAConfiguration)this.configuration_d).setMethod((String)this.methodList_d.getSelectedItem());\r\n/* 82:124 */ return this.configuration_d;\r\n/* 83: */ }", "public FileConfiguration getConfiguration() {\n return configuration;\n }", "public ComponentConfiguration getConfiguration();", "public ArrayList<Configuration> getConfigurations(){\n return configurations;\n }", "public ReportConfig getConfiguration() {\r\n return predecessor.getConfiguration();\r\n }", "public static Configuration getCurrentConfig() {\n return ConfigManager.getCurrentConfig();\n }", "@java.lang.Override\n public com.google.protobuf.AnyOrBuilder getConfigurationOrBuilder() {\n return getConfiguration();\n }", "public Map getConfiguration() {\r\n\t\tMap config = (HashMap) getServlet().getServletContext().getAttribute(\r\n\t\t\t\tConstants.CONFIG);\r\n\t\t// so unit tests don't puke when nothing's been set\r\n\t\tif (config == null) {\r\n\t\t\treturn new HashMap();\r\n\t\t}\r\n\t\treturn config;\r\n\t}" ]
[ "0.8224471", "0.81659275", "0.81303716", "0.8071951", "0.8071951", "0.8071951", "0.8071951", "0.79891497", "0.7979143", "0.79367197", "0.7913935", "0.78706455", "0.78271914", "0.7819791", "0.7764073", "0.7761228", "0.77539724", "0.77522695", "0.77522695", "0.77467525", "0.77451354", "0.77420914", "0.7721357", "0.7719977", "0.7699388", "0.7681986", "0.76758647", "0.7672365", "0.7656741", "0.76536065", "0.7634124", "0.7611248", "0.7602863", "0.75877506", "0.75841975", "0.75841975", "0.75841975", "0.75841975", "0.75808436", "0.75555825", "0.7550175", "0.75463873", "0.75304073", "0.7520076", "0.7500764", "0.7499448", "0.7497293", "0.74894714", "0.7472066", "0.74719757", "0.7456932", "0.7455043", "0.74146795", "0.7411389", "0.73864204", "0.73591024", "0.73555267", "0.7345551", "0.7335686", "0.7311727", "0.73081917", "0.72682333", "0.72394115", "0.7223683", "0.72185105", "0.71896505", "0.71803886", "0.71740794", "0.7148742", "0.71406627", "0.7136802", "0.71123123", "0.71120554", "0.71029896", "0.7102312", "0.70700216", "0.7058656", "0.70565957", "0.7043934", "0.7033555", "0.70307183", "0.70302933", "0.7026475", "0.7019323", "0.7013427", "0.70129174", "0.70021886", "0.700121", "0.6974718", "0.69604504", "0.69423836", "0.6941666", "0.693892", "0.6927659", "0.69127935", "0.69083256", "0.6903082", "0.6900375", "0.689185", "0.68863416", "0.6868954" ]
0.0
-1
/ TODO: if file exists, create a new filename ..._1.txt, ..._2.txt etc. TODO: do some replacement, e.g. replace %DATE% by actual date... etc.
public boolean setConfiguration(String[] strConfig) { if ( strConfig == null || strConfig.length == 0 ) { System.out.println("No configuration for TitanFileWriter"); // We take the current date and time as filename Date now = new Date(); DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd-HHmmss"); filename = dateFormat.format(now) + ".txt"; return true; } else if ( strConfig.length > 1 ) { System.out.println("Wrong configuration for TitanFileWriter"); return false; } filename = strConfig[0].toString(); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String createUniqueSuffix(String filename) {\n \t\tint fileTypeIdx = filename.lastIndexOf('.');\n \t\tString fileType = filename.substring(fileTypeIdx); // Let the fileType include the leading '.'\n \n \t\tfilename = filename.substring(0, fileTypeIdx); // Strip off the leading '/' from the filename\n \n \tSimpleDateFormat timestampFormatter = new SimpleDateFormat(\"yyyyMMddHHmmssSSS\");\n \t\tString timstampStr = '_' + timestampFormatter.format(new Date());\n \n \t\treturn filename + timstampStr + fileType;\n \t}", "private void modifyCreationDateForSingleFile() throws IOException {\n int n = (int) (Math.random() * NUMBER_OF_TEST_FILES);\n File f = new File(path, \"file_\" + n + \".txt\");\n Path path = Paths.get(f.toURI());\n BasicFileAttributes attr;\n attr = Files.readAttributes(path, BasicFileAttributes.class);\n FileTime creationTime = attr.creationTime();\n Calendar c = new GregorianCalendar();\n c.setTime(new Date(creationTime.toMillis()));\n c.add(Calendar.DAY_OF_YEAR, -10);\n BasicFileAttributeView attributes = Files.getFileAttributeView(path, BasicFileAttributeView.class);\n FileTime time = FileTime.fromMillis(c.getTimeInMillis());\n attributes.setTimes(time, time, time);\n }", "private synchronized void updateFilename()\n\t{\n\t\tCalendar cal = Calendar.getInstance();\n\t\tDate date = cal.getTime();\n\n\t\tcal.add(Calendar.DATE, 1);\n\t\tcal.set(Calendar.HOUR_OF_DAY, 0);\n\t\tcal.set(Calendar.MINUTE , 0);\n\t\tcal.set(Calendar.SECOND, 0);\n\n\t\tfilename = prefix + dateFormat.format(date);\n\t\tnextRotate = cal.getTimeInMillis();\n\t}", "private String getEditedFilename(File f) {\n \tString name = \"$Corrupted$\";\n \tString s = \"$Corrupted$\";\n \t\n \ttry {\n \t\tBufferedReader br = new BufferedReader( new FileReader(f) );\n \t\ts = br.readLine();\n \t\tbr.close();\n \t\n \t}catch (IOException e) {\n \t\te.printStackTrace();\n \t}\n \t\n\n \tif ( s.substring(0,6).equals(\"title\"+dataSep) ) {\n \t\tname = s.substring(6,s.length());\n \t\t\n \t}\n \t\n \treturn name;\n \t\n }", "public String createDefaultSaveFileName()\r\n {\r\n StringBuffer SaveFileNameBuffer = new StringBuffer(\"grep\");\r\n\r\n // Add the date to the file name.\r\n GregorianCalendar NowCalendar = new GregorianCalendar();\r\n int Year = NowCalendar.get(Calendar.YEAR);\r\n int Month = NowCalendar.get(Calendar.MONTH) + 1;\r\n int Day = NowCalendar.get(Calendar.DAY_OF_MONTH);\r\n SaveFileNameBuffer.append(Year);\r\n if (Month < 10)\r\n SaveFileNameBuffer.append('0');\r\n SaveFileNameBuffer.append(Month);\r\n if (Day < 10)\r\n SaveFileNameBuffer.append('0');\r\n SaveFileNameBuffer.append(Day);\r\n\r\n // Add the search pattern to the file name (excluding illegal characters).\r\n String SearchPatternString = SearchPatternField.getText();\r\n for (int CharIndex = 0; CharIndex < SearchPatternString.length(); CharIndex++)\r\n {\r\n char CurrentChar = SearchPatternString.charAt(CharIndex);\r\n if (Character.isJavaIdentifierPart(CurrentChar) )\r\n SaveFileNameBuffer.append(CurrentChar);\r\n }\r\n\r\n SaveFileNameBuffer.append(\".txt\");\r\n return (SaveFileNameBuffer.toString() );\r\n }", "private String getNextFileName() {\n\n File fileDir = new File(Environment.getExternalStorageDirectory()\n + File.separator + mTestFolderName\n + File.separator);\n\n if (!fileDir.exists()) {\n fileDir.mkdirs();\n }\n //build filename\n GregorianCalendar gregorianCalendar = new GregorianCalendar();\n gregorianCalendar.setTime(new Date(System.currentTimeMillis()));\n String date = new SimpleDateFormat(\"dd-MM-yy_HH-mm\").format(gregorianCalendar.getTime());\n MainActivity.sTestFileDate = date;\n return Environment.getExternalStorageDirectory()\n + File.separator + mTestFolderName\n + File.separator + \"merge_T1_\" + date\n + \".mp4\";\n }", "public static void outputFile(String name, String path, List<String> txt)\n\t{\n\t\tString pathb = Constants.path + \"/\" + path;\n\n\t\tFile folder = new File(pathb);\n\t\tif (!folder.exists())\n\t\t{\n\t\t\tfolder.mkdirs();\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tFile bin = new File(pathb, \"bin.inf\");\n\n\t\t\tboolean binex = false;\n\t\t\tboolean recount = false;\n\t\t\tint count = -1;\n\t\t\tif (!bin.exists())\n\t\t\t{\n\t\t\t\tbin.createNewFile();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbinex = true;\n\t\t\t\tFileReader fr = new FileReader(bin);\n\t\t\t\tBufferedReader br = new BufferedReader(fr);\n\n\t\t\t\tcount = Integer.parseInt(br.readLine());\n\t\t\t\tbr.close();\n\t\t\t}\n\n\t\t\tfor (int i = count; i >= -1; i--)\n\t\t\t{\n\t\t\t\tFile file = new File(pathb, addBefoPnt(name, \"_\" + i));\n\t\t\t\tif (file.exists())\n\t\t\t\t{\n\t\t\t\t\tfile.renameTo(new File(pathb, addBefoPnt(name, \"_\" + (i + 1))));\n\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tif (i == -1)\n\t\t\t\t\t{\n\t\t\t\t\t\tfile = new File(pathb, addBefoPnt(name, \"_latest\"));\n\t\t\t\t\t\tif (file.exists())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfile.renameTo(new File(pathb, addBefoPnt(name, \"_\" + (i + 1))));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t\trecount = true;\n\t\t\t}\n\n\t\t\tFile file = new File(pathb, addBefoPnt(name, \"_\" + (count + 1)));\n\n\t\t\tif (file.exists())\n\t\t\t{\n\t\t\t\trecount = true;\n\t\t\t}\n\n\t\t\tfile = new File(pathb, addBefoPnt(name, \"_latest\"));\n\t\t\tfile.createNewFile();\n\n\t\t\tFileWriter ffr = new FileWriter(file);\n\t\t\tBufferedWriter fbr = new BufferedWriter(ffr);\n\n\t\t\tfor (String s : txt)\n\t\t\t{\n\t\t\t\tfbr.write(s + \"\\n\");\n\t\t\t}\n\n\t\t\tfbr.flush();\n\t\t\tfbr.close();\n\t\t\tif (!binex)\n\t\t\t{\n\t\t\t\t// -1 for latest\n\t\t\t\tint cnt = -1;\n\t\t\t\tFile f = new File(pathb, name + \"_\" + 0);\n\t\t\t\twhile (f.exists())\n\t\t\t\t{\n\t\t\t\t\tcnt += 1;\n\t\t\t\t\tf = new File(pathb, addBefoPnt(name, \"_\" + (cnt + 1)));\n\t\t\t\t}\n\t\t\t\tFileWriter fr = new FileWriter(bin);\n\t\t\t\tBufferedWriter br = new BufferedWriter(fr);\n\n\t\t\t\tbr.write(cnt + \"\");\n\t\t\t\tbr.flush();\n\t\t\t\tbr.close();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tFileWriter fr = new FileWriter(bin);\n\t\t\t\tBufferedWriter br = new BufferedWriter(fr);\n\n\t\t\t\tbin.delete();\n\t\t\t\tbin.createNewFile();\n\n\t\t\t\tif (!recount)\n\t\t\t\t\tbr.write(count + 1 + \"\");\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tcount = -1;\n\t\t\t\t\tFile f = new File(pathb, addBefoPnt(name, \"_\" + 0));\n\t\t\t\t\twhile (f.exists())\n\t\t\t\t\t{\n\t\t\t\t\t\tcount += 1;\n\t\t\t\t\t\tf = new File(pathb, addBefoPnt(name, \"_\" + (count + 1)));\n\t\t\t\t\t}\n\t\t\t\t\tbr.write(count + \"\");\n\t\t\t\t}\n\n\t\t\t\tbr.flush();\n\t\t\t\tbr.close();\n\t\t\t}\n\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "private String constructFileName(String filename, int index, String timestamp)\r\n\t{\r\n\r\n\t\tStringBuffer tempFileName = new StringBuffer();\r\n\t\tif (null == timestamp || \"\".equals(timestamp))\r\n\t\t{\r\n\t\t\tSimpleDateFormat currentDate = new SimpleDateFormat(this.getDatePattern());\r\n\t\t\ttimestamp = currentDate.format(new Date());\r\n\t\t}\r\n\t\tFile file = new File(filename);\r\n\t\tString absFile = file.getName();\r\n\t\tString absPath = file.getParent();\r\n\t\tString filenameFirstPart = absFile;\r\n\t\tString ext = \"\";\r\n\t\tif (this.getSuffixOrPrefix().equals(PREFIXCONST))\r\n\t\t{\r\n\t\t\tfilenameFirstPart = retrieveFileNameWithOutExt(absFile);\r\n\t\t\text = retrieveFileExtension(absFile);\r\n\t\t}\r\n\t\tString appender = ext.equals(\"\") ? \"\" : \".\";\r\n\t\ttempFileName.append(absPath);\r\n\t\ttempFileName.append(File.separatorChar);\r\n\t\ttempFileName.append(filenameFirstPart);\r\n\t\ttempFileName.append(this.getPatternSeparator());\r\n\t\ttempFileName.append(timestamp);\r\n\t\ttempFileName.append(this.getPatternSeparator());\r\n\t\ttempFileName.append(index < 10 ? \"0\" + index : index);\r\n\t\tif (this.getSuffixOrPrefix().equals(PREFIXCONST))\r\n\t\t{\r\n\t\t\ttempFileName.append(appender);\r\n\t\t\ttempFileName.append(ext);\r\n\t\t}\r\n\t\treturn tempFileName.toString();\r\n\r\n\t}", "private String generateFileName(MultipartFile multiPart) {\n return new Date().getTime() + \"-\" + multiPart.getOriginalFilename().replace(\" \", \"_\");\n }", "public String generateFileName()\r\n {\r\n for (;;)\r\n {\r\n String name = generateFileName(\"_\" + Math.abs(random.nextInt()));\r\n if (!(new File(name)).exists())\r\n return name;\r\n }\r\n }", "private static String buildFileName(int exportMode, String currentTimestamp)\n {\n String fileNamePrefix;\n\n if(exportMode != -1)\n {\n fileNamePrefix = ExportModeHandler.getFilePrefix(exportMode);\n }\n else\n {\n fileNamePrefix = \"RAW_\";\n }\n\n return fileNamePrefix + Utilities.getDeviceName() + \"_\" + currentTimestamp + \".txt\";\n }", "public static String getFileName()\r\n\t{\r\n\t\tString name = \"d3_\";\r\n\t\tjava.util.Date tNow = new java.util.Date();\r\n\r\n\t\tjava.text.SimpleDateFormat df = new java.text.SimpleDateFormat(\"mm_ss\");\r\n\r\n\t\tname = name + \"_\" + df.format(tNow) + \".wmf\";\r\n\r\n\t\treturn name;\r\n\t}", "String createPermanentFile(String text) {\r\n\t\t// create a filename based on the hash code of the text\r\n\t\tint hashCode = text.hashCode();\r\n\t\tString fileName = hashCode+\".mp3\";\r\n\t\tlog.config(\"createPermanentFile for text \"+text+\" filename=\"+fileName);\r\n\t\tFile file = new File(Configuration.getConfiguration().getMpdFileDirectory(),fileName);\r\n\t\t\r\n\t\t// if a file with this text does not already exist => create it\r\n\t\tif(!file.exists()) {\r\n\t\t\tlog.fine(\"file does not exist - need to convert\");\r\n\t\t\tconvert(text,Configuration.getConfiguration().getMpdFileDirectory(),fileName);\r\n\t\t}\r\n\t\t\r\n\t\t// return the filename\r\n\t\treturn fileName;\r\n\t}", "String prepareFile();", "public static String getNewSaveName() {\n if (!new File(DIRECTORY_NAME).exists()) {\n boolean success = (new File(DIRECTORY_NAME)).mkdirs();\n if (!success) {\n JOptionPane.showMessageDialog(null, \"Failed to create directory '\" + DIRECTORY_NAME + \"'\");\n return null;\n }\n }\n\n File f;\n String firstPart = DIRECTORY_NAME + \"/\" + SERIALIZED_NAME;\n String s;\n\n // Keep running until an unused name is found\n while (true) {\n // Construct another file name\n s = firstPart + ++count + NAME_EXTENSION;\n\n // Check if file exist\n f = new File(s);\n if (!f.exists()) {\n return s; // return the name if exist\n }\n }\n\n }", "private String formatSynonymListFileName(String synonymListName) {\n \t\n \tif(synonymListName.trim().endsWith(\".txt\")) {\n \t return StringUtils.replaceChars(synonymListName, ' ', '_').toLowerCase();\n \t}\n \t\n return StringUtils.replaceChars(synonymListName, ' ', '_').toLowerCase() + \".txt\";\n }", "private File createNewFileName(File branch, String fileName)\r\n \t{\r\n \t\ttry {\r\n \r\n \t\t\tString newFileName = branch.getCanonicalFile() + \"/\"+ fileName;\r\n \t\t\tFile newFile= new File(newFileName);\r\n \t\t\t//if this filename already exists\r\n \t\t\tif (newFile.exists())\r\n \t\t\t{\r\n \t\t\t\tString prefix= fileName;\r\n \t\t\t\tString suffix= \"\";\r\n \t\t\t\tString[] parts= fileName.split(\"[.]\");\r\n \t\t\t\tif (parts.length >1)\r\n \t\t\t\t{\r\n \t\t\t\t\tprefix= \"\";\r\n \t\t\t\t\tfor (int i= 0; i < parts.length-1; i++)\r\n \t\t\t\t\t{\r\n \t\t\t\t\t\tif (i==0) prefix= prefix + parts[i];\r\n \t\t\t\t\t\telse prefix= prefix + \".\" + parts[i];\r\n \t\t\t\t\t}\r\n \t\t\t\t\tsuffix= \".\"+parts[parts.length-1];\r\n \t\t\t\t}\t\r\n \t\t\t\tint i= 0;\r\n \t\t\t\t//searching for new name\r\n \t\t\t\twhile(newFile.exists())\r\n \t\t\t\t{\r\n \t\t\t\t\tnewFileName= branch.getCanonicalFile() + \"/\"+ prefix+ \"_\"+i+suffix;\r\n \t\t\t\t\tnewFile= new File(newFileName);\r\n \t\t\t\t\ti++;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\treturn(newFile);\r\n \t\t} catch (IOException e) {\r\n \t\t\tthrow new ExternalFileMgrException(e);\r\n \t\t}\r\n \t}", "private String generateFileName() {\n\t\t\n\t\treturn \"/tmp/logger.java_log\" + new Random().nextInt();\n\t}", "public void updateFileName()\n {\n\n String fn= presenter.getCurrentTrack().getFileName();\n if(fn!=null && !fn.isEmpty()) {\n File file = new File(fn);\n fn=file.getName();\n }\n if(fn==null || fn.isEmpty())\n fn=\"*\";\n fileNameTextView.setText(fn);\n }", "public static String appendTimeFrameToFileNameSuggestion(String fileNameBase, TimeFrame timeFrame) {\n\t\tif (timeFrame == null) {\n\t\t\treturn fileNameBase;\n\t\t}\n\t\t\n\t\tStringBuffer sb = new StringBuffer(fileNameBase);\n\t\t\n \tif (timeFrame.isInSameYear()) {\n \t\tsb.append(Constants.UNDERSCORE).append(timeFrame.getFromYear());\n \tif (timeFrame.isInSameMonth()) {\n \t\tsb.append(String.format(\"%02d\", timeFrame.getFromMonth()));\n \t}\n \t}\n\t\t\n\t\treturn sb.toString();\n\t}", "public static void createFile(String file) throws FileNotFoundException {\n\t\tif(!file.contains(\".txt\")) {\n\t\t\tthrow new IllegalArgumentException(\"Wrong format\"); \n\t\t}\n\t\tPrintWriter pw = new PrintWriter(file);\n\t\tpw.close();\n\n\t}", "public String generateFileName(String midName)\r\n {\r\n return dir + nameBase + midName + nameSuffix;\r\n }", "private String setFileName() {\n Calendar c = Calendar.getInstance();\n\n String LOG = \"\";\n\n LOG += c.get(Calendar.YEAR);\n\n if (c.get(Calendar.MONTH) < 10)\n LOG += \"0\";\n LOG += c.get(Calendar.MONTH) + 1;\n\n if (c.get(Calendar.DATE) < 10)\n LOG += \"0\";\n LOG += c.get(Calendar.DATE);\n\n if (c.get(Calendar.HOUR_OF_DAY) < 10)\n LOG += \"0\";\n LOG += c.get(Calendar.HOUR_OF_DAY);\n\n if (c.get(Calendar.MINUTE) < 10)\n LOG += \"0\";\n LOG += c.get(Calendar.MINUTE);\n\n LOG += \".csv\";\n\n return LOG;\n }", "FileNameReference createFileNameReference();", "public static void modifytext (String name) throws IOException {\n // Copy the contents of the input file and put it into the new file\n File inputF = new File(\"src/main/java/ex45/\"+ name +\".txt\");\n Path dest = inputF.toPath();\n Path src = Paths.get(\"src/main/java/ex45/exercise45_input.txt\");\n Files.copy(src, dest);\n\n // This process will replace the word 'utilize' with the word 'use'\n String utilize = new String(Files.readAllBytes(dest));\n Charset charset = StandardCharsets.UTF_8;\n utilize = utilize.replaceAll(\"utilize\", \"use\");\n Files.write(dest, utilize.getBytes(charset));\n\n System.out.print(\"Your file has been created.\");\n }", "private String generateFileName(String folderName) {\n\t\tStringBuilder sb = new StringBuilder(10);\n\t\tString fileName;\n\n\t\tfor (;;) {\n\n\t\t\t// produce the random number 0-9\n\t\t\tRandom ran1 = new Random();\n\n\t\t\t// put the number in the StringBuilder\n\t\t\tsb.append(ran1.nextInt(9));\n\n\t\t\tfor (int i = 0; i < 9; i++) {\n\t\t\t\t// produce random alphabet letters\n\t\t\t\tRandom ran2 = new Random();\n\n\t\t\t\t// put the letters in the StringBuilder\n\t\t\t\tsb.append(ALPHABET[ran2.nextInt(26)]);\n\t\t\t}\n\n\t\t\tfileName = sb.toString();\n\n\t\t\t// create the file\n\t\t\tFile testFile = new File(path + folderName + \"\\\\\" + fileName + \".txt\");\n\n\t\t\t// test if the file exists\n\t\t\tif (!existsFile(testFile)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn fileName;\n\t}", "static void createNewFile(String path) \n\t\t{\n\t\tLinkedList<String> defaultData = new LinkedList<String>();\n\t\tdefaultData.add(\"1,Frank,West,98,95,87,78,77,80\");\n\t\tdefaultData.add(\"2,Dianne,Greene,78,94,88,87,95,92\");\n\t\tdefaultData.add(\"3,Doug,Lei,78,94,88,87,95,92\");\n\t\tdefaultData.add(\"4,James,Hewlett,69,92,74,77,89,91\");\n\t\tdefaultData.add(\"5,Aroha,Wright,97,92,87,83,82,92\");\n\t\t\n\t\ttry \n\t\t{\n\t\t\tPrintWriter newFile = new PrintWriter(path, \"UTF-8\"); // Create .txt file in given path\n\t\t\t\n\t\t\tfor (String s : defaultData) \n\t\t\t{\n\t\t\t\tnewFile.println(s); // Write To file\n\t\t\t}\n\t\t\t\n\t\t\tnewFile.close(); // Close File\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tSystem.out.println(\"studentData.txt Created Successfully!\");\n\t\t\n\t}", "private String generateFilename() {\n UUID uuid = UUID.randomUUID();\n return uuid.toString();\n }", "private String getFileName(String path)\n\t{\n\t\tFile file = new File(path);\n\t\tString name = file.getName();\n\t\treturn name.replace(\".\", \"_\");\n\t}", "public abstract String createFilename(Entity entity);", "private String getFileName()\r\n {\r\n DateFormat format = new SimpleDateFormat(\"yyyy-MM-dd__HH_mm\");\r\n \r\n String ret = new String();\r\n ret += preferences.getPreference(UserPreferences.SAVE_LOCATION_PROP);\r\n ret += format.format(new Date());\r\n \r\n String notationStr = notation.getText().trim();\r\n if (!notationStr.isEmpty()) \r\n {\r\n ret += \"__\" + notationStr.replaceAll(\" \\t/\\\\:\", \"_\");\r\n }\r\n \r\n ret += \".csv\";\r\n \r\n return ret;\r\n }", "public static void enterNewTXTFile(String input, String id, String newName, String newHandle, String newTime, String newTweet)\n {\n try {\n String str = Integer.parseInt(id)+ \" \" +newName+ \" \" +newHandle+ \" \" +newTime+ \" \" +newTweet+ \" \";\n writer = new BufferedWriter(new FileWriter(input, true)); // continue to write to existing output file\n writer.write(str);\n writer.newLine();\n writer.close();\n \n } catch (Exception e) { System.out.println(e); }\n }", "public void createFiles() {\r\n try {\r\n FileWriter file = new FileWriter(registerNumber + \".txt\");\r\n file.write(\"Name : \" + name + \"\\n\");\r\n file.write(\"Surname : \" + surname + \"\\n\");\r\n file.write(\"Registration Number : \" + registerNumber + \"\\n\");\r\n file.write(\"Position : \" + position + \"\\n\");\r\n file.write(\"Year of Start : \" + yearOfStart + \"\\n\");\r\n file.write(\"Total Salary : \" + Math.round(totalSalary) + \".00 TL\" +\"\\n\");\r\n file.close();\r\n }\r\n catch(IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "public static void createFile(String name)\n {\n file = new File(name);\n try\n {\n if(file.exists())\n {\n file.delete();\n file.createNewFile();\n }else file.createNewFile();\n \n fileWriter = new FileWriter(file);\n fileWriter.append(\"Generation, \");\n fileWriter.append(\"Fitness, \");\n fileWriter.append(\"Average\\n\");\n \n }catch (IOException e) \n {\n System.out.println(e);\n }\n \n }", "public abstract FileName createName(String absolutePath, FileType fileType);", "private String getSaveName(String filepath) {\r\n String newname = \"\";\r\n for (char c : filepath.toCharArray()) {\r\n if (c == '/' || c == '\\\\' || c == ':') newname+=\"_\";\r\n else newname+=c;\r\n }\r\n newname+=EXTENSION;\r\n return newname;\r\n }", "public static void CreateFile (String filename) {\r\n\t\t try {\r\n\t\t File myObj = new File(filename + \".txt\");\r\n\t\t if (myObj.createNewFile()) {\r\n\t\t System.out.println(\"File created: \" + myObj.getName());\r\n\t\t } else {\r\n\t\t System.out.println(\"File already exists.\");\r\n\t\t }\r\n\t\t } catch (IOException e) {\r\n\t\t System.out.println(\"An error occurred.\");\r\n\t\t e.printStackTrace();\r\n\t\t }\r\n\t\t }", "private String beautiplyFileNameGenerator() {\r\n\t\t// /randomvalue between 0 to 9\r\n\t\tString name = \"beautiply\" + new Random().nextInt(9) + \".png\";\r\n\r\n\t\treturn name;\r\n\t}", "void createFile()\n {\n //Check if file already exists\n try {\n File myObj = new File(\"src/main/java/ex45/exercise45_output.txt\");\n if (myObj.createNewFile()) {\n System.out.println(\"File created: \" + myObj.getName());// created\n } else {\n System.out.println(\"File already exists.\"); //exists\n }\n //Error check\n } catch (IOException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n }", "private File appendFileExtension(File file) {\r\n \t\tString filename = file.getName();\r\n \t\tif (isMissingExtension(filename)) {\r\n \t\t\tcurFile = new File(curFile.getAbsolutePath() + EXTENSION);\r\n \t\t}\r\n \r\n \t\treturn curFile;\r\n \t}", "private void createFile(String fileName, String content) throws IOException {\n File file = new File(fileName);\n if (!file.exists()) {\n file.createNewFile();\n }\n FileWriter fileWriter = new FileWriter(fileName, false);\n fileWriter.append(content);\n fileWriter.close();\n }", "private File createVideoFileName() throws IOException {\n String timestamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n //there are two types of SimpleDateFormat and Date()\n String prepend = \"VIDEO_\" + timestamp + \"_\";\n File videoFile = File.createTempFile(prepend, \".mp4\", mVideoFolder);\n mVideoFileName = videoFile.getAbsolutePath();\n return videoFile;\n\n }", "public static String getTranslatedFixedFilename(String path, int reviewNumber) {\n String builder = Parameters.OUTPUT + Parameters.TRANSLATE_FIXED_PATH + \"/\" + path;\n builder = appendReviewNumber(builder, reviewNumber);\n builder += Parameters.TRANSLATED_FIXED_EXT;\n return builder;\n }", "public static void backupFileWithTimestamp(String fileName) {\n String timeStamp = new SimpleDateFormat(\"yyyy.MM.dd.HH.mm.ss\").format(new Date());\n String[] parts = fileName.split(\"\\\\.\");\n if (parts.length != 2) {\n try {\n throw new Exception(\"File name must have one and only one dot\");\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n else {\n String newFileName = parts[0] + \"_\" + timeStamp + \".\" + parts[1];\n Path source = Paths.get(fileName);\n Path target = Paths.get(newFileName);\n try {\n Files.copy(source, target, StandardCopyOption.REPLACE_EXISTING);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n }", "public static String createFileName(String customer, Date date) {\n \n String name = removeBannedCharacters(customer);\n if (name.length() == 0) {\n name = \"Customer\"; // Something, if there are no valid filename characters. Can you think of a better solution? Ask the user for a name?\n }\n \n // Format the date into a String\n String dateString = simpleDateFormat.format(date);\n \n String filename = String.format(\"%s_%s_invoice.txt\", name, dateString);\n \n return filename;\n \n }", "private File createImageFileName() throws IOException {\n String timestamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n //there are two types of SimpleDateFormat and Date()\n String prepend = \"JPEG_\" + timestamp + \"_\";\n File imageFile = File.createTempFile(prepend, \".jpg\", mImageFolder);\n mImageFileName = imageFile.getAbsolutePath();\n return imageFile;\n\n }", "private void createFile(String outputData, File file) {\n try {\n FileWriter writer = new FileWriter(file);\n writer.write(outputData);\n writer.close();\n } catch (IOException e) {\n e.getSuppressed();\n }\n }", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "public String createFile(String name) {\t\t\n\t\tString filename = this.path + name;\n\t\tFile file = new File(filename);\n\t\t\n\t\ttry {\n\t\t\tif (file.createNewFile()) {\n\t\t System.out.println(\"Created file '\" + filename + \"'.\");\n\t\t \n\t\t // Add file to files list\n\t\t\t\tthis.files.add(name);\t\n\t\t\t\t\n\t\t } else {\n\t\t \t// Null filename to report it was NOT created\n\t\t\t\tfilename = null;\n\t\t System.out.println(\"ERROR - File name already exists!\");\n\t\t }\n\t\t} catch(IOException e) {\n\t\t\t// Null filename to report it was NOT created\n\t\t\tfilename = null;\n\t\t e.printStackTrace();\n\t\t}\t\t\n\t\t\n\t\treturn filename;\n\t}", "private void createScheduleFile() {\n try {\n File scheduleFile = new File(filePath, \"schedule.txt\");\n// FileWriter fw = new FileWriter(scheduleFile);\n\n OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(scheduleFile), StandardCharsets.UTF_8);\n osw.write(\"SCHEDULE:\\n\" + schedule);\n osw.close();\n\n System.out.println(\"schedule.txt successfully created.\");\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public String getFileName() {\n if (url.endsWith(\"/\")) {\n url = url.substring(0, url.length() - 1);\n }\n\n //Replace illegal characters\n String urlFileName = url.replace(\"http://\", \"\");\n urlFileName = urlFileName.replace(\"https://\", \"\");\n urlFileName = urlFileName.replace(\"/\", \"\");\n urlFileName += \".txt\";\n\n return urlFileName;\n }", "public static String getTXTfromAny(String path) {\r\n\r\n\t\tFile oldfile = new File(path);\r\n\t\tString filename = oldfile.getName();\r\n\t\tString newfile = \"\";\r\n\t\t\r\n\t\tfor (int i = 0; i < filename.length(); i++) {\r\n\t\t\tnewfile += filename.charAt(i);\r\n\t\t\tif (filename.charAt(i) == '.') {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tnewfile += \"txt\";\r\n\t\t\r\n\t\tFile file2 = new File(\"./images/\"+ newfile);\r\n\t\tboolean success = oldfile.renameTo(file2);\r\n\t\tif (!success) {\r\n\t\t\tMessages.failedPhase1_3(oldfile);\r\n\t\t}else{\r\n\t\t\tMessages.succeedPhase1_3(oldfile, newfile);\r\n\t\t\t\r\n\t\t}\r\n\t\treturn newfile;\r\n\r\n\t}", "public String writeFileUnderGrad(String fileName) {\n Formatter f = new Formatter();//Use Formatter\r\n f.format(\"%s (%d, %s, %s)%n\", super.getStudentName(), super.getStudentNumber(), super.getStudentSex(), super.getStudentDOB());//Format Student Output\r\n //System.out.println(f);\r\n BufferedWriter out = null; //BufferedWriter\r\n PrintWriter out1 = null; //Use PrintWriter\r\n //Try and Catch method to create the txt file, flush and close\r\n try {\r\n\r\n out = new BufferedWriter(new FileWriter(fileName, true));\r\n out1 = new PrintWriter(out);\r\n out1.write(f.toString());\r\n out1.flush();//Flush text file\r\n } catch (IOException e) {\r\n System.out.println(\"Exception \");\r\n } finally {\r\n try {\r\n out.close();\r\n out1.close();\r\n } catch (IOException ex) {\r\n Logger.getLogger(UnderGraduate.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }\r\n return \"\";\r\n\r\n }", "private String getNomeArquivoItem(File ordem, long numItem)\n\t{\n\t\tDecimalFormat \tdf \t\t\t= new DecimalFormat(\"000\");\n\t\tString\t\t\tnomeArquivo\t= null;\n\t\tPattern \t\tpattern \t= null;\n\t\tPatternMatcher \tmatcher \t= new AwkMatcher();\n\t\tPatternCompiler compiler \t= new AwkCompiler();\n\t\tSubstitution \tsub\t\t\t= new StringSubstitution(\"_\"+df.format(numItem)+\".dat\");\n\t\ttry\n\t\t{\n\t\t\tpattern = compiler.compile(\"[.]dat\");\n\t\t\tnomeArquivo = Util.substitute(matcher,pattern,sub,ordem.getAbsolutePath());\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\t/* Caso algum erro ocorra na troca da extensao do arquivo, entao\n\t\t\t * o arquivo fica com o nome original acrescido da extensao .zip\n\t\t\t */\n\t\t\tSystem.out.println(\"Erro ao criar o nome do arquivo do item para concatenacao. \"+e);\n\t\t\tnomeArquivo = ordem.getAbsolutePath()+\".\"+df.format(numItem);\n\t\t}\n\t\treturn nomeArquivo;\n\t\t//return nomeArquivo.replaceAll(\"[.]dat\",\"_\"+df.format(numItem)+\".dat\");\n\t}", "@Override\n protected String prepareFilename(String filenameTemplate, AmqpClass thisClass, AmqpMethod method,\n AmqpField field, AmqpVersion version)\n {\n StringBuffer sb = new StringBuffer(filenameTemplate);\n if (thisClass != null)\n {\n replaceToken(sb, \"${CLASS}\", thisClass.getName());\n }\n if (method != null)\n {\n replaceToken(sb, \"${METHOD}\", method.getName());\n }\n if (field != null)\n {\n replaceToken(sb, \"${FIELD}\", field.getName());\n }\n return sb.toString();\n }", "private static String getResultFilename(String pathToFile) {\n\t\tString result = null;\n\t\tPath originalFilename = Paths.get(pathToFile).getFileName();\n\t\tif(originalFilename != null) {\n\t\t\tlogger.debug(\"A file name exists: {}\", originalFilename.toString());\n\t\t\tString[] nameParts = originalFilename.toString().split(\"[.]\");\n\t\t\tlogger.debug(\"The {} detected part(s) of the file name are:\", nameParts.length);\n\t\t\tresult = \"\";\n\t\t\tfor(int i=0; i<nameParts.length-1; i++) {\n\t\t\t\tlogger.debug(\"Part {}: {}\", i+1, nameParts[i]);\n\t\t\t\tresult += nameParts[i];\n\t\t\t}\n\t\t\tlogger.debug(\"Part {}: {}\", nameParts.length, nameParts[nameParts.length-1]);\n\t\t\tresult += \".csv\";\n\t\t}\n\t\treturn result;\n\t}", "public void updateFile() {\n try {\n FileWriter fw = new FileWriter(path);\n for (Task t : taskList.getTasks()) {\n fw.write(t.toTxt());\n }\n fw.close();\n } catch (IOException e) {\n System.out.println(\"File cannot be found\");\n }\n }", "void toFile (String fileName);", "String getFileName();", "String getFileName();", "String getFileName();", "String getFileName();", "String getFileName();", "public static void rewriteFile(String name, String path, List<String> txt)\n\t{\n\t\tString pathb = Constants.path + \"/\" + path;\n\n\t\tFile folder = new File(pathb);\n\t\tif (!folder.exists())\n\t\t{\n\t\t\tfolder.mkdirs();\n\t\t}\n\t\ttry\n\t\t{\n\t\t\tFile file = new File(pathb, name);\n\t\t\tif (!file.exists())\n\t\t\t\tfile.createNewFile();\n\n\t\t\tFileWriter ffr = new FileWriter(file);\n\t\t\tBufferedWriter fbr = new BufferedWriter(ffr);\n\n\t\t\tfor (String s : txt)\n\t\t\t{\n\t\t\t\tfbr.write(s + \"\\n\");\n\t\t\t}\n\n\t\t\tfbr.flush();\n\t\t\tfbr.close();\n\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public static final String copybookNameToFileName(String name) {\n\n \tStringBuilder b = new StringBuilder(name);\n \tif (invalidFileChars != null) {\n \t\tfor (int i = 0; i < invalidFileChars.length(); i++) {\n \t\t\tConversion.replace(b, invalidFileChars.substring(i, i+1), replacementChar);\n \t\t}\n \t}\n\t\tConversion.replace(b, \"\\t\", \" \");\n\t\tConversion.replace(b, \"\\n\", \" \");\n\n\t\treturn b.toString();\n }", "public static String renameFileName(String fileName) {\n String formatDate = new SimpleDateFormat(\"yyMMddHHmmss\").format(new Date()); // 当前时间字符串\n String prefix = \"image\";\n// String serialNum = String.format(\"%03d\", fileNum);\n String extension = fileName.substring(fileName.lastIndexOf(\".\")); // 文件后缀\n\n return prefix + formatDate + extension;\n }", "@Override\n public String generate(String url) {\n int startIndex = url.lastIndexOf(\"/\");\n int endIndex = url.indexOf(\".mp4\");\n try {\n return url.substring(startIndex, endIndex) + \".temp\";\n } catch (Exception e) {\n e.printStackTrace();\n return url + \".temp\";\n }\n }", "private static String getEntryName(File source, File file) throws IOException {\n\t\tint index = source.getAbsolutePath().length() + 1;\n\t\tString path = file.getCanonicalPath();\n\n\t\treturn path.substring(index);\n\t}", "private static void createTestFile(String path) throws IOException {\n\t\tFile file = new File(path);\n\t\tFileWriter writer = new FileWriter(file);\n\t\twriter.write(\"Jenkins Test : \"+new Date() + \" ==> Writing : \" + Math.random());\n\t\twriter.flush();\n\t\twriter.close();\n\t}", "private static String fileFormat(Favourite f) {\n\t\treturn f.getIdF()+Constants.KEY_DB_SEPARATOR+\n\t\t\t\tf.getUserId()+Constants.KEY_DB_SEPARATOR\n\t\t\t\t+f.getIdRes() + Constants.KEY_DB_SEPARATOR+\n\t\t\t\t\"\\n\";\n\t}", "public String StoreFile(MultipartFile file) {\n \t \t\n // Normalize file name\n String fileName = StringUtils.cleanPath(file.getOriginalFilename());\n \n // Get any exiting versions of the file\n String[] fileNames = GetAllFileNames(fileName);\n int iNextIndex = fileNames.length + 1;\n \n // Increment the version of the file. All files start with 1.\n String fileNameIndexed = Integer.toString(iNextIndex) + \"_\" + fileName;\n \n try \n {\n // Check if the file's name contains invalid characters. ('_' if not valid because it's used to track version.)\n if(fileName.contains(\"..\") || fileName.contains(\"_\")) {\n throw new FileStorageException(\"Sorry! Filename contains invalid path sequence \" + fileName);\n }\n\n // Copy file to the target location (Replacing existing file with the same name)\n Path targetLocation = this.fileStorageLocation.resolve(fileNameIndexed);\n Files.copy(file.getInputStream(), targetLocation, StandardCopyOption.REPLACE_EXISTING);\n\n return fileName;\n } \n catch (IOException ex) \n {\n throw new FileStorageException(\"Could not store file \" + fileName + \". Please try again!\", ex);\n }\n }", "protected String getFileName()\n {\n return new StringBuilder()\n .append(getInfoAnno().filePrefix())\n .append(getName())\n .append(getInfoAnno().fileSuffix())\n .toString();\n }", "java.lang.String getFilename();", "java.lang.String getFilename();", "private static String filename(String longFileName) {\n try {\n return Util.computeStrongName(longFileName.getBytes(Util.DEFAULT_ENCODING));\n } catch (UnsupportedEncodingException e) {\n throw new RuntimeException(e);\n }\n }", "private void createWinnerScheduleFile() {\n try {\n File scheduleFile = new File(filePath, \"winners.txt\");\n\n OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(scheduleFile), StandardCharsets.UTF_8);\n osw.write(\"WINNERS:\\n\" + winnerSchedule);\n osw.close();\n\n System.out.println(\"winners.txt successfully created.\");\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "private void fileModify(String text) throws IOException {\n text += \"\\n\";\n try {\n File filePath;\n filePath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);\n if (!filePath.exists()) {\n if (filePath.mkdir()) ; //directory is created;\n }\n\n fileOutputStream = new FileOutputStream(file);\n fileOutputStream.write(text.getBytes());\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n fileOutputStream.flush();\n try {\n fileOutputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }", "public static File createFile(String filename){\n try {\n File outputFile = new File(filename + \".csv\");\n\n //Prevent File Overwrite\n int tmp = 1;\n while (outputFile.exists()){\n outputFile = new File(filename + \".csv\" + \".\" + tmp);\n tmp++;\n }\n\n //Creates File\n outputFile.createNewFile();\n\n return outputFile;\n\n } catch (IOException ex) {\n Logger.getLogger(CSVWriter.class.getName()).log(Level.SEVERE, null, ex);\n return null;\n }\n }", "public void filecreate(String Response_details) throws IOException\n\t{\n\t\tFileWriter myWriter = new FileWriter(\"D://Loadtime.txt\",true);\n\t\tmyWriter.write(Response_details+System.lineSeparator());\n\t\tmyWriter.close();\n\t\tSystem.out.println(\"Successfully wrote to the file.\");\n\t\t\n\t\t\n\t}", "public void MakeCommonFnameBasis()\n\t{\n\t\t{\n\t\t\tfcommon = DDUtilFile.MakeFileNameWithDateTime();\n\t\t\t\n\t\t}\n\t\t\n\t}", "String getFilename();", "public void writeToTextFile(String filename){\n try{\n FileWriter myWriter = new FileWriter(filename); \n myWriter.write(toString());\n myWriter.close();\n } \n catch(IOException e) { \n System.out.println(\"An error occurred.\"); \n e.printStackTrace();\n } \n }", "private void writeToFile(){\n Calendar c = Calendar.getInstance();\n String dateMedTaken = DateFormat.getDateInstance(DateFormat.FULL).format(c);\n FileOutputStream fos = null;\n\n try {\n fos = openFileOutput(FILE_NAME, MODE_APPEND);\n fos.write(dateMedTaken.getBytes());\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if(fos != null){\n try {\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n }", "public String createImageName(File imageFile)\n\t{\n\t\tString name = imageFile.getAbsolutePath();\n\t\t\n\t\t// remove the initial part of the path that is common among all images so that only the relative path within the image folder remains\n\t\t// also remove the file's extension\n\t\tname = name.substring(imageFolder.getAbsolutePath().length() + 1, name.lastIndexOf('.'));\t\t\n\t\treturn name;\n\t}", "private static String getFileNameWithoutExtension(File file) {\n String fileName = \"\";\n \n try {\n if (file != null && file.exists()) {\n String name = file.getName();\n fileName = name.replaceFirst(\"[.][^.]+$\", \"\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n fileName = \"\";\n }\n return fileName;\n }", "private File createDestinationFile() {\n\t\tSystem.out.print(\"Please enter the name of the output file that will be created to hold the modified/correct inventory: \");\n\t\tString fileName = sc.nextLine();\n\t\tFile file = new File(fileName);\n\t\twhile (file.exists()) {\n\t\t\tSystem.out.println(\"----->A file with the name of \\\"\" + fileName + \"\\\" [size = \" + file.length() + \" bytes; path = \" + file.getAbsolutePath() + \"] already exists.<-----\");\n\t\t\tSystem.out.print(\"Please input a new file name: \");\n\t\t\tfileName = sc.nextLine();\n\t\t\tfile = new File(fileName);\n\t\t}\n\t\treturn file;\n\t}", "@Override\n protected String generateFileNameForKeyValue(Text key, Text value, String name) {\n if (key.toString().startsWith(\"total_\")) {\n return \"total_simulation.txt\";\n }\n\n String[] split = value.toString().split(\"'\");\n for (String s : split) {\n if (s.contains(\"_\")) {\n int startIndex = s.indexOf(\"_\") + 1;\n return \"results/\" + s.substring(startIndex, s.indexOf(\";\", startIndex)) + \".txt\";\n }\n }\n\n return super.generateFileNameForKeyValue(key, value, name);\n }", "private static String checkForNameConflicts(String fPath) {\n\t\tFile checkForExistence = new File(fPath);\n\n\t\tStringBuilder b = null;\n\t\tboolean firstRun = true; // First time through we just look for \".\", if\n\t\t\t\t\t\t\t\t\t// we have to do a second run because there\n\t\t\t\t\t\t\t\t\t// is a xxx(1).xxx already need to change\n\t\t\t\t\t\t\t\t\t// the digit.\n\t\tint sequenceNum = 1;\n\n\t\twhile (checkForExistence.exists()) {\n\t\t\t// Determine file extension length (.jpg .jgeg)\n\n\t\t\tif (firstRun) {\n\t\t\t\tint periodPosition = fPath.lastIndexOf(\"\\\\.\");\n\n\t\t\t\tb = new StringBuilder(fPath);\n\n\t\t\t\tb.insert(periodPosition - 1, \"(\" + sequenceNum + \")\");\n\t\t\t} else {\n\t\t\t\tint openingParen = fPath.lastIndexOf(\"(\");\n\t\t\t\tint closingParen = fPath.lastIndexOf(\")\");\n\n\t\t\t\tb = new StringBuilder(fPath);\n\n\t\t\t\tb.replace(openingParen + 1, closingParen, sequenceNum + \"\");\n\t\t\t}\n\n\t\t\tfPath = b.toString();\n\t\t\tcheckForExistence = new File(fPath);\n\t\t}\n\n\t\treturn fPath;\n\n\t}", "@Test\n public void createFile(){\n try\n {\n URI uri = new URI(\"http://www.yu.edu/documents/doc390\");//given the complete uri\n String path = uri.getAuthority() + this.disectURI(uri);//get the Path which is www.yu.edu\\documents\n File file = new File(baseDir.getAbsolutePath() + File.separator + path);//make a File with the full class path and with the \"URI Path\"\n Files.createDirectories(file.toPath());//create the directories we didn't have before, ie not apart of the baseDir\n\n File theFile = new File(file.getAbsolutePath() + File.separator + \"doc390.txt\");//create a new File with the document as the last piece\n //wrap in a try because if the file is already there than we don't need to create a file\n if(!theFile.exists())Files.createFile(theFile.toPath());//create this file in the computer\n\n //write to the file -- in the real application this is the writing of the json\n FileWriter fileWriter = new FileWriter(theFile);\n fileWriter.write(\"HaYom sishi BShabbos\");\n fileWriter.flush();\n fileWriter.close();\n\n }\n catch(Exception e){\n e.printStackTrace();\n }\n }", "private void updateFile() {\n\t\tPrintWriter outfile;\n\t\ttry {\n\t\t\toutfile = new PrintWriter(new BufferedWriter(new FileWriter(\"stats.txt\")));\n\t\t\toutfile.println(\"15\"); // this is the number\n\t\t\tfor (Integer i : storeInfo) {\n\t\t\t\toutfile.println(i); // we overwrite the existing files\n\t\t\t}\n\t\t\tfor (String s : charBought) {\n\t\t\t\toutfile.println(s); // overwrite the character\n\t\t\t}\n\t\t\tfor (String s : miscBought) {\n\t\t\t\toutfile.println(s);\n\t\t\t}\n\t\t\toutfile.close();\n\t\t}\n\t\tcatch (IOException ex) {\n\t\t\tSystem.out.println(ex);\n\t\t}\n\t}", "public abstract String toStringForFileName();", "private void saveFile() {\n if (fileExisted == false) {\n JFileChooser fChoice = new JFileChooser();\n int choice = fChoice.showSaveDialog(this);\n if (choice == JFileChooser.APPROVE_OPTION) {\n File f = fChoice.getSelectedFile();\n //\n if(!f.getName().contains(\".txt\")){\n File fN=new File(f.getParent(), f.getName()+\".txt\");\n FileDAO.writeFile(fN, txtContent);\n fMain = fN;\n fileExisted = true;\n lastSave=true;\n this.setTitle(fN.getName());\n }\n else{\n \n FileDAO.writeFile(f, txtContent);\n fMain = f;\n fileExisted = true;\n lastSave=true;\n this.setTitle(f.getName());\n } \n \n }\n } else if (fileExisted == true) {\n FileDAO.writeFile(fMain, txtContent);\n lastSave=true;\n }\n\n }", "public static void WriteToFile (String filename, String insert) {\r\n\t\t try {\r\n\t\t FileWriter myWriter = new FileWriter(filename + \".txt\");\r\n\t\t myWriter.write(insert);\r\n\t\t myWriter.close();\r\n\t\t System.out.println(\"Successfully wrote to the file.\");\r\n\t\t } catch (IOException e) {\r\n\t\t System.out.println(\"An error occurred.\");\r\n\t\t e.printStackTrace();\r\n\t\t }\r\n\t\t }" ]
[ "0.63263226", "0.6236881", "0.62165385", "0.6141966", "0.60919744", "0.60020375", "0.5993009", "0.5982712", "0.59629405", "0.5952763", "0.5949957", "0.59193754", "0.5893651", "0.5882934", "0.58594954", "0.5814914", "0.57834643", "0.5766447", "0.57515144", "0.5713907", "0.5703394", "0.56891847", "0.5681467", "0.5659272", "0.56448746", "0.56436735", "0.5622806", "0.5620564", "0.56044835", "0.5600076", "0.5592866", "0.5572291", "0.5561544", "0.55499816", "0.5545368", "0.5543678", "0.5533754", "0.5533434", "0.552588", "0.5510506", "0.5486292", "0.5463314", "0.5462058", "0.5458454", "0.5449624", "0.54463834", "0.54455936", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.5438607", "0.54329515", "0.54214483", "0.5411389", "0.53536713", "0.53517973", "0.53442544", "0.5339648", "0.53369653", "0.5324582", "0.53070706", "0.5298204", "0.5298204", "0.5298204", "0.5298204", "0.5298204", "0.52925473", "0.5278649", "0.5273278", "0.5269671", "0.5266966", "0.5256259", "0.5237093", "0.52369195", "0.52300066", "0.5229918", "0.5229918", "0.5224224", "0.52114624", "0.52071226", "0.5206155", "0.5199194", "0.5198106", "0.5193602", "0.5193268", "0.5175671", "0.5175075", "0.517222", "0.51700467", "0.5165616", "0.5163042", "0.51472014", "0.51470613", "0.5145816", "0.51428664", "0.51424956" ]
0.0
-1
Getter for the filename.
public String getFilename() { return filename; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String getFilename() {\n return properties.get(FILENAME_PROPERTY);\n }", "java.lang.String getFilename();", "java.lang.String getFilename();", "public String getFilename()\r\n\t{\r\n\t\treturn _filename; \r\n\t}", "public String getFilename()\r\n\t{\r\n\t\treturn filename;\r\n\t}", "public String getFilename() {\r\n return filename;\r\n }", "public String getFilename()\n {\n return filename;\n }", "public String getFilename() {\n\treturn(filename);\n }", "public String getFilename() {\n return filename;\n }", "public String getFilename() {\n return filename;\n }", "@java.lang.Override\n public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n }\n }", "@java.lang.Override\n public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n }\n }", "public String getFilename() {\n return filename;\n }", "public String getFilename() {\n return filename;\n }", "public String getFilename() {\n\t\treturn this.filename;\n\t}", "public String getFilename() {\n\t\treturn this.filename;\n\t}", "public String getFilename() {\n\treturn file.getFilename();\n }", "protected String getFileName() {\n\t\treturn fileName;\n\t}", "public String getFilename(){\n\t\treturn filename;\n\t}", "public String getFilename(){\n\t\treturn filename;\n\t}", "public String filename (){\r\n\t\t\treturn _filename;\r\n\t\t}", "public String getFileName() {\n return filename;\n }", "public final String getFileName()\r\n {\r\n return _fileName;\r\n }", "public String getFileName()\n {\n return getString(\"FileName\");\n }", "public String getFilename();", "@Override\n public String getFilename() {\n return filename;\n }", "@Override\n\tpublic String getFilename() {\n\t\treturn this.path.getFileName().toString();\n\t}", "public String getFileName()\r\n {\r\n return sFileName;\r\n }", "public String getFilename() {\n\t\treturn fileName;\n\t}", "private String getFileName() {\n\t\t// retornamos el nombre del fichero\n\t\treturn this.fileName;\n\t}", "public final String getFileName() {\n\n\t\treturn getValue(FILE_NAME);\n\t}", "public final String getFileName() {\n return this.fileName;\n }", "public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "String getFilename();", "public String getFileName()\r\n {\r\n return fileName;\r\n }", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "public String getFileName() {\r\n return fileName;\r\n }", "public String getFileName() {\r\n return fileName;\r\n }", "public String getFileName() {\r\n return fileName;\r\n }", "public final String getFileName() {\n\t\treturn m_info.getFileName();\n\t}", "public String GetFileName() {\r\n\treturn fileName;\r\n }", "public String getFileName() {\n return this.fileName;\n }", "public String getFileName() {\n return this.fileName;\n }", "public String getFileName(){\n\t\treturn _fileName;\n\t}", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName() {\n return fileName;\n }", "public String getFileName()\n\t{\n\t\treturn fileName;\n\t}", "public String getFileName()\n\t{\n\t\treturn fileName;\n\t}", "public String getFileName() {\r\n\t\treturn fileName;\r\n\t}", "public String getFileName() {\r\n\t\treturn fileName;\r\n\t}", "public String getFileName() {\r\n\t\treturn fileName;\r\n\t}", "public String getFileName() {\n\t\treturn file.getFileName();\n\t}", "public String getFileName() {\n return fileName;\n }", "public String getFileName(){\n\t\treturn fileName;\n\t}", "public String getFileName() \n {\n return fileName;\n }", "public String getFileName ()\n\t{\n\t\treturn FileName;\n\t}", "public String getFileName() {\n\t\treturn fileName;\n\t}", "public String getFileName() {\n\t\treturn fileName;\n\t}", "public String getFileName() {\n\t\treturn fileName;\n\t}", "public String getFileName() {\n\t\treturn fileName;\n\t}", "public String getFileName() {\n\t\treturn fileName;\n\t}", "private String getFilename() {\r\n\t\treturn (String) txtFlnm.getValue();\r\n\t}", "public String getFileName();", "public String getFileName();", "public String getFileName() {\n\t\treturn file.getName();\n\t}", "public String getFileName()\r\n\t{\r\n\t\treturn settings.getFileName();\r\n\t}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getFilenameBytes() {\n java.lang.Object ref = filename_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n filename_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getFilenameBytes() {\n java.lang.Object ref = filename_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n filename_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getFileName() {\n\t\treturn mItems.getJustFileName();\n\t}", "public String fileName () {\n\t\treturn fileName;\n\t}", "public String filename() {\n\t int sep = fullPath.lastIndexOf(pathSeparator);\n\t return fullPath.substring(sep + 1);\n\t }", "public String getFileName ();", "public String getFileName() {\n return mFileNameTextField == null ? \"\" : mFileNameTextField.getText(); //$NON-NLS-1$\n }", "@Override\n protected String getFileName() {\n return path;\n }", "public String getName() {\n\t\treturn filename;\n\t}", "public String fileName() {\n return this.fileName;\n }", "public String fileName() {\n return this.fileName;\n }", "@Column(length = 500, name = \"FILE_NAME\")\r\n public String getFileName() {\r\n return this.fileName == null ? null : this.fileName.substring(this.fileName.lastIndexOf(File.separator) + 1);\r\n }", "public File getFileName() {\n\t\treturn mFileName;\n\t}", "public String getFileName() {\n\t\t\n\t\tString result = null;\n\t\t\n\t\tif(this.exists() && !this.isDirectory())\n\t\t\tresult = this.get(this.lenght - 1);\n\t\t\n\t\treturn result;\n\t}" ]
[ "0.86953783", "0.85983324", "0.85983324", "0.85753006", "0.8537271", "0.8522567", "0.8504952", "0.85042566", "0.8498496", "0.8498496", "0.8473969", "0.8473969", "0.84709436", "0.84709436", "0.8469075", "0.8469075", "0.8461569", "0.8450005", "0.8445016", "0.8445016", "0.84388524", "0.8434757", "0.8420868", "0.8410817", "0.8407839", "0.83985835", "0.836742", "0.8341985", "0.8336498", "0.8306344", "0.82904744", "0.82857865", "0.82756525", "0.82756525", "0.826121", "0.8253622", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8225028", "0.8221288", "0.8221288", "0.8221288", "0.82185805", "0.82053035", "0.81775635", "0.81775635", "0.81775105", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.816469", "0.8158779", "0.8158779", "0.81323534", "0.81323534", "0.81323534", "0.81302005", "0.8118989", "0.811865", "0.81106114", "0.80907303", "0.8088609", "0.8088609", "0.8088609", "0.8088609", "0.8088609", "0.80853975", "0.8061465", "0.8061465", "0.80140495", "0.79895234", "0.798234", "0.798234", "0.7982026", "0.7954448", "0.79515326", "0.79326606", "0.79257923", "0.79180896", "0.79111564", "0.7896311", "0.7896311", "0.78921324", "0.7885633", "0.7863406" ]
0.8426205
24
Constructor(s) This is an overloaded constructor that takes in a Position.
public Bomb(Position posn) { this.posn = posn; this.fuseLength = Bomb.DEFAULT_FUSE_LENGTH; this.dropTime = System.nanoTime(); this.explode = false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Position() {\n\n\t}", "public Position(int x, int y) {\n this.x = x;\n this.y = y;\n }", "public Position(int x, int y) {\n this.x = x;\n this.y = y;\n }", "public Position(Position p_p)\n {\n this.x = p_p.x;\n this.y = p_p.y;\n }", "public Position()\n\t{\n\t\t// do not remove bean constructor.\n\t}", "public Position(final int xPos, final int yPos) {\n this.posX = xPos;\n this.posY = yPos;\n this.charAlg = PositionTraductor.getAlgebraicNotation(posX, posY);\n }", "public POS(int position) {\n \t\tthis.position = position;\n \t}", "public Position(Position position) {\n this.x = position.x;\n this.y = position.y;\n this.xVelocity = position.xVelocity;\n this.yVelocity = position.yVelocity;\n this.xAcceleration = position.xAcceleration;\n this.yAcceleration = position.yAcceleration;\n }", "public Position(int p_X, int p_Y)\n {\n this.x = p_X;\n this.y = p_Y;\n }", "public Position() {\n xCoord = 0;\n yCoord = 0;\n zCoord = 0;\n }", "public Position(int x, int y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "public Position(double x, double y, double z) {\n xCoord = x;\n yCoord = y;\n zCoord = z;\n }", "Position createPosition();", "public PositionComponent(float x, float y) {\n\t\tthis(x, y, 0);\n\t}", "Position_Position createPosition_Position();", "public Position( int xCoordinate, int yCoordinate ) {\n xPosition = xCoordinate;\n yPosition = yCoordinate;\n }", "public void case4_Position() {\r\n Position testPosition = new Position(0,0);\r\n\r\n }", "protected Item(Point pos)\n\t{\n\t\tthis.pos = pos;\n\t}", "public Position(double x, double y) {\n\t\txCoord = x;\n\t\tyCoord = y;\n\t}", "public Point(Vector position) {\n\t\tthis(position, 5.0);\n\t}", "@SuppressWarnings(\"unused\")\n public Coordinate() {}", "public Position(int rowIndex, int colIndex){\r\n this.rowPosition=rowIndex;\r\n this.colPosition=colIndex;\r\n }", "public Position (int r, int c) {\n\t\tthis.r = r;\n\t\tthis.c = c;\n\t}", "public Position(String pos) {\n pos = pos.toLowerCase();\n x = (int) pos.charAt(0) - 97;\n y = (int) pos.charAt(1) - 49;\n }", "@Test(expected = IllegalArgumentException.class)\r\n public void case2_Position() {\r\n Position testPosition = new Position(6, 7);\r\n\r\n }", "public AStarNode(Position pos) {\n this(pos.getX(), pos.getY());\n }", "@Test(expected = IllegalArgumentException.class)\r\n public void case1_Position() {\r\n Position testPosition = new Position(-1, -2);\r\n\r\n }", "Coordinate(int Xposition, int Yposition) {\n\t\tthis.X = Xposition;\n\t\tthis.Y = Yposition;\n\n\t}", "public Position position();", "public PositionComponent(float x, float y, int z) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t}", "public Player(Position position) {\n this.position = position;\n this.image = new Image(\"O\");\n }", "public Corner(double posX,double posY)\n {\n // inicializa variáveis de instância\n this.posX=posX;\n this.posY=posY;\n }", "protected Coord() {\n\t}", "public Position(final Position p) throws PositionOutOfTheMapException {\n\t\tthis(p.i, p.j);\n\t}", "public Position(final int row, final int col) {\r\n this.row = row;\r\n this.col= col;\r\n }", "public AStarNode(double x_pos, double y_pos) {\n super(x_pos, y_pos);\n }", "public Coordinates(int x, int y){\n this.x = x;\n this.y = y;\n }", "public SimpleRichLocation(Position pos, int rank) {\n this(pos,pos,rank,Strand.POSITIVE_STRAND);\n }", "public Node(final int pos)\n {\n this.pos = pos;\n }", "public Location() {\n\t\t\n\t\txCoord=0;\n\t\tyCoord=0;\n\t\t\n\t}", "public Shape() { this(X_DEFAULT, Y_DEFAULT); }", "private Marker(MarkerType type, int position, int relPos, Code context) {\r\n \t\t\tthis(type, null, position, relPos, context);\r\n \t\t}", "public Pixel(int xPos, int yPos){\n\t\t\n\t\tthis.x = new Integer(xPos);\n\t\tthis.y = new Integer(yPos);\n\t\tthis.z = null;\n\t\tthis.intensity = null;\n\t\tthis.type = \"2Dposition\";\n\t}", "public Location(int x, int y)\r\n {\r\n\r\n //this basically makes a new location...it's a constructor\r\n //\"this\" refers to the instance of this class...meaning the instance\r\n //variables. This is saying that the instance variable \"x\" will be\r\n //updated to the value of x that is passed into as a parameter of\r\n //this function. This pretty much makes this a constructor method.\r\n this.x = x;\r\n this.y = y;\r\n\r\n }", "public Coordinates() {\n\t\t\n\t\txPosition = 0;\t\t\t// Sets the x integer to zero\n\t\tyPosition = 0;\t\t\t// Sets the y integer to zero\n\t}", "public Position2D(double x, double y) {\n this.x = x;\n this.y = y;\n }", "public Coordinate(int x,int y)\n {\n this.x = x;\n this.y = y;\n }", "@Test \r\n public void case3_Position() {\r\n Position testPosition = new Position(2, 3);\r\n\r\n }", "public Position() {\r\n\t\tthis.positionX = 0;\r\n\t\tthis.positionY = 0;\r\n\t\tthis.angle = 0;\r\n\t\tthis.penState=true;\r\n\t\tthis.clearScreen=false;\r\n\t\tthis.color=0;\r\n\t}", "public DocumentWordPosition() {}", "private CoordinateImpl(int rank, int file) {\n this.rank = rank;\n this.file = file;\n }", "public Location(int x, int y)\n {\n this.x = x;\n this.y = y;\n }", "public Position(String longitude, String latitude) {\n\t\tthis(Double.parseDouble(longitude.replace(',', '.')), Double.parseDouble(latitude.replace(',', '.')));\n\t}", "public Coordinate() { row = col = -1; }", "posXY(int x, int y){\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}", "public Coordinates(int x, int y)\r\n {\r\n xCoord = x;\r\n yCoord = y;\r\n }", "public TextPos(int lineNumber, int linePos) {\n this.lineNumber = lineNumber;\n this.linePos = linePos;\n }", "@Override\n\tpublic Location newInstance() {\n\t\treturn new Location(this.X,this.Y,0);\n\t}", "Point(int x_, int y_){\n x = x_;\n y = y_;\n }", "public Pixel(int xPos, int yPos, int zPos){\n\t\t\n\t\tthis.x = new Integer(xPos);\n\t\tthis.y = new Integer(yPos);\n\t\tthis.z = new Integer(zPos);\n\t\tthis.intensity = null;\n\t\tthis.type = \"3Dposition\";\n\t}", "public Point()\n\t{ \n\t\t// Instantiate default properties\n\t\tx = 0;\n\t\ty = 0;\n\t}", "public MapFactoryObject(Vector2 position) {\n this.position = position;\n }", "public Tile (int pos, int type) { \r\n\t\tthis.tilePos = pos;\r\n\t\tthis.tileType = type;\r\n\t}", "public Piece(int xLoc, int yLoc)\n\t{\n\t\tl = new Location(xLoc, yLoc);\n\t}", "public SimpleRichLocation(Position pos, int rank, Strand strand) {\n this(pos,pos,rank,strand,null);\n }", "public Base(int posX, int posY, Animacion animacion) {\n this.posX = posX;\n this.posY = posY;\n this.animacion = animacion;\n }", "public Coordinates(int x, int y) {\n\t\t\n\t\txPosition = x;\t\t\t// Assigns the x integer\n\t\tyPosition = y;\t\t\t// Assigns the y integer\n\t}", "public Entity(Vector2 position, Vector2 velocity, List<NPC> npcs){\n\t\tthis.position = position;\n\t\tthis.velocity = velocity;\n\t\tthis.npcs = npcs;\n\t}", "public FaithMarker(int position) {\r\n this.position = position;\r\n }", "public FlagPositions() {\r\n this(6);\r\n }", "public MyPoint1 (double x, double y) {}", "public AbstractGameObject(Level linksTo, int atX, int atY) {\n level = linksTo;\n xPosition = atX;\n yPosition = atY;\n }", "public Monster(int x,int y){\n\tposition[0] = x; //x position\n\tposition[1] = y; //y position\n }", "public Point(int x,int y){\r\n\t\tthis.pos = x;\r\n\t\tthis.id = y;\r\n\t}", "public Coordinate(final Coordinate c) { row = c.row; col = c.col; }", "protected Place(float x, float y) {\n position = new PointF(x, y);\n }", "public TextPos() {\n this.value = 1;\n }", "private TAPosition()\n {\n\n }", "public Coordinate(int x, int y, int identity){\r\n\t\tsuper(x,y);\r\n\t\tthis.identity = identity;\r\n\t}", "public HorizontalCoords() {\n }", "Item(int x, int y) {\n this.posX = x;\n this.posY = y;\n }", "public GridPosition(int x, int y) {\n this.posX = x;\n this.posY = y;\n }", "public Location()\n\t{\n\t\tline = -1;\n\t\tcolumn = -1;\n\t}", "public Light(double xPos, double yPos, double zPos){\n this(xPos, yPos, zPos, 1.0, 1.0, 1.0, 1);\n }", "@Override\n public Position setPosition(double x, double y) {\n this.x = x;\n this.y = y;\n\n return new Position(x, y);\n }", "public void setPosition(Position pos) {\n position = new Position(pos);\n }", "void setPosition(Position p);", "public Position(double[] values) {\n this.values = values;\n }", "public Shape() {\n\t\tthis(DEFAULT_X_POS, DEFAULT_Y_POS, DEFAULT_DELTA_X, DEFAULT_DELTA_Y, DEFAULT_WIDTH, DEFAULT_HEIGHT);\n\t}", "public Position(int posX, int posY, int angle, boolean penState, boolean clear, int color){\r\n\t\tthis.positionX = posX;\r\n\t\tthis.positionY = posY;\r\n\t\tthis.angle = angle;\r\n\t\tthis.penState=penState;\r\n\t\tthis.clearScreen=clear;\r\n\t\tthis.color=color;\r\n\t}", "public ModifiedLocation position(Integer position) {\n this.position = position;\n return this;\n }", "public Entity() {\n this.position = new Point(0,0);\n realX=0;\n realY=0;\n }", "public Translation() {\n\n this(0, 0, 0);\n }", "public Location(int x, int y) {\r\n\t\txCoord = x;\r\n\t\tyCoord = y;\r\n\t}", "PositionedObject(){\n float x = DrawingHelper.getGameViewWidth()/2;\n float y = DrawingHelper.getGameViewHeight()/2;\n _position.set(x,y);\n }", "public Entity(Point position, int gridSize) {\n this.position = new Point(position);\n this.gridSize = gridSize;\n direction = UP;\n\n // without this dummy node, rotation does not work properly\n getChildren().add(new Rectangle(gridSize, gridSize, Color.TRANSPARENT));\n\n update();\n }", "public Point2d() {\r\n\t // Call two-argument constructor and specify the origin.\r\n\t\t this(0, 0);\r\n\t\t System.out.println(\"Point2d default initiializing\");\r\n\t }", "public SimpleRichLocation(Position pos, int rank, Strand strand, CrossRef crossRef) {\n this(pos,pos,rank,strand,crossRef);\n }", "public void setPosition(Position pos);", "public Chunk(int xp, int yp, int zp){\r\n\t\tpos[0] = xp;\r\n\t\tpos[1] = yp;\r\n\t\tpos[2] = zp;\r\n\t\tactive = true;\r\n\t}", "public Location(int x, int y)\n\t{\n\t\tmX = x;\n\t\tmY = y;\n\t}" ]
[ "0.8150381", "0.76035684", "0.7481412", "0.7475939", "0.7475324", "0.7402536", "0.73912966", "0.73544014", "0.7282848", "0.72364974", "0.7181415", "0.7109157", "0.7011879", "0.701176", "0.70043415", "0.69828033", "0.6956483", "0.6938552", "0.6766992", "0.67454463", "0.67371374", "0.6717801", "0.66497076", "0.6640028", "0.66331273", "0.66250336", "0.65881944", "0.6569037", "0.6498207", "0.6494973", "0.64884526", "0.6483311", "0.6472483", "0.6445918", "0.64133567", "0.63778335", "0.6366547", "0.63564825", "0.6353648", "0.63487595", "0.63333815", "0.6322327", "0.6320778", "0.63203", "0.6316005", "0.63131005", "0.6305", "0.63017064", "0.6293973", "0.627267", "0.62566644", "0.62520087", "0.6249994", "0.6246541", "0.6237351", "0.62327945", "0.6230085", "0.621558", "0.6197047", "0.6195105", "0.61943334", "0.6185334", "0.61791104", "0.6173488", "0.61675334", "0.61669457", "0.6160077", "0.6158158", "0.6154438", "0.6131388", "0.6131282", "0.6127811", "0.612034", "0.6115395", "0.61140716", "0.6105521", "0.60990614", "0.6091006", "0.6088137", "0.60878146", "0.6083661", "0.6066362", "0.60663116", "0.60633755", "0.6055152", "0.6044849", "0.6042041", "0.6028379", "0.6026905", "0.60265875", "0.6025403", "0.602228", "0.60214657", "0.6020341", "0.6014602", "0.60108835", "0.6010414", "0.6010066", "0.60094684", "0.60050434", "0.6004154" ]
0.0
-1
End Bomb(Position) This is an overloaded constructor that takes in a Position and a fuse length.
public Bomb(Position posn, long fuseLength) { this.posn = posn; this.fuseLength = fuseLength; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Bomb(PlayerID ownerId, Cell position, int fuseLength, int range) {\n\t\tthis(ownerId, position, Objects.requireNonNull(Sq.iterate(fuseLength, u -> u - 1).limit(fuseLength)), range);\n\t}", "public Bomb(Position posn) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = Bomb.DEFAULT_FUSE_LENGTH;\n\t\tthis.dropTime = System.nanoTime();\n\t\tthis.explode = false;\n\t}", "public EndFrame(int sequenceNumber)\n\t{\n\t\tsuper(new Chunk(new byte[0], 0), sequenceNumber);\n\t}", "public Bomb(PlayerID ownerId, Cell position, Sq<Integer> fuseLengths, int range) {\n\t\tif (fuseLengths.isEmpty()) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tthis.ownerID = Objects.requireNonNull(ownerId);\n\t\t;\n\t\tthis.fuseLengths = Objects.requireNonNull(fuseLengths);\n\t\tthis.position = Objects.requireNonNull(position);\n\t\tthis.range = ArgumentChecker.requireNonNegative(range);\n\t}", "public Builder clearEndPosition() {\n bitField0_ = (bitField0_ & ~0x00000010);\n endPosition_ = 0;\n onChanged();\n return this;\n }", "public Bomb(){\n this.num_uses = 2147483647; // Constant set num times we can use this\n }", "public Builder setEndPosition(int value) {\n bitField0_ |= 0x00000010;\n endPosition_ = value;\n onChanged();\n return this;\n }", "public void destroyed() {\n\t\twidth = SIZE_INC * width;\n\t\t// make the end points at the new location\n\t\tthis.makeEndPoints(width, (0 - (xSpeed * width)),\n\t\t\t\t(0 - (ySpeed * width)));\n\n\t}", "public Bomb newBomb() {\r\n return new Bomb(id(), position().containingCell(),\r\n Ticks.BOMB_FUSE_TICKS, bombRange);\r\n }", "void unsetEndPosition();", "public abstract void endTape();", "public void setEndLoc( Vector2 end ) { endLoc = end; }", "public Ball(Vector2 position) {\n this.position = position;\n build();\n }", "protected void end() {\n \tRobot.shooter.speed(0.0);\n }", "public Eagle(Position position) {\n\t\tsuper(position);\n\t\tsetInactive();\n\t\thasSword = false;\n\t\tonWay = false;\n\t\treturning = false;\n\t\tswordPath = new ArrayList<Position>();\n\t\treturnPath = new Stack<Position>();\n\t\tlastCell = \"H \";\n\t}", "public End_position(int x, int y){\n super(x, y);\n this.destinationX = x;\n\n loadImage(\"end_position.PNG\");\n getImageDimension();\n }", "Vertical(Point2D.Float position, int firepower, boolean pierce) {\r\n super(position);\r\n\r\n float topY = this.checkVertical(this.position, firepower, pierce, -32);\r\n float bottomY = this.checkVertical(this.position, firepower, pierce, 32);\r\n this.centerOffset = position.y - topY; // The offset is used to draw the center explosionContact sprite\r\n\r\n Rectangle2D.Float recV = new Rectangle2D.Float(this.position.x, topY, 32, bottomY - topY + 32);\r\n this.init(recV);\r\n\r\n this.animation = this.drawSprite((int) this.width, (int) this.height);\r\n\r\n this.sprite = this.animation[0];\r\n }", "public Golem(PathPosition position) {\n super(position, HEALTH, ATTACK, SUPPORT_RADIUS);\n this.movementCooldown = MAX_MOVEMENT_COOLDOWN;\n }", "public static native void OpenMM_AmoebaOutOfPlaneBendForce_destroy(PointerByReference target);", "protected void end() {\n\t\tL.ogEnd(this);\n\t\t_xboxControllerToRumble.setRumble(_rumbleType, 0);\n\t}", "public Bomb(int x, int y) {\n\t\tsuper(x, y);\n\t\tthis.state = new Spawned();\n\t\tthis.visualStatus = new SimpleIntegerProperty(0);\n\t}", "protected void end() {\n \twrist.rotateWrist(0);\n }", "protected void end()\n\t{\n\t\t//\t\tdouble intakeSpeed[] = { 0.0, 0.0 };\n\t\t//\t\tRobot.intake.setSpeed(intakeSpeed);\n\t}", "void removeBomb();", "public void plantBomb()\n {\n if(this.getBombs() > 0)\n {\n bController.addBomb(this.getxPos(), this.getyPos(), 25);\n this.setBombs(getBombs() - 1);\n }\n }", "public Vector2() {\n\t\tthis(0.0f, 0.0f);\n\t}", "public void bomb() {\n\t\tbomb.setPosition(sprite.getX(),sprite.getY());\n\t\tsprite = bomb;\n\t}", "protected void end() {\n \tRobotMap.feedMotor1.set(0);\n \tRobotMap.shootAgitator.set(0);\n }", "public MouthFire( String name, Vector2 pos, Vector2 destinationPix, float secondsToComplete, float startHeightPix, float endHeightPix, World world) {\n\t\tsuper( name, pos, null, world, true );\n\t\t\n\t\tfloat startHeightM = 10*Util.PIXEL_TO_BOX, endHeightM = 600*Util.PIXEL_TO_BOX;\n\t\tVector2 posMeter = pos.cpy( ).mul( Util.PIXEL_TO_BOX );\n\t\tVector2 destinationM = destinationPix.cpy().mul(Util.PIXEL_TO_BOX);\n\t\tthis.angle = Util.angleBetweenPoints( posMeter, destinationM );\n\t\tthis.totalSteps = 20;\n\t\tthis.posStep = destinationM.cpy( ).sub( posMeter );\n\t\tthis.totalLength = posStep.len( );\n\t\tthis.widthMeter = totalLength/totalSteps/2; //because set as box doubles width\n\t\tposStep = posStep.nor( ).mul( widthMeter*2 );\n\t\t\n\t\tthis.heightMStep = (endHeightM-startHeightM)/totalSteps;\n\t\t\n\t\tthis.currStep = 0;\n\t\tthis.stepAccum = 0;\n\t\tthis.stepTime = secondsToComplete/totalSteps;\n\t\t\n\t\tthis.activeHazard = false;\n\t\t\n\t\tthis.fixtureList = new Array< Fixture >(totalSteps);\n\t\t\n\t\tthis.maxConcurrentFixtures = totalSteps/3;\n\t\t//Gdx.app.log( \"posStep\", posStep.toString( )+\", maxFix:\"+this.maxConcurrentFixtures );\n\t\n\t\tconstructBody( posMeter );\n\t\t\n\t\tfloat milliComplete = secondsToComplete * 1000; \n\t\tfloat emitLength = widthMeter * 2 * maxConcurrentFixtures;\n\t\tint emitTime = (int) (milliComplete * (emitLength / totalLength));\n\n\t\taddFrontParticleEffect( \"mouth_fire\", false, false ); \n\t\tParticleEffect e = getEffect( \"mouth_fire\" ); \n\t\te.setDuration( emitTime - 175 ); \n\t\te.setPosition( pos.x, pos.y );\n\t\te.setLifeTime( milliComplete - 300, 500 );\n\t\te.setVelocity( (totalLength*Util.BOX_TO_PIXEL-50)/secondsToComplete, 50 );\n\t\te.setSize( endHeightPix / 3, 0 );\n\t\tfloat angleDiff = (float) Math.atan( endHeightPix/(totalLength*Util.BOX_TO_PIXEL) ); \n\t\te.setAngleDiff( angleDiff, 0 ); \n\t\tfloat ang = angle - (float) Math.PI / 2; \n\t\te.setEffectAngle( ang );\n\t}", "public void end();", "public Position(final Position p) throws PositionOutOfTheMapException {\n\t\tthis(p.i, p.j);\n\t}", "org.mojolang.mojo.lang.Position getEndPosition();", "public CourtMovement() {\r\n\t\tsuper();\r\n\t\tstart = 0;\r\n\t\tend = 0;\r\n\t}", "@Override\n\tpublic void despawn() {\n\t\t\n\t}", "Explosion(Point2D.Float position) {\r\n super(position);\r\n this.sprites = ResourceCollection.SpriteMaps.EXPLOSION_SPRITEMAP.getSprites();\r\n\r\n this.centerOffset = 0;\r\n this.spriteIndex = 0;\r\n this.spriteTimer = 0;\r\n }", "public Vector2 getEndLoc( ) { return endLoc; }", "@Override\n protected void end() {\n Shooter.spinTurret(0.0);\n //Limelight.setLEDMode(1);\n }", "protected void end() {\n \tRobot.hand.setWrist(0.0);\n }", "protected void end() {\n \tRobot.chassisSubsystem.setShootingMotors(0);\n }", "public Boss(String line, String ship, String explosion, Point pos){\r\n\t\tsuper(line,pos,ship,explosion);\r\n\t\tposition=pos;\r\n\t\tbossHb = new Health(600, 10);\r\n\t\tinPosition=false;\r\n\t}", "public South(int xPos, int yPos, Rectangle symbol) {\n super(xPos, yPos, symbol);\n }", "public void turretAngleEnd() {\n this.turretMotor.stopMotor();\n this.turretPIDController = null;\n continuousPID = false;\n this.limelightVision.turnOffLed();\n System.out.println(\"Turret End\");\n }", "public void end() {\n\n }", "void endGeneration();", "public Drop() {\n }", "public static native int OpenMM_AmoebaOutOfPlaneBendForce_addOutOfPlaneBend(PointerByReference target, int particle1, int particle2, int particle3, int particle4, double k);", "protected void end() {\n \t//Just let the lift keep holding the current motion magic\n \t//setpoint after this command ends\n \tRobot.debug.Stop();\n }", "private TradeMsgChargeEnd(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public abstract void end();", "protected void end() {\n\t\tRobot.elevator.setCurrentPosition(newPosition);\n\t}", "public Zombie() {\r\n\t\tsuper(myAnimationID, 0, 0, 60, 60);\r\n\t}", "@JsProperty(name = \"end\")\n public native Cartographic end();", "void setEndPosition(net.opengis.gml.x32.TimePositionType endPosition);", "public JsonWriter endObject() {\n if (!context.map()) {\n throw new IllegalStateException(\"Unexpected end, not in object.\");\n }\n if (context.value()) {\n throw new IllegalStateException(\"Expected map value but got end.\");\n }\n writer.write('}');\n context = stack.pop();\n return this;\n }", "protected void end() {\n \tclimber.ascend(0, 0);\n }", "protected void end() {\n \tRobotMap.motorRightTwo.changeControlMode(TalonControlMode.PercentVbus);\n \tRobotMap.motorRightOne.changeControlMode(TalonControlMode.PercentVbus);\n \tRobotMap.motorLeftTwo.changeControlMode(TalonControlMode.PercentVbus);\n \tRobotMap.motorLeftOne.changeControlMode(TalonControlMode.PercentVbus);\n \tRobotMap.motorLeftOne.set(0);\n \tRobotMap.motorRightOne.set(0);\n \tRobotMap.motorLeftTwo.set(0);\n \tRobotMap.motorRightTwo.set(0);\n \tSystem.out.println(this.startAngle- RobotMap.navx.getAngle());\n\n\n \t\n }", "void endLife();", "public void updatePosition()\r\n\t{\r\n\t\tsuper.updatePosition();\r\n\t\t\r\n\t\t// Update the bomb's position\r\n\t\tPoint nextPosition = getPath().getLocation(t++);\r\n\t\tsetX(nextPosition.x + startX);\r\n\t\tint nextY = nextPosition.y + startY;\r\n\t\tsetY(nextY);\r\n\t\t\r\n\t\t// Blow the bomb up after it reaches mid screen\r\n\t\tif (t > 120 || (nextY < (Global.WINDOW_HEIGHT >> 1) && t > 30))\r\n\t\t{\r\n\t\t\tbombSound.stop();\r\n\t\t\tsuper.remove();\r\n\t\t\tGamePanel.makeExplosion(getX(), getY());\r\n\t\t\t\r\n\t\t\t// Injure all the enemies on the screen\r\n\t\t\t\r\n\t\t\tArrayList<Sprite> sprites = GamePanel.getSprites();\r\n\t\t\t\r\n\t\t\tfor (int i = 0; i < sprites.size(); i++)\r\n\t\t\t{\r\n\t\t\t\tif (sprites.get(i) instanceof Enemy)\r\n\t\t\t\t{\r\n\t\t\t\t\tEnemy enemy = (Enemy) sprites.get(i);\r\n\t\t\t\t\t\r\n\t\t\t\t\tint currentYTop = GamePanel.getLevel().getCurrentY() +\r\n\t\t\t\t\t\tBLOCKS_PER_Y - 1;\r\n\t\t\t\t\tboolean visibleX = enemy.getX() + enemy.getWidth() >= 0 &&\r\n\t\t\t\t\t\tenemy.getX() <= Global.WINDOW_WIDTH;\r\n\t\t\t\t\tboolean yOnScreen = enemy.getY() <= Global.WINDOW_HEIGHT +\r\n\t\t\t\t\t\t100;\r\n\t\t\t\t\tboolean visibleY = enemy.getYBlock() >= currentYTop &&\r\n\t\t\t\t\t\tyOnScreen;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (visibleX && visibleY && enemy.isAlive())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tenemy.offsetHealth(-300);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (enemy.getHealth() <= 0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tenemy.remove();\r\n\t\t\t\t\t\t\tGamePanel.offsetNumLevelPoints(100);\r\n\t\t\t\t\t\t\tGamePanel.makeExplosion(enemy.getX(), enemy.getY());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "org.mojolang.mojo.lang.PositionOrBuilder getEndPositionOrBuilder();", "public abstract void endObject();", "@Override\n\tpublic void destroy(LevelAccessor world, BlockPos blockPos, BlockState blockState)\n\t{\n\n\t\tsuper.destroy(world, blockPos, blockState);\n\t}", "public Undestroyable_Brick(int width, int height, String type, int lives, boolean power) {\n\t\tsuper(width, height, type, lives, power);\n\t}", "private Vector2 getNewBombPosition() {\n float xx=heroBody.getBody().getPosition().x*16, yy=heroBody.getBody().getPosition().y*16;\n if(heroBody.getCurrentState() == HeroBody.State.STAND_UP || heroBody.getCurrentState() == HeroBody.State.WALK_UP)\n yy+=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_DOWN || heroBody.getCurrentState() == HeroBody.State.WALK_DOWN)\n yy-=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_RIGHT || heroBody.getCurrentState() == HeroBody.State.WALK_RIGHT)\n xx+=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_LEFT || heroBody.getCurrentState() == HeroBody.State.WALK_LEFT)\n xx-=16;\n return new Vector2(xx,yy);\n }", "ShooterExplosion(int x, int y) {\n super(x, y);\n }", "EndCell(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n this.left = null;\r\n this.top = null;\r\n this.right = null;\r\n this.bottom = null;\r\n }", "public Position()\n\t{\n\t\t// do not remove bean constructor.\n\t}", "@Override\r\n\tprotected void end() {\n\t\tRobot.turret.stop();\r\n\t}", "protected void end() {\n Robot.shooter.set(0);\n RobotMap.Armed=false;\n RobotMap.shootState=false;\n System.out.println(\"done shooting\");\n if (this.isTimedOut()==true) {\n System.out.println(\n \"shot timed out\");\n \n }\n if (RobotMap.inPosition.get()!=OI.shooterArmed){\n System.out.println(\"in position is different than shooter armed\");\n }\n}", "public LocalEnd LocalEnd()\n\t{\n\t\t//return new LocalEnd(self);\n\t\treturn new LocalEnd();\n\t}", "public FreeMindWriter endNode() {\n if( nodeDepth < 1 ) throw new IllegalStateException( \"There are no open nodes\" );\n tagClose();\n out.println( \"</node>\" );\n nodeDepth--;\n \n return this;\n }", "public static native void OpenMM_AmoebaStretchBendForce_destroy(PointerByReference target);", "public Position() {\n\n\t}", "public Unit<Length> foot() {return foot;}", "public Big_shot(double x,double y,double velocity,double angle){\n\t\tsuper(x,y,velocity,angle,100,30);\n\t}", "@Override\n\t\tpublic void end() {\n\t\t\t\n\t\t}", "protected void end() {\r\n \tSystem.out.println(\"Finished MoveToHeight\");\r\n \tmanipulator.moveElevator(0);\r\n }", "protected void end() {\n Robot.m_Cannon.stop();\n }", "protected void end() {\n\t\tLiquidCrystal lcd = RobotMap.lcd;\n\t\tlcd.clear();\n\n\t\tRobotMap.chassisfrontLeft.set(0);\n\t\tRobotMap.chassisfrontRight.set(0);\n\t\tRobotMap.chassisrearLeft.set(0);\n\t\tRobotMap.chassisrearRight.set(0);\n\t\t\n\t\tRobotMap.climberclimbMotor.set(0);\n\t\tRobotMap.floorfloorLift.set(0);\n\t\tRobotMap.acquisitionacquisitionMotor.set(0);\n\n\n\t}", "@Override\n\tpublic void end() {\n\t\t\n\t}", "public Position getEndPosition() {\n return endPosition;\n }", "public RegularUnit(Location location, int length, int width, int height){\n // initialise instance variables\n super(location, length, width, height, TYPE);\n }", "void endUpdate();", "public void closeFrame() {\n framesize = wordpointer = bitindex = -1;\n }", "public Place(int x, int y){\n this.x=x;\n this.y=y;\n isFull=false;\n }", "int defend(Unit unit, Unit enemy);", "public Vector2f() {\n this(0, 0);\n }", "protected void end() {\n \tRobot.m_elevator.disable();\n \tRobot.m_elevator.free();\n }", "@Override\n\tpublic void destroy()\n\t{\n\t\tprojectileCount--;\n\t\trbCount--;\n\t}", "@Override\n protected void end() {\n mDrive.setSpeed(0.0, 0.0);\n }", "protected void end() {\n Robot.arm.moveArm(0, 1);\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }" ]
[ "0.6410538", "0.60622513", "0.57538736", "0.54964143", "0.52136534", "0.5196912", "0.51847595", "0.5180093", "0.5058725", "0.49951836", "0.49132255", "0.4809962", "0.47949827", "0.47916868", "0.4776592", "0.47745666", "0.47459546", "0.4733282", "0.4718488", "0.46979257", "0.46818036", "0.46570754", "0.4643804", "0.4639064", "0.46376544", "0.46309778", "0.46258712", "0.46196437", "0.46180943", "0.46109685", "0.46035218", "0.45959026", "0.45665815", "0.45643792", "0.45637533", "0.45572662", "0.453231", "0.4528047", "0.4522392", "0.45212308", "0.45099413", "0.450388", "0.45036384", "0.44866338", "0.44811052", "0.4478478", "0.44773594", "0.4471865", "0.44708106", "0.4469091", "0.44622898", "0.44607922", "0.44551948", "0.44501507", "0.44398484", "0.44385654", "0.44362596", "0.44296214", "0.44224864", "0.44218415", "0.44211727", "0.4417751", "0.44159952", "0.44158536", "0.44155043", "0.44099873", "0.4409632", "0.4405032", "0.4403784", "0.440149", "0.43925887", "0.43913558", "0.4389363", "0.43879998", "0.43858492", "0.43732065", "0.43654", "0.434098", "0.43334958", "0.43316856", "0.43307227", "0.43299505", "0.4319184", "0.4318854", "0.43131495", "0.43114847", "0.4311274", "0.4310188", "0.43100846", "0.43097797", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954", "0.43057954" ]
0.68747914
0
End Bomb(Position, long) End Constructor(s)
@Override public Position getPosition() { return this.posn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Bomb(){\n this.num_uses = 2147483647; // Constant set num times we can use this\n }", "public Bomb(Position posn) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = Bomb.DEFAULT_FUSE_LENGTH;\n\t\tthis.dropTime = System.nanoTime();\n\t\tthis.explode = false;\n\t}", "public Bomb(int x, int y) {\n\t\tsuper(x, y);\n\t\tthis.state = new Spawned();\n\t\tthis.visualStatus = new SimpleIntegerProperty(0);\n\t}", "public Bomb newBomb() {\r\n return new Bomb(id(), position().containingCell(),\r\n Ticks.BOMB_FUSE_TICKS, bombRange);\r\n }", "public Bomb(Position posn, long fuseLength) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = fuseLength;\n\t}", "public Bomb(int x, int y, Mouse mouse)\r\n\t{\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.mouse = mouse;\r\n\t\tdetonated = false;\r\n\t}", "void removeBomb();", "public void bomb() {\n\t\tbomb.setPosition(sprite.getX(),sprite.getY());\n\t\tsprite = bomb;\n\t}", "public Zombie() {\r\n\t\tsuper(myAnimationID, 0, 0, 60, 60);\r\n\t}", "public EndFrame(int sequenceNumber)\n\t{\n\t\tsuper(new Chunk(new byte[0], 0), sequenceNumber);\n\t}", "public Bomb(int x, int y, String xFunction, String yFunction)\r\n\t{\t\r\n\t\tsuper(x, y, new Image[] { bombImage } , 0, 0, 1000, xFunction, yFunction);\r\n\t\tstartX = x;\r\n\t\tstartY = y;\r\n\t\t\r\n\t\t// Play the bomb sound when a bomb is made\r\n\t\tbombSound = new Sound(\"bomb.wav\");\r\n bombSound.playOnce();\r\n\t}", "public Bomb(int x, int y){\r\n\t\t\r\n\t\t//Bomb image.\r\n\t\tImageIcon bombIMG = new ImageIcon(\"src/sprites/bullet9.png\");\r\n\t\tsetImage(bombIMG.getImage());\r\n\t\t\r\n\t\t//It just so works out that the bombs drop nicely from the alien sprite so no offset is needed.\r\n\t\tsetx(x);\r\n\t\tsety(y);\r\n\t\t\r\n\t}", "private void GenerateBomb(){\n\t\t\n\t\t//Update for the bomb powerup\n\t\tint randGen = rand.nextInt((int)((float)BOMB_FREQUENCY * RANDOM_DEVIATION));\n\t\trandGen = (rand.nextBoolean()) ?-randGen :randGen;\n\t\t\n\n\t\t\n\t\tif(timeSinceLastSpawns.get(CollectibleType.Bomb.ordinal()).intValue() > (BOMB_FREQUENCY + randGen)){\n\t\t\t\n\n\t\t\ttimeSinceLastSpawns.set(CollectibleType.Bomb.ordinal(), 0);\n\t\t\t\n\t\t\t//SPAWN BOMB COLLECTIBLE HERE\n\t\t}\n\t}", "public void plantBomb()\n {\n if(this.getBombs() > 0)\n {\n bController.addBomb(this.getxPos(), this.getyPos(), 25);\n this.setBombs(getBombs() - 1);\n }\n }", "public int useBomb(){\n //do harm while the animation start\n //cause harm to the boss\n println(\"BEFORE Main.boss.health: \"+Main.boss.health);\n int count = 0;\n if ((Main.boss.alive) && (Main.boss.posY != -1)){\n Main.boss.decreaseHealth(10);\n if(Main.boss.health <= 0){\n Main.boss.alive = false;\n Main.boss.deadTime = millis();\n Main.score += 100;\n bossKilled = true;\n }\n }\n println(\"AFTER Main.boss.health: \"+Main.boss.health);\n //remove all bullets\n Main.boss.emptyBullets();\n //kill all the enemies\n for(int j = 0; j < Main.enemies.size(); j++){\n Enemy tempEnemy = Main.enemies.get(j);\n tempEnemy.alive = false;\n tempEnemy.deadTime = millis();\n count ++;\n }\n // fill(0,0,0);\n // rect(0,0,width,height);\n return count;\n }", "public void addBomb() {\n\t\tthis.nbSpiritBombs++;\n\t}", "public Bomb(int Py, int Px, int ExpRds, Player player)\n {\n super(Py,Px);\n this.setEnable(true);\n this.m_Validity = 3; // 10 tick per seconds -> 3 seconds to explosion\n this.c_Player = player;\n this.setCollision(true);\n this.m_ExplosionRadius = ExpRds;\n }", "private BigB()\r\n{\tsuper();\t\r\n}", "@Test\r\n\tpublic void testRelease() {\n\t\tBomb bomb = new Bomb(100, 200, 300, 10, null, 0, 0, 0);\r\n\t\tBomb.Coordinates coor = bomb.getReleaseCoordinates();\r\n\t\t\r\n\t\t//making sure that X, Y, Release Alt, and Descent Speed are correct.\r\n\t\tassertEquals(coor.getX(), 100);\r\n\t\tassertEquals(coor.getY(), 200);\r\n\t\tassertEquals(bomb.getReleaseAltitude(), 300);\r\n\t\tassertEquals(bomb.getDescentSpeed(), 10);\r\n\t\t\r\n\t}", "public void drawBomb(int x, int y) {\n pushMatrix();\n translate(x, y);\n scale(0.4f);\n smooth();\n fill(200);\n quad(10,21,53,21,53,55,10,55);\n fill(150);\n bezier(10,21,18,-4,45,-4,53,21);\n beginShape();\n vertex(3,65);\n vertex(7,95);\n vertex(22,81);\n vertex(40,81);\n vertex(54,95);\n vertex(59,65);\n vertex(49,60);\n vertex(12,60);\n endShape(CLOSE);\n fill(200);\n quad(10,55,53,55,42,77,20,77);\n quad(22,81,40,81,40,77,22,77);\n rect(29,65,3,30);\n fill(150);\n rect(29,58,3,7);\n fill(220);\n rect(10,45,43,10);\n for(int i=0; i<=6; i++){\n noStroke();\n fill(206,12,12);\n quad(13+6*i,46,16+6*i,46,13+6*i,55,10+6*i,55);\n }\n popMatrix();\n}", "private Arena() {}", "public int getInitBombRange() {\n \t\treturn 2;\n \t}", "public Zombie(int x, int y, Map map) {\r\n\t\tsuper(x, y, imagePath, map);\r\n\t\t\r\n\t}", "private BigB( char aConstructionCharacter )\r\n{\tsuper( aConstructionCharacter );\t\r\n}", "public void addBomb() \n {\n if (Greenfoot.isKeyDown(\"space\"))\n getWorld().addObject(new Bomb(), getX(), getY()); \n //add a bomb at the place they press space \n }", "@Test\r\n\tpublic void testConstructor()\r\n\t{\r\n\t\tassertEquals(false, testCanPlaceBombBehavior.placeBomb());\r\n\t}", "private Vector2 getNewBombPosition() {\n float xx=heroBody.getBody().getPosition().x*16, yy=heroBody.getBody().getPosition().y*16;\n if(heroBody.getCurrentState() == HeroBody.State.STAND_UP || heroBody.getCurrentState() == HeroBody.State.WALK_UP)\n yy+=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_DOWN || heroBody.getCurrentState() == HeroBody.State.WALK_DOWN)\n yy-=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_RIGHT || heroBody.getCurrentState() == HeroBody.State.WALK_RIGHT)\n xx+=16;\n else if(heroBody.getCurrentState() == HeroBody.State.STAND_LEFT || heroBody.getCurrentState() == HeroBody.State.WALK_LEFT)\n xx-=16;\n return new Vector2(xx,yy);\n }", "BossEnemy(){\n super();\n totallyDied = true;\n }", "ShooterExplosion(int x, int y) {\n super(x, y);\n }", "public int bombRange() {\r\n return bombRange;\r\n }", "public CourtMovement() {\r\n\t\tsuper();\r\n\t\tstart = 0;\r\n\t\tend = 0;\r\n\t}", "Enemy(int x, int y, Bitmap image) {\n super(x, y, image);\n }", "private void prepareBomb(int x, int y, GraphicsContext gc) {\n\t\t Bomb bomb = new Bomb(x, y);\n\t\t GameController.getCurrentMap().addEntity(bomb, x, y);\n\t\t Thread thread = new Thread(() -> {\n\t\t try {\n\t\t Thread.sleep(2000);\n\t\t Platform.runLater(new Runnable() {\n\n\t\t @Override\n\t\t public void run() {\n\t\t bomb.bomb();\n\t\t }\n\n\t\t });\n\t\t GameController.getCurrentMap().removeEntity(x, y);\n\t\t drawGameBoard(gc, index);\n\n\t\t // GameController.getCurrentMap().addEntity(bomb, x, y);\n\t\t } catch (InterruptedException e) {\n\t\t // TODO Auto-generated catch block\n\t\t e.printStackTrace();\n\t\t }\n\t\t });\n\t\t thread.start();\n\n\t}", "EndCell(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n this.left = null;\r\n this.top = null;\r\n this.right = null;\r\n this.bottom = null;\r\n }", "Hero()\n\t{\n\t\t\n\t\tsuper(152,500,97,124);\n\t\tlife = 3;\n\t\tdoubleFire = 0;\n\t\t\n\t}", "public Bombas(int x,int y) {\n \tsuper(x,y);\n }", "public zombie_bg()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(1010,900, 1); \n setPaintOrder(ScoreBoard.class, player.class, zomb_gen.class, options.class);\n populate();\n \n }", "public Space_Object (){\n groundPosition = 0;\n }", "protected void end() {\n \tclimber.ascend(0, 0);\n }", "public Bullet() {\n super();\n }", "public BFUnit(){\n \n }", "Enemy(Bitmap image) {\n super(image);\n }", "public DumbEnemy(){\n setImage(new GreenfootImage(SPRITE_W,SPRITE_H));\n }", "private Heap() { }", "private Heap() { }", "public Bomb(PlayerID ownerId, Cell position, int fuseLength, int range) {\n\t\tthis(ownerId, position, Objects.requireNonNull(Sq.iterate(fuseLength, u -> u - 1).limit(fuseLength)), range);\n\t}", "public String getBomb() {\n\t\treturn bomb;\n\t}", "public Block() {\r\n\t\t// TODO Auto-generated constructor stub\r\n\t\tthis.point_BlockTopRight = null;\r\n\t\tthis.point_BlockDownleft = null;\r\n\t\tthis.setpoint_BlockTopLeft(null);\r\n\t\tthis.IDBloack = 0;\r\n\t\tthis.type = \"\";\r\n\t}", "public void Placebomb(long now){\n //Called if space is pressed\n if(game.getWorld().getGO(this.getPosition()) == null && nbrBombPlaced < nbrBombMax) {\n placeBomb = true;\n nbrBombPlaced += 1;\n }\n }", "public Big_shot(double x,double y,double velocity,double angle){\n\t\tsuper(x,y,velocity,angle,100,30);\n\t}", "protected void end() {\n\t\tL.ogEnd(this);\n\t\t_xboxControllerToRumble.setRumble(_rumbleType, 0);\n\t}", "public EmoticonBO()\n {}", "protected void end() {\n \tRobotMap.feedMotor1.set(0);\n \tRobotMap.shootAgitator.set(0);\n }", "public int getNewBombIndex() {\n\t\tBomb bomb = new Bomb(this.posX, this.posY, this.radius, this.expRad,\n\t\t\t\tthis);\n\t\tthis.bombs.add(bomb);\n\t\treturn this.bombs.lastIndexOf(bomb);\n\t}", "private void defineDeathBlock() {\r\n BallRemover removeBall = new BallRemover(this);\r\n Rectangle death = new Rectangle(new Point(0, HEIGHT), WITH, 10);\r\n Block deathRegion = new Block(death, Color.black,0);\r\n deathRegion.addHitListener(removeBall);\r\n deathRegion.addToGame(this);\r\n }", "public void updatePosition()\r\n\t{\r\n\t\tsuper.updatePosition();\r\n\t\t\r\n\t\t// Update the bomb's position\r\n\t\tPoint nextPosition = getPath().getLocation(t++);\r\n\t\tsetX(nextPosition.x + startX);\r\n\t\tint nextY = nextPosition.y + startY;\r\n\t\tsetY(nextY);\r\n\t\t\r\n\t\t// Blow the bomb up after it reaches mid screen\r\n\t\tif (t > 120 || (nextY < (Global.WINDOW_HEIGHT >> 1) && t > 30))\r\n\t\t{\r\n\t\t\tbombSound.stop();\r\n\t\t\tsuper.remove();\r\n\t\t\tGamePanel.makeExplosion(getX(), getY());\r\n\t\t\t\r\n\t\t\t// Injure all the enemies on the screen\r\n\t\t\t\r\n\t\t\tArrayList<Sprite> sprites = GamePanel.getSprites();\r\n\t\t\t\r\n\t\t\tfor (int i = 0; i < sprites.size(); i++)\r\n\t\t\t{\r\n\t\t\t\tif (sprites.get(i) instanceof Enemy)\r\n\t\t\t\t{\r\n\t\t\t\t\tEnemy enemy = (Enemy) sprites.get(i);\r\n\t\t\t\t\t\r\n\t\t\t\t\tint currentYTop = GamePanel.getLevel().getCurrentY() +\r\n\t\t\t\t\t\tBLOCKS_PER_Y - 1;\r\n\t\t\t\t\tboolean visibleX = enemy.getX() + enemy.getWidth() >= 0 &&\r\n\t\t\t\t\t\tenemy.getX() <= Global.WINDOW_WIDTH;\r\n\t\t\t\t\tboolean yOnScreen = enemy.getY() <= Global.WINDOW_HEIGHT +\r\n\t\t\t\t\t\t100;\r\n\t\t\t\t\tboolean visibleY = enemy.getYBlock() >= currentYTop &&\r\n\t\t\t\t\t\tyOnScreen;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (visibleX && visibleY && enemy.isAlive())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tenemy.offsetHealth(-300);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (enemy.getHealth() <= 0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tenemy.remove();\r\n\t\t\t\t\t\t\tGamePanel.offsetNumLevelPoints(100);\r\n\t\t\t\t\t\t\tGamePanel.makeExplosion(enemy.getX(), enemy.getY());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public CampLease( ) {}", "public Block( ) {\r\n _offSetRow = 0;\r\n _offSetCol = 0;\r\n _noOfRows = 0;\r\n _noOfCols = 0;\r\n }", "private void tryToKillStuff(final Bomb b) {\n \t\tfor (Bomb bomb : bombs)\n \t\t\tif (bomb != b && !bomb.isCurrentlyExploding())\n \t\t\t\tif (eac.isInExplosionArea(b, bomb)) {\n \t\t\t\t\tbomb.goBomf();\n \t\t\t\t}\n \n \t\tif (eac.isInExplosionArea(b, bman.get(0))) {\n \t\t\talive = false;\n \t\t\tgui.lost();\n \t\t}\n \t}", "public Block() {\n this.xPos = 0;\n this.yPos = 0;\n this.width = 0;\n this.height = 0;\n this.color = Color.MINTCREAM;\n }", "public WallTile()\n\t{\n\t\t\n\t}", "public CrabWorld()\n {\n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n musica=new GreenfootSound(\"Ufo-t-balt.mp3\");\n super(560,560, 1);\n }", "public void boom() {\n\t\tboom.setPosition(sprite.getX(),sprite.getY());\n\t\tsprite = boom;\n\t}", "@Test\r\n\tpublic void testDecrementBomb()\r\n\t{\r\n\t\ttestCanPlaceBombBehavior.decrementBomb();\r\n\t\tassertEquals(2,testCanPlaceBombBehavior.countBomb());\r\n\t\t\r\n\t\ttestCanPlaceBombBehavior.decrementBomb();\r\n\t\tassertEquals(1,testCanPlaceBombBehavior.countBomb());\r\n\t}", "public BinaryHeap() {\n }", "@Override\n public void action() throws Exception {\n if (!can_hit || count > 0)\n count++;\n if (count == 100) {\n can_hit = true;\n }\n else if (count == this.bombCountLimit) {\n bombPlaced--;\n count = 0;\n }\n\n if(Gdx.input.isKeyJustPressed(Input.Keys.SPACE)){\n go_ia=!go_ia;\n }\n if(go_ia){\n ia_count++;\n if(ia_count==11)\n ia_count=0;\n }\n if(go_ia&&ia_count==10) {\n\n int move = -1;\n int mode = 0;\n\n\n\n log.info(\"count bomb: \" + count);\n\n double enemyDist = sqrt(pow((playerX - enemyX), 2)+pow((playerY - enemyY), 2));\n if(powerUpFree) {\n currentGoalX = goalX;\n currentGoalY = goalY;\n if(deepSearch){\n currentGoalX = 1;\n currentGoalY = 1;\n }\n if(enemyDist < 7 && !enemyClean){\n if(enemyDist <= bombRange && sqrt(pow((playerX - goalX), 2)+pow((playerY - goalY), 2)) > 2)\n mode = 2;\n\n }\n }\n\n\n\n if (!can_hit) {\n mode = 1;\n log.info(\"can't hit\");\n }\n else if(doorLocked) {\n mode = 3;\n }\n /*if (count > 0 && count <= this.bombCountLimit && (playerX!=bombGoalX || playerY!=bombGoalY)){\n currentGoalX = bombGoalX;\n currentGoalY = bombGoalY;\n log.info(\"bomb goal\");\n }*/\n\n\n\n\n log.info(\"CURRENT goal x: \" + currentGoalX +\", CURRENT goal y: \" + currentGoalY);\n log.info(\"CURRENT bombgoal x: \" + bombGoalX +\", current bombgoal y: \" + bombGoalY);\n log.info(\"CURRENT player x: \" + playerX +\", current player y: \" + playerY);\n log.info(\"powerup free: \" + powerUpFree);\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n\n ArrayList<Action> actions = new ArrayList<>();\n ArrayList<Wall> walls = new ArrayList<>();\n ArrayList<EnemyPath> enemyPaths = new ArrayList<>();\n ArrayList<Around> around = new ArrayList<>();\n\n playerX = this.x/40;\n playerY = this.y/40;\n\n for( int i = 0; i < 4; i++ ){\n if (can_move[i]) {\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n walls.add(new Wall(i, 0));\n }\n else if (can_destroy[i]){\n walls.add(new Wall(i, 1));\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n }\n else\n walls.add(new Wall(i, 3));\n if(freeAround[i])\n around.add(new Around(i, 0));\n else\n around.add(new Around(i, 2));\n\n if ( !enemyFree[i] && enemyDist > bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n if( !enemyFree[i] && enemyDist <= bombRange || (bombRange == 1 && enemyDist <= 2))\n enemyPaths.add(new EnemyPath(i, 2));\n else if (enemyDist <= bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n else if(enemyFree[i])\n enemyPaths.add(new EnemyPath(i, 0));\n }\n if(sqrt(pow((playerX - bombGoalX), 2)+pow((playerY - bombGoalY), 2)) > bombRange ||\n mode != 1 || (playerX != bombGoalX && playerY != bombGoalY))\n actions.add(new Action(4));\n\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n\n AnswerSets answers = ai.getAnswerSets();\n while(answers.getAnswersets().get(0).getAnswerSet().isEmpty()){\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n answers = ai.getAnswerSets();\n }\n\n for (AnswerSet an : answers.getAnswersets()) {\n Pattern pattern = Pattern.compile(\"^choice\\\\((\\\\d+)\\\\)\");\n Matcher matcher;\n for (String atom : an.getAnswerSet()) {\n //System.out.println(atom);\n matcher = pattern.matcher(atom);\n\n if (matcher.find()) {\n log.info(\"DLV output: \" + matcher.group(1));\n move = Integer.parseInt(matcher.group(1));\n }\n }\n }\n if (move == 1) {\n set_allCan_move(0, true);\n this.x += 40;\n }\n else if (move == 2) {\n set_allCan_move(0, true);\n this.y += 40;\n }\n else if (move == 3) {\n set_allCan_move(0, true);\n this.y -= 40;\n }\n else if (move == 0) {\n set_allCan_move(0, true);\n this.x -= 40;\n }\n else if (move == 4 && can_hit && (playerX != goalX || playerY != goalY)) {\n ai_hit = true;\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n moves.add(move);\n ai.clear();\n }\n else{\n playerX = this.x/40;\n playerY = this.y/40;\n }\n\n\n if (Gdx.input.isKeyPressed(Input.Keys.A)&&can_move[0]) {\n set_allCan_move(0, true);\n this.x -= 5;\n }\n if (Gdx.input.isKeyPressed(Input.Keys.D)&&can_move[1]) {\n set_allCan_move(0, true);\n this.x += 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.W))&&can_move[2]) {\n this.y += 5;\n set_allCan_move(0, true);\n }\n if (Gdx.input.isKeyPressed((Input.Keys.S))&&can_move[3]){\n set_allCan_move(0, true);\n this.y -= 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.Z)) && can_hit) {\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n\n if (Gdx.input.isKeyPressed((Input.Keys.N)))\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n }", "public void dispara()\r\n {\r\n BulletEnemy bala = new BulletEnemy();\r\n getWorld().addObject(bala,getX(),getY()+25);\r\n }", "public abstract void endObject();", "public Bathroom(int size) {\n this.size = size;\n myBathtub = new Bathtub(100); //instantiate bathtub object during Bathroom object creation\n }", "void endGeneration();", "ShooterExplosion(Parcel in) {\n super(in);\n explosionFrame = in.readInt();\n }", "public Block(){\n\t\tthis.type = Code.Type.NULL;\n\t}", "public Bout()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1); \n CreaBoutique();\n\n }", "public Banana(JComponent panel)\n {\n super(panel);\n isBomb = false;\n pointValue = 1;\n }", "Player(int posX,int posY,int velX,int velY, int accX, int accY,int attack,int health, int numOfBomb, int sInterval){\n this.posX = posX;\n this.posY = posY;\n this.velX = velX;\n this.velY = velY;\n this.accX = accX;\n this.accY = accY;\n this.health = health;\n this.numOfBomb = numOfBomb;\n this.attack = attack;\n this.sInterval = sInterval;\n invincibleTime = 0;\n invincible = false;\n wid = 300/4;\n hei = 400/4;\n classOfObejct = 0;\n alive = true;\n }", "void endLife();", "public int getBombDetonationTime() {\n \t\treturn 1000;\n \t}", "public MineBoard(){\r\n\t\t\r\n\t\t// Local Vars\r\n\t\tint numberMines = 0;\r\n\t\tRandom generator = new Random();\r\n\t\t\r\n\t\t// Dummy Positioning\r\n\t\tString[][] position = new String[10][10];\r\n\t\t\r\n\t\twhile(numberMines < 10) //create the mines\r\n\t\t{\r\n\t\t\t// Create Mine\r\n\t\t\tMines[numberMines] = new Mine(generator.nextInt(9), generator.nextInt(9));\r\n\t\t\t\r\n\t\t\t// Cols and rows\r\n\t\t\tint col = generator.nextInt(9);\r\n\t\t\tint row = generator.nextInt(9);\r\n\t\t\r\n\t\t\t{\r\n\t\t\t// Assign bomb\r\n\t\t\tposition[col][row]=\"bomb\";\r\n\t\t\t\r\n\t\t\t// Check if item already has a bomb\r\n\t\t\tif (Mines[numberMines].Col > 0 && Mines[numberMines].Row > 0 && position[Mines[numberMines].Col][Mines[numberMines].Row] != \"bomb\")\r\n\t\t\t\tnumberMines++;\r\n\t\t\t\t\r\n\t}\r\n\t\t\t\r\n\t\t}}", "public void SpiritBomb()\r\n {\r\n\r\n\t \r\n\t\tLocation loc = new Location(userRow+1, userCol);\r\n\t\tLocation loc1 = new Location(userRow+1, userCol1);\r\n\t\tLocation loc2 = new Location(userRow+1, userCol2);\r\n\t\tLocation loc3 = new Location(userRow+1, userCol3);\r\n\t\t\r\n\t\tLocation loc4 = new Location(userRow, userCol);\r\n\t\tLocation loc5 = new Location(userRow, userCol1);\r\n\t\tLocation loc6 = new Location(userRow, userCol2);\r\n\t\tLocation loc7 = new Location(userRow, userCol3);\r\n\t\t\r\n\t\tLocation loc8 = new Location(userRow-1, userCol);\r\n\t\tLocation loc9 = new Location(userRow-1, userCol1);\r\n\t\tLocation loc10 = new Location(userRow-1, userCol2);\r\n\t\tLocation loc11 = new Location(userRow-1, userCol3);\r\n\t\t\r\n\t\tLocation loc12 = new Location(userRow-2, userCol);\r\n\t\tLocation loc13= new Location(userRow-2, userCol1);\r\n\t\tLocation loc14 = new Location(userRow-2, userCol2);\r\n\t\tLocation loc15 = new Location(userRow-2, userCol3);\r\n\r\n\t \r\n\r\n\r\n\r\n\t\t\r\n\t\tLocation base1 = new Location(userRow,0);\r\n\t\t\r\n\t\t\tgrid.setImage(base1, \"FSpiritHold.png\");\r\n\t\t\t\r\n\t\tfor(int a = 0; a<9; a++) {\r\n\t\tif(userCol>0 && userCol3 !=15 && userCol2!=15 && userCol1!=15 && userCol!=15 && userRow>0)\r\n\t\t{\r\n\t\r\n\t\t\t Location next101 = new Location(userRow+1,userCol);\r\n\t\t\t Location next102 = new Location(userRow+1,userCol1);\r\n\t\t\t Location next103 = new Location(userRow+1,userCol2);\r\n\t\t\t Location next104 = new Location(userRow+1,userCol3);\r\n\r\n\t\t\t\tLocation next201 = new Location(userRow,userCol);\r\n\t\t\t\tLocation next202 = new Location(userRow,userCol1);\r\n\t\t\t\tLocation next203 = new Location(userRow,userCol2);\r\n\t\t\t\tLocation next204 = new Location(userRow,userCol3);\r\n\t\t\t\t\r\n\t\t\t\tLocation next301 = new Location(userRow-1,userCol);\r\n\t\t\t\tLocation next302 = new Location(userRow-1,userCol1);\r\n\t\t\t\tLocation next303 = new Location(userRow-1,userCol2);\r\n\t\t\t\tLocation next304 = new Location(userRow-1,userCol3);\r\n\t\t\t\t\r\n\t\t\t Location next401 = new Location(userRow-2,userCol);\r\n\t\t\t Location next402 = new Location(userRow-2,userCol1);\r\n\t\t\t Location next403 = new Location(userRow-2,userCol2);\r\n\t\t\t Location next404 = new Location(userRow-2,userCol3);\r\n\t\t\t userCol+=1;\r\n\t\t\t userCol1+=1;\r\n\t\t\t\tuserCol2+=1;\r\n\t\t\t\tuserCol3+=1;\r\n\t\t\t grid.setImage(next101, \"SB401.png\");\r\n\t\t\t grid.setImage(loc1, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next102, \"SB402.png\");\r\n\t\t\t grid.setImage(loc2, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next103, \"SB403.png\");\r\n\t\t\t grid.setImage(loc2, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next104, \"SB404.png\");\r\n\t\t\t grid.setImage(loc3, null);\r\n\r\n\t\t\t\t\r\n\t\t\t\tgrid.setImage(next201, \"SB301.png\");\r\n\t\t\t grid.setImage(loc4, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next202, \"SB302.png\");\r\n\t\t\t grid.setImage(loc5, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next203, \"SB303.png\");\r\n\t\t\t grid.setImage(loc6, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next204, \"SB304.png\");\r\n\t\t\t grid.setImage(loc7, null);\r\n\r\n\t\t\t\t\r\n\t\t\t\tgrid.setImage(next301, \"SB201.png\");\r\n\t\t\t grid.setImage(loc8, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next302, \"SB202.png\");\r\n\t\t\t grid.setImage(loc9, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next303, \"SB203.png\");\r\n\t\t\t grid.setImage(loc10, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next304, \"SB204.png\");\r\n\t\t\t grid.setImage(loc11, null);\r\n\r\n\t\t\t\t\r\n\t\t\t\tgrid.setImage(next401, \"SB101.png\");\r\n\t\t\t grid.setImage(loc12, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next402, \"SB102.png\");\r\n\t\t\t grid.setImage(loc13, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next403, \"SB103.png\");\r\n\t\t\t grid.setImage(loc14, null);\r\n\r\n\t\t\t \r\n\t\t\t\tgrid.setImage(next404, \"SB104.png\");\r\n\t\t\t grid.setImage(loc15, null);\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t \r\n\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n }\r\n }", "public InstanceOverflowException() {\n\t\tsuper();\n\t}", "public Place(int x, int y){\n this.x=x;\n this.y=y;\n isFull=false;\n }", "public DoublyLL()\r\n\t{\r\n\t\tstart = null;\r\n\t\t//end = null;\r\n\t\tsize = 0;\r\n\t}", "protected void end() {\n Robot.m_Cannon.stop();\n }", "protected BlankRecord(int c, int r, BlankRecord br)\r\n/* 30: */ {\r\n/* 31: 84 */ super(Type.BLANK, c, r, br);\r\n/* 32: */ }", "public Boop() {\n\t\tsuper();\n\t}", "public FreeTime() {}", "public void explode() {\n\t\tSystem.out.println(\"HydrogenBomb blast from Explosion\");\n\t}", "public Chunk() {\n }", "public Ball(Vector2 position) {\n this.position = position;\n build();\n }", "Flock() {\n boids = new ArrayList<Boid>(); // Initialize the ArrayList\n }", "Flock() {\n boids = new ArrayList<Boid>(); // Initialize the ArrayList\n }", "private void placeBomb() {\n\t\tint x = ran.nextInt(worldWidth);\n\t\tint y = ran.nextInt(worldHeight);\n\n\t\tif (!tileArr[x][y].hasBomb()) {\n\t\t\ttileArr[x][y].setBomb(true);\n\n\t\t\tindex.add(\"Index\" + x + \",\" + y); // ADDED COMPONENT\n\t\t\trevealed.put(index, true);\n\t\t\tindex.removeFirst();\n\n\t\t} else {\n\t\t\tindex.add(\"Index\" + x + \",\" + y); // ADDED COMPONENT\n\t\t\trevealed.put(index, false);\n\t\t\tindex.removeFirst();\n\t\t\tplaceBomb();\n\t\t}\n\n\t}", "public PPDeadType()\n {\n }", "@Override //sobre-escritura del destructor.\n protected void finalize() throws Throwable {\n super.finalize(); \n System.err.println(\"Chau objeto.\"); //serr y ...\n }", "public void makeTombstone()\r\n\t\t{\r\n\t\t\tisTombstone = true;\r\n\t\t}", "public void end() {\n\n }", "public End_position(int x, int y){\n super(x, y);\n this.destinationX = x;\n\n loadImage(\"end_position.PNG\");\n getImageDimension();\n }", "private Time(int end) {\r\n\t\tcurrentTime = 0;\r\n\t\tendOfTime = end;\r\n\t\tobservers = new ArrayList<TimeObserver>();\r\n\t}", "void deathHandler(Enemy e) {\n\n if (e != null) {\n Explosion rip = new Explosion();\n rip.kaboom.moveToPoint(e.eTank.getX(), e.eTank.getY());\n // println(\"made enemy\");\n rip.kaboom.frontAngle(90);\n rip.kaboom.turn(90);\n explosion.add(rip);\n }\n for (Explosion exp: explosion) {\n if (exp.kaboomCounter > 1) {\n exp.kaboom.display();\n }\n // if (exp.kaboomCounter < 1) {\n // explosion.remove(exp);\n // }\n // else {\n exp.kaboomCounter -= 3;\n // println(exp.kaboomCounter);\n // println(explosion.size());\n // }\n }\n\n}", "@Override\n\tpublic void destroy()\n\t{\n\t\tprojectileCount--;\n\t\trbCount--;\n\t}", "public Wall(int x, int y)\r\n\t{\r\n\t\tsuper(x,y);\r\n\t}" ]
[ "0.71451616", "0.66032934", "0.64855784", "0.62614673", "0.620487", "0.6131556", "0.5899457", "0.5899398", "0.5881455", "0.581831", "0.5816199", "0.5785893", "0.565029", "0.55798364", "0.55388856", "0.55221295", "0.54876935", "0.54785705", "0.5442218", "0.54353976", "0.54264295", "0.5411035", "0.5406185", "0.53966475", "0.53525984", "0.53286", "0.53183323", "0.53158814", "0.5310637", "0.52821565", "0.5259045", "0.5250989", "0.52403086", "0.52357376", "0.52348346", "0.5233787", "0.5227872", "0.52115726", "0.5200909", "0.5186643", "0.51856667", "0.51558656", "0.51554894", "0.5142821", "0.5142821", "0.51295936", "0.5123646", "0.5123064", "0.5109622", "0.5106243", "0.5097223", "0.5083969", "0.50836766", "0.50804687", "0.5079415", "0.50770867", "0.507565", "0.507315", "0.50660086", "0.50598586", "0.5056654", "0.5055216", "0.5049379", "0.5027698", "0.5015964", "0.5014444", "0.500966", "0.50077105", "0.50052696", "0.4997368", "0.4992799", "0.49809724", "0.4980882", "0.4974463", "0.49690634", "0.49683148", "0.49678499", "0.4955484", "0.49513045", "0.49512064", "0.49474528", "0.4929579", "0.49293208", "0.49178046", "0.4917636", "0.49157742", "0.49118695", "0.4911606", "0.49113423", "0.49085018", "0.49085018", "0.49070424", "0.49061418", "0.49055463", "0.49043182", "0.49027684", "0.49010974", "0.48985264", "0.48884755", "0.48844445", "0.48805967" ]
0.0
-1
End setPosition() Returns the fuse length of the bomb.
public long getFuseLength() { return this.fuseLength; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Bomb(Position posn, long fuseLength) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = fuseLength;\n\t}", "public void setFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength;\n\t}", "public Bomb(PlayerID ownerId, Cell position, int fuseLength, int range) {\n\t\tthis(ownerId, position, Objects.requireNonNull(Sq.iterate(fuseLength, u -> u - 1).limit(fuseLength)), range);\n\t}", "public int getSize()\n\t{\n\t\treturn itsPosition;\n\t}", "public int getSize() {\n return position;\n }", "public void addToFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength + this.fuseLength;\n\t}", "public void setCurrentLength(long currentLength) { \n this.currentLength = currentLength; \n }", "public int getPosSize() {\n\t\treturn this.pos.size();\n\t}", "public int length()\r\n/* 26: */ {\r\n/* 27: 39 */ return this.pos;\r\n/* 28: */ }", "public long getCurrentLength() { \n return currentLength; \n }", "public int size() {\n\t\treturn posicionActual;\n\t}", "public int getLength () { return spriteLength; }", "public int size() {\n return pos;\n }", "@Override\n\tpublic long size() {\n\t\treturn this.currentLength.get();\n\t}", "float getLength();", "float getLength();", "public int getLength()\n\t{\n\t\treturn mLength;\n\t}", "public double getLength() {\n return count;\n }", "public long getLength() { \n return length; \n }", "public void setLength(long length);", "public void setLength(long length);", "public long getLength();", "public long getLength();", "public abstract long getLength();", "public abstract long getLength();", "public final int getLength()\n {\n return m_firstFree;\n }", "godot.wire.Wire.Vector2 getSize();", "public int getLength(){\n\t\treturn length;\n\t}", "public int getLength(){\n\t\treturn length;\n\t}", "public int getLength() {\n return mySize.getLength();\n }", "public int getLength() {\r\n return length;\r\n }", "public int getLength() {\r\n return length;\r\n }", "public int getLength() {\r\n return length;\r\n }", "public int getLength() {\n return length;\n }", "public int getLength()\n {\n\treturn length;\n }", "public int length() {\n\t\treturn size;\r\n\t}", "public int getShipLength() {\n return shipLength;\n }", "public int getLength()\n\t{\n\t\treturn length;\n\t}", "public int getLength()\n\t{\n\t\treturn length;\n\t}", "public int getLength() {\n/* 301 */ return this.stream.getInt(COSName.LENGTH, 0);\n/* */ }", "public int getLength ()\r\n {\r\n return glyph.getBounds().width;\r\n }", "public int getLength() {\n return length;\n }", "public int getLength() {\n return length;\n }", "godot.wire.Wire.Vector3 getSize();", "public double getLength(){\r\n\t\treturn length;\r\n\t}", "public void setPosition(final Vector2f position);", "public int getLength() {\r\n\t\treturn length;\r\n\t}", "public double getLength() {\r\n return length;\r\n }", "public final Vector2f getSize() {\r\n return size;\r\n }", "public int getLength() { return length;\t}", "public double getLength()\n\t{\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public long length() {\n return length;\n }", "public int getLength()\n {\n return length;\n }", "public double getLength() {\n return length;\n }", "public double getLength() {\r\n\t\t\treturn length;\r\n\t\t}", "void setLength( long length );", "public void setLength(Point e) {\r\n int Dx = Math.abs(this.origin.getX() - e.getX());\r\n int Dy = Math.abs(this.origin.getY() - e.getY());\r\n if (Dx > Dy) {\r\n this.length = Dx;\r\n } else { this.length = Dy; }\r\n }", "public double getLength() {\r\n\t\treturn length;\r\n\t}", "public double getLength() {\n\t\treturn length;\n\t}", "public int size() {\n return this.m_GenotypeLength;\n }", "public long length() {\r\n return 1 + 4 + buffer.length;\r\n }", "public double getLength()\n {\n return length;\n }", "public void setLength(long length) { \n this.length = length; \n }", "public void setPosition(Vector2 position);", "public int getLength()\n\t{\n\t\treturn (int) length;\n\t}", "public int length() {\n \treturn length;\n }", "public double get_length() {\n\t\treturn _length;\n\t}", "public int length() {\n return length;\n }", "public int length() {\n return length;\n }", "public int length() {\n return length;\n }", "public int getLength() {\n return length_;\n }", "public Integer getLength() {\n return _length;\n }", "public Integer getLength() {\n return _length;\n }", "public void setLength(double length){this.length=length;}", "public int getLength(){\n return length;\n }", "public Position gibPosition()\n {\n return position;\n }", "public byte getLength_unit() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readByte(__io__address + 8);\n\t\t} else {\n\t\t\treturn __io__block.readByte(__io__address + 8);\n\t\t}\n\t}", "public int getLength() {\n return length_;\n }", "protected int getLength() {\n return length;\n }", "public int getLength() {return length;}", "public int getLength() {\n return this.length;\n }", "public int getLength() {\n return this.length;\n }", "public int size() {\r\n\t\treturn this.taille;\r\n\t}", "public int length() {\n\t\treturn length;\n\t}", "public int length() {\n\t\treturn length;\n\t}", "public int get_length();", "public int getSize() {\n\t\treturn WORLD_SIZE;\n\t}", "public int length(){\n\t\treturn this.tamanho;\n\t}", "private int length() { return length; }", "public int getLength() {\n\t\treturn this.length;\n\t}", "public int getLength()\n\t{\n\t\tif (synopsisLengthSet)\n\t\t{\n\t\t\treturn length;\n\t\t}\n\t\telse return UNDEFINED;\n\t}", "public int getLength()\n {\n return stream.getInt(COSName.LENGTH, 0);\n }", "public int length()\n\t{\n\t\treturn length;\n\t}", "void setLength(int length);" ]
[ "0.6048631", "0.58764535", "0.57867885", "0.57392627", "0.5706371", "0.57001793", "0.5613849", "0.561032", "0.55972254", "0.55880475", "0.55685174", "0.55577654", "0.5544179", "0.552917", "0.5511701", "0.5511701", "0.54918945", "0.54363155", "0.54205054", "0.54080033", "0.54080033", "0.5394988", "0.5394988", "0.53826195", "0.53826195", "0.53808075", "0.5371719", "0.53448445", "0.53448445", "0.5337683", "0.53370845", "0.53370845", "0.53370845", "0.5337084", "0.53350943", "0.53222835", "0.5311985", "0.53063476", "0.53063476", "0.5305405", "0.530426", "0.5300536", "0.5300536", "0.5294043", "0.52900743", "0.5288604", "0.5287679", "0.5283002", "0.52763635", "0.5275236", "0.52730095", "0.52707136", "0.52707136", "0.52707136", "0.52707136", "0.52707136", "0.52707136", "0.52678543", "0.5266179", "0.52661026", "0.5261976", "0.52573895", "0.5251464", "0.5251142", "0.5245292", "0.5244603", "0.5229192", "0.5226134", "0.52193975", "0.5206302", "0.519599", "0.5191079", "0.5181122", "0.51737833", "0.51737833", "0.51737833", "0.5171219", "0.51603377", "0.51603377", "0.5153818", "0.51532555", "0.5146789", "0.5146287", "0.5145437", "0.51405305", "0.51355225", "0.5133765", "0.5133765", "0.5133677", "0.5131124", "0.5131124", "0.51288605", "0.51235896", "0.51235247", "0.51221675", "0.51197726", "0.5119096", "0.51114583", "0.51101464", "0.5104674" ]
0.64584994
0
End getFuseLength() Sets the fuse length of the bomb.
public void setFuseLength(long newFuseLength) { this.fuseLength = newFuseLength; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getFuseLength() {\n\t\treturn this.fuseLength;\n\t}", "public void addToFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength + this.fuseLength;\n\t}", "public void setLength(long length);", "public void setLength(long length);", "void setLength( long length );", "public void setLength(double newLength) {\n length = newLength;\n }", "synchronized void setLength(int length) {\n this.length = length;\n }", "public void setLength(long length) { \n this.length = length; \n }", "void setLength(int length);", "public void setCurrentLength(long currentLength) { \n this.currentLength = currentLength; \n }", "public void setLength(float length) { // l = 2.3\r\n\t\tthis.length = length; // length = 2.3\r\n\t\t\r\n\t}", "public void setLength(Double newlength)\n {\n length = newlength;\n }", "public boolean setLength(double Length);", "public void setLength(long length) {\r\n\t\tthis.length = length;\r\n\t}", "public void setLength(long newLength) throws IOException {\n flush();\n this.randomAccessFile.setLength(newLength);\n if (newLength < this.fileOffset) {\n this.fileOffset = newLength;\n }\n }", "public void setLength(double length)\r\n {\r\n this.length = length;\r\n }", "public void set_length(short value) {\n setUIntElement(offsetBits_length(), 8, value);\n }", "public void setLength(double length){this.length=length;}", "@Override\n\tpublic void SetLength(long value)\n\t{\n\t\tthrow new UnsupportedOperationException(\"TarInputStream SetLength not supported\");\n\t}", "public void setLength(double length) {\r\n this.length = length;\r\n }", "public Bomb(Position posn, long fuseLength) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = fuseLength;\n\t}", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public void setLength(int length)\n {\n this.length = length;\n }", "public void setLength(double length) {\n this.length = length;\n }", "float getLength();", "float getLength();", "public void setLength(int length) {\r\n\t\tthis.length = length;\r\n\t}", "public Bomb(PlayerID ownerId, Cell position, int fuseLength, int range) {\n\t\tthis(ownerId, position, Objects.requireNonNull(Sq.iterate(fuseLength, u -> u - 1).limit(fuseLength)), range);\n\t}", "@Override\n\tpublic void setLength(int length) {\n\t\t\n\t}", "public void setLength( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public void setLength(double length) {\n\t\tthis.length = length;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(){\n this.length = 0;\n for (Music track : this.tracks){\n this.length += track.getLength();\n }\n }", "public void setLength( int length ) { setCapacity( length ); this.length = length; }", "public long getLength();", "public long getLength();", "public double getLength() {\r\n\t\t\treturn length;\r\n\t\t}", "public long getLength() { \n return length; \n }", "public double getLength(){\r\n\t\treturn length;\r\n\t}", "public abstract long getLength();", "public abstract long getLength();", "public double getLength() {\r\n\t\treturn length;\r\n\t}", "public double getLength() {\n\t\treturn length;\n\t}", "public double getLength() {\r\n return length;\r\n }", "public void setLengthOfStay(int len) {\n this.length_of_stay=len;\n }", "public int getLength()\n\t{\n\t\treturn mLength;\n\t}", "public int getLength() {\n return length;\n }", "public double getLength() {\n return length;\n }", "public void setLength(int length){\n\t\tif(length > 0){\n\t\t\tthis.length = length; //this.length is the length were in right now. and = length is the length the object is given\n\t\t}\n\t\t\n\t\t\n\t}", "public void setLength(Point e) {\r\n int Dx = Math.abs(this.origin.getX() - e.getX());\r\n int Dy = Math.abs(this.origin.getY() - e.getY());\r\n if (Dx > Dy) {\r\n this.length = Dx;\r\n } else { this.length = Dy; }\r\n }", "public int getLength(){\n\t\treturn length;\n\t}", "public int getLength(){\n\t\treturn length;\n\t}", "public int getLength() {\r\n return length;\r\n }", "public int getLength() {\r\n return length;\r\n }", "public int getLength() {\r\n return length;\r\n }", "public void setBaseLength(double baseLength) {\n this.baseLength = baseLength;\n }", "public int getLength() { return length;\t}", "public int getLength() {\r\n\t\treturn length;\r\n\t}", "public double getLength()\n\t{\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public int getLength() {\n\t\treturn length;\n\t}", "public double getLength() {\n return count;\n }", "public int getLength() {return length;}", "public int getLength()\n {\n\treturn length;\n }", "public int getLength() {\n\t\treturn length & 0xffff;\n\t}", "default void setLength(double t) {\r\n scaleDirection(t / getLength());\r\n }", "public int getLength() {\n return length;\n }", "public int getLength() {\n return length;\n }", "public final int getLength()\n {\n return m_firstFree;\n }", "public void setLength_unit(byte length_unit) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 8, length_unit);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 8, length_unit);\n\t\t}\n\t}", "public void setLength(int length)\n {\n encryptionDictionary.setInt(\"Length\", length);\n }", "public int getLength()\n\t{\n\t\treturn length;\n\t}", "public int getLength()\n\t{\n\t\treturn length;\n\t}", "public double getLength()\n {\n return length;\n }", "public void setLength(int newLength) {\r\n\t\tif (cursor + newLength > buffer.length)\r\n\t\t\tthrow new IllegalArgumentException(\"Can't set new length if it exceeds buffer\");\r\n\t\tlimit = cursor + newLength;\r\n\t}", "public void setLength(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public int getLength() {\n return length_;\n }", "public abstract void getLength(double length);", "public double getLength();", "protected int getLength() {\n return length;\n }", "public int getLength()\n {\n return length;\n }", "public void findLength()\n\t{\n\t\tlength = name.length();\n\t}", "public void addLength( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.add(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public int getLength() {\n return length_;\n }", "public static void setLength(final RandomAccessFile file, final long newLength) throws IOException {\n\n try {\n trace(\"setLength\", null, file);\n file.setLength(newLength);\n }\n catch (final IOException e) {\n final long length = file.length();\n if (newLength < length) { throw e; }\n final long pos = file.getFilePointer();\n file.seek(length);\n long remaining = newLength - length;\n final int maxSize = 1024 * 1024;\n final int block = (int) Math.min(remaining, maxSize);\n final byte[] buffer = new byte[block];\n while (remaining > 0) {\n final int write = (int) Math.min(remaining, maxSize);\n file.write(buffer, 0, write);\n remaining -= write;\n }\n file.seek(pos);\n }\n }", "public Integer getLength() {\n return _length;\n }", "public Integer getLength() {\n return _length;\n }", "public int getReferenceAlleleLength() {\n return referenceAlleleLength;\n }", "public int getLength(){\n return length;\n }", "public Builder setLength(int value) {\n \n length_ = value;\n onChanged();\n return this;\n }", "public void setLength(int length) {\n\t\tloadProgress.setLength(length);\n\t}", "public double get_length() {\n\t\treturn _length;\n\t}", "public Double getLength()\n {\n return length;\n }" ]
[ "0.72143024", "0.71786946", "0.6141599", "0.6141599", "0.60358095", "0.60193855", "0.58656245", "0.57936233", "0.57719505", "0.57613593", "0.57264113", "0.569562", "0.56790334", "0.5674484", "0.5618811", "0.56101155", "0.5595005", "0.5592703", "0.5578325", "0.5572948", "0.5565555", "0.5561364", "0.5561364", "0.55566275", "0.5527023", "0.5523236", "0.5523236", "0.55182576", "0.55077034", "0.54913026", "0.5487248", "0.5485694", "0.54319495", "0.54319495", "0.54319495", "0.5428032", "0.5426476", "0.5405545", "0.5405545", "0.53777623", "0.5334834", "0.53312415", "0.5320399", "0.5320399", "0.5314614", "0.52851254", "0.5282081", "0.52745056", "0.5258372", "0.5247434", "0.5242235", "0.5238093", "0.5236043", "0.52351993", "0.52351993", "0.5232144", "0.5232144", "0.5232144", "0.52265286", "0.52261484", "0.5224247", "0.52098364", "0.5191459", "0.5191459", "0.5191459", "0.5191459", "0.5191459", "0.5191459", "0.5191046", "0.5181054", "0.51765627", "0.51758397", "0.51731735", "0.5168921", "0.5168921", "0.5162879", "0.51624274", "0.5137253", "0.5136169", "0.5136169", "0.5134629", "0.51290476", "0.51259243", "0.5113227", "0.5112149", "0.5101665", "0.50942487", "0.5088772", "0.5086088", "0.5084457", "0.5079258", "0.5068074", "0.50661427", "0.50661427", "0.5054806", "0.50520813", "0.5045979", "0.50444496", "0.50401646", "0.50336146" ]
0.7492453
0
End setFuseLength() Updates the fuse length of the bomb.
public void addToFuseLength(long newFuseLength) { this.fuseLength = newFuseLength + this.fuseLength; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength;\n\t}", "public long getFuseLength() {\n\t\treturn this.fuseLength;\n\t}", "public void setCurrentLength(long currentLength) { \n this.currentLength = currentLength; \n }", "public void setLength(double newLength) {\n length = newLength;\n }", "void setLength( long length );", "public void setLength(long length);", "public void setLength(long length);", "public void setLength(Double newlength)\n {\n length = newlength;\n }", "public void setLength(long newLength) throws IOException {\n flush();\n this.randomAccessFile.setLength(newLength);\n if (newLength < this.fileOffset) {\n this.fileOffset = newLength;\n }\n }", "void setLength(int length);", "synchronized void setLength(int length) {\n this.length = length;\n }", "public boolean setLength(double Length);", "public void set_length(short value) {\n setUIntElement(offsetBits_length(), 8, value);\n }", "public void setLength(long length) { \n this.length = length; \n }", "public void setLength(float length) { // l = 2.3\r\n\t\tthis.length = length; // length = 2.3\r\n\t\t\r\n\t}", "public void setLength(int newLength) {\r\n\t\tif (cursor + newLength > buffer.length)\r\n\t\t\tthrow new IllegalArgumentException(\"Can't set new length if it exceeds buffer\");\r\n\t\tlimit = cursor + newLength;\r\n\t}", "@Override\n\tpublic void SetLength(long value)\n\t{\n\t\tthrow new UnsupportedOperationException(\"TarInputStream SetLength not supported\");\n\t}", "public void setLength(long length) {\r\n\t\tthis.length = length;\r\n\t}", "public void setLength(double length){this.length=length;}", "@Override\n\tpublic void setLength(int length) {\n\t\t\n\t}", "public void setLength(){\n this.length = 0;\n for (Music track : this.tracks){\n this.length += track.getLength();\n }\n }", "public void setLength( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public void setLength( int length ) { setCapacity( length ); this.length = length; }", "public void setLength(double length)\r\n {\r\n this.length = length;\r\n }", "public void handleIncreaseLengthPowerup(){\n myRectangle.setWidth(myRectangle.getWidth()*increaseLengthPowerupSizeFactor);\n myLength=(int)(myLength*increaseLengthPowerupSizeFactor);\n }", "public void setLengthOfStay(int len) {\n this.length_of_stay=len;\n }", "public void setLength(double length) {\r\n this.length = length;\r\n }", "public void setLength(int length)\n {\n this.length = length;\n }", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public static void setLength(final RandomAccessFile file, final long newLength) throws IOException {\n\n try {\n trace(\"setLength\", null, file);\n file.setLength(newLength);\n }\n catch (final IOException e) {\n final long length = file.length();\n if (newLength < length) { throw e; }\n final long pos = file.getFilePointer();\n file.seek(length);\n long remaining = newLength - length;\n final int maxSize = 1024 * 1024;\n final int block = (int) Math.min(remaining, maxSize);\n final byte[] buffer = new byte[block];\n while (remaining > 0) {\n final int write = (int) Math.min(remaining, maxSize);\n file.write(buffer, 0, write);\n remaining -= write;\n }\n file.seek(pos);\n }\n }", "public void setLength(double length) {\n this.length = length;\n }", "public void setLength_unit(byte length_unit) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 8, length_unit);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 8, length_unit);\n\t\t}\n\t}", "public Bomb(PlayerID ownerId, Cell position, int fuseLength, int range) {\n\t\tthis(ownerId, position, Objects.requireNonNull(Sq.iterate(fuseLength, u -> u - 1).limit(fuseLength)), range);\n\t}", "public void setLength(int length) {\r\n\t\tthis.length = length;\r\n\t}", "public void setLength(double length) {\n\t\tthis.length = length;\n\t}", "public Bomb(Position posn, long fuseLength) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = fuseLength;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(int length) {\n\t\tthis.length = length;\n\t}", "public void setLength(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public void setLength(int length){\n\t\tif(length > 0){\n\t\t\tthis.length = length; //this.length is the length were in right now. and = length is the length the object is given\n\t\t}\n\t\t\n\t\t\n\t}", "public void addLength( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.add(this.model, this.getResource(), LENGTH, value);\r\n\t}", "default void setLength(double t) {\r\n scaleDirection(t / getLength());\r\n }", "public void setLength(int length) {\n\t\tloadProgress.setLength(length);\n\t}", "public void writeLength(){\n\t\tfor(int i = 0; i < DIFF_CHARACTERS; i++){\n\t\t\tm_arraylists[i].length();\n\t\t}\n\t}", "public void setNewickLength(Double newnewicklength)\n {\n newicklength = newnewicklength; \n }", "public void setLength(Point e) {\r\n int Dx = Math.abs(this.origin.getX() - e.getX());\r\n int Dy = Math.abs(this.origin.getY() - e.getY());\r\n if (Dx > Dy) {\r\n this.length = Dx;\r\n } else { this.length = Dy; }\r\n }", "public void refuel() {\n fuelAmount = type.fuelCapacity;\n }", "public void setLength(int length)\n {\n encryptionDictionary.setInt(\"Length\", length);\n }", "public void setBaseLength(double baseLength) {\n this.baseLength = baseLength;\n }", "public void setBBoxLength(int aLength)\r\n {\r\n theBBoxLength = aLength;\r\n if (theBBoxLengthField != null)\r\n {\r\n theBBoxLengthField.setValue(theBBoxLength);\r\n theBBoxLengthField.updateUI();\r\n }\r\n }", "public void setDataLength(int length) {\n // should be below 255, check!\n m_DataLength = length + 2;\n }", "public void setLen_cable(java.math.BigDecimal newLen_cable)\n\t\tthrows java.rmi.RemoteException;", "public void clearLength() {\n // Override in proxy if lazily loaded; otherwise does nothing\n }", "public final void setTermLength(int length) {\n initTermBuffer();\n termLength = length;\n }", "public Builder setLength(int value) {\n \n length_ = value;\n onChanged();\n return this;\n }", "void calculateAndSetBodyLength(TranscoderContext context);", "public void setTextLength(short field_6_textLength)\n {\n this.field_6_textLength = field_6_textLength;\n }", "public void setLength(int duration){\n\t\tlength = duration;\n\t}", "@Override\n public void simpleUpdate(float tpf)\n {\n System.out.println(\"New capacity: \" + spriteManager.getSpriteMeshes().get(0).getCapacity());\n if (trim)\n {\n spriteManager.trim();\n trim = false;\n }\n }", "public void setFalloff(float falloff) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 144, falloff);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 112, falloff);\n\t\t}\n\t}", "public void refillLife(){\r\n\t\tthis.life = totalLife;\r\n\t}", "public void set_estLength(short value) {\n setUIntElement(offsetBits_estLength(), 8, value);\n }", "public void removeLength( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.remove(this.model, this.getResource(), LENGTH, value);\r\n\t}", "void setAxisLength(CalibratedAxis axis, long length);", "@Override\n\tpublic LSystemBuilder setUnitLength(double unitLength) {\n\t\tthis.unitLength = unitLength;\n\t\treturn this;\n\t}", "public void setDataRetentionPeriodLength(short dataRetentionPeriodLength)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATARETENTIONPERIODLENGTH$26, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATARETENTIONPERIODLENGTH$26);\n }\n target.setShortValue(dataRetentionPeriodLength);\n }\n }", "public void xsetDataRetentionPeriodLength(org.apache.xmlbeans.XmlShort dataRetentionPeriodLength)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlShort target = null;\n target = (org.apache.xmlbeans.XmlShort)get_store().find_element_user(DATARETENTIONPERIODLENGTH$26, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlShort)get_store().add_element_user(DATARETENTIONPERIODLENGTH$26);\n }\n target.set(dataRetentionPeriodLength);\n }\n }", "public void setContentLength(long contentLength)\r\n/* 175: */ {\r\n/* 176:260 */ set(\"Content-Length\", Long.toString(contentLength));\r\n/* 177: */ }", "private void setFinalSize()\n {\n if (! m_isEmpty)\n return;\n m_isEmpty = false;\n setSize(m_finalSize);\n if (m_finalLocation != null)\n setLocation(m_finalLocation);\n }", "private void addChainLength(int len){\r\n maxChainLength = Math.max(maxChainLength, len);\r\n totalChainLengths += len;\r\n if (len > 0)\r\n totalInsertionsLookups++;\r\n }", "public void addLength(int num) {\r\n this.length += num;\r\n }", "@Override\r\n public void updateForce(Rigidbody body, float duration) {\n Vector3f lws = body.getPointInWorldSpace(connectionPoint);\r\n Vector3f ows = new Vector3f(anchorPoint);\r\n\r\n if (this.restLength == -1f) {\r\n this.restLength = new Vector3f(ows).sub(lws).length();\r\n }\r\n\r\n // Calculate the vector of the spring (in local space)\r\n Vector3f force = new Vector3f(lws).sub(ows);\r\n\r\n // Calculate the magnitude of the force\r\n float magnitude = force.length();\r\n magnitude = Math.max(magnitude - restLength, 1.6f);\r\n magnitude *= springConstant;\r\n\r\n // Calculate the final force and apply it\r\n force.normalize();\r\n force.mul(-magnitude);\r\n body.addForceAtPoint(force, lws);\r\n }", "@JsProperty(name = \"length\")\n public native void setLength(@DoNotAutobox Number value);", "public void setScale_length(float scale_length) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 0, scale_length);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 0, scale_length);\n\t\t}\n\t}", "public abstract long getLength();", "public abstract long getLength();", "public void setUsed(Long used) {\r\n this.used = used;\r\n }", "float getLength();", "float getLength();", "public void addLength() {\n\t\tBodyPart b1 = snake.getBodyPart(snake.getSize()-1), b2 = snake.getBodyPart(snake.getSize()-2);\n\t\tif(b1.getX() > b2.getX())\n\t\t\tsnake.addBodyPart(b1.getX()+GameObject.SIZE, b1.getY());\n\t\telse if(b1.getX() < b2.getX())\n\t\t\tsnake.addBodyPart(b1.getX()-GameObject.SIZE, b1.getY());\n\t\telse if(b1.getY() >= b2.getY())\n\t\t\tsnake.addBodyPart(b1.getX(), b1.getY()+GameObject.SIZE);\n\t\telse if(b1.getY() >= b2.getY())\n\t\t\tsnake.addBodyPart(b1.getX(), b1.getY()-GameObject.SIZE);\n\t}", "public void findLength()\n\t{\n\t\tlength = name.length();\n\t}", "public long getLength();", "public long getLength();", "public void expandFile(long length) throws IOException {\n\n\t}", "public void setLength(double len) throws IllegalArgumentException\n {\n if (len<0) throw new IllegalArgumentException (\"Length cannot be negative\" + len);\n else length = len;\n }", "public void setHashLength(int keyLength) {\n\t\tthis.hashLength = keyLength;\n\t}", "public static void setAPDUBuffer(short length) {\n setAPDUBuffer(currentTI.getAPDUBuffer(), length);\n }", "public void setLength(int n){ // Setter method\n \n length = n; // set the class attribute (variable) radius equal to num\n }", "public void addLength(java.lang.String value) {\r\n\t\tBase.add(this.model, this.getResource(), LENGTH, value);\r\n\t}", "public void settleForce(Force f){\n if(!f.getOwner().equals(this.owner)){\n if(this.troops != 0)\n throw new IllegalArgumentException(\"Can't settle a Force in an occupied Territory\");\n this.owner = f.getOwner();\n }\n this.troops += f.getTroops();\n inGameInvariant();\n }", "public void changeSize(Integer newLength, Integer newHeight) {\n control.erase();\n width = newLength;\n height = newHeight;\n control.draw();\n }", "public RADIUSAttribute setLength(final byte length) {\n this.length = length;\n return this;\n }", "public void setCvpOperationLength(long value)\n {\n if(__cvpOperationLength != value)\n {\n _isDirty = true;\n }\n __cvpOperationLength = value;\n }", "public void setCvpOperationLobsLength(long value)\n {\n if(__cvpOperationLobsLength != value)\n {\n _isDirty = true;\n }\n __cvpOperationLobsLength = value;\n }", "public void setLength(int length) {\n\t\tif (length <= 0)\n\t\t\tthrow new IllegalArgumentException(\"length must be > 0\");\n\n\t\tthis.length = length;\n\t}", "public long getLength() { \n return length; \n }", "public synchronized void updateFileSize( long passedSize ){\n \n fileSize = passedSize;\n if( fileSize >= 0 && fileByteCounter >= fileSize )\n finishFileTransfer(); \n }", "private void addLengthToCacheSize(final IndexedDiskElementDescriptor value)\r\n {\r\n contentSize.addAndGet((value.len + IndexedDisk.HEADER_SIZE_BYTES) / 1024 + 1);\r\n }" ]
[ "0.74352944", "0.6361134", "0.6158044", "0.6062851", "0.60407305", "0.597534", "0.597534", "0.57562286", "0.575586", "0.574511", "0.56974155", "0.5628981", "0.55985224", "0.557597", "0.55303913", "0.5483078", "0.54240483", "0.5387452", "0.5366019", "0.53621453", "0.5356157", "0.53440535", "0.53176206", "0.5317308", "0.5312022", "0.5295642", "0.5259011", "0.52435845", "0.5228607", "0.5228607", "0.521492", "0.5205835", "0.51869094", "0.5181227", "0.5179015", "0.517263", "0.50964063", "0.5089222", "0.5089222", "0.5089222", "0.5042889", "0.50240964", "0.49882478", "0.49865508", "0.495798", "0.49497542", "0.49272016", "0.49229547", "0.49159566", "0.49012175", "0.48874778", "0.48625404", "0.48444903", "0.48320875", "0.48253354", "0.4823043", "0.4822459", "0.48177385", "0.47972795", "0.4770634", "0.4735776", "0.47353458", "0.4730511", "0.47300893", "0.47095603", "0.4694298", "0.4671356", "0.46706048", "0.46610907", "0.46585372", "0.46559066", "0.46514997", "0.46343845", "0.46315265", "0.46244046", "0.4617832", "0.46169582", "0.46169582", "0.46122536", "0.4609077", "0.4609077", "0.4608912", "0.46053573", "0.46036756", "0.46036756", "0.45995924", "0.4581872", "0.45797783", "0.45766616", "0.45697144", "0.45691198", "0.4561149", "0.45542166", "0.45527446", "0.45478123", "0.4544415", "0.45356116", "0.45342034", "0.45309275", "0.45263743" ]
0.7429597
1
End setFuseLength() Checks to see if the fuse is gone to explode.
public boolean checkExplode() { long currentFuse = System.nanoTime() - this.getDropTime(); if (currentFuse >= this.getFuseLength() || explode) return true; else return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength;\n\t}", "public void addToFuseLength(long newFuseLength) {\n\t\tthis.fuseLength = newFuseLength + this.fuseLength;\n\t}", "public long getFuseLength() {\n\t\treturn this.fuseLength;\n\t}", "public void setLengthOfStay(int len) {\n this.length_of_stay=len;\n }", "public void setLength(double newLength) {\n length = newLength;\n }", "public boolean setLength(double Length);", "public boolean usedDefend() { return _usedDefend; }", "public void setCurrentLength(long currentLength) { \n this.currentLength = currentLength; \n }", "public boolean isFull(){\n\t\treturn false;\n\t}", "public void setLength(Double newlength)\n {\n length = newlength;\n }", "public void setLength(long length);", "public void setLength(long length);", "@Override\n\tpublic void SetLength(long value)\n\t{\n\t\tthrow new UnsupportedOperationException(\"TarInputStream SetLength not supported\");\n\t}", "private void checkAndModifySize() {\r\n if (size == data.length * LOAD_FACTOR) {\r\n resizeAndTransfer();\r\n }\r\n }", "public boolean fuelIsFull() throws Exception;", "public void clearLength() {\n // Override in proxy if lazily loaded; otherwise does nothing\n }", "public void setLength(long newLength) throws IOException {\n flush();\n this.randomAccessFile.setLength(newLength);\n if (newLength < this.fileOffset) {\n this.fileOffset = newLength;\n }\n }", "public void setLength(Point e) {\r\n int Dx = Math.abs(this.origin.getX() - e.getX());\r\n int Dy = Math.abs(this.origin.getY() - e.getY());\r\n if (Dx > Dy) {\r\n this.length = Dx;\r\n } else { this.length = Dy; }\r\n }", "void setLength( long length );", "public boolean isFull() { return false; }", "public boolean isFull() {\n return false;\n }", "public boolean isFull() {\r\n\t\treturn false;\r\n\t}", "@Override\n public boolean isFull() {\n return false;\n }", "public void setLength(long length) { \n this.length = length; \n }", "synchronized void setLength(int length) {\n this.length = length;\n }", "public void findLength()\n\t{\n\t\tlength = name.length();\n\t}", "public void setLength(int newLength) {\r\n\t\tif (cursor + newLength > buffer.length)\r\n\t\t\tthrow new IllegalArgumentException(\"Can't set new length if it exceeds buffer\");\r\n\t\tlimit = cursor + newLength;\r\n\t}", "@Override\n\tpublic void setLength(int length) {\n\t\t\n\t}", "public boolean isFull() {\n\t\treturn false;\n\t}", "public boolean isFull(){\r\n return currentSize == maxSize;\r\n }", "public boolean mightBeDeadEnd() {\n // TODO check if it's a real-optimisation - fuses.size() remains low (I would say less than 10), so the stream\n // API might be sufficiently efficient\n if(fuses.size() == 1) {\n return true;\n }\n\n return fuses.stream()\n .map(Fuse::getOpposite)\n .map(Fuse::getOwner)\n .distinct()\n .count() == 1;\n }", "private void checkLength(boolean eof) {\n if (eof) {\n if (dataLength != expectedLength) {\n throw new SdkClientException(\n \"Data read has a different length than the expected: \"\n + diagnosticInfo());\n }\n } else if (dataLength > expectedLength) {\n throw new SdkClientException(\"More data read than expected: \"\n + diagnosticInfo());\n }\n }", "public boolean isSetDataRetentionPeriodLength()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DATARETENTIONPERIODLENGTH$26) != 0;\n }\n }", "public void setLength(float length) { // l = 2.3\r\n\t\tthis.length = length; // length = 2.3\r\n\t\t\r\n\t}", "public void writeLength(){\n\t\tfor(int i = 0; i < DIFF_CHARACTERS; i++){\n\t\t\tm_arraylists[i].length();\n\t\t}\n\t}", "public boolean isDeadEnd() {\n return getClosedFuses().size() <= 1;\n }", "public void setLength(long length) {\r\n\t\tthis.length = length;\r\n\t}", "public boolean isFull(){\n return this.top==this.maxLength-1;\n }", "protected void dropFood() {\r\n\t\tthis.food++;\r\n\t}", "public boolean isAlwaysDeadEnd() {\n return fuses.size() == 1;\n }", "public boolean isSetFileLength() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __FILELENGTH_ISSET_ID);\n }", "public boolean isSetFileLength() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __FILELENGTH_ISSET_ID);\n }", "private int exitOkIgnoreLength() {\r\n\t\tthis.updateUnitStatus();\r\n\t\tthis.eventLogger.logLine(\" => DEVICE_END\");\r\n\t\treturn iDeviceStatus.INCORRECT_LENGTH_IS_OK | iDeviceStatus.DEVICE_END;\r\n\t}", "public void explode() {\n\t\tthis.explosion = false;\n\t}", "private boolean isFull() {\n\t\treturn (size == bq.length);\n\t}", "void setLength(int length);", "public boolean trim() {\n final int l = arraySize(size, f);\n if (l >= n || size > maxFill(l, f)) return true;\n try {\n rehash(l);\n } catch (Error cantDoIt) {\n return false;\n }\n return true;\n }", "public boolean isFull();", "public boolean isFull();", "public boolean isFull();", "public boolean isFull();", "public boolean isFull();", "public boolean isFull();", "private void cleanFieldPathLength() {\n\t\tfor (int i = 0; i < fieldPathLength.length; i++) {\n\t\t\tfieldPathLength[i] = -1;\n\t\t}\n\t}", "public void ferdig(){\n antallTelegrafister--;\n }", "private boolean zzRefill() {\r\n\t\treturn zzCurrentPos>=s.offset+s.count;\r\n\t}", "public boolean isSetLength() {\n return EncodingUtils.testBit(__isset_bitfield, __LENGTH_ISSET_ID);\n }", "private void recalculateWordsInUse(){\n int i;\n for(i=wordsInUse-1;i>=0;i--)\n if(words[i]!=0)\n break;\n wordsInUse=i+1; // The new logical size\n }", "public void setUsed(Long used) {\r\n this.used = used;\r\n }", "private boolean zzRefill() {\n\t\treturn zzCurrentPos>=s.offset+s.count;\n\t}", "private boolean zzRefill() {\n\t\treturn zzCurrentPos>=s.offset+s.count;\n\t}", "public boolean canDrop(){\n return this.collectedItems < STORAGE_AMOUNT && System.currentTimeMillis() - lastDrop >= delayInMillis;\n }", "public boolean isFull(){ \n return isFull;\n }", "public int getLengthOfStay() {\n return this.length_of_stay;\n }", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public void setLength(int length) {\r\n this.length = length;\r\n }", "public final int getLength()\n {\n return m_firstFree;\n }", "public void setLength(int length)\n {\n this.length = length;\n }", "public void refillLife(){\r\n\t\tthis.life = totalLife;\r\n\t}", "protected void checkSize(){\n if (size == data.length){\n resize( 2 * data.length);\n }\n }", "public void undock() {\n if (getSpeed() == 0) {\n inDock = false;\n }\n }", "public native boolean isLengthComputable() /*-{\n\t\treturn this.lengthComputable;\n\t}-*/;", "public boolean ifFieldTooBig(){\n if (SphericalUtil.computeArea(mMapInterface.getPathFrame()) > MAX_FIELD_SIZE) { //if the field is too big\n Toast.makeText(getContext(), getString(R.string.field_too_big), Toast.LENGTH_LONG).show();\n return true;\n }\n return false;\n }", "public void setLength(int length) {\r\n\t\tthis.length = length;\r\n\t}", "public void setLength(){\n this.length = 0;\n for (Music track : this.tracks){\n this.length += track.getLength();\n }\n }", "public void setLength( int length ) { setCapacity( length ); this.length = length; }", "public void honourFreeBufferCount() {\n // Check if there are enough free launchers\n int freeCount = getFreeLaunchers().size();\n\n while (freeCount < freeBufferCount) {\n if (getTotalLaunchers().size() > maxCount) {\n log.warn(\"Specified Maximum Concurrency has been exceeded, but scaling up will be permitted. If this \" +\n \"message appears often increase maximum concurrency.\");\n }\n\n log.info(\"Scaling UP: REASON -> [Free Count] \" + freeCount + \" < [Free Gap] \" + freeBufferCount);\n scaleUp(\"honourFreeBufferCount\");\n freeCount = getFreeLaunchers().size();\n }\n }", "void setUnused(){\n assert this.used == true;\n\n //let the parent pointer remain\n this.hf = 0;\n this.used = false;\n\n }", "public void setLength(double len) throws IllegalArgumentException\n {\n if (len<0) throw new IllegalArgumentException (\"Length cannot be negative\" + len);\n else length = len;\n }", "public boolean freeSpace(int neededSpace) {\n \t\treturn true;\n \t}", "public void setLength(){\n out.print(\"Please enter a number greater than 0:\\t\");\n while (true) {\n try {\n this.sideLength = Integer.parseInt(sc.next());\n if (this.sideLength > 0) {\n break;\n } else {\n out.print(\"Please re-enter a number greater than 0!:\\t\");\n }// End if else\n } catch (NumberFormatException e) {\n out.print(\"Please enter a number (not a letter) greater than 0!:\\t\");\n //this.sideLength = 0;\n }// End try catch\n }// End running while loop\n }", "public void unsetDataRetentionPeriodLength()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(DATARETENTIONPERIODLENGTH$26, 0);\n }\n }", "public void setUsed() {\n used = true;\n }", "public void grow() {\n this.diameterInMicrometers += growthIncrementInMicrometers;\n if (this.diameterInMicrometers > 1000) throw new Error(\"TestTube will explode in 5 seconds\");\n }", "@Override\n public boolean isFull(){\n return (count == size);\n \n }", "public void set_length(short value) {\n setUIntElement(offsetBits_length(), 8, value);\n }", "public void setLength(double length)\r\n {\r\n this.length = length;\r\n }", "public boolean isFull() {\n\t\treturn count == st.length? true : false;\r\n\t}", "public void setComplete()\n\t{\n\t\texisting.set(0, pieces.length);\n\t}", "public boolean isFull()\r\n\t{\r\n\t\treturn numItems > MAXSIZE;\r\n\t}", "public boolean isFull() {\n return size == cnt;\n }", "protected void pickupFood() {\r\n\t\tif(this.food > 0){\r\n\t\t\tthis.food--;\r\n\t\t}\r\n\t}", "private boolean isFull() {\n\t\treturn nbmsg==getSize();\n\t}", "@Override\r\n\tpublic boolean isfull() {\n\t\t\r\n\t\treturn count == size ;\r\n\t}", "public boolean is_full(){\n return this.habitant.size() >= Constantes.HOUSE_FULL;\n }", "public void handleIncreaseLengthPowerup(){\n myRectangle.setWidth(myRectangle.getWidth()*increaseLengthPowerupSizeFactor);\n myLength=(int)(myLength*increaseLengthPowerupSizeFactor);\n }", "public void causeFoodExhaustion(float debug1) {\n/* 1797 */ if (this.abilities.invulnerable) {\n/* */ return;\n/* */ }\n/* */ \n/* 1801 */ if (!this.level.isClientSide) {\n/* 1802 */ this.foodData.addExhaustion(debug1);\n/* */ }\n/* */ }", "public void defend(){\n\tdefense += (int)(Math.random() * defense * .45 + 5);\n\tstrength -= 3;\n\tif (defense > 70) {\n\t defense = 70;\n\t}\t \n\tcounterDef += 1;\n\tif (counterDef == 2){\n\t counterDef = 0;\n\t recover();\n\t}\n\tSystem.out.println(\"You brace yourself with your bow.\");\n }", "public void setUsedSpace(Long usedSpace) {\n this.usedSpace = usedSpace;\n }", "public void setLength(double length){this.length=length;}" ]
[ "0.71468925", "0.6613904", "0.6441597", "0.5562441", "0.54456455", "0.53928024", "0.53430074", "0.5239736", "0.51603025", "0.51481867", "0.51456445", "0.51456445", "0.51372147", "0.51330495", "0.51259345", "0.51155317", "0.5102754", "0.5099263", "0.5077273", "0.5077255", "0.5027584", "0.5020427", "0.5011291", "0.5009724", "0.49854714", "0.49701285", "0.4952772", "0.4945785", "0.49403223", "0.49373326", "0.4905032", "0.49046504", "0.4898087", "0.48940954", "0.488292", "0.4882676", "0.48811978", "0.48765323", "0.48659113", "0.48607042", "0.4853486", "0.4853486", "0.48452297", "0.48413038", "0.4834293", "0.4825371", "0.48195592", "0.48178166", "0.48178166", "0.48178166", "0.48178166", "0.48178166", "0.48178166", "0.48106113", "0.48092684", "0.48084402", "0.47949854", "0.47790158", "0.4775037", "0.4770703", "0.4770703", "0.47631422", "0.47622108", "0.47586545", "0.47569212", "0.47569212", "0.4754983", "0.47539628", "0.4751822", "0.4749711", "0.4748701", "0.47484344", "0.47444826", "0.47321543", "0.47308928", "0.4727535", "0.47255993", "0.47245616", "0.4722538", "0.47205934", "0.4719601", "0.4718754", "0.47178116", "0.47013628", "0.46958166", "0.46925032", "0.46899855", "0.46875215", "0.4686209", "0.46857283", "0.46806222", "0.46800128", "0.46650168", "0.466343", "0.4659519", "0.46581438", "0.46574378", "0.46562496", "0.4651446", "0.4646049" ]
0.6571728
2
End checkExplode() Returns the drop time of the bomb.
public long getDropTime() { return dropTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getBombDetonationTime() {\n \t\treturn 1000;\n \t}", "public boolean checkExplode() {\n\t\tlong currentFuse = System.nanoTime() - this.getDropTime();\n\t\t\n\t\tif (currentFuse >= this.getFuseLength() || explode)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "public int useBomb(){\n //do harm while the animation start\n //cause harm to the boss\n println(\"BEFORE Main.boss.health: \"+Main.boss.health);\n int count = 0;\n if ((Main.boss.alive) && (Main.boss.posY != -1)){\n Main.boss.decreaseHealth(10);\n if(Main.boss.health <= 0){\n Main.boss.alive = false;\n Main.boss.deadTime = millis();\n Main.score += 100;\n bossKilled = true;\n }\n }\n println(\"AFTER Main.boss.health: \"+Main.boss.health);\n //remove all bullets\n Main.boss.emptyBullets();\n //kill all the enemies\n for(int j = 0; j < Main.enemies.size(); j++){\n Enemy tempEnemy = Main.enemies.get(j);\n tempEnemy.alive = false;\n tempEnemy.deadTime = millis();\n count ++;\n }\n // fill(0,0,0);\n // rect(0,0,width,height);\n return count;\n }", "public boolean tick(){\n\t\tif(System.currentTimeMillis() - time > TICK_TIME){\n\t\t\tif(this.getSprite().equals(\"bomb1.gif\")){\n\t\t\t\tthis.setSprite(\"bomb2.gif\");\n\t\t\t}else{\n\t\t\t\tthis.setSprite(\"bomb1.gif\");\n\t\t\t}\n\t\t\ttime = System.currentTimeMillis();\n\t\t\tif(--maxTicks <= 0){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn exploded;\n\t}", "public void drop() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\t\n\t\t\t// Can this airship drop bombs?\n\t\t\tif (this.properties.DROPS_BOMB) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannons[i].getRelative(0, -1, 0).getType().equals(Material.AIR) && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_DROP_BOMB)) {\n\t\t\t\t\t\tif (numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS ) {\n\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_DROP_BOMB);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Spawn primed tnt firing downwards TODO: maybe add sound effects for tnt firing? :P\n\t\t\t\t\t\t\tTNTPrimed tnt = cannons[i].getWorld().spawn(cannons[i].getLocation().clone().add(0, -1, 0), TNTPrimed.class);\n\t\t\t\t\t\t\ttnt.setVelocity(new Vector(0, -0.5, 0));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some cannons did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT DROP BOMBS\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "public void dropExplosives() {\n // Updates the time elapsed for each of the explosives\n for (int i=0; i<this.explosives.size(); i++) {\n Explosive dormantExplosive = this.explosives.get(i);\n dormantExplosive.increaseTime();\n }\n // If the Airplane has reached the end, doesn't detect any enemies\n // Isn't deleted straight away as it needs to wait for explosives to detonate\n if (super.outOfBounds()) {return;}\n this.timeElapsedDrop += ShadowDefend.getTimescale()/FPS;\n //Adds a new explosive\n if (this.timeElapsedDrop >= this.dropTime) {\n this.timeElapsedDrop = 0;\n Explosive newExplosive = new Explosive(super.getCenter());\n // Centers the explosive at the airplane's current position\n newExplosive.centerRectAt(super.getCenter());\n this.explosives.add(newExplosive);\n // Generates a new drop time in range\n this.dropTime = generateDropTime();\n this.numDropped++;\n }\n\n }", "public void explode() {\n\t\tSystem.out.println(\"HydrogenBomb blast from Explosion\");\n\t}", "public double generateDropTime() {\n return LOWERLIMTIME + (Math.random() * ((UPPERLIMTIME - LOWERLIMTIME) + 1));\n\n }", "public void checkBombs(final Integer tile){\n if(bombs_location.contains(tile)){\n if(invulnerable){\n showTimedAlertDialog(\"PHEW!\", \"Your GODMODE saved your life\", 5);\n invulnerable = false;\n return;\n }\n invulnerable = false;\n Lejos.makeSound_Boom();\n hp = hp-1;\n DrawHP();\n bombs_location.remove(tile);\n final Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n MultiplayerManager.getInstance().SendMessage(\"bomb_remove \" + revertTile(tile).toString());\n }\n }, 1000);\n if(hp==0){\n onLose();\n }\n showTimedAlertDialog(\"PWNED!\", \"You just stepped on a mine\", 3);\n }\n }", "private int getDodgeTime() {\n\t\treturn 10 - level;\n\t}", "public void setDropTime(long dropTime) {\n\t\tthis.dropTime = dropTime;\n\t}", "public float timeBeforeDestruction(){\n\t\tif(destroyTime < Float.MAX_VALUE){\n\t\t\treturn destroyTime - Main.time;\n\t\t}else{\n\t\t\treturn Float.MAX_VALUE;\n\t\t}\n\t}", "@EventHandler\r\n \tpublic void onEntityExplode(EntityExplodeEvent event) \r\n \t{\n \t\tif (event.getEntityType() == EntityType.PRIMED_TNT) \r\n \t\t{\r\n \t\t\tLocation eventLoc = event.getLocation();\r\n \t\t\tServer server = plugin.getServer();\r\n \t\t\t\r\n \t\t\t// Red towers\r\n \t\t\tif (redBuildings.DestroyBuilding(BuildingType.Tower, eventLoc))\r\n \t\t\t{\r\n \t\t\t\ttowerCounts.put(\"red\", redBuildings.BuildingsCount(BuildingType.Tower));\r\n\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"A \"+ ChatColor.RED + \"RED\" + ChatColor.YELLOW + \" Tower Has Been Destroyed! (\" + towerCounts.get(\"red\") + \" remaining)\");\r\n\r\n\t\t\t\t// Check if all towers are destroyed\r\n \t\t\t\t\r\n \t\t\t\tif (towerCounts.get(\"red\") == 0) \r\n \t\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"All \"+ ChatColor.RED + \"RED\" + ChatColor.YELLOW + \" Towers Are Destroyed! Defend the NEXUS!\");\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t// Blue Towers\r\n \t\t\tif (blueBuildings.DestroyBuilding(BuildingType.Tower, eventLoc))\r\n \t\t\t{\r\n \t\t\t\ttowerCounts.put(\"blue\", blueBuildings.BuildingsCount(BuildingType.Tower));\r\n\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"A \"+ ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" Tower Has Been Destroyed! (\" + towerCounts.get(\"blue\") + \" remaining)\");\r\n \r\n \t\t\t\t// Check if all towers are destroyed\r\n \t\t\t\tif (towerCounts.get(\"blue\") == 0) \r\n \t\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"All \"+ ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" Towers Are Destroyed! Defend the NEXUS!\");\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t\r\n \t\t\t// Nexus\r\n \t\t\tif (redBuildings.DestroyBuilding(BuildingType.Nexus, eventLoc))\r\n \t\t\t{\r\n \t\t\t\tserver.broadcastMessage(ChatColor.RED + \"The RED NEXUS Has Been Destroyed!\" + ChatColor.BLUE + \" BLUE WINS!\");\r\n \t\t\t}\r\n \t\t\telse if (blueBuildings.DestroyBuilding(BuildingType.Nexus, eventLoc))\r\n \t\t\t{\r\n \t\t\t\tserver.broadcastMessage(ChatColor.BLUE + \"The BLUE NEXUS Has Been Destroyed!\" + ChatColor.RED + \" RED WINS!\");\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t}", "public void checkForDeath()\n {\n Bullet2 bullet2 = new Bullet2(getVelocity(), getRotation());\n myWorld2 world = (myWorld2)getWorld();\n Zombie2 zombie = new Zombie2();\n \n if (isTouching(Bullet2.class))\n {\n health -= bullet2.damage;\n \n if(health < 0)\n {\n world.score(2);\n world.removeObject(this);\n } \n }\n else if (getX() == 900) \n {\n world.score(-1);\n world.removeObject(this);\n } \n }", "void deathHandler(Enemy e) {\n\n if (e != null) {\n Explosion rip = new Explosion();\n rip.kaboom.moveToPoint(e.eTank.getX(), e.eTank.getY());\n // println(\"made enemy\");\n rip.kaboom.frontAngle(90);\n rip.kaboom.turn(90);\n explosion.add(rip);\n }\n for (Explosion exp: explosion) {\n if (exp.kaboomCounter > 1) {\n exp.kaboom.display();\n }\n // if (exp.kaboomCounter < 1) {\n // explosion.remove(exp);\n // }\n // else {\n exp.kaboomCounter -= 3;\n // println(exp.kaboomCounter);\n // println(explosion.size());\n // }\n }\n\n}", "private void tryToKillStuff(final Bomb b) {\n \t\tfor (Bomb bomb : bombs)\n \t\t\tif (bomb != b && !bomb.isCurrentlyExploding())\n \t\t\t\tif (eac.isInExplosionArea(b, bomb)) {\n \t\t\t\t\tbomb.goBomf();\n \t\t\t\t}\n \n \t\tif (eac.isInExplosionArea(b, bman.get(0))) {\n \t\t\talive = false;\n \t\t\tgui.lost();\n \t\t}\n \t}", "boolean testBulletExplode(Tester t) {\n return t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), 1).explode(),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(8, 0), 2),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(-8, 0), 2),\n this.mt)))\n && t.checkExpect(\n new Bullet(4, Color.PINK, new MyPosn(100, 100), new MyPosn(0, 4), 2).explode(),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(4, 0), 3),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(-2, 3), 3),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(-2, -3), 3),\n this.mt))))\n && t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), -1).explode(),\n new MtLoGamePiece());\n }", "public boolean canDropFromExplosion(Explosion explosionIn)\n {\n return false;\n }", "public void callExplode () {\n if (noOfExplosives > 0){\n yVelocity -= 750;\n noOfExplosives--;\n isExploding = true;\n }\n }", "public void manageDropping(Rectangle r){\n\t\t\tif (!dropping){ //does the random number part\n\t\t\t\tb.reset(x+ 35, y+50);\n\t\t\t\tint d = rand.nextInt(50);\n\t\t\t\t//System.out.println(randamount);\n\t\t\t\tif ((d == 1) && exists) {\n\t\t\t\t\tdropping =true; \n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse { //resets the bomb after it has been dropped\n\t\t\t\tif(b.y < 1000) b.dropBomb(dropamount);\n\t\t\t\tbombtimer = 0;\n\t\t\t\t//dropamount += .1;\n\t\t\t\t//dropamount = 5;\n\t\t\t\t\n\t\t\t\tif (b.y >= 700 || b.collided(r)) {\n\t\t\t\t\tif (b.collided(r)) tstartredtimer = true;\n\t\t\t\t\tif (exists) dropping = false;\n\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "public void explode(float timeNow) {\n\t\tif (currentSprite_ != explosion_) {\n\t\t\tcurrentSprite_ = explosion_;\n\t\t\texplosionStartTime_ = timeNow;\n\t\t}\n\t}", "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tl.getWorld().createExplosion(drop.getLocation(), 2, false);\n\t\t\t\t\t}", "private void checkExplosionKill() {\n\t\t\n\t\texplosion.expand();\n\t\t\n\t\tfor (ArrayList<Invader> row : enemyArray) {\n\t\t\tfor (Invader a : row) {\n\t\t\t\tif (explosion.detectDownwardCollision(a.getX(), a.getY())) {\n\t\t\t\t\ta.setVisibility(false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void GenerateBomb(){\n\t\t\n\t\t//Update for the bomb powerup\n\t\tint randGen = rand.nextInt((int)((float)BOMB_FREQUENCY * RANDOM_DEVIATION));\n\t\trandGen = (rand.nextBoolean()) ?-randGen :randGen;\n\t\t\n\n\t\t\n\t\tif(timeSinceLastSpawns.get(CollectibleType.Bomb.ordinal()).intValue() > (BOMB_FREQUENCY + randGen)){\n\t\t\t\n\n\t\t\ttimeSinceLastSpawns.set(CollectibleType.Bomb.ordinal(), 0);\n\t\t\t\n\t\t\t//SPAWN BOMB COLLECTIBLE HERE\n\t\t}\n\t}", "public void Fire()\n {\n Random random = new Random();\n int randNum = random.nextInt(limit);\n\n //Check to see if this bomb is dropped\n if(!owner.BehindInvader() && !this.Visible() && randNum == HIT_VAL)\n {\n //Set this bomb to visible\n this.Visible(true);\n this.PlaySound();\n this.x = this.owner.X();\n this.y = this.owner.Y();\n }\n\n //Check for collision with the defender\n if(Bomb.enemy.Visible() && this.Visible() && this.Collision(Bomb.enemy))\n {\n Bomb.enemy.Hit();\n this.Visible(false);\n }\n //Move the bomb down\n else if(this.Visible())\n {\n this.y++;\n\n //Check for collision with the floor\n if(this.y >= GameConstants.GROUND - this.imageHeight)\n {\n this.Visible(false);\n }\n //Check for collision with the barriers\n for(Barrier barrier : Bomb.barriers.Barriers())\n {\n for(BarrierBlock block : barrier.BarrierBlocks())\n {\n if(this.Collision(block))\n {\n block.Visible(false);\n //Removal could cause Comodification issue\n block.Damaged(true);\n this.Visible(false);\n //May not need this return\n return;\n }\n }\n }\n }\n }", "void dropHandler() {\n if (tickSpeed < 0) {\n if((int)random(1,6) == 1){ //every 6 medkits the handler drops a minigun\n Sprite mg = new Sprite(minigun);\n mg.moveToPoint(random(0,2048), random(0, 2048)); //moves drop to random point\n minigunDrop.add(mg);\n tickSpeed = (int)random(100,500);\n }else if((int)random(1,4) == 1){ //every 4 medkits the handler drops a coilgun\n Sprite cg = new Sprite(coilgun);\n cg.moveToPoint(random(0,2048), random(0,2048)); //moves drop to random point\n coilgunDrop.add(cg);\n tickSpeed = (int)random(100,500); //changes \n }\n else {\n \n \n Medkit hp = new Medkit();\n hp.med.moveToPoint(random(0, 2048), random(0, 2048));\n\n health.add(hp);\n\n tickSpeed = (int)random(100,500);\n }\n }\n tickSpeed--;\n for (Medkit hp: health) {\n hp.med.display();\n hp.timer--;\n\n }\n for (Sprite mg: minigunDrop){\n mg.display();\n }\n for (Sprite cg: coilgunDrop){\n cg.display();\n }\n // e.forward(5);\n}", "public int getMaxItemUseDuration(ItemStack var1)\r\n {\r\n return 72000;\r\n }", "int getBurnDuration();", "void removeBomb();", "public static void eggDrop() {\n\t\tint trials = eggDrop(2, 100);\n\t\tSystem.out.println(\"trials for \"+trials);\n\t}", "@Override\n void planted() {\n super.planted();\n TimerTask Task = new TimerTask() {\n @Override\n public void run() {\n\n for (Drawable drawables : gameState.getDrawables()) {\n if (drawables instanceof Zombie) {\n int distance = (int) Math.sqrt(Math.pow((drawables.x - x), 2) + Math.pow((drawables.y - y), 2));\n if (distance <= explosionradious) {\n ((Zombie) drawables).hurt(Integer.MAX_VALUE);\n }\n }\n }\n\n life = 0;\n }\n\n };\n\n Timer timer = new Timer();\n timer.schedule(Task, 2000);\n }", "private StateNode finishDrop() {\n // Remove getHeld card from gameState\n gs.dropHeld();\n // tell the pyramid it's not getting that card back\n gs.getUserPyramid().confirmRemoval();\n\n // Add to statistics tracking\n GameManager.getStatisticsTracking().addToMinionsPlayed(1);\n\n // Create new animation state\n AnimatingNode state = new AnimatingNode(match, stateCallback);\n\n //Check if the pyramid needs a refill\n if (gs.getUserPyramid().isEmpty() && !gs.getUserMatchDeck().isEmpty()) {\n state.refillPyramid();\n } else if (!gs.getUserPyramid().getFlipCards().isEmpty()) {\n state.flipCard();\n } else {\n int count = 0;\n for (MatchCard card : gs.getUserPyramid()) {\n if (gs.getUserDuckDust().isPlayable(card.getCost())) {\n count++;\n }\n }\n if (count == 0 && gs.getUserDuckDust().getGround()) {\n stateCallback.turnOver();\n }\n return new Idle(match, stateCallback);\n }\n return state;\n }", "public boolean canDrop(){\n return this.collectedItems < STORAGE_AMOUNT && System.currentTimeMillis() - lastDrop >= delayInMillis;\n }", "public boolean drops() {\r\n\t\tboolean res = drops;\r\n\t\tif(drops) {\r\n\t\t\tRandom r = new Random();\r\n\t\t\tint rand = r.nextInt(2);\r\n\t\t\tres = rand == 0;\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "public Integer getCraftTime(final ItemStack item, final int amount) {\n\n final int time = 0;\n\n return 0;\n}", "@Override\r\n\t/**\r\n\t * Each enemy has a unique drop\r\n\t */\r\n\tpublic String enemyDrop() {\n\t\treturn null;\r\n\t}", "public Tile diveBomb() {\n List<Tile> targets = this.findTargets();\n Tile us_tile = this.gb.get(this.us_head_x, this.us_head_y);\n LinkedList<Tile> shortestPath = null;\n\n // Chose the shortest path\n //System.out.println(\"HeadX: \" + this.us_head_x + \" HeadY: \" + this.us_head_y);\n //System.out.println(\"EnemyX: \" + this.enemy_head_x + \" EnemyY: \" + this.enemy_head_y);\n // System.out.println(\"Targets - \" + targets);\n for (Tile target : targets) {\n LinkedList<Tile> path = this.dk.path(us_tile, target, this.gb);\n\n if (path != null) { // means we couldn't reach the desired target\n // System.out.println(\"Path - \" + path);\n if (shortestPath == null) {\n shortestPath = path;\n } else if (path.size() < shortestPath.size()) {\n shortestPath = path;\n }\n }\n }\n // System.out.println(\"Shortest Path - \" + shortestPath);\n if (shortestPath == null) return us_tile;\n return shortestPath.get(1);\n }", "private void checkForDeaths() {\n Iterator<Entity> entityIter = this.entities.iterator();\n\n //geht alle teilnehmer durch\n while ( entityIter.hasNext() ) {\n Entity entity = entityIter.next();\n\n //und entfernt sie wenn sie tot sind aus der liste und der engine\n if ( this.combatMapper.get(entity).curHealth <= 0 ) {\n entityIter.remove();\n\n //alle actions der entity entfernen, können ja nichts machen wenn sie tot sind\n Iterator<IAction> actionIter = this.actions.iterator();\n\n while ( actionIter.hasNext() ) {\n if ( actionIter.next().getOwner().equals(entity) ) {\n actionIter.remove();\n }\n }\n\n this.combatExp += this.combatMapper.get(entity).level * 5; //TODO\n\n EventSystem.getInstance().commitEvent(new Event(EventSystem.EventType.KILL_EVENT, entity));\n\n this.combatSystem.getEngine().removeEntity(entity);\n }\n }\n }", "public void buffTimer() {\r\n if (seconds - lastBuffCheck >= 1) {\r\n lastBuffCheck = seconds;\r\n for (int i = 0; i < buffs.size(); i++) {\r\n buffs.set(i, buffs.get(i)-1);\r\n if (buffs.get(i) <= 0) {\r\n buffs.remove(i);\r\n }\r\n }\r\n } else if (seconds < lastBuffCheck) {\r\n lastBuffCheck = 0;\r\n }\r\n }", "@Override\n protected void afterKill() {\n if (timeAfterDeath > 0) {\n --timeAfterDeath;\n } else {\n if (finalAnimation > 0) {\n --finalAnimation;\n } else {\n remove();\n }\n }\n }", "public Bomb(){\n this.num_uses = 2147483647; // Constant set num times we can use this\n }", "public void shootGun() {\n\t\tammo--;\n\t}", "public int dropBalls(){\r\n if(balls>0){\r\n balls--;\r\n }\r\n return getBalls();\r\n }", "public static boolean characterDeathCheck(){\n if (MainCharacter.hpNow <= 0){\n return true;\n }\n return false;\n }", "private void checkDeathCondition() {\n float speed = body.getLinearVelocity().x;\n if (prevSpeed >= 0.1 && speed < 0.1)\n kill();\n prevSpeed = speed;\n }", "@Test\n\tpublic void kickBombTestAndStopCase() {\n\t\tEntity anEntity = createDropperEntity();\n\t\tBombDropper bombDropper = (BombDropper) entityManager.getComponent(BombDropper.class, anEntity.getEntityId());\n\t\t\n\t\tkickSystem = new KickSystem();\n\t\tbombSystem = new BombSystem(entityManager);\n\t\t\n\t\tentityManager.update(anEntity);\n\t\t\n\t\tbombSystem.verifyAndDropBomb(bombDropper);\n\t\t\n\t\tkickSystem.update(); // ?? \n\t\t\n\t\tPosition dropperPlacement = (Position) entityManager.getComponent(Position.class, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbombDropper.getEntityId());\n\t\t\n\t\tassertEquals(dropperPlacement.getCellX(), dropperPlacement.getCellX() + 4); // +4 ??\n\t}", "@Override\r\n public int actionDelayTime(Entity attacker) {\n return 4000;\r\n }", "public int quantityDropped(Random p_149745_1_)\n {\n return this.isFullBlock ? 2 : 1;\n }", "@Override\n\tprotected void on_object_drop(GfxObject bonus) {\n\n\t}", "public double getDropChance() {\n return _dropChance;\n }", "public void Placebomb(long now){\n //Called if space is pressed\n if(game.getWorld().getGO(this.getPosition()) == null && nbrBombPlaced < nbrBombMax) {\n placeBomb = true;\n nbrBombPlaced += 1;\n }\n }", "@Override\n public void action() throws Exception {\n if (!can_hit || count > 0)\n count++;\n if (count == 100) {\n can_hit = true;\n }\n else if (count == this.bombCountLimit) {\n bombPlaced--;\n count = 0;\n }\n\n if(Gdx.input.isKeyJustPressed(Input.Keys.SPACE)){\n go_ia=!go_ia;\n }\n if(go_ia){\n ia_count++;\n if(ia_count==11)\n ia_count=0;\n }\n if(go_ia&&ia_count==10) {\n\n int move = -1;\n int mode = 0;\n\n\n\n log.info(\"count bomb: \" + count);\n\n double enemyDist = sqrt(pow((playerX - enemyX), 2)+pow((playerY - enemyY), 2));\n if(powerUpFree) {\n currentGoalX = goalX;\n currentGoalY = goalY;\n if(deepSearch){\n currentGoalX = 1;\n currentGoalY = 1;\n }\n if(enemyDist < 7 && !enemyClean){\n if(enemyDist <= bombRange && sqrt(pow((playerX - goalX), 2)+pow((playerY - goalY), 2)) > 2)\n mode = 2;\n\n }\n }\n\n\n\n if (!can_hit) {\n mode = 1;\n log.info(\"can't hit\");\n }\n else if(doorLocked) {\n mode = 3;\n }\n /*if (count > 0 && count <= this.bombCountLimit && (playerX!=bombGoalX || playerY!=bombGoalY)){\n currentGoalX = bombGoalX;\n currentGoalY = bombGoalY;\n log.info(\"bomb goal\");\n }*/\n\n\n\n\n log.info(\"CURRENT goal x: \" + currentGoalX +\", CURRENT goal y: \" + currentGoalY);\n log.info(\"CURRENT bombgoal x: \" + bombGoalX +\", current bombgoal y: \" + bombGoalY);\n log.info(\"CURRENT player x: \" + playerX +\", current player y: \" + playerY);\n log.info(\"powerup free: \" + powerUpFree);\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n\n ArrayList<Action> actions = new ArrayList<>();\n ArrayList<Wall> walls = new ArrayList<>();\n ArrayList<EnemyPath> enemyPaths = new ArrayList<>();\n ArrayList<Around> around = new ArrayList<>();\n\n playerX = this.x/40;\n playerY = this.y/40;\n\n for( int i = 0; i < 4; i++ ){\n if (can_move[i]) {\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n walls.add(new Wall(i, 0));\n }\n else if (can_destroy[i]){\n walls.add(new Wall(i, 1));\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n }\n else\n walls.add(new Wall(i, 3));\n if(freeAround[i])\n around.add(new Around(i, 0));\n else\n around.add(new Around(i, 2));\n\n if ( !enemyFree[i] && enemyDist > bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n if( !enemyFree[i] && enemyDist <= bombRange || (bombRange == 1 && enemyDist <= 2))\n enemyPaths.add(new EnemyPath(i, 2));\n else if (enemyDist <= bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n else if(enemyFree[i])\n enemyPaths.add(new EnemyPath(i, 0));\n }\n if(sqrt(pow((playerX - bombGoalX), 2)+pow((playerY - bombGoalY), 2)) > bombRange ||\n mode != 1 || (playerX != bombGoalX && playerY != bombGoalY))\n actions.add(new Action(4));\n\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n\n AnswerSets answers = ai.getAnswerSets();\n while(answers.getAnswersets().get(0).getAnswerSet().isEmpty()){\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n answers = ai.getAnswerSets();\n }\n\n for (AnswerSet an : answers.getAnswersets()) {\n Pattern pattern = Pattern.compile(\"^choice\\\\((\\\\d+)\\\\)\");\n Matcher matcher;\n for (String atom : an.getAnswerSet()) {\n //System.out.println(atom);\n matcher = pattern.matcher(atom);\n\n if (matcher.find()) {\n log.info(\"DLV output: \" + matcher.group(1));\n move = Integer.parseInt(matcher.group(1));\n }\n }\n }\n if (move == 1) {\n set_allCan_move(0, true);\n this.x += 40;\n }\n else if (move == 2) {\n set_allCan_move(0, true);\n this.y += 40;\n }\n else if (move == 3) {\n set_allCan_move(0, true);\n this.y -= 40;\n }\n else if (move == 0) {\n set_allCan_move(0, true);\n this.x -= 40;\n }\n else if (move == 4 && can_hit && (playerX != goalX || playerY != goalY)) {\n ai_hit = true;\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n moves.add(move);\n ai.clear();\n }\n else{\n playerX = this.x/40;\n playerY = this.y/40;\n }\n\n\n if (Gdx.input.isKeyPressed(Input.Keys.A)&&can_move[0]) {\n set_allCan_move(0, true);\n this.x -= 5;\n }\n if (Gdx.input.isKeyPressed(Input.Keys.D)&&can_move[1]) {\n set_allCan_move(0, true);\n this.x += 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.W))&&can_move[2]) {\n this.y += 5;\n set_allCan_move(0, true);\n }\n if (Gdx.input.isKeyPressed((Input.Keys.S))&&can_move[3]){\n set_allCan_move(0, true);\n this.y -= 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.Z)) && can_hit) {\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n\n if (Gdx.input.isKeyPressed((Input.Keys.N)))\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n }", "public void shoot()\n {\n\n if(reload<=0)//if the tower has reloaded\n {\n int randomizer=Greenfoot.getRandomNumber(20)-10; \n MinigunBullet bullet = new MinigunBullet(this.getRotation()+randomizer, damage,this);\n getWorld().addObject(bullet, getX(), getY());\n bullet.move(30);\n reload=3;\n }\n else//reload\n {\n reload--;\n }\n\n }", "public int damageDropped(int par1)\r\n/* 155: */ {\r\n/* 156:173 */ if (par1 < 6) {\r\n/* 157:174 */ return 0;\r\n/* 158: */ }\r\n/* 159:175 */ if (par1 < 12) {\r\n/* 160:176 */ return 6;\r\n/* 161: */ }\r\n/* 162:178 */ return par1;\r\n/* 163: */ }", "void testBigBang(Tester t) {\r\n initData();\r\n FloodItWorld g = this.runGame;\r\n int worldWidth = 1000;\r\n int worldHeight = 1000;\r\n double tickRate = .012;\r\n g.bigBang(worldWidth, worldHeight, tickRate);\r\n }", "@Basic\n\tpublic double getDeathTime(){\n\t\treturn this.death_time;\n\t}", "public int hideBomb() {\r\n\r\n\t\tint randomLocation = (int) Math.floor(Math.random() * 9);\r\n\t\trandomLocation = Math.round(randomLocation);\r\n\r\n\t\treturn randomLocation; \r\n\r\n\t}", "public double getBlockDelay()\n {\n if (mBlockedTime == 0)\n {\n return 0.0;\n }\n\n double tBlockDelay = mBlockedTime - time();\n mBlockedTime = 0;\n if (tBlockDelay <= 0)\n {\n return 0.0;\n }\n mBlockedMessage.add(mName + \" GC blocked from \" + time() + \" + until \" + (time() + tBlockDelay));\n return tBlockDelay;\n }", "float getBonusItemDrop();", "@Override\n public boolean shouldDropItemsOnExplosion(Explosion explosion) {\n return super.shouldDropItemsOnExplosion(explosion);\n }", "public int damageDropped(int p_149692_1_)\n {\n return func_149887_c(p_149692_1_) ? 0 : p_149692_1_ & 7;\n }", "private int check_if_dead(int i) {\n\t\tint ret;\n\t\tif ((abs(dragoes[i].getX_coord() - heroi.getX_coord()) > 1) || (abs(dragoes[i].getY_coord() - heroi.getY_coord()) > 1) ||\n\t\t\t\t((dragoes[i].getY_coord() != heroi.getY_coord()) && (dragoes[i].getX_coord() != heroi.getX_coord())))\n\t\t\tret = -1;\n\t\telse if (heroi.isArmado()) {\n\t\t\tif (dragoes[i].isAlive()) {\n\t\t\t\tif (inter == 0)\n\t\t\t\t\tconsole_interface.dragonKilled();\n\t\t\t\telse if (inter == 3) \n\t\t\t\t\tMazeDisplay.messageDragonKilled();\n\t\t\t\telse {}\n\t\t\t}\n\t\t\tdragoes[i].setAlive(false);\n\t\t\tlabirinto.setLabCell(dragoes[i].getX_coord(), dragoes[i].getY_coord(), ' ');\n\t\t\tret = -1;\n\t\t}\n\t\telse if (dragoes[i].getStatus() == 1)\n\t\t\tret = -1;\n\t\telse\n\t\t\tret = 5;\n\t\tchange_dragon_pos(i);\n\t\treturn ret;\n\t}", "@Override\n public void update(int timeModifier) {\n // Check if a bomb can be dropped and if the plane is still within the game window\n bombDropper.update(timeModifier);\n if (bombDropper.shouldRelease() && isInGameWindow()){\n justDropped = true;\n bombs.add(new Bomb(currPos, parentLevel));\n }\n\n // if we just dropped a bomb, reset the timer to a new random value\n if (justDropped){\n int dropTime = ThreadLocalRandom.current().nextInt(DROP_TIME_LOWER_BOUND, DROP_TIME_UPPER_BOUND + 1);\n bombDropper.setNewTime(dropTime);\n justDropped = false;\n }\n\n // Update all current bombs\n ArrayList<Bomb> bombsToRemove = new ArrayList<>();\n for (Bomb bomb : bombs){\n bomb.update(timeModifier);\n if (bomb.isFinished()){\n bombsToRemove.add(bomb);\n }\n }\n // Remove all finished bombs\n for (Bomb bomb : bombsToRemove){\n bombs.remove(bomb);\n }\n\n // update the current position\n if (flyingHorizontally) {\n double newX = currPos.x + PLANE_SPEED * timeModifier;\n currPos = new Point(newX, currPos.y);\n }\n else {\n double newY = currPos.y + PLANE_SPEED * timeModifier;\n currPos = new Point(currPos.x, newY);\n }\n\n // if the plane has moved outside the window, and has no remaining\n // bombs, it no longer needs to be updated\n if (!isInGameWindow() && bombs.size() == 0){\n isFinished = true;\n }\n render();\n\n }", "public void goldDropPoint()\r\n {\r\n System.out.println(\"goldDropPoint\");\r\n setManual(false);\r\n if (isCollectionPlane)\r\n {\r\n savePreviousPosition();\r\n setIsCollectionPlane(false);\r\n }\r\n if (motorJ1.getCurrentPosition() > GOLD_DROP_J1)\r\n {\r\n j1Power = -J1_POWER;\r\n }\r\n else if (motorJ1.getCurrentPosition() < GOLD_DROP_J1)\r\n {\r\n j1Power = J1_POWER;\r\n }\r\n\r\n if (motorJ2.getCurrentPosition() > GOLD_DROP_J2)\r\n {\r\n j2Power = -J2_POWER;\r\n }\r\n else if (motorJ2.getCurrentPosition() < GOLD_DROP_J2)\r\n {\r\n j2Power = J2_POWER;\r\n }\r\n\r\n if (motorJ3.getCurrentPosition() > GOLD_DROP_J3)\r\n {\r\n j3Power = -UP_POWER_J3;\r\n }\r\n else if (motorJ3.getCurrentPosition() < GOLD_DROP_J3)\r\n {\r\n j3Power = UP_POWER_J3;\r\n }\r\n toPosition(j1Power, j2Power, j3Power, GOLD_DROP_J1, GOLD_DROP_J2, GOLD_DROP_J3);\r\n j1Power = 0;\r\n j2Power = 0;\r\n j3Power = 0;\r\n }", "@EventHandler\r\n public void mobkillLst(EntityDeathEvent event) {\r\n if (event.getEntity().getKiller() instanceof Player && event.getEntity().getType() != EntityType.PLAYER) {//Ensure entity that is killed is not a player\r\n int xpmult = (int) (event.getDroppedExp() * main.XPMult);\r\n event.setDroppedExp(xpmult);\r\n }\r\n }", "public Bomb(Position posn) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = Bomb.DEFAULT_FUSE_LENGTH;\n\t\tthis.dropTime = System.nanoTime();\n\t\tthis.explode = false;\n\t}", "public void shoot(){\n // boss bullete attract to player\n int bulletPosX = PApplet.parseInt(posX + (speed * cos(angle)));\n int bulletPosY = (int)(posY + hei / 2);\n float bulletAngle = atan2(Main.player.posY - bulletPosY, Main.player.posX - bulletPosX);\n int bulletVelX = (int)(8 * cos(bulletAngle));\n int bulletVelY = (int)(8 * sin(bulletAngle));\n bossBullets.add(new Bullet(bulletPosX,bulletPosY,bulletVelX,bulletVelY,1,attack));\n }", "@Test\r\n\tpublic void testDecrementBomb()\r\n\t{\r\n\t\ttestCanPlaceBombBehavior.decrementBomb();\r\n\t\tassertEquals(2,testCanPlaceBombBehavior.countBomb());\r\n\t\t\r\n\t\ttestCanPlaceBombBehavior.decrementBomb();\r\n\t\tassertEquals(1,testCanPlaceBombBehavior.countBomb());\r\n\t}", "public void moveTowards(){\n \n \n \n if(!exploded){\n \n \n move(speed);\n \n if(isTouching(Enemy.class)){\n move(explosionRadius); \n \n inRange = (ArrayList) getObjectsInRange(explosionRadius + 25, Enemy.class);\n for(Enemy e : inRange){\n e.hit(damage);\n }\n \n //explode\n exploded = true;\n \n image = new GreenfootImage(\"50x50 aoe.png\");\n image.scale(explosionRadius*2, explosionRadius*2);\n setImage(image);\n //getWorld().removeObject(this);\n }\n else if (isAtEdge())\n {\n getWorld().removeObject(this);\n }\n else if ( radius < distance) {\n getWorld().removeObject(this); \n }\n }\n else{\n setImage(image);\n image.setTransparency(image.getTransparency() - 5);\n if(image.getTransparency() <= 0) getWorld().removeObject(this);\n }\n }", "public boolean isBomb() {\n return type.equalsIgnoreCase(\"bomb\");\n }", "private void checkDeath() {\n\t\tif (player.getLives() == 0) {\n shooty.setIv(new Image(\"/img/shipdeath.png\"));\n\t\t\tdie();\n\t\t}\n\t\t// another way to die: the blocks hit you\n\t\tif(btnList.get(0).getLayoutY() >= FATAL_BUTTON_DIST) {\n\t\t\tendGame.play();\n\t\t\tdie();\n\t\t}\n\t}", "@Override\n\tprotected void onDeathUpdate() {\n\t\thelpers.values().forEach(DragonHelper::onDeathUpdate);\n\n\t\t// unmount any riding entities\n\t\tremovePassengers();\n\n\t\t// freeze at place\n\t\tmotionX = motionY = motionZ = 0;\n\t\trotationYaw = prevRotationYaw;\n\t\trotationYawHead = prevRotationYawHead;\n\n\t\tif (isEgg()) {\n\t\t\tsetDead();\n\t\t} else {\n\t\t\t// actually delete entity after the time is up\n\t\t\tif (deathTime >= getMaxDeathTime()) {\n\t\t\t\tsetDead();\n\t\t\t}\n\t\t}\n\n\t\tdeathTime++;\n\t}", "void shoot_ship_missiles(long now) {\n if (pressed_key_codes.contains(KeyCode.SPACE)) {\n // Rate of fire cannot exceed 2 missiles per second\n if (now - missile_timer > 500000000) {\n missile_audio.play();\n Missile missile = ship.shootMissile();\n ImageView ship_missile_image_view = new ImageView(ship_missile_image);\n ship_missile_image_view.setX(missile.x_position);\n ship_missile_image_view.setY(missile.y_position);\n ship_missile_image_view.setFitWidth(Dimensions.SHIP_MISSILE_WIDTH);\n ship_missile_image_view.setFitHeight(Dimensions.SHIP_MISSILE_HEIGHT);\n ship_missile_image_views.add(ship_missile_image_view);\n game_pane.getChildren().add(ship_missile_image_view);\n missile_timer = now;\n }\n }\n }", "@Override\n\tpublic void update(double dt) {\n\t\tcurrentSurvivalTime += dt;\n\t\texplosionCurrentSize = currentSurvivalTime * explosionFinalSize / survivalTime;\n\t\tif (explosionCurrentSize > explosionFinalSize) {\n\t\t\trules.deleteObject(this);\n\t\t}\n\t}", "public double getDropAmount() {\n return dropAmount;\n }", "public long getBlacklistTime() {\n\t\treturn blacklistTime;\n\t}", "@Override\n public void attack(int damage)\n {\n EntityPirate target = this.world.getClosestTarget(this, EntityPirate.class, 50, true);\n //System.out.println(target.toString());\n \n float newtonForce = 1200F; //The amount of force applied to the projectile\n \n if(target != null)\n {\n Vector2 difference = target.getPos().cpy().sub(this.getPos()); //Get the difference vector\n difference.nor().scl(newtonForce); //Normalize it to a unit vector, and scale it\n new EntityWaterBomb(this.world, this.getPos().x, this.getPos().y, difference.x, difference.y, this, damage); \n } // target\n }", "public void fruitDrop()\n {\n fruit.slowMoveVertical(60);\n }", "public int getFireDuration() {\n \t\treturn 1500;\n \t}", "private void reapDeadRabbits() {\n\t\tfor (int i = (rabbitList.size() - 1); i >= 0; i--) {\n\t\t\tRabbitsGrassSimulationAgent rabbit = rabbitList.get(i);\n\t\t\tif (rabbit.getEnergy() < 1) {\n\t\t\t\trabbitSpace.removeRabbitAt(rabbit.getX(), rabbit.getY());\n\t\t\t\trabbitList.remove(i);\n\t\t\t}\n\t\t}\n\t}", "private void killBullet() {\r\n this.dead = true;\r\n }", "private void reapDeadRabbits() {\n for (int i = (rabbitList.size() - 1); i >= 0; i--) {\n RabbitsGrassSimulationAgent rabbit = rabbitList.get(i);\n if (rabbit.getEnergy() <= 0) {\n space.removeRabbitAt(rabbit.getX(), rabbit.getY());\n rabbitList.remove(i);\n }\n }\n }", "private int calculateLevelModifierForDrop(final L2PcInstance lastAttacker)\n\t{\n\t\tif (Config.DEEPBLUE_DROP_RULES)\n\t\t{\n\t\t\tint highestLevel = lastAttacker.getLevel();\n\t\t\t\n\t\t\t// Check to prevent very high level player to nearly kill mob and let low level player do the last hit.\n\t\t\tif (getAttackByList() != null && !getAttackByList().isEmpty())\n\t\t\t{\n\t\t\t\tfor (final L2Character atkChar : getAttackByList())\n\t\t\t\t{\n\t\t\t\t\tif (atkChar != null && atkChar.getLevel() > highestLevel)\n\t\t\t\t\t{\n\t\t\t\t\t\thighestLevel = atkChar.getLevel();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// According to official data (Prima), deep blue mobs are 9 or more levels below players\n\t\t\tif (highestLevel - 9 >= getLevel())\n\t\t\t{\n\t\t\t\treturn (highestLevel - (getLevel() + 8)) * 9;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn 0;\n\t}", "@EventHandler\r\n\tpublic void OnKill(final EntityDeathEvent event) {\n\t\tif (!plugin.getDependencyManager().getDependency(dependency.STATS)\r\n\t\t\t\t.isAvailable())\r\n\t\t\treturn;\r\n\r\n\t\tEntity e = event.getEntity();\r\n\t\tif (e.getLastDamageCause() instanceof EntityDamageByEntityEvent) {\r\n\t\t\tEntityDamageByEntityEvent nEvent = (EntityDamageByEntityEvent) e\r\n\t\t\t\t\t.getLastDamageCause();\r\n\t\t\tif (nEvent.getDamager() instanceof Player) {\r\n\r\n\t\t\t\tString extraType = null;\r\n\r\n\t\t\t\tif (e instanceof Skeleton) {\r\n\t\t\t\t\tSkeleton ske = (Skeleton) e;\r\n\r\n\t\t\t\t\tif (ske.getSkeletonType() == SkeletonType.WITHER) {\r\n\t\t\t\t\t\textraType = \"WITHER\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (e instanceof Creeper) {\r\n\t\t\t\t\tCreeper cre = (Creeper) e;\r\n\r\n\t\t\t\t\tif (cre.isPowered()) {\r\n\t\t\t\t\t\textraType = \"POWERED\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (e instanceof Chicken) {\r\n\t\t\t\t\tChicken mob = (Chicken) e;\r\n\r\n\t\t\t\t\tif (mob.getPassenger() != null) {\r\n\t\t\t\t\t\textraType = \"JOCKEY\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (e instanceof Rabbit) {\r\n\t\t\t\t\tRabbit mob = (Rabbit) e;\r\n\r\n\t\t\t\t\tif (mob.getRabbitType() == Type.THE_KILLER_BUNNY) {\r\n\t\t\t\t\t\textraType = \"KILLER\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (e instanceof Spider) {\r\n\t\t\t\t\tSpider mob = (Spider) e;\r\n\r\n\t\t\t\t\tif (mob.getPassenger() != null) {\r\n\t\t\t\t\t\textraType = \"JOCKEY\";\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (e instanceof Guardian) {\r\n\t\t\t\t\tGuardian mob = (Guardian) e;\r\n\r\n\t\t\t\t\tif (mob.isElder()) {\r\n\t\t\t\t\t\textraType = \"ELDER\";\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (extraType == null) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tStatsAPIHandler handler = (StatsAPIHandler) plugin\r\n\t\t\t\t\t\t.getDependencyManager().getDependency(dependency.STATS);\r\n\r\n\t\t\t\tStat mobkilled = handler.getAPI().getStatManager()\r\n\t\t\t\t\t\t.getStat(MobKilledStat.statName);\r\n\r\n\t\t\t\tStatsHolder holder = handler.getAPI().getPlayer(\r\n\t\t\t\t\t\tnEvent.getDamager().getUniqueId());\r\n\r\n\t\t\t\tholder.addEntry(mobkilled, new DefaultStatEntry(1,\r\n\t\t\t\t\t\tnew MetadataPair(\"entityType\", e.getType().toString()),\r\n\t\t\t\t\t\tnew MetadataPair(\"extraType\", extraType),\r\n\t\t\t\t\t\tnew MetadataPair(\"world\", e.getLocation().getWorld()\r\n\t\t\t\t\t\t\t\t.getName().toString())));\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void drawBomber(Graphics g){\n\t\t\tif (exists){\n\t\t\t\tif (!startredtimer){ //if everything is normal\n\t\t\t\t\t\n\t\t\t\t\tg.setColor(Color.white);\n\t\t\t\t\tg.fillOval(x,y+10,100,30);\n\t\t\t\t\tg.fillOval(x+25,y,50,20);\n\t\t\t\t}\n\t\t\t\telse{ //if it needs to be in red because it has recently been hit by something\n\t\t\t\t\t\n\t\t\t\t\tg.setColor(Color.red);\n\t\t\t\t\tg.fillOval(x,y +10,100,30);\n\t\t\t\t\tg.fillOval(x+25,y,50,20);\n\t\t\t\t}\n\t\t\t\tg.setColor(Color.RED);\n\t\t\t\tg.drawRect(x,y-15,100,4);\n\t\t\t//\tg.drawRect(x,y-15,100,2);\n\t\t\t\tg.fillRect(x, y-15, health*25, 4); \n\t\t\t\t\n\t\t\t}\n\t\t\telse if(startboomtimer) { //if the plane has been destroyed and you want to draw it in red\n\t\t\t\tif (boomtimer<5) { g.drawImage(boom, x,y, 100, 100, null);}\n\t\t\t\telse if (boomtimer < 10) g.drawImage(boom, x + 38, y + 12, 50, 50, null);\n\t\t\t\telse if (boomtimer == 15) startboomtimer = false;\n\t\t\t\tboomtimer++;\n\t\t\t\t\n\t\t\t}\t\n\t\t\tif (dropping)b.drawBomb(g); //draws the bomb if the bomb is dropping only\n\n\t\t}", "public void plantBomb()\n {\n if(this.getBombs() > 0)\n {\n bController.addBomb(this.getxPos(), this.getyPos(), 25);\n this.setBombs(getBombs() - 1);\n }\n }", "public void tickBombs() {\r\n\t\tfor (int i = 0; i < bombs.length; i++) {\r\n\t\t\tBomb b = bombs[i];\r\n\t\t\tif (b != null) {\r\n\t\t\t\tif (b.isTicking()) {\r\n\t\t\t\t\tb.tick();\r\n\t\t\t\t} else if (b.isExploding()) {\r\n\t\t\t\t\tif (b.getExplosionTicks() == b.getMaxExplosionTicks()) {\r\n\t\t\t\t\t\texplodeBomb(b);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tb.tick();\r\n\t\t\t\t} else if (b.hasFinished()) {\r\n\t\t\t\t\tclearExplosions(b);\r\n\t\t\t\t\tbombs[i] = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@EventHandler\n public void onBreak(BlockBreakEvent e) {\n if(e.getPlayer().getItemInHand().hasItemMeta()) {\n if (e.getPlayer().getItemInHand().getItemMeta().hasDisplayName()) {\n if (e.getPlayer().getItemInHand().getItemMeta().getDisplayName().equals(ChatColor.AQUA + \"\" + ChatColor.BOLD +\n \"Swift Drill\")) {\n e.setDropItems(false);\n e.setExpToDrop(0);\n\n if(!(e.getPlayer().isSneaking())){\n Block b1 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() - 1,\n e.getBlock().getY() + 1,\n e.getBlock().getZ());\n Collection<ItemStack> b1drop = b1.getDrops();\n b1.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b1drop.toArray(new ItemStack[b1drop.size()]));\n\n Block b2 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX(),\n e.getBlock().getY() + 1,\n e.getBlock().getZ());\n Collection<ItemStack> b2drop = b2.getDrops();\n b2.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b2drop.toArray(new ItemStack[b2drop.size()]));\n\n Block b3 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() + 1,\n e.getBlock().getY() + 1,\n e.getBlock().getZ());\n Collection<ItemStack> b3drop = b3.getDrops();\n b3.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b3drop.toArray(new ItemStack[b3drop.size()]));\n\n Block b4 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() - 1,\n e.getBlock().getY(),\n e.getBlock().getZ());\n Collection<ItemStack> b4drop = b4.getDrops();\n b4.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b4drop.toArray(new ItemStack[b4drop.size()]));\n\n Block b5 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() + 1,\n e.getBlock().getY(),\n e.getBlock().getZ());\n Collection<ItemStack> b5drop = b5.getDrops();\n b5.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b5drop.toArray(new ItemStack[b5drop.size()]));\n\n Block b6 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() - 1,\n e.getBlock().getY() - 1,\n e.getBlock().getZ());\n Collection<ItemStack> b6drop = b6.getDrops();\n b6.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b6drop.toArray(new ItemStack[b6drop.size()]));\n\n Block b7 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX(),\n e.getBlock().getY() - 1,\n e.getBlock().getZ());\n Collection<ItemStack> b7drop = b7.getDrops();\n b7.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b7drop.toArray(new ItemStack[b7drop.size()]));\n\n Block b8 = e.getPlayer().getWorld().getBlockAt(e.getBlock().getX() + 1,\n e.getBlock().getY() - 1,\n e.getBlock().getZ());\n Collection<ItemStack> b8drop = b8.getDrops();\n b8.setType(Material.AIR);\n SwiftDrillInv.inv.addItem(b8drop.toArray(new ItemStack[b8drop.size()]));\n }\n\n Collection<ItemStack> drop = e.getBlock().getDrops();\n SwiftDrillInv.inv.addItem(drop.toArray(new ItemStack[drop.size()]));\n }\n }\n }\n }", "int aggroHitTimer(IGeneticMob geneticMob, EntityLiving attacker);", "public void killed(ServerLevel debug1, LivingEntity debug2) {\n/* 1718 */ awardStat(Stats.ENTITY_KILLED.get(debug2.getType()));\n/* */ }", "public void checkDeath()\n {\n if (player.getY() >= 549)\n {\n gameOver();\n }\n }", "public org.bukkit.inventory.ItemStack getBossDrop(String killer) {\n\t\tint number = random.nextInt(100);\r\n\t\tfor(Entry<SpecialItem, Integer> item: drops.entrySet()) {\r\n\t\t\tLog.info(item.getKey().getChance(), item.getValue(),\"ITEM\",number);\r\n\t\t\tif(item.getValue() > number) {\r\n\t\t\t\treturn item.getKey().getItem(killer,name);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn(new org.bukkit.inventory.ItemStack(Material.BONE));\r\n\t}", "public int dropPotion() {\r\n\t\t// If the random number generated is larger than the \r\n\t\t// drop chance, at least one health potion is dropped\r\n\t\tif (rnd.nextInt(100) < HEALTH_POTION_DROP_CHANCE) {\r\n\t\t\treturn rnd.nextInt(MAX_NO_HEALTH_POTION_DROP) + 1;\r\n\t\t}\r\n\t\t// no health potions dropped\r\n\t\treturn 0;\r\n\t}", "long getTimeBoltHBoltE();", "Duration subsystemFreezeDuration();", "public boolean checkFrameValid() {\n return explosionFrame < explosions.length;\n }", "public Integer getHsdpaDrop() {\n return hsdpaDrop;\n }", "static void hardDrop(Block b) {\n int[] pos = b.pos;\n char[][] piece = b.piece;\n\n while (canPlace(pos[0] + 1, pos[1], piece))\n pos[0]++;\n\n place(pos[0], pos[1], piece);\n }", "private static int getDuration() {\n\t\tStack<Object> stack = b.getCurrentWorkFrame();\n\t\tObject obj = stack.peek();\n\t\tif (Simulator.DEBUG)\n\t\t\tSystem.out.println(b.printStack() + \"...\");\n\t\tif (obj instanceof WorkFrame)\n\t\t\tthrow new RuntimeException(\"***ERROR: the next obj on stack should\"\n\t\t\t\t\t+ \"be an activity! WF_Sim.getDuration\" + obj.toString());\n\t\tActivityInstance ai = (ActivityInstance) stack.peek();\n\t\tif (ai.getActivity() instanceof CompositeActivity) {\n\t\t\tCompositeActivity comp = (CompositeActivity) ai.getActivity();\n\t\t\tif (frameInImpassed(comp))\n\t\t\t\treturn -1;\n\t\t\telse\n\t\t\t\tthrow new RuntimeException(\"***ERROR: push shouldn't have ended \" +\n\t\t\t\t\t\"with a composite on top\");\n\t\t}\n\t\treturn ai.getDuration();\n\t}", "private void dance() {\n\t\t// if they are done dancing, start sleeping\n\t\tif(danceDuration <= 0){\n\t\t\thive.dancingBees.remove(this);\n\t\t\tstate = \"SLEEPING\";\n\t\t}\n\t\telse{ // otherwise keep dancing and decrease duration of dance\n\t\t\tdanceDuration--;\n\t\t}\n\t}" ]
[ "0.6877019", "0.65484685", "0.6281702", "0.5880492", "0.58771497", "0.58590645", "0.5781835", "0.5610373", "0.5573606", "0.5566268", "0.55149895", "0.5500856", "0.5462455", "0.5429631", "0.5393966", "0.5359923", "0.53457725", "0.5345415", "0.5339882", "0.53179693", "0.5312929", "0.53087753", "0.530594", "0.53044397", "0.52839583", "0.52704024", "0.5245142", "0.524204", "0.523094", "0.5205484", "0.5203025", "0.5187822", "0.51593673", "0.5141806", "0.51297283", "0.51191854", "0.5097784", "0.5086107", "0.5075272", "0.5066628", "0.5059608", "0.5054297", "0.50500745", "0.50429666", "0.5037876", "0.50346094", "0.5027046", "0.5022983", "0.50197935", "0.50139314", "0.5012552", "0.50006235", "0.49996746", "0.49916664", "0.4989081", "0.49882197", "0.4976301", "0.49758992", "0.4974014", "0.49709457", "0.49687314", "0.49560547", "0.49548948", "0.4952683", "0.4951823", "0.49353352", "0.49305075", "0.49288473", "0.49270642", "0.49256465", "0.49097773", "0.49037364", "0.4901576", "0.49013227", "0.48909846", "0.4889077", "0.48833105", "0.48771474", "0.48763645", "0.4860437", "0.48548558", "0.48462757", "0.48360217", "0.48334566", "0.4832193", "0.48296297", "0.48278746", "0.4823418", "0.48199728", "0.48195806", "0.48180738", "0.48154932", "0.48142278", "0.48054048", "0.4803357", "0.4801879", "0.47924656", "0.47908944", "0.47875056", "0.4783749" ]
0.6389735
2
End getDropTime() Sets the drop time of the bomb.
public void setDropTime(long dropTime) { this.dropTime = dropTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getDropTime() {\n\t\treturn dropTime;\n\t}", "public double generateDropTime() {\n return LOWERLIMTIME + (Math.random() * ((UPPERLIMTIME - LOWERLIMTIME) + 1));\n\n }", "public void setDropType(DropType dropType) {\n _dropType = dropType;\n }", "public int getBombDetonationTime() {\n \t\treturn 1000;\n \t}", "public void setDropAmount(double dropAmount) {\n this.dropAmount = dropAmount;\n }", "public void setDropDeadline(Date dropDeadline) {\n this.dropDeadline = dropDeadline;\n }", "private void dropBlockAndResetTime(Location at) {\n removeLocation(at);\n destroyBlockAndDropItem(at);\n }", "public Date getDropDate() {\n\t\treturn dropDate;\n\t}", "public void drop() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\t\n\t\t\t// Can this airship drop bombs?\n\t\t\tif (this.properties.DROPS_BOMB) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\tint numfiredcannons = 0;\n\t\t\t\tfor (int i = 0; i < cannons.length; i++) {\n\t\t\t\t\tif (cannons[i] != null && cannons[i].getRelative(0, -1, 0).getType().equals(Material.AIR) && cannonHasTnt(cannons[i], Config.NUM_TNT_TO_DROP_BOMB)) {\n\t\t\t\t\t\tif (numfiredcannons < this.properties.MAX_NUMBER_OF_CANNONS ) {\n\t\t\t\t\t\t\tnumfiredcannons++;\n\t\t\t\t\t\t\tlastFired = System.currentTimeMillis();\n\t\t\t\t\t\t\twithdrawTnt(cannons[i], Config.NUM_TNT_TO_DROP_BOMB);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Spawn primed tnt firing downwards TODO: maybe add sound effects for tnt firing? :P\n\t\t\t\t\t\t\tTNTPrimed tnt = cannons[i].getWorld().spawn(cannons[i].getLocation().clone().add(0, -1, 0), TNTPrimed.class);\n\t\t\t\t\t\t\ttnt.setVelocity(new Vector(0, -0.5, 0));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// More cannons on ship than allowed. Not all fired - can break out of loop now.\n\t\t\t\t\t\t\tplayer.sendMessage(ChatColor.AQUA + \"Some cannons did not fire. Max cannon limit is \" + ChatColor.GOLD + this.properties.MAX_NUMBER_OF_CANNONS);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tplayer.sendMessage(ChatColor.GOLD + this.properties.SHIP_TYPE + \" CANNOT DROP BOMBS\");\n\t\t} else\n\t\t\tplayer.sendMessage(ChatColor.GOLD + \"COOLING DOWN FOR \" + ChatColor.AQUA + (int)(Math.round(6 - (System.currentTimeMillis() - this.lastFired) / 1000)) + ChatColor.GOLD + \" MORE SECONDS\");\n\t}", "protected void setDeathTime(double deathtime){\n\t\tthis.death_time = deathtime;\n\t}", "public void setDealTime(Integer dealTime) {\r\n this.dealTime = dealTime;\r\n }", "public void fruitDrop()\n {\n fruit.slowMoveVertical(60);\n }", "public void setDropDate(Date dropDate) {\n\t\tthis.dropDate = dropDate;\n\t}", "public DropType getDropType() {\n return _dropType;\n }", "public void manageDropping(Rectangle r){\n\t\t\tif (!dropping){ //does the random number part\n\t\t\t\tb.reset(x+ 35, y+50);\n\t\t\t\tint d = rand.nextInt(50);\n\t\t\t\t//System.out.println(randamount);\n\t\t\t\tif ((d == 1) && exists) {\n\t\t\t\t\tdropping =true; \n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse { //resets the bomb after it has been dropped\n\t\t\t\tif(b.y < 1000) b.dropBomb(dropamount);\n\t\t\t\tbombtimer = 0;\n\t\t\t\t//dropamount += .1;\n\t\t\t\t//dropamount = 5;\n\t\t\t\t\n\t\t\t\tif (b.y >= 700 || b.collided(r)) {\n\t\t\t\t\tif (b.collided(r)) tstartredtimer = true;\n\t\t\t\t\tif (exists) dropping = false;\n\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "public double getDropAmount() {\n return dropAmount;\n }", "public void dropDown() {\n this.setState(\"drop\");\n if (Math.abs(this.yVel) < this.Y_MAX_SPEED) {\n this.yVel += this.dropVel;\n }\n }", "public void addBombStatus(final boolean bombDrop) {\n\t\tif (bombDrop) {\n\t\t\tbomb = \"bomb 1\";\n\t\t} else {\n\t\t\tbomb = \"bomb 0\";\n\t\t}\n\t}", "public void goldDropPoint()\r\n {\r\n System.out.println(\"goldDropPoint\");\r\n setManual(false);\r\n if (isCollectionPlane)\r\n {\r\n savePreviousPosition();\r\n setIsCollectionPlane(false);\r\n }\r\n if (motorJ1.getCurrentPosition() > GOLD_DROP_J1)\r\n {\r\n j1Power = -J1_POWER;\r\n }\r\n else if (motorJ1.getCurrentPosition() < GOLD_DROP_J1)\r\n {\r\n j1Power = J1_POWER;\r\n }\r\n\r\n if (motorJ2.getCurrentPosition() > GOLD_DROP_J2)\r\n {\r\n j2Power = -J2_POWER;\r\n }\r\n else if (motorJ2.getCurrentPosition() < GOLD_DROP_J2)\r\n {\r\n j2Power = J2_POWER;\r\n }\r\n\r\n if (motorJ3.getCurrentPosition() > GOLD_DROP_J3)\r\n {\r\n j3Power = -UP_POWER_J3;\r\n }\r\n else if (motorJ3.getCurrentPosition() < GOLD_DROP_J3)\r\n {\r\n j3Power = UP_POWER_J3;\r\n }\r\n toPosition(j1Power, j2Power, j3Power, GOLD_DROP_J1, GOLD_DROP_J2, GOLD_DROP_J3);\r\n j1Power = 0;\r\n j2Power = 0;\r\n j3Power = 0;\r\n }", "@Override\n\tprotected void on_object_drop(GfxObject bonus) {\n\n\t}", "public void setBlacklistTime(long blacklistTime) {\n\t\tthis.blacklistTime = blacklistTime;\n\t}", "private StateNode finishDrop() {\n // Remove getHeld card from gameState\n gs.dropHeld();\n // tell the pyramid it's not getting that card back\n gs.getUserPyramid().confirmRemoval();\n\n // Add to statistics tracking\n GameManager.getStatisticsTracking().addToMinionsPlayed(1);\n\n // Create new animation state\n AnimatingNode state = new AnimatingNode(match, stateCallback);\n\n //Check if the pyramid needs a refill\n if (gs.getUserPyramid().isEmpty() && !gs.getUserMatchDeck().isEmpty()) {\n state.refillPyramid();\n } else if (!gs.getUserPyramid().getFlipCards().isEmpty()) {\n state.flipCard();\n } else {\n int count = 0;\n for (MatchCard card : gs.getUserPyramid()) {\n if (gs.getUserDuckDust().isPlayable(card.getCost())) {\n count++;\n }\n }\n if (count == 0 && gs.getUserDuckDust().getGround()) {\n stateCallback.turnOver();\n }\n return new Idle(match, stateCallback);\n }\n return state;\n }", "public void setDropChance(double dropChance) {\n _dropChance = dropChance;\n }", "@Override\n public void update(int timeModifier) {\n // Check if a bomb can be dropped and if the plane is still within the game window\n bombDropper.update(timeModifier);\n if (bombDropper.shouldRelease() && isInGameWindow()){\n justDropped = true;\n bombs.add(new Bomb(currPos, parentLevel));\n }\n\n // if we just dropped a bomb, reset the timer to a new random value\n if (justDropped){\n int dropTime = ThreadLocalRandom.current().nextInt(DROP_TIME_LOWER_BOUND, DROP_TIME_UPPER_BOUND + 1);\n bombDropper.setNewTime(dropTime);\n justDropped = false;\n }\n\n // Update all current bombs\n ArrayList<Bomb> bombsToRemove = new ArrayList<>();\n for (Bomb bomb : bombs){\n bomb.update(timeModifier);\n if (bomb.isFinished()){\n bombsToRemove.add(bomb);\n }\n }\n // Remove all finished bombs\n for (Bomb bomb : bombsToRemove){\n bombs.remove(bomb);\n }\n\n // update the current position\n if (flyingHorizontally) {\n double newX = currPos.x + PLANE_SPEED * timeModifier;\n currPos = new Point(newX, currPos.y);\n }\n else {\n double newY = currPos.y + PLANE_SPEED * timeModifier;\n currPos = new Point(currPos.x, newY);\n }\n\n // if the plane has moved outside the window, and has no remaining\n // bombs, it no longer needs to be updated\n if (!isInGameWindow() && bombs.size() == 0){\n isFinished = true;\n }\n render();\n\n }", "public void dropExplosives() {\n // Updates the time elapsed for each of the explosives\n for (int i=0; i<this.explosives.size(); i++) {\n Explosive dormantExplosive = this.explosives.get(i);\n dormantExplosive.increaseTime();\n }\n // If the Airplane has reached the end, doesn't detect any enemies\n // Isn't deleted straight away as it needs to wait for explosives to detonate\n if (super.outOfBounds()) {return;}\n this.timeElapsedDrop += ShadowDefend.getTimescale()/FPS;\n //Adds a new explosive\n if (this.timeElapsedDrop >= this.dropTime) {\n this.timeElapsedDrop = 0;\n Explosive newExplosive = new Explosive(super.getCenter());\n // Centers the explosive at the airplane's current position\n newExplosive.centerRectAt(super.getCenter());\n this.explosives.add(newExplosive);\n // Generates a new drop time in range\n this.dropTime = generateDropTime();\n this.numDropped++;\n }\n\n }", "public void setDealingTime(Integer dealingTime) {\r\n this.dealingTime = dealingTime;\r\n }", "public String getDropKey() {\n return this.dropKey;\n }", "public double getDropChance() {\n return _dropChance;\n }", "@Override\n\tpublic void handleDrop(Player player, Task task, Game game) {\n\t\t\n\t}", "public void setDropped(boolean dropped);", "public void setBlockedTime() {\r\n\t\t\tthis.blockedTime = 0;\r\n\t\t}", "@java.lang.Override\n public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() {\n if (stepInfoCase_ == 15) {\n return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_;\n }\n return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance();\n }", "public void setTime(int time) {\n\t\tthis.time = time;\n\t}", "void dropHandler() {\n if (tickSpeed < 0) {\n if((int)random(1,6) == 1){ //every 6 medkits the handler drops a minigun\n Sprite mg = new Sprite(minigun);\n mg.moveToPoint(random(0,2048), random(0, 2048)); //moves drop to random point\n minigunDrop.add(mg);\n tickSpeed = (int)random(100,500);\n }else if((int)random(1,4) == 1){ //every 4 medkits the handler drops a coilgun\n Sprite cg = new Sprite(coilgun);\n cg.moveToPoint(random(0,2048), random(0,2048)); //moves drop to random point\n coilgunDrop.add(cg);\n tickSpeed = (int)random(100,500); //changes \n }\n else {\n \n \n Medkit hp = new Medkit();\n hp.med.moveToPoint(random(0, 2048), random(0, 2048));\n\n health.add(hp);\n\n tickSpeed = (int)random(100,500);\n }\n }\n tickSpeed--;\n for (Medkit hp: health) {\n hp.med.display();\n hp.timer--;\n\n }\n for (Sprite mg: minigunDrop){\n mg.display();\n }\n for (Sprite cg: coilgunDrop){\n cg.display();\n }\n // e.forward(5);\n}", "public void setTime(int time) {\n\n\t\tthis.time = time;\n\t}", "public boolean getDropStop () {\r\n return dropStop;\r\n }", "public DropPower(Brick owner, Breakout game) {\n\t\tsuper(owner, game);\n\t\tthis.falling = false;\n\t}", "protected Item getDropItem() {\r\n\t\treturn SorceryItems.goldfeather;\r\n\t}", "public void setTime(long time) {\r\n\t\tthis.time = time;\r\n\t}", "public void setUnbindTime(Date unbindTime) {\n this.unbindTime = unbindTime;\n }", "@java.lang.Override\n public com.google.cloud.networkmanagement.v1beta1.DropInfo getDrop() {\n if (dropBuilder_ == null) {\n if (stepInfoCase_ == 15) {\n return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_;\n }\n return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance();\n } else {\n if (stepInfoCase_ == 15) {\n return dropBuilder_.getMessage();\n }\n return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance();\n }\n }", "public void dropBackpack()\n {\n itemLimit = 1;\n haveBackpack = false;\n }", "public void operateTheBoatForAmountOfTime(double time){// pass 1 as a time\n\t\t if(time > 0.0 && time <= 5.0 ){\n \tdouble fuelUsage = EfficiencyOfTheBoatMotor*currentSpeedOfTheBoat*currentSpeedOfTheBoat*time;\n \tfuelUsage = fuelUsage/10000;//since we have hp, and miles we have to divide by 10000 to get result in gallons \n double realTime; \n // Determine if we run out of fuel\n\t if(fuelUsage > amountOfFuelInTheTank){ \n\t realTime = time * (amountOfFuelInTheTank/fuelUsage); \n\t amountOfFuelInTheTank=0.0 ;\n\t }else{\n\t \tamountOfFuelInTheTank-=fuelUsage; \n\t realTime = time;\n\t }\n\t DistanceTraveled +=currentSpeedOfTheBoat * realTime; \n\t }\n\t }", "@java.lang.Override\n public boolean getCausesDrop() {\n return causesDrop_;\n }", "public void setCompletionTime(double aTime)\n\t{\n\t\tif(aTime<0) //invalid\n\t\t\tthis.completionTime = 0.0;\n\t\telse \n\t\t\tthis.completionTime=aTime;\n\t}", "public long getBlacklistTime() {\n\t\treturn blacklistTime;\n\t}", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "public void setTime(long time) {\n this.time = time;\n }", "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tl.getWorld().createExplosion(drop.getLocation(), 2, false);\n\t\t\t\t\t}", "public void setTime(long time)\n {\n this.time = time;\n\n }", "@java.lang.Override\n public boolean getCausesDrop() {\n return causesDrop_;\n }", "public void setTime(long time) {\r\n this.time = time;\r\n }", "public void setSpeechDrop(Integer speechDrop) {\n this.speechDrop = speechDrop;\n }", "public void setDealingTime(Date dealingTime)\n/* */ {\n/* 171 */ this.dealingTime = dealingTime;\n/* */ }", "public void setTime(double time) {_time = time;}", "public Integer getDealTime() {\r\n return dealTime;\r\n }", "public float getBonusItemDrop() {\n return bonusItemDrop_;\n }", "@Override\r\n\t/**\r\n\t * Each enemy has a unique drop\r\n\t */\r\n\tpublic String enemyDrop() {\n\t\treturn null;\r\n\t}", "void setTime(final int time);", "public void setMaxTime(int aMaxTime)\n{\n // Set max time\n _maxTime = aMaxTime;\n \n // If time is greater than max-time, reset time to max time\n if(getTime()>_maxTime)\n setTime(_maxTime);\n}", "public void setHsdpaDrop(Integer hsdpaDrop) {\n this.hsdpaDrop = hsdpaDrop;\n }", "public void setTime(int time) {\r\n\t\tthis.time = time;\r\n\t\tupdate();\r\n\t}", "public void setTime(int aTime)\n{\n // If we loop, mod the time, otherwise, clamp time\n if(getLoops() && aTime>getMaxTime())\n aTime = aTime%getMaxTime();\n else aTime = SnapMath.clamp(aTime, 0, getMaxTime());\n \n // If already at given time, just return\n if(_time==aTime) return;\n\n // Set new value and fire property change\n firePropertyChange(\"Time\", _time, _time = aTime, -1);\n \n // Reset time of owner children\n for(int i=0, iMax=getOwner().getChildCount(); i<iMax; i++)\n getOwner().getChild(i).setTime(_time);\n \n // Send did update notification\n for(int i=0, iMax=getListenerCount(Listener.class); i<iMax; i++)\n getListener(Listener.class, i).animatorUpdated(this);\n \n // Clear new born list\n _newBorns.clear();\n}", "public void bomb() {\n\t\tbomb.setPosition(sprite.getX(),sprite.getY());\n\t\tsprite = bomb;\n\t}", "public void rollCombatDrop() {\n\t\tRandom r=new Random();\n\t\t\n\t\tint x=r.nextInt(3);\n\t\tItem i=combatDrops.get(x);\n\t\taddItem(i.getName());\n\t\t\n\t\tevents.appendText(\"You find an \"+i.getName()+\" after defeating the \"+e.getName()+\"!\\n\"); // Infrom player\n\t}", "public void updateTime(int time)\n\t{\n\t\tshotsRemaining = rateOfFire;\n\t}", "public void setTime(float time) {\n this.time = time;\n }", "public void setTime(Long time) {\n this.time = time;\n }", "public void plantBomb()\n {\n if(this.getBombs() > 0)\n {\n bController.addBomb(this.getxPos(), this.getyPos(), 25);\n this.setBombs(getBombs() - 1);\n }\n }", "public void setTime(int time)\n {\n this.time = time;\n start = time;\n end = time;\n }", "public void setTime(int t){\r\n\t\t\t\ttime = t;\r\n\t\t\t}", "public void setBoostExpiration(){\r\n\t\tboostExpiration = GameController.getTimer() + 1000000000l * length;\r\n\t}", "public void setTime( Date time ) {\n this.time = time;\n }", "public void setDelay(float time)\n\t{\n\t\tdelayMax=time;\n\t}", "public void shootGun() {\n\t\tammo--;\n\t}", "public void SetEatenTime(double time) {\n\t\tEatenTime = time ;\n\t}", "public void setTime(long time) {\r\n this.time.setTime(time);\r\n }", "public void setTime(Date time) {\r\n\t\tthis.time = time;\r\n\t}", "@DSSafe(DSCat.UTIL_FUNCTION)\n \n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:56:11.275 -0500\", hash_original_method = \"58DD96CFC8DDA00016DEC24CC6519017\", hash_generated_method = \"1F810C618BA62488684578EB05C3C6A1\")\n \n@Override\n public void setTime(long theTime) {\n /*\n * Store the Date based on the supplied time after removing any time\n * elements finer than the day based on zero GMT\n */\n super.setTime(normalizeTime(theTime));\n }", "public void shootAimingBullet(){\n bossBullet = new BossBullet(bossBulletImage,this.getXposition() + 100, this.getYposition() + 100, 8, player, true);\n bulletList.add(bossBullet);\n }", "public BidTime getFinishTime() {\r\n\t\treturn finishTime;\r\n\t}", "private void setTime()\n\t{\n\t\t//local variable \n\t\tString rad = JOptionPane.showInputDialog(\"Enter the time spent bicycling: \"); \n\t\t\n\t\t//convert to int\n\t\ttry {\n\t\t\tbikeTime = Integer.parseInt(rad);\n\t\t\t}\n\t\tcatch (NumberFormatException e)\n\t\t{\n\t\t\tSystem.out.println(\"Invalid input.\");\n\t\t\t}\n\t}", "public void setTime(Date time) {\n\t\tthis.time = time;\n\t}", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setDelTime(Date delTime) {\n this.delTime = delTime;\n }", "public void setGameTime() {\n\t\tgameTime = new Date();\n\t}", "public void setWarmupTime(int value) {\n this.warmupTime = value;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "@EventHandler\n\tpublic void onBuddingAmethystBreak(final BlockBreakEvent e) {\n\n\t\tItemStack heldItem = e.getPlayer().getInventory().getItemInMainHand();\n\n\t\tif (e.getBlock().getType() == Material.BUDDING_AMETHYST && isHoldingPickaxe(heldItem) && heldItem.containsEnchantment(Enchantment.SILK_TOUCH)) {\n\t\t\tLocation location = e.getBlock().getLocation();\n\t\t\tlocation.getWorld().dropItemNaturally(location, new ItemStack(Material.BUDDING_AMETHYST, 1));\n\t\t\tlocation.getBlock().setType(Material.AIR);\n\t\t}\n\t}", "public String dropItem(String item){\n if(hasGrabbedItem(item)){\n grabbedItems.remove(item);\n return \"You have dropped: \" + item;\n }else{\n return \"You don't have one to drop.\";\n }\n }", "@java.lang.Override\n public com.google.cloud.networkmanagement.v1beta1.DropInfoOrBuilder getDropOrBuilder() {\n if ((stepInfoCase_ == 15) && (dropBuilder_ != null)) {\n return dropBuilder_.getMessageOrBuilder();\n } else {\n if (stepInfoCase_ == 15) {\n return (com.google.cloud.networkmanagement.v1beta1.DropInfo) stepInfo_;\n }\n return com.google.cloud.networkmanagement.v1beta1.DropInfo.getDefaultInstance();\n }\n }", "public void setThunderTime(int time)\n {\n thunderTime = time;\n }", "public abstract void drop();", "public String dropItem(String itemName) {\r\n\t\t\tif(this.getPlayer().getItem(itemName) == null) {\r\n\t\t\t\treturn \"You do not have this item in your inventory.\";\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.handleDecQuestrelatedItem(this.getPlayer().getItem(itemName));\r\n\t\t\t\tthis.getPlayer().getCurrentLocation().addItem(this.getPlayer().getItem(itemName));\r\n\t\t\t\tthis.getPlayer().removeItem(itemName);\r\n\t\t\t\treturn \"You drop \" + itemName + \". \\n\"\r\n\t\t\t\t\t\t+ \"You can carry \" + this.getPlayer().getCarryCapacity() + \" more units of weight.\";\r\n\t\t\t}\r\n\t\t}", "public ArrayList<Item> drop()\n {\n ArrayList<Item> drop = new ArrayList<>();\n for( Pair<Enums.ItemName, Integer> possibleDrop : dropTable)\n {\n if(ThreadLocalRandom.current().nextInt(100) < possibleDrop.getY())\n drop.add(new Item(possibleDrop.getX()));\n }\n return drop;\n }" ]
[ "0.7653872", "0.61483604", "0.6125878", "0.5963257", "0.5900303", "0.58758914", "0.5863849", "0.58541226", "0.58529747", "0.57983476", "0.5732782", "0.57203525", "0.5714129", "0.5713016", "0.5593023", "0.5578267", "0.5551949", "0.55225307", "0.55145323", "0.544665", "0.542373", "0.53862256", "0.5369746", "0.53678244", "0.5322032", "0.5301217", "0.52950186", "0.5272897", "0.5266312", "0.5257309", "0.5239206", "0.5232687", "0.52325416", "0.52132326", "0.5205433", "0.5204222", "0.51931006", "0.51896435", "0.5188346", "0.5185266", "0.5172841", "0.516822", "0.5163754", "0.5163653", "0.51618356", "0.5160527", "0.5159063", "0.5158214", "0.515236", "0.51480216", "0.51472235", "0.5146593", "0.5141573", "0.512936", "0.5121621", "0.51183426", "0.5096884", "0.5089955", "0.5086336", "0.50743216", "0.50655097", "0.50559735", "0.50552803", "0.5049526", "0.5043984", "0.50333315", "0.5027901", "0.50242436", "0.5018672", "0.50179255", "0.4992972", "0.49867967", "0.4977245", "0.49719265", "0.4962733", "0.49620435", "0.49618876", "0.49594554", "0.49590674", "0.49556056", "0.49417743", "0.49413735", "0.49362117", "0.49319258", "0.49319258", "0.49319258", "0.49154466", "0.4912703", "0.49120757", "0.49100286", "0.49100286", "0.49100286", "0.49100286", "0.49010637", "0.48905563", "0.4889777", "0.48855135", "0.4877369", "0.4873285", "0.487297" ]
0.8088686
0
End draw Sets the explode variable to user input.
public void setExplode(boolean explode) { this.explode = explode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void explode() {\n\t\tthis.explosion = false;\n\t}", "private void explode()\n\t{\n\t\texplosion.setX(getX());\n\t\texplosion.setY(getY());\n\t\t\n\t\tif(!explosion.isOver())\n\t\t{\n\t\t\texplosion.update();\n\t\t\texplosion.drawObject();\n\t\t}\t\n\t\telse\n\t\t\talive = false;\n\t}", "public void explode(){\n\t\timage = explosion;\n\t\tisExploded = true;\n\t}", "public void explode() {\n\t\tSystem.out.println(\"HydrogenBomb blast from Explosion\");\n\t}", "public void callExplode () {\n if (noOfExplosives > 0){\n yVelocity -= 750;\n noOfExplosives--;\n isExploding = true;\n }\n }", "private void explode()\r\n {\n isExploded = true;\r\n Color test = Color.hsb(Utils.getRandom(0, 360), 1, 1);\r\n for (int i = 0; i < 100; i++)\r\n {\r\n Color var = test;\r\n for (int j = 0; j < Utils.getRandomInt(5); j++)\r\n {\r\n var = var.brighter();\r\n }\r\n Firework mark1 = new Firework(this.x, this.y, var);\r\n Main.child.add(mark1.getNode());\r\n }\r\n reset();\r\n }", "public void setExplode(int explode) {\n\t\tthis.explode = explode;\n\t}", "public void drawHit(){\n image(explode[5],posX,posY,10,10);\n }", "@Override\n public void explode(ArrayList<ScreenObject> level) {\n level.add(new Explosion(position.x, position.y, 100, 100,\n Explosion.expSubtype.YELLOW));\n }", "public void endDrawing() {\r\n SelectionResult res = SelectionResult.getInstance();\r\n\r\n res.selection = selection;\r\n res.referenceY = selectedY;\r\n\r\n res.previewWidth = getWidth();\r\n res.previewHeight = getHeight();\r\n\r\n selectedY = -1;\r\n }", "public void endInput() {\n this.currentIndex = 1;\n this.currentUnit = null;\n this.currentChName = null;\n this.currentState = states.EMPTY;\n JTVProg.mainWindow.tvFillBut.setEnabled(false);\n JTVProg.mainWindow.tvProcBut.setEnabled(true);\n }", "protected void end() {\n\t\tRobot.elevator.setCurrentPosition(newPosition);\n\t}", "protected void end() {\n // Robot.drive.setMoveVisionAssist(0);\n // Robot.drive.setTurnVisionAssist(0);\n Robot.limelight.setPipeline(1.0); \n }", "@Override\n public void run() {\n mExplosionField.explode(layout);\n mExplosionField.explode(mpb);\n }", "protected void end() {\n \tintake.setLeftPower(0.0);\n\t\tintake.setRightPower(0.0);\n }", "public void endDraw()\r\n\t{\r\n\t\t// Set back to defaults in case someone set these.\r\n\t\tgl.glEnd();\r\n\t\tgl.glFlush();\r\n\t\tgl.glDisable(GL_TEXTURE_2D);\r\n\t\tgl.glShadeModel(GL_SMOOTH);\r\n\t}", "@Override\n\tpublic void drawSelf(GL2 gl) {\n\t\tgl.glColor4d(lineColor[0], lineColor[1], lineColor[2], lineColor[3]);\n\t\tgl.glPointSize((float)dotSize);\n\n\t\tgl.glBegin(GL2.GL_POINTS);\n\n\t\tfor (int i = 0; i < explosionPoints; ++i) {\n\t\t\tgl.glVertex2d(Math.sin(i * 2 * Math.PI / explosionPoints) * explosionCurrentSize, Math.cos(i * 2 * Math.PI / explosionPoints) * explosionCurrentSize);\n\t\t}\n\n\t\tgl.glEnd();\n\t}", "public void endDrawing();", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawType = 2;\n\t\t\t}", "protected void end() {\n \t//Just let the lift keep holding the current motion magic\n \t//setpoint after this command ends\n \tRobot.debug.Stop();\n }", "void explode(int x, int y) {\n //Implemented \n }", "@Override\n public void draw(){\n ellipse(mouseX, mouseY, 50, 50);\n }", "abstract public void triggerExplosion();", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawType = 0;\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tlp.drawType = 1;\n\t\t\t}", "public static void draw() {\n\t\tStdDraw.clear();\n\t\tStdDraw.text(.5, .90, hint);\n\t\tStdDraw.text(.5, .5, label);\n\t\tStdDraw.text(0.5, 0.3, textBeingEntered);\n\t\tStdDraw.show(0);\n\n\t}", "private void sendDrawEndEvent() {\n\t\tint type = this.drawType;\n\t\tthis.deactivate();\n\t\tthis.activate(type);\n\t}", "protected void end() {\n \tRobot.driveTrain.setPower(0, 0);\n }", "public void explode(int x, int y) {\n\t\tremoveSprite(this.gameMap[x][y].getTile());\n\t\tthis.explosion = true;\n\t\tincrementNumMoves();\n\t\t\n\t}", "protected void end()\n\t{\n\t\t//\t\tdouble intakeSpeed[] = { 0.0, 0.0 };\n\t\t//\t\tRobot.intake.setSpeed(intakeSpeed);\n\t}", "public void draw()\r\n\t{\r\n\t\tfor(int i=1;i<accountValue.length;i++)\r\n\t\t{\r\n\t\t\taccountValue[i]+=playerBet[i];\r\n\t\t}\r\n\t\tendRund();\r\n\t}", "public void draw() {\r\n\r\n if (this.z == 2) {\r\n //--- Shooting//---\r\n for (Enemy e: this.td.getEnemies()) {\r\n if (e.getX() < this.x + this.size / 2\r\n && e.getX() + e.getSize() > this.x - this.size / 2) {\r\n if (e.getY() < this.y + this.size / 2\r\n && e.getY() + e.getSize() > this.y - this.size / 2) {\r\n if (!this.firing) {\r\n this.firing = true;\r\n this.target = e;\r\n }\r\n } else {\r\n this.firing = false;\r\n }\r\n }\r\n this.firing();\r\n }\r\n }\r\n this.update();\r\n\r\n }", "public void draw()\r\n {\r\n drawn = true;\r\n }", "public void hide() {\n energy = 0;\n redBull = 1;\n gun = 0;\n target = 1;\n }", "protected void end() {\n \tRobot.m_elevator.disable();\n \tRobot.m_elevator.free();\n }", "private void endDrawing() {\n\t\tp_view.getHolder().unlockCanvasAndPost(p_canvas);\n\t}", "public void hit() {\n if (explodeTime == 0) {\n if (isExplosive) {\n region = explodeAnimation.getKeyFrame(explodeTime, false);\n explodeTime += Gdx.graphics.getDeltaTime();\n width = region.getRegionWidth();\n height = region.getRegionHeight();\n position.sub(width / 2, height / 2);\n direction = new Vector2(1, 0);\n explosionSound.play();\n } else {\n impactSound.play();\n active = false;\n }\n }\n }", "void draw() {\n\t\tSystem.out.println(\"Drawing the Rectange...\");\n\t\t}", "public void explode(float timeNow) {\n\t\tif (currentSprite_ != explosion_) {\n\t\t\tcurrentSprite_ = explosion_;\n\t\t\texplosionStartTime_ = timeNow;\n\t\t}\n\t}", "public void draw() {\n\t\t\r\n\t\tSystem.out.println(\"drawing...\");\r\n\t\t\r\n\t}", "@Override\n protected void end() {\n Robot.shooter.setShooterSpeed(0);\n Robot.elevator.elevatorUp(0);\n Robot.hopper.hopperOut(0);\n Robot.intake.enableIntake(0);\n\n\n }", "protected void end()\t{\n\t\tglUseProgram(0);\n\t}", "public void reDraw() {\n if(entityManager.getPlayerVaccines() != 0){\n vaccine[entityManager.getPlayerVaccines()-1].draw();\n }\n lifeCount[entityManager.getHealth()].draw();\n\n if(entityManager.getHealth() != prevPlayerLife)\n lifeCount[prevPlayerLife].delete();\n prevPlayerLife = entityManager.getHealth();\n\n if(prevPlayerLife == 0){\n heart.draw();\n }\n\n if(entityManager.playerWithMask()){\n mask.draw();\n } else {\n mask.delete();\n }\n }", "public void Draw() {\n \tapp.fill(this.r,this.g,this.b);\n\t\tapp.ellipse(posX, posY, 80, 80);\n\n\t}", "public void enemyDefeated(Scanner userInput) \r\n\t{\r\n\t\trunning = false;\r\n\t\tSystem.out.println(\"==============================Battle End================================\\n\");\r\n\t\tuser.updateVariables(enemy.getLevel() + 1);\r\n\t\tSystem.out.println(\"Hey you defeated \"+ enemy.getName()+\"! But it did not have your pants...\");\r\n\t\tSystem.out.println(\"1. I want to battle the next monster for the next level\");\r\n\t\tSystem.out.println(\"2. I want to fight a monster that will probably murder me horribly\");\r\n\t\tSystem.out.println(\"3. I want to quit because I'm bored and this game obviously sucks\");\r\n\t\tString cmd;\r\n\t\tEnemy nextEnemy;\r\n\t\tGame newGame;\r\n\t\tdo {\r\n\t\t\tcmd = userInput.nextLine();\r\n\t\t\tif (cmd.equals(\"1\")||cmd.equals(\"2\")) {\r\n\t\t\t\tint level = user.getLevel() + 1;\r\n\t\t\t\tif(cmd.equals(\"2\")) {\r\n\t\t\t\t\tlevel += 1 + r.nextInt(5);\r\n\t\t\t\t}\r\n\t\t\t\tnextEnemy = new Enemy(enemy.getEnemy(), level);\r\n\t\t\t\tnewGame = new Game(user,nextEnemy);\r\n\t\t\t\tnewGame.startEvent(userInput);\r\n\t\t\t}\r\n\t\t\telse if (cmd.equals(\"3\")) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\twhile(!(cmd.equals(\"1\")||cmd.equals(\"2\")||cmd.equals(\"3\")));\r\n\t}", "public void draw()\n {\n super.draw();\n k = 0;\n traceOK = true;\n\n // Initialize n, x0, and xn in the control panel.\n nText.setText(\" \");\n x0Text.setText(\" \");\n xnText.setText(\" \");\n\n PlotFunction plotFunction = getSelectedPlotFunction();\n\n // Create the fixed-point iteration root finder.\n finder = new FixedPointRootFinder((Function) plotFunction.getFunction());\n }", "@Override\n protected void end() {\n //return control to joystick\n drivetrain.setStopArcadeDrive(false);\n drivetrain.tankDrive(0,0);\n System.out.println(\"STOPPED LINE FOLLOWER\");\n // led.setLEDB(false);\n // led.setLEDR(false);\n }", "void exitShapeEditor();", "@Override\n protected void end() {\n Robot.SCISSOR.extendLift(0);\n }", "public void input_entered() {\n\t\t_last_column = 0;\n\t\t_last_line = 0;\n\t\t_last_printed = '\\n';\n\t}", "@Override\n protected void end() {\n Robot.m_elevator.idle();\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinfomation.drawSet();\n\t\t\t}", "public void interactWithKeyboard() {\n StdDraw.setCanvasSize(WIDTH * 16, HEIGHT * 16);\n StdDraw.setXscale(0, WIDTH);\n StdDraw.setYscale(0, HEIGHT);\n createMenu();\n StdDraw.enableDoubleBuffering();\n while (true) {\n if (StdDraw.hasNextKeyTyped()) {\n char input = Character.toUpperCase(StdDraw.nextKeyTyped());\n if (input == 'v' || input == 'V') {\n StdDraw.enableDoubleBuffering();\n StdDraw.clear(Color.BLACK);\n StdDraw.text(WIDTH / 2, HEIGHT * 2 / 3, \"Enter a name: \" + name);\n StdDraw.text(WIDTH / 2, HEIGHT * 5 / 6, \"Press # to finish.\");\n StdDraw.show();\n while (true) {\n if (StdDraw.hasNextKeyTyped()) {\n char next = StdDraw.nextKeyTyped();\n if (next == '#') {\n createMenu();\n break;\n } else {\n name += next;\n StdDraw.enableDoubleBuffering(); StdDraw.clear(Color.BLACK);\n StdDraw.text(WIDTH / 2, HEIGHT * 2 / 3, \"Enter a name: \" + name);\n StdDraw.text(WIDTH / 2, HEIGHT * 5 / 6, \"Press # to finish.\");\n StdDraw.show();\n }\n }\n }\n }\n if (input == 'l' || input == 'L') {\n toInsert = loadWorld();\n if (toInsert.substring(0, 1).equals(\"k\")) {\n floorTile = Tileset.GRASS;\n }\n toInsert = toInsert.substring(1);\n interactWithInputString(toInsert);\n ter.renderFrame(world);\n startCommands();\n }\n if (input == 'n' || input == 'N') {\n toInsert += 'n';\n StdDraw.enableDoubleBuffering();\n StdDraw.clear(Color.BLACK);\n StdDraw.text(WIDTH / 2, HEIGHT * 2 / 3, \"Enter a seed: \" + toInsert);\n StdDraw.show();\n while (true) {\n if (!StdDraw.hasNextKeyTyped()) {\n continue;\n }\n char c = StdDraw.nextKeyTyped();\n if (c == 's' || c == 'S') {\n toInsert += 's';\n StdDraw.enableDoubleBuffering();\n StdDraw.clear(Color.BLACK);\n StdDraw.text(WIDTH / 2, HEIGHT * 2 / 3, \"Enter a seed: \" + toInsert);\n StdDraw.show(); interactWithInputString(toInsert);\n ter.renderFrame(world); mouseLocation(); startCommands();\n break;\n }\n if (c != 'n' || c != 'N') {\n toInsert += c;\n StdDraw.enableDoubleBuffering(); StdDraw.clear(Color.BLACK);\n StdDraw.text(WIDTH / 2, HEIGHT * 2 / 3, \"Enter a seed: \" + toInsert);\n StdDraw.show();\n }\n }\n }\n if (input == 'l' || input == 'L') {\n toInsert = loadWorld();\n if (toInsert.substring(0, 1).equals(\"k\")) {\n floorTile = Tileset.GRASS;\n }\n toInsert = toInsert.substring(1); interactWithInputString(toInsert);\n ter.renderFrame(world); startCommands();\n }\n }\n }\n }", "public void clickExplode() {\n\t\tsetBorder(UNLOCKED_BORDER);\n\t\tsetIcon(HIT_MINE_PIC);\n\t\tsetBackground(Color.RED);\n\t\tunlocked = true;\n\t}", "public void drawQuest(){\n System.out.println(\"¿Que cantidad desea retirar?\");\n System.out.println(\"\"); \n}", "public void shape() {\n\t\tSystem.out.println(\"super robot입니다. 팔, 다리, 몸통, 머리가 있습니다.\");\r\n\t}", "public void draw(){\n hit();\n hit();\n }", "private void draw()\n {\n Canvas canvas = Canvas.getCanvas();\n canvas.draw(this, color, new Ellipse2D.Double(xPosition, yPosition, \n diameter, diameter));\n canvas.wait(10);\n }", "protected void end() {\n \tRobot.drivetrain.leftDrive1.set(0); \n \tRobot.drivetrain.leftDrive2.set(0);\n \tRobot.drivetrain.leftDrive3.set(0);\n \t\n \tRobot.drivetrain.rightDrive1.set(0);\n \tRobot.drivetrain.rightDrive2.set(0);\n \tRobot.drivetrain.rightDrive3.set(0);\n \tRobot.twoGearAngle = Robot.drivetrain.gyro.getYaw();\n }", "public void draw() {\n //Grey background, which removes the tails of the moving elements\n background(0, 0, 0);\n //Running the update function in the environment class, updating the positions of stuff in environment\n //update function is a collection of the methods needing to be updated\n if(stateOfProgram == 0) { startTheProgram.update(); }\n if(stateOfProgram == 1) {\n theEnvironment.update();\n //update function is a collection of the methods needing to be updated\n //Running the update function in the Population class, updating the positions and states of the rabbits.\n entitiesOfRabbits.update();\n entitiesOfGrass.update();\n entitiesOfFoxes.update();\n\n entitiesOfRabbits.display();\n entitiesOfGrass.display();\n entitiesOfFoxes.display();\n openGraph.update();\n }\n }", "public void drawEndScreen() {\n\t\tint highScore = getHighScore();\n\t\tif (highScore <= score) {\n\t\t\thighScore = score;\n\t\t\tsetHighScore(highScore);\n\t\t}\n\t\tdisplayText(\"High Score \" + String.valueOf(highScore), 0, 0, false);\n\t\tdisplayText(\"Score\" + String.valueOf(score), 0, -100, false);\n\t}", "public void draw() {\n if (you.health() > 0 | lives >= 0) {\n if (aliens.isEmpty()) {\n win();\n }\n if (you.health() <= 0 & lives >= 0) {\n die();\n }\n \n you.act();\n \n if (fire & you.getWeapon() == Weapon.WEAPON_GOD) {\n for (Dot d : you.fire()) {\n this.moreBullets(d);\n }\n }\n for (Dot d : lazers){d.update(); d.draw(page);}\n for (Dot d : bullets) {d.update(); d.draw(page);}\n for (Alien loop : aliens) {\n loop.act();\n if (Math.random() > .993) {\n for (Dot d : loop.fire())\n lazers.add(d);\n }\n loop.draw(page);\n }\n \n if (collisionCheck() | fl) {\n flash();\n fl = !fl;\n }\n \n int index1 = 0, index2 = 0, size1 = bullets.size(), size2 = aliens.size();\n for (Alien al : aliens) {\n index2 = 0;\n while (index2 < size1) {\n if (al.collide(bullets.get(index2))) {\n bullets.remove(index2);\n size1--;\n score += 10;\n }\n index2++;\n }\n }\n\n index1 = 0; size1 = aliens.size();\n while (index1 < size1) {\n if (aliens.get(index1).health() <= 0) {\n aliens.remove(index1);\n index1--;\n size1--;\n score += 25;\n }\n index1++;\n }\n \n for (Dot d : lazers) {\n if (d.getX() < 0 | d.getX() > 512 | d.getY() < 0 | d.getY() > 496) {\n d.deactivate();\n }\n }\n index1 = 0; size1 = lazers.size();\n while (index1 < size1) {\n if (!lazers.get(index1).isActive()) {\n lazers.remove(index1);\n size1--;\n index1--;\n }\n index1++;\n }\n \n for (Dot d : bullets) {\n if (d.getX() < 0 | d.getX() > 512 | d.getY() < 0 | d.getY() > 512) {\n d.deactivate();\n }\n }\n index1 = 0; size1 = bullets.size();\n while (index1 < size1) {\n if (!bullets.get(index1).isActive()) {\n bullets.remove(index1);\n size1--;\n index1--;\n }\n index1++;\n }\n \n for (int i = 0; i < lives; i++) {\n page.drawImage(you.getImage(), i*20, 496, 16, 16, null);\n }\n page.setColor(Color.white);\n page.drawString(\"\" + you.health(), 420, 509);\n page.drawString(\"\" + score, 450, 509);\n you.draw(page);\n }\n else {\n lose();\n }\n }", "public void dispara()\r\n {\r\n BulletEnemy bala = new BulletEnemy();\r\n getWorld().addObject(bala,getX(),getY()+25);\r\n }", "protected void end() {\n drivebase.setArcade(0, 0);\n drivebase.disableTurnController();\n }", "public void defend(){\n\tdefense += (int)(Math.random() * defense * .45 + 5);\n\tstrength -= 3;\n\tif (defense > 70) {\n\t defense = 70;\n\t}\t \n\tcounterDef += 1;\n\tif (counterDef == 2){\n\t counterDef = 0;\n\t recover();\n\t}\n\tSystem.out.println(\"You brace yourself with your bow.\");\n }", "private void defend() {\n\t\t\n\t\tnavigator.setPlaying(true);\n\t\ttravelTo(Location.DefenseBase);\n\t\tnavigator.turnTo(0);\n\t\t//unfold\n\t\tDefense def = Main.def;\n\t\tdef.mode(2);\n\t}", "protected void end() {\r\n \tSystem.out.println(\"Finished MoveToHeight\");\r\n \tmanipulator.moveElevator(0);\r\n }", "public void withdraw() {\n\t\t\t\n\t\t}", "protected void end() {\n \tRobot.shooter.speed(0.0);\n }", "public static void main(String[] args) {\n\t\t Robot Damian = new Robot();\n\t\t//3. Ask the user what color they would like the robot to draw\n\t\tString color = JOptionPane.showInputDialog(null, \"What color should my robot draw? Red, Blue, or Green\");\n\t\t//5. Use an if/else statement to set the pen color that the user requested\n\t\n\n //6. If the user doesn’t enter anything, choose a random color\nif (color == \" \") {\n\tDamian.setPenColor(255, 255, 0);\n}\n //7. Put a loop around your code so that you keep asking the user for more colors & drawing them\n\t\t\n\t\t//4. Set the pen width to 10\n\t\tDamian.setPenWidth(10);\n\t //2. Make the robot draw a shape (this will take more than one line of code)------------------\n\t\tif (color.equalsIgnoreCase(\"red\")) {\n\t\t\tDamian.setPenColor(255, 0, 0);\n\t\t}\n\t\tif (color.equalsIgnoreCase(\"green\")) {\n\t\t\tDamian.setPenColor(0, 255, 0);\n\t\t}\n\t\tif (color.equalsIgnoreCase(\"blue\")) {\n\t\t\tDamian.setPenColor(0, 0, 255);\n\t\t}\n\tDamian.setSpeed(100);\n\tDamian.penDown();\n\tDamian.turn(90);\n\tDamian.move(150);\n\tDamian.turn(90);\n\tDamian.move(150);\n\tDamian.turn(90);\n\tDamian.move(150);\n\tDamian.turn(90);\n\tDamian.move(150);\n\t\n\t}", "public void draw() {\n StdDraw.clear();\n StdDraw.setPenColor(StdDraw.BLACK);\n StdDraw.setXscale(-drawLength * 0.1, drawLength * 1.2);\n StdDraw.setYscale(-drawLength * 0.65, drawLength * 0.65);\n StdDraw.line(0, 0, drawLength, 0);\n StdDraw.text(-drawLength * 0.05, 0, \"0\");\n StdDraw.text(drawLength * 1.1, 0, Integer.toString(size()));\n }", "protected void end() {\n \tRobot.gearIntake.setIsDown(false);\n \tRobot.gearIntake.setGearRollerSpeed(0);\n }", "public void withdraw() {\n\t\t}", "protected void onDraw(Canvas canvas) { \t\r\n\r\n \t// resets the position of the unicorn if one is killed or reaches the right edge\r\n \tif (newUnicorn || unicorn.getX() >= this.getWidth()) {\r\n \t\tunicorn.setX(-150);\r\n \t\tunicorn.setY((int)(Math.random() * 200 + 200));\r\n \t\tyChange = (int)(10 - Math.random() * 20);\r\n \t\tnewUnicorn = false;\r\n \t\tkilled = false;\r\n \t}\r\n\r\n \t// draws the unicorn at the specified point\r\n \tcanvas.drawBitmap(unicorn.getImage(killed), unicorn.getX(), unicorn.getY(), null);\r\n \t\r\n\t\t// show the exploding image when the unicorn is killed\r\n \tif (killed) {\r\n \t\tnewUnicorn = true;\r\n \t\ttry { Thread.sleep(10); } catch (Exception e) { }\r\n \t\tinvalidate();\r\n \t\treturn;\r\n \t}\r\n \t\r\n\t\t// draws the stroke\r\n \tif (stroke.countPoints() > 1) {\r\n \t\tfor (int i = 0; i < stroke.countPoints() - 1; i++) {\r\n \t\t\tint startX = stroke.getX(i);\r\n \t\t\tint stopX = stroke.getX(i + 1);\r\n \t\t\tint startY = stroke.getY(i);\r\n \t\t\tint stopY = stroke.getY(i + 1);\r\n \t\t\tPaint paint = new Paint();\r\n \t\t\tpaint.setColor(Stroke.getColor());\r\n \t\t\tpaint.setStrokeWidth(Stroke.getWidth());\r\n \t\t\tcanvas.drawLine(startX, startY, stopX, stopY, paint);\r\n \t\t}\r\n \t}\r\n \t\r\n }", "protected void end() {\n \n this.getPIDController().disable();\n shooter.setShooterMotor(0.0);\n }", "public void draw() {\n \n // TODO\n }", "public void draw(){\n\t\tif(!visible) return;\n\n\t\twinApp.pushStyle();\n\t\twinApp.style(G4P.g4pStyle);\n\t\tPoint pos = new Point(0,0);\n\t\tcalcAbsPosition(pos);\n\n\t\t// Draw selected option area\n\t\tif(border == 0)\n\t\t\twinApp.noStroke();\n\t\telse {\n\t\t\twinApp.strokeWeight(border);\n\t\t\twinApp.stroke(localColor.txfBorder);\n\t\t}\n\t\tif(opaque)\n\t\t\twinApp.fill(localColor.txfBack);\n\t\telse\n\t\t\twinApp.noFill();\n\t\twinApp.rect(pos.x, pos.y, width, height);\n\t\t\n\t\t// Draw selected text\n\t\twinApp.noStroke();\n\t\twinApp.fill(localColor.txfFont);\n\t\twinApp.textFont(localFont, localFont.getSize());\n\t\twinApp.text(text, pos.x + PADH, pos.y -PADV +(height - localFont.getSize())/2, width - 16, height);\n\n\t\t// draw drop down list\n\t\twinApp.fill(winApp.color(255,255));\n\t\tif(imgArrow != null)\n\t\t\twinApp.image(imgArrow, pos.x + width - imgArrow.width - 1, pos.y + (height - imgArrow.height)/2);\n\t\tif(expanded == true){\n\t\t\tGOption opt;\n\t\t\twinApp.noStroke();\n\t\t\twinApp.fill(localColor.txfBack);\n\t\t\twinApp.rect(pos.x,pos.y+height,width,nbrRowsToShow*height);\n\n\t\t\tfor(int i = 0; i < optGroup.size(); i++){\n\t\t\t\topt = optGroup.get(i);\n\t\t\t\tif(i >= startRow && i < startRow + nbrRowsToShow){\n\t\t\t\t\topt.visible = true;\n\t\t\t\t\topt.y = height * (i - startRow + 1);\n\t\t\t\t\topt.draw();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\topt.visible = false;\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Draw box round list\n\t\t\tif(border != 0){\n\t\t\t\twinApp.strokeWeight(border);\n\t\t\t\twinApp.stroke(localColor.txfBorder);\n\t\t\t\twinApp.noFill();\n\t\t\t\twinApp.rect(pos.x,pos.y+height,width,nbrRowsToShow*height);\n\t\t\t}\n\t\t\tif(optGroup.size() > maxRows){\n\t\t\t\tslider.setVisible(true);\n\t\t\t\tslider.draw();\n\t\t\t}\n\t\t}\n\t\twinApp.popStyle();\n\t}", "public void display() {\n PVector d = location.get();\n float diam = d.y/height;\n println(diam);\n\n stroke(0);\n fill(255,0,0);\n ellipse (location.x, location.y, diameter, diameter);\n }", "public void draw() {\n\t\tif (doge.getLife()>0) {\r\n\t\t\tthis.background(WHITE);\r\n\t\t\tif (keyPressed) {\r\n\t\t\t\tif (key == 'a') {\r\n\t\t\t\t\tdoge.goLeft();\r\n\t\t\t\t\tif (doge.getX()<=0) {\r\n\t\t\t\t\t\tdoge.setX(PlayGame.WIDTH);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(key == 's') {\r\n\t\t\t\t\tdoge.goDown();\r\n\t\t\t\t\tif (doge.getY()>=PlayGame.HEIGHT) {\r\n\t\t\t\t\t\tdoge.setY(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(key == 'd') {\r\n\t\t\t\t\tdoge.goRight();\r\n\t\t\t\t\tif (doge.getX()>=PlayGame.WIDTH) {\r\n\t\t\t\t\t\tdoge.setX(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(key == 'w') {\r\n\t\t\t\t\tdoge.goUp();\r\n\t\t\t\t\tif (doge.getY()<=0) {\r\n\t\t\t\t\t\tdoge.setY(PlayGame.HEIGHT);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\tdoge.draw();\r\n\t\t\t\r\n\t\t\tif (!bones.get(0).getIsEaten()) {\r\n\t\t\t\t//Move and draw bone, if it has not been eaten.\r\n\t\t\t\tbones.get(0).move();\r\n\t\t\t\tbones.get(0).draw();\r\n\t\t\t\t//if it get eaten, score + 1, get a new bone, and get one more obstacle\r\n\t\t\t\tif (Math.pow((bones.get(0).getY() - doge.getY()), 2) + Math.pow(bones.get(0).getX() - doge.getX(),2) <= 2*(Math.pow(Bone.getHeight()/2+doge.getHeight()/2, 2)/10)) {\r\n\t\t\t\t\tbones.get(0).eat();\r\n\t\t\t\t\tthis.setScore(this.score+1);\r\n\t\t\t\t\tBone theBone=new Bone(this);\r\n\t\t\t\t\tthis.bones.add(theBone);\r\n\t\t\t\t\tSmileObstacle newObstacle = new SmileObstacle(this);\r\n\t\t\t\t\tthis.obstacles.add(newObstacle);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\r\n\t\t\tfor (int i = 0; i < this.obstacles.size(); i++) {\r\n\t\t\t\t//Keep draw and move obstacle\r\n\t\t\t\tSmileObstacle obstacle = this.obstacles.get(i);\r\n\t\t\t\tobstacle.move();\r\n\t\t\t\tobstacle.draw();\r\n\t\t\t\t//If clashed, eliminate the obstacle and make the background black for a moment.\r\n\t\t\t\tif (Math.pow((obstacle.getY() - doge.getY()), 2) + Math.pow(obstacle.getX() - doge.getX(),2) <= Math.pow(SmileObstacle.getHeight()/2+doge.getHeight()/2, 2)/10) {\r\n\t\t\t\t\tthis.background(BLACK);\r\n\t\t\t\t\tobstacle.eliminate();\r\n\t\t\t\t\tthis.hearts.get(this.hearts.size()-1).loseHeart();\r\n\t\t\t\t\tdoge.setLife(doge.getLife()-1);\r\n\t\t\t\t}\t\t\r\n\t\t\t}\r\n\t\t\t//draw heart for life numbers.\r\n\t\t\tfor (int j = 0; j < this.hearts.size(); j++) {\r\n\t\t\t\tHeart heart = this.hearts.get(j);\r\n\t\t\t\theart.draw();\r\n\t\t\t}\r\n\t\t\t//Draw smallbone for scores. \r\n\t\t\tfor (int h = 0; h<this.score; h++) {\r\n\t\t\t\tSmallBone smallBone=new SmallBone(this, h*SmallBone.getWidth(), PlayGame.getHeight()-SmallBone.getHeight());\r\n\t\t\t\tthis.smallBones.add(smallBone);\r\n\t\t\t}\r\n\t\t\tfor (int n = 0; n<this.smallBones.size(); n++) {\r\n\t\t\t\tSmallBone theSM = this.smallBones.get(n);\r\n\t\t\t\ttheSM.draw();\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Once life is lower than 0, game over. \r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Game Over! Your score is \" + this.score);\r\n\t\t}\r\n\t\t\r\n\t}", "public void draw() {\n \n }", "@Override\n public void run() {\n drawingEndOfLevelUI = true;\n AI.endgameSFX.play(1.0f);\n\n }", "@Override\n public void run() {\n drawingEndOfLevelUI = true;\n AI.endgameSFX.play(1.0f);\n\n }", "@Override\n public void draw() {\n /** preparacion de la ventana **/\n background(255);\n lights();\n directionalLight(40, 90, 100, 1, 40, 40);\n\n translate(origin.x,origin.y);\n scale(zoom);\n\n\n /** entrada del usuario **/\n userInput();\n /** ejes X Y Z **/\n drawAxes();\n /** aplicar ik **/\n writePos();\n\n /** escala de los objetos**/\n scale(-1.2f);\n\n /** esfera que muestra la posicion en coord X Y Z\n *\n * X -> coord[0]\n * Y -> coord[1]\n * Z -> coord[2]\n *\n * **/\n pushMatrix();\n noStroke();\n fill(250, 100, 1);\n translate(-coord_cartesian[1] ,-coord_cartesian[2] -11,-coord_cartesian[0] );\n sphere(2);\n popMatrix();\n\n\n /**\n * Dibuja el brazo\n */\n pushMatrix();\n arm.drawArm();\n popMatrix();\n }", "public void Hit()\n {\n this.numLives--;\n //Oscillate visible and not if the number of lives is greater than zero\n if(this.numLives > 0)\n {\n this.damaged = true;\n this.Blink(1);\n\n }\n }", "public void draw() {\n\t\tif (fill) {\n\t\t\tapplet.noStroke();\n\t\t\tapplet.fill(color);\n\t\t} else {\n\t\t\tapplet.noFill();\n\t\t\tapplet.stroke(color);\n\t\t}\n\t\tapplet.rect(position.x, position.y, size.x, size.y);\n\t\tsliderButton.draw(new PVector(-10,0));\n\t}", "protected void end() {\n\t\tL.ogEnd(this);\n\t\t_xboxControllerToRumble.setRumble(_rumbleType, 0);\n\t}", "private void setEnd()\n {\n for(int i = 0; i < cities.size(); i++)\n System.out.println(\"Location: \"+i+\" \"+cities.get(i).getSourceName());\n \n System.out.println(\"Which city would you like to end at? Enter the location number\"); \n cities = getShortestPathTo(cities.get(input.nextInt())); \n }", "public void startExploration() {\n watermarkGoalTick = currentTick;\n }", "@Override\r\n public void show() {\r\n Gdx.input.setInputProcessor(combatController);\r\n }", "public void explode(Group sceneGroup) {\n\t setState(SpriteState.ANIMATION_ACTIVE);\n\t setvX(0);\n\t setvY(0);\n\n\t String imagePath = \"/explode.png\";\n\t jewelImage = new Image(Jewel.class.getResourceAsStream(imagePath));\n\t ImageView jewelImageView = new ImageView();\n\t jewelImageView.setImage(jewelImage);\n\t jewelImageView.setStyle(\"-fx-background-color:transparent;\");\n\t sceneGroup.getChildren().remove(getNode());\n\t sceneGroup.getChildren().add(jewelImageView);\n\t setNode(jewelImageView);\n\t \n\t FadeTransition ft = new FadeTransition(Duration.millis(EXPLODE_DURATION), getNode());\n\t ft.setFromValue(1.0);\n\t ft.setToValue(0.0);\n\t ft.setCycleCount(1);\n\t ft.setAutoReverse(false);\n\t ft.setOnFinished(event -> remove(sceneGroup));\n\t ft.play();\n\t }", "public void draw(){\n if(isVisible) {\n double diameter = calcularLado(area);\n double side = 2*diameter;\n Canvas circle = Canvas.canvas;\n circle.draw(this, color, \n new Ellipse2D.Double(xPosition, yPosition, \n (int)diameter, side));\n }\n }", "@Override\n protected void end() {\n Robot.hatchIntake.hatchOFF();\n }", "@Override\n protected void end() {\n Robot.toteLifterSubsystem.setEjectorState(EjectorState.STOPPED, 0.0);\n }", "@Override\r\n\tpublic void draw(GL10 gl, int variable) {\n\t\t\r\n\t}", "public void size(){\n while(infiniteLoop){\n System.out.println(\"Please choose a size: \");\n System.out.println(\"Press 1 - small\");\n System.out.println(\"Press 2 - medium\");\n System.out.println(\"Press 3 - large\");\n int size = keyboard.nextInt();\n /*\n * saves user choice to instant variable Tea\n * and continues to ask if choice is invalid\n */\n if(size == 1){\n Tea = Tea + \"A small, \";\n break;\n }\n else if(size == 2){\n Tea = Tea + \"A medium, \";\n break;\n }\n else if(size == 3){\n Tea = Tea + \"A large, \";\n break;\n }\n }\n }", "void drawPrompt(String message);", "@Override\r\n\tpublic void onEntityHit(LivingEntity ent) {\n\t\tParUtils.createParticle(Particles.EXPLOSION, loc, 0, 0, 0, 1, 0);\r\n\t\tplaySound(Sound.ENTITY_DRAGON_FIREBALL_EXPLODE,loc,1,1);\r\n\t\tent.setVelocity(dir.multiply(speed));\r\n\t\tdamage(ent, 2, caster);\r\n\t}", "protected void end() {\n\t\tdrive.setBoth(0);\n\t}", "public void draw(){\n if (! this.isFinished() ){\n UI.setColor(this.color);\n double left = this.xPos-this.radius;\n double top = GROUND-this.ht-this.radius;\n UI.fillOval(left, top, this.radius*2, this.radius*2);\n }\n }", "public void draw() {\n }" ]
[ "0.62135786", "0.6025953", "0.59662676", "0.59082395", "0.5816071", "0.580007", "0.57667965", "0.57378966", "0.538081", "0.53487194", "0.53281885", "0.5322606", "0.52939403", "0.527565", "0.5273538", "0.5252951", "0.52157736", "0.52121216", "0.518567", "0.51335174", "0.5111192", "0.5085626", "0.5081054", "0.50782824", "0.50735354", "0.5055985", "0.50516784", "0.5016809", "0.50026363", "0.49936467", "0.49811634", "0.49723485", "0.4968177", "0.4958154", "0.49550655", "0.49310145", "0.4929432", "0.49190447", "0.49121237", "0.4910594", "0.48945186", "0.48806384", "0.48804092", "0.487484", "0.48612353", "0.48556194", "0.4854451", "0.4827301", "0.48270464", "0.48213458", "0.4816157", "0.47988847", "0.47968543", "0.4789085", "0.47855", "0.47811922", "0.4778602", "0.47784376", "0.47767758", "0.47683844", "0.47679642", "0.47631982", "0.47385043", "0.4732483", "0.4720316", "0.47197124", "0.47180182", "0.47178155", "0.47141895", "0.47133917", "0.471244", "0.47072294", "0.47016937", "0.46978778", "0.46948728", "0.46933773", "0.4691207", "0.46896645", "0.46872216", "0.46864247", "0.4683166", "0.4683166", "0.46824306", "0.46760333", "0.46716797", "0.46710828", "0.46682438", "0.46665955", "0.4661712", "0.4659535", "0.4651658", "0.46501306", "0.46492955", "0.46426162", "0.46398312", "0.46342096", "0.46333566", "0.4628962", "0.46209663", "0.46203712" ]
0.49979678
29
End setExplode() Returns if a bomb will explode.
public boolean isExplode() { return explode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void explode() {\n\t\tthis.explosion = false;\n\t}", "public void explode(){\n\t\timage = explosion;\n\t\tisExploded = true;\n\t}", "public boolean checkExplode() {\n\t\tlong currentFuse = System.nanoTime() - this.getDropTime();\n\t\t\n\t\tif (currentFuse >= this.getFuseLength() || explode)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "public void explode() {\n\t\tSystem.out.println(\"HydrogenBomb blast from Explosion\");\n\t}", "private void explode()\n\t{\n\t\texplosion.setX(getX());\n\t\texplosion.setY(getY());\n\t\t\n\t\tif(!explosion.isOver())\n\t\t{\n\t\t\texplosion.update();\n\t\t\texplosion.drawObject();\n\t\t}\t\n\t\telse\n\t\t\talive = false;\n\t}", "public void setExplode(int explode) {\n\t\tthis.explode = explode;\n\t}", "public void callExplode () {\n if (noOfExplosives > 0){\n yVelocity -= 750;\n noOfExplosives--;\n isExploding = true;\n }\n }", "public void setExplode(boolean explode) {\n\t\tthis.explode = explode;\n\t}", "public Boolean getExplode() {\n\t\treturn explode;\n\t}", "public void setBombExploding(boolean bombExploding) {\n this.bombExploding = bombExploding;\n }", "public Encoding setExplode(Boolean value) {\n\t\texplode = value;\n\t\treturn this;\n\t}", "public boolean isExploded(){\n\t\treturn isExploded;\n\t}", "public boolean tick(){\n\t\tif(System.currentTimeMillis() - time > TICK_TIME){\n\t\t\tif(this.getSprite().equals(\"bomb1.gif\")){\n\t\t\t\tthis.setSprite(\"bomb2.gif\");\n\t\t\t}else{\n\t\t\t\tthis.setSprite(\"bomb1.gif\");\n\t\t\t}\n\t\t\ttime = System.currentTimeMillis();\n\t\t\tif(--maxTicks <= 0){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn exploded;\n\t}", "private void explode()\r\n {\n isExploded = true;\r\n Color test = Color.hsb(Utils.getRandom(0, 360), 1, 1);\r\n for (int i = 0; i < 100; i++)\r\n {\r\n Color var = test;\r\n for (int j = 0; j < Utils.getRandomInt(5); j++)\r\n {\r\n var = var.brighter();\r\n }\r\n Firework mark1 = new Firework(this.x, this.y, var);\r\n Main.child.add(mark1.getNode());\r\n }\r\n reset();\r\n }", "public boolean isBomb() {\n return type.equalsIgnoreCase(\"bomb\");\n }", "private void checkExplosionKill() {\n\t\t\n\t\texplosion.expand();\n\t\t\n\t\tfor (ArrayList<Invader> row : enemyArray) {\n\t\t\tfor (Invader a : row) {\n\t\t\t\tif (explosion.detectDownwardCollision(a.getX(), a.getY())) {\n\t\t\t\t\ta.setVisibility(false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public int useBomb(){\n //do harm while the animation start\n //cause harm to the boss\n println(\"BEFORE Main.boss.health: \"+Main.boss.health);\n int count = 0;\n if ((Main.boss.alive) && (Main.boss.posY != -1)){\n Main.boss.decreaseHealth(10);\n if(Main.boss.health <= 0){\n Main.boss.alive = false;\n Main.boss.deadTime = millis();\n Main.score += 100;\n bossKilled = true;\n }\n }\n println(\"AFTER Main.boss.health: \"+Main.boss.health);\n //remove all bullets\n Main.boss.emptyBullets();\n //kill all the enemies\n for(int j = 0; j < Main.enemies.size(); j++){\n Enemy tempEnemy = Main.enemies.get(j);\n tempEnemy.alive = false;\n tempEnemy.deadTime = millis();\n count ++;\n }\n // fill(0,0,0);\n // rect(0,0,width,height);\n return count;\n }", "public void explode(int x, int y) {\n\t\tremoveSprite(this.gameMap[x][y].getTile());\n\t\tthis.explosion = true;\n\t\tincrementNumMoves();\n\t\t\n\t}", "public int getExplode() {\n\t\treturn explode;\n\t}", "public void explode(float timeNow) {\n\t\tif (currentSprite_ != explosion_) {\n\t\t\tcurrentSprite_ = explosion_;\n\t\t\texplosionStartTime_ = timeNow;\n\t\t}\n\t}", "public boolean onBlockExploded(Explosion ex) {\n\t\treturn true;\n\t}", "public void hit() {\n if (explodeTime == 0) {\n if (isExplosive) {\n region = explodeAnimation.getKeyFrame(explodeTime, false);\n explodeTime += Gdx.graphics.getDeltaTime();\n width = region.getRegionWidth();\n height = region.getRegionHeight();\n position.sub(width / 2, height / 2);\n direction = new Vector2(1, 0);\n explosionSound.play();\n } else {\n impactSound.play();\n active = false;\n }\n }\n }", "boolean testBulletExplode(Tester t) {\n return t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), 1).explode(),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(8, 0), 2),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(-8, 0), 2),\n this.mt)))\n && t.checkExpect(\n new Bullet(4, Color.PINK, new MyPosn(100, 100), new MyPosn(0, 4), 2).explode(),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(4, 0), 3),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(-2, 3), 3),\n new ConsLoGamePiece(\n new Bullet(6, Color.PINK, new MyPosn(100, 100), new MyPosn(-2, -3), 3),\n this.mt))))\n && t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), -1).explode(),\n new MtLoGamePiece());\n }", "public boolean checkFrameValid() {\n return explosionFrame < explosions.length;\n }", "public void Fire()\n {\n Random random = new Random();\n int randNum = random.nextInt(limit);\n\n //Check to see if this bomb is dropped\n if(!owner.BehindInvader() && !this.Visible() && randNum == HIT_VAL)\n {\n //Set this bomb to visible\n this.Visible(true);\n this.PlaySound();\n this.x = this.owner.X();\n this.y = this.owner.Y();\n }\n\n //Check for collision with the defender\n if(Bomb.enemy.Visible() && this.Visible() && this.Collision(Bomb.enemy))\n {\n Bomb.enemy.Hit();\n this.Visible(false);\n }\n //Move the bomb down\n else if(this.Visible())\n {\n this.y++;\n\n //Check for collision with the floor\n if(this.y >= GameConstants.GROUND - this.imageHeight)\n {\n this.Visible(false);\n }\n //Check for collision with the barriers\n for(Barrier barrier : Bomb.barriers.Barriers())\n {\n for(BarrierBlock block : barrier.BarrierBlocks())\n {\n if(this.Collision(block))\n {\n block.Visible(false);\n //Removal could cause Comodification issue\n block.Damaged(true);\n this.Visible(false);\n //May not need this return\n return;\n }\n }\n }\n }\n }", "boolean testShipExplode(Tester t) {\n return t.checkExpect(this.ship1.explode(), this.mt)\n && t.checkExpect(this.ship3.explode(), this.mt);\n }", "private void tryToKillStuff(final Bomb b) {\n \t\tfor (Bomb bomb : bombs)\n \t\t\tif (bomb != b && !bomb.isCurrentlyExploding())\n \t\t\t\tif (eac.isInExplosionArea(b, bomb)) {\n \t\t\t\t\tbomb.goBomf();\n \t\t\t\t}\n \n \t\tif (eac.isInExplosionArea(b, bman.get(0))) {\n \t\t\talive = false;\n \t\t\tgui.lost();\n \t\t}\n \t}", "public void explode(int posX, int posY, PVector force) {\n\t\tif (posX >= gridX || posY >= gridY) {\n\t\t\treturn;\n\t\t}\n\n\t\thasExploded = true;\n\n\t\t// explosion force is a direct, linear blast\n\t\tPVector vPos = new PVector(posX, posY);\n\t\tPVector unitForce = force.normalize(null);\n\t\tapp.println(unitForce);\n\n\t\twhile (vPos.x < gridX && vPos.y < gridY && vPos.x >= 0 & vPos.y >= 0) {\n\t\t\tcells[app.round(vPos.x) + (app.round(vPos.y) * gridX)].setVelocity(force);\n\t\t\tvPos.add(unitForce);\n\n\t\t\tvPos.x = app.round(vPos.x);\n\t\t\tvPos.y = app.round(vPos.y);\n\t\t}\n\t\t// cells[posX + (posY * gridX)].setVelocity(force);\n\t}", "public void addBomb() {\n\t\tthis.nbSpiritBombs++;\n\t}", "boolean testBulletExplodeAcc(Tester t) {\n return t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), 1).explodeAcc(1, 0),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(8, 0), 2),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(-8, 0), 2),\n this.mt)))\n && t.checkExpect(\n new Bullet(2, Color.PINK, new MyPosn(50, 50), new MyPosn(0, -8), 1).explodeAcc(1, 1),\n new ConsLoGamePiece(new Bullet(4, Color.PINK, new MyPosn(50, 50), new MyPosn(-8, 0), 2),\n this.mt))\n && t.checkExpect(new Bullet().explodeAcc(3, 8), new MtLoGamePiece());\n }", "@Override\n public boolean shouldDropItemsOnExplosion(Explosion explosion) {\n return super.shouldDropItemsOnExplosion(explosion);\n }", "public boolean checkExplosiveState () { return isExploding;}", "@EventHandler\r\n \tpublic void onEntityExplode(EntityExplodeEvent event) \r\n \t{\n \t\tif (event.getEntityType() == EntityType.PRIMED_TNT) \r\n \t\t{\r\n \t\t\tLocation eventLoc = event.getLocation();\r\n \t\t\tServer server = plugin.getServer();\r\n \t\t\t\r\n \t\t\t// Red towers\r\n \t\t\tif (redBuildings.DestroyBuilding(BuildingType.Tower, eventLoc))\r\n \t\t\t{\r\n \t\t\t\ttowerCounts.put(\"red\", redBuildings.BuildingsCount(BuildingType.Tower));\r\n\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"A \"+ ChatColor.RED + \"RED\" + ChatColor.YELLOW + \" Tower Has Been Destroyed! (\" + towerCounts.get(\"red\") + \" remaining)\");\r\n\r\n\t\t\t\t// Check if all towers are destroyed\r\n \t\t\t\t\r\n \t\t\t\tif (towerCounts.get(\"red\") == 0) \r\n \t\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"All \"+ ChatColor.RED + \"RED\" + ChatColor.YELLOW + \" Towers Are Destroyed! Defend the NEXUS!\");\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t// Blue Towers\r\n \t\t\tif (blueBuildings.DestroyBuilding(BuildingType.Tower, eventLoc))\r\n \t\t\t{\r\n \t\t\t\ttowerCounts.put(\"blue\", blueBuildings.BuildingsCount(BuildingType.Tower));\r\n\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"A \"+ ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" Tower Has Been Destroyed! (\" + towerCounts.get(\"blue\") + \" remaining)\");\r\n \r\n \t\t\t\t// Check if all towers are destroyed\r\n \t\t\t\tif (towerCounts.get(\"blue\") == 0) \r\n \t\t\t\t\tserver.broadcastMessage(ChatColor.YELLOW + \"All \"+ ChatColor.BLUE + \"BLUE\" + ChatColor.YELLOW + \" Towers Are Destroyed! Defend the NEXUS!\");\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t\r\n \t\t\t// Nexus\r\n \t\t\tif (redBuildings.DestroyBuilding(BuildingType.Nexus, eventLoc))\r\n \t\t\t{\r\n \t\t\t\tserver.broadcastMessage(ChatColor.RED + \"The RED NEXUS Has Been Destroyed!\" + ChatColor.BLUE + \" BLUE WINS!\");\r\n \t\t\t}\r\n \t\t\telse if (blueBuildings.DestroyBuilding(BuildingType.Nexus, eventLoc))\r\n \t\t\t{\r\n \t\t\t\tserver.broadcastMessage(ChatColor.BLUE + \"The BLUE NEXUS Has Been Destroyed!\" + ChatColor.RED + \" RED WINS!\");\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t}", "public Image getExplosion(){\n\t\treturn explosion;\n\t}", "private boolean isExplode(int row, int col){\r\n if(map[row][col].getSafe() == true){\r\n return false;\r\n }\r\n else{\r\n return true;\r\n }\r\n }", "@Override\n public void action() throws Exception {\n if (!can_hit || count > 0)\n count++;\n if (count == 100) {\n can_hit = true;\n }\n else if (count == this.bombCountLimit) {\n bombPlaced--;\n count = 0;\n }\n\n if(Gdx.input.isKeyJustPressed(Input.Keys.SPACE)){\n go_ia=!go_ia;\n }\n if(go_ia){\n ia_count++;\n if(ia_count==11)\n ia_count=0;\n }\n if(go_ia&&ia_count==10) {\n\n int move = -1;\n int mode = 0;\n\n\n\n log.info(\"count bomb: \" + count);\n\n double enemyDist = sqrt(pow((playerX - enemyX), 2)+pow((playerY - enemyY), 2));\n if(powerUpFree) {\n currentGoalX = goalX;\n currentGoalY = goalY;\n if(deepSearch){\n currentGoalX = 1;\n currentGoalY = 1;\n }\n if(enemyDist < 7 && !enemyClean){\n if(enemyDist <= bombRange && sqrt(pow((playerX - goalX), 2)+pow((playerY - goalY), 2)) > 2)\n mode = 2;\n\n }\n }\n\n\n\n if (!can_hit) {\n mode = 1;\n log.info(\"can't hit\");\n }\n else if(doorLocked) {\n mode = 3;\n }\n /*if (count > 0 && count <= this.bombCountLimit && (playerX!=bombGoalX || playerY!=bombGoalY)){\n currentGoalX = bombGoalX;\n currentGoalY = bombGoalY;\n log.info(\"bomb goal\");\n }*/\n\n\n\n\n log.info(\"CURRENT goal x: \" + currentGoalX +\", CURRENT goal y: \" + currentGoalY);\n log.info(\"CURRENT bombgoal x: \" + bombGoalX +\", current bombgoal y: \" + bombGoalY);\n log.info(\"CURRENT player x: \" + playerX +\", current player y: \" + playerY);\n log.info(\"powerup free: \" + powerUpFree);\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n\n ArrayList<Action> actions = new ArrayList<>();\n ArrayList<Wall> walls = new ArrayList<>();\n ArrayList<EnemyPath> enemyPaths = new ArrayList<>();\n ArrayList<Around> around = new ArrayList<>();\n\n playerX = this.x/40;\n playerY = this.y/40;\n\n for( int i = 0; i < 4; i++ ){\n if (can_move[i]) {\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n walls.add(new Wall(i, 0));\n }\n else if (can_destroy[i]){\n walls.add(new Wall(i, 1));\n if (mode != 1 || checkSafe(i))\n actions.add(new Action(i));\n }\n else\n walls.add(new Wall(i, 3));\n if(freeAround[i])\n around.add(new Around(i, 0));\n else\n around.add(new Around(i, 2));\n\n if ( !enemyFree[i] && enemyDist > bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n if( !enemyFree[i] && enemyDist <= bombRange || (bombRange == 1 && enemyDist <= 2))\n enemyPaths.add(new EnemyPath(i, 2));\n else if (enemyDist <= bombRange)\n enemyPaths.add(new EnemyPath(i, 1));\n else if(enemyFree[i])\n enemyPaths.add(new EnemyPath(i, 0));\n }\n if(sqrt(pow((playerX - bombGoalX), 2)+pow((playerY - bombGoalY), 2)) > bombRange ||\n mode != 1 || (playerX != bombGoalX && playerY != bombGoalY))\n actions.add(new Action(4));\n\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n\n AnswerSets answers = ai.getAnswerSets();\n while(answers.getAnswersets().get(0).getAnswerSet().isEmpty()){\n ai.load_fact( new Position(playerX, playerY),\n actions,\n makeDistances(buildDistances(currentGoalX, currentGoalY)),\n makeBombDistances(buildDistances(bombX, bombY)),\n makeEnemyDistances(buildDistances(enemyX, enemyY)),\n walls,\n around,\n enemyPaths,\n new Mode(mode)\n );\n answers = ai.getAnswerSets();\n }\n\n for (AnswerSet an : answers.getAnswersets()) {\n Pattern pattern = Pattern.compile(\"^choice\\\\((\\\\d+)\\\\)\");\n Matcher matcher;\n for (String atom : an.getAnswerSet()) {\n //System.out.println(atom);\n matcher = pattern.matcher(atom);\n\n if (matcher.find()) {\n log.info(\"DLV output: \" + matcher.group(1));\n move = Integer.parseInt(matcher.group(1));\n }\n }\n }\n if (move == 1) {\n set_allCan_move(0, true);\n this.x += 40;\n }\n else if (move == 2) {\n set_allCan_move(0, true);\n this.y += 40;\n }\n else if (move == 3) {\n set_allCan_move(0, true);\n this.y -= 40;\n }\n else if (move == 0) {\n set_allCan_move(0, true);\n this.x -= 40;\n }\n else if (move == 4 && can_hit && (playerX != goalX || playerY != goalY)) {\n ai_hit = true;\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n moves.add(move);\n ai.clear();\n }\n else{\n playerX = this.x/40;\n playerY = this.y/40;\n }\n\n\n if (Gdx.input.isKeyPressed(Input.Keys.A)&&can_move[0]) {\n set_allCan_move(0, true);\n this.x -= 5;\n }\n if (Gdx.input.isKeyPressed(Input.Keys.D)&&can_move[1]) {\n set_allCan_move(0, true);\n this.x += 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.W))&&can_move[2]) {\n this.y += 5;\n set_allCan_move(0, true);\n }\n if (Gdx.input.isKeyPressed((Input.Keys.S))&&can_move[3]){\n set_allCan_move(0, true);\n this.y -= 5;\n }\n if (Gdx.input.isKeyPressed((Input.Keys.Z)) && can_hit) {\n can_hit = false;\n this.bombX=playerX;\n this.bombY=playerY;\n this.bombGoalX=playerX;\n this.bombGoalY=playerY;\n bombPlaced++;\n }\n\n if (Gdx.input.isKeyPressed((Input.Keys.N)))\n log.info(\"CURRENT ENEMY: [\" + enemyX + \", \" + enemyY + \"] \");\n }", "public void moveTowards(){\n \n \n \n if(!exploded){\n \n \n move(speed);\n \n if(isTouching(Enemy.class)){\n move(explosionRadius); \n \n inRange = (ArrayList) getObjectsInRange(explosionRadius + 25, Enemy.class);\n for(Enemy e : inRange){\n e.hit(damage);\n }\n \n //explode\n exploded = true;\n \n image = new GreenfootImage(\"50x50 aoe.png\");\n image.scale(explosionRadius*2, explosionRadius*2);\n setImage(image);\n //getWorld().removeObject(this);\n }\n else if (isAtEdge())\n {\n getWorld().removeObject(this);\n }\n else if ( radius < distance) {\n getWorld().removeObject(this); \n }\n }\n else{\n setImage(image);\n image.setTransparency(image.getTransparency() - 5);\n if(image.getTransparency() <= 0) getWorld().removeObject(this);\n }\n }", "public void bomb() {\n\t\tbomb.setPosition(sprite.getX(),sprite.getY());\n\t\tsprite = bomb;\n\t}", "public boolean getThrowBomb() {\n return throwBomb;\n }", "void deathHandler(Enemy e) {\n\n if (e != null) {\n Explosion rip = new Explosion();\n rip.kaboom.moveToPoint(e.eTank.getX(), e.eTank.getY());\n // println(\"made enemy\");\n rip.kaboom.frontAngle(90);\n rip.kaboom.turn(90);\n explosion.add(rip);\n }\n for (Explosion exp: explosion) {\n if (exp.kaboomCounter > 1) {\n exp.kaboom.display();\n }\n // if (exp.kaboomCounter < 1) {\n // explosion.remove(exp);\n // }\n // else {\n exp.kaboomCounter -= 3;\n // println(exp.kaboomCounter);\n // println(explosion.size());\n // }\n }\n\n}", "public void tickBombs() {\r\n\t\tfor (int i = 0; i < bombs.length; i++) {\r\n\t\t\tBomb b = bombs[i];\r\n\t\t\tif (b != null) {\r\n\t\t\t\tif (b.isTicking()) {\r\n\t\t\t\t\tb.tick();\r\n\t\t\t\t} else if (b.isExploding()) {\r\n\t\t\t\t\tif (b.getExplosionTicks() == b.getMaxExplosionTicks()) {\r\n\t\t\t\t\t\texplodeBomb(b);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tb.tick();\r\n\t\t\t\t} else if (b.hasFinished()) {\r\n\t\t\t\t\tclearExplosions(b);\r\n\t\t\t\t\tbombs[i] = null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public boolean canDropFromExplosion(Explosion explosionIn)\n {\n return false;\n }", "public void doExplosionB(boolean spawnParticles) {\n this.world.playSound((EntityPlayer) null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);\n\n if (world instanceof WorldServer) {\n if (this.size >= 2.0F) {\n ((WorldServer) world).spawnParticle(EnumParticleTypes.EXPLOSION_HUGE, true, this.x, this.y, this.z, 2, 0, 0, 0, 0d);\n } else {\n ((WorldServer) world).spawnParticle(EnumParticleTypes.EXPLOSION_LARGE, true, this.x, this.y, this.z, 2, 0, 0, 0, 0d);\n }\n }\n\n }", "public boolean getAddBomb() {\n return addBomb;\n }", "public void updatePosition()\r\n\t{\r\n\t\tsuper.updatePosition();\r\n\t\t\r\n\t\t// Update the bomb's position\r\n\t\tPoint nextPosition = getPath().getLocation(t++);\r\n\t\tsetX(nextPosition.x + startX);\r\n\t\tint nextY = nextPosition.y + startY;\r\n\t\tsetY(nextY);\r\n\t\t\r\n\t\t// Blow the bomb up after it reaches mid screen\r\n\t\tif (t > 120 || (nextY < (Global.WINDOW_HEIGHT >> 1) && t > 30))\r\n\t\t{\r\n\t\t\tbombSound.stop();\r\n\t\t\tsuper.remove();\r\n\t\t\tGamePanel.makeExplosion(getX(), getY());\r\n\t\t\t\r\n\t\t\t// Injure all the enemies on the screen\r\n\t\t\t\r\n\t\t\tArrayList<Sprite> sprites = GamePanel.getSprites();\r\n\t\t\t\r\n\t\t\tfor (int i = 0; i < sprites.size(); i++)\r\n\t\t\t{\r\n\t\t\t\tif (sprites.get(i) instanceof Enemy)\r\n\t\t\t\t{\r\n\t\t\t\t\tEnemy enemy = (Enemy) sprites.get(i);\r\n\t\t\t\t\t\r\n\t\t\t\t\tint currentYTop = GamePanel.getLevel().getCurrentY() +\r\n\t\t\t\t\t\tBLOCKS_PER_Y - 1;\r\n\t\t\t\t\tboolean visibleX = enemy.getX() + enemy.getWidth() >= 0 &&\r\n\t\t\t\t\t\tenemy.getX() <= Global.WINDOW_WIDTH;\r\n\t\t\t\t\tboolean yOnScreen = enemy.getY() <= Global.WINDOW_HEIGHT +\r\n\t\t\t\t\t\t100;\r\n\t\t\t\t\tboolean visibleY = enemy.getYBlock() >= currentYTop &&\r\n\t\t\t\t\t\tyOnScreen;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (visibleX && visibleY && enemy.isAlive())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tenemy.offsetHealth(-300);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (enemy.getHealth() <= 0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tenemy.remove();\r\n\t\t\t\t\t\t\tGamePanel.offsetNumLevelPoints(100);\r\n\t\t\t\t\t\t\tGamePanel.makeExplosion(enemy.getX(), enemy.getY());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public boolean checkBombCollision(){\n\t\tint tempNum=Physics.hitBomb(this, game.getBombList());\n\t\tif(tempNum!=-1){\n\t\t\tfor(int i=0;i<game.getBombList().get(tempNum).initiallyOnBomb.size();i++){\n\t\t\t\tif(game.getBombList().get(tempNum).initiallyOnBomb.get(i)==this){\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public void explode(int [] posicao) throws InterruptedException{\n\t\tTabuleiro tab = JogoActivity.tabuleiroInit;\n\t\tfloat range= JogoActivity.nivel.getExplosionRange();\n\t\tfloat explosion_timeout= JogoActivity.nivel.getExplosionTimeout();\n\t\tint i;\n\t\t\n\t\tSystem.out.println(\"range: \"+range);\n\t\tSystem.out.println(\"x y: \"+ posicao[0] + \" \"+ posicao[1]);\n\t\t\n\t\tThread.sleep((int)(1000 * explosion_timeout));\n\t\t\n\t\ttab.setTabuleiro(posicao[0], posicao[1], 'E');\n\n\t\t//range e 2 e ele so faz pa 1\n\t\tfor (i=1; i<range; i++){\n\t\t\tPutExplosion(posicao, i, 'E');\n\t\t\t\n\t\t/*\tif(tab.getTabuleiro(posicao[0]+i, posicao[1]) != 'W')\n\t\t\t\ttab.setTabuleiro(posicao[0]+i, posicao[1], 'E');\n\n\t\t\tif(tab.getTabuleiro(posicao[0], posicao[1]+i) != 'W')\n\t\t\t\ttab.setTabuleiro(posicao[0], posicao[1]+i, 'E');\n\n\t\t\tif(tab.getTabuleiro(posicao[0]-i, posicao[1]) != 'W')\n\t\t\t\ttab.setTabuleiro(posicao[0]-i, posicao[1], 'E');\n\n\t\t\tif(tab.getTabuleiro(posicao[0], posicao[1]-i) != 'W')\n\t\t\t\ttab.setTabuleiro(posicao[0], posicao[1]-i, 'E');\n*/\n\t\t}\n\t\t\n\t\tfloat explosion_duration = JogoActivity.nivel.getExplosionDuration();\n\n\t\tThread.sleep((int)(1000 * explosion_duration));\n\t\ttab.setTabuleiro(posicao[0], posicao[1], '-');\n\n\t\tfor (i=1; i<range; i++){\n\t\t\tPutExplosion(posicao, i, '-');\n\t\t\n\t\t\t/*if(tab.getTabuleiro(posicao[0]+i, posicao[1]) == 'E')\n\t\t\t\ttab.setTabuleiro(posicao[0]+i, posicao[1], '-');\n\n\t\t\tif(tab.getTabuleiro(posicao[0], posicao[1]+i) == 'E')\n\t\t\t\ttab.setTabuleiro(posicao[0], posicao[1]+i, '-');\n\n\t\t\tif(tab.getTabuleiro(posicao[0]-i, posicao[1]) == 'E')\n\t\t\t\ttab.setTabuleiro(posicao[0]-i, posicao[1], '-');\n\n\t\t\tif(tab.getTabuleiro(posicao[0], posicao[1]-i) == 'E')\n\t\t\t\ttab.setTabuleiro(posicao[0], posicao[1]-i, '-');\n*/\n\t\t\t\n\t\t}\n\n \n\n\t}", "public void plantBomb()\n {\n if(this.getBombs() > 0)\n {\n bController.addBomb(this.getxPos(), this.getyPos(), 25);\n this.setBombs(getBombs() - 1);\n }\n }", "@Override\n public void explode(ArrayList<ScreenObject> level) {\n level.add(new Explosion(position.x, position.y, 100, 100,\n Explosion.expSubtype.YELLOW));\n }", "@Override\n public boolean collide(Entity e) {\n if (e.isExplosion() || (e.isBomb() && (((Bomb) e).isMissile()))) {\n kill();\n ArrayList<Mob> m = Board.getInstance().getMobsAtExcluding(this.getXTile(), this.getYTile(), this);\n for (Mob mob1 : m) {\n if (mob1.isAlive()) {\n mob1.kill();\n }\n }\n return true;\n }\n return false;\n }", "public boolean checkIfPlayerHoldsExplosive () { return noOfExplosives > 0; }", "abstract public void triggerExplosion();", "public void checkBombs(final Integer tile){\n if(bombs_location.contains(tile)){\n if(invulnerable){\n showTimedAlertDialog(\"PHEW!\", \"Your GODMODE saved your life\", 5);\n invulnerable = false;\n return;\n }\n invulnerable = false;\n Lejos.makeSound_Boom();\n hp = hp-1;\n DrawHP();\n bombs_location.remove(tile);\n final Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n MultiplayerManager.getInstance().SendMessage(\"bomb_remove \" + revertTile(tile).toString());\n }\n }, 1000);\n if(hp==0){\n onLose();\n }\n showTimedAlertDialog(\"PWNED!\", \"You just stepped on a mine\", 3);\n }\n }", "public boolean canBombThisEnemyAndRunSafe(Player p1, Player p2){\n Maze maze = state.getMaze();\n Cell[][] tabcells = maze.getCells();\n //Cells in range of p1 corresponds to the cells p1 can put a bomb on associated with the number of moves needed\n //to go to the cell where p1 would be when putting the bomb\n ArrayList<Journey> journeysinrangeofp1 = new ArrayList<Journey>();\n //Available moves to flee represents how many moves p1 would still have to run away from its bomb\n int availablemovestoflee;\n //Available cells to flee represents the cells p1 can run to after putting the bomb\n List<Cell> availablecellstoflee = new ArrayList<>();\n List<Cell> bombingavailableslots = new ArrayList<Cell>();\n //Bombing available slots corresponds to the cells where a bomb could be placed to kill p2\n for(int i = 0; i<=p1.getBombRange();i++){\n if((p2.getX()-i)>=0){\n bombingavailableslots.add(tabcells[p2.getX()-i][p2.getY()]);\n }\n if((p2.getX()+i)<maze.getWidth()){\n bombingavailableslots.add(tabcells[p2.getX()+i][p2.getY()]);\n }\n if((p2.getY()-i)>=0){\n bombingavailableslots.add(tabcells[p2.getX()][p2.getY()-i]);\n }\n if((p2.getY()+i)<maze.getHeight()){\n bombingavailableslots.add(tabcells[p2.getX()][p2.getY()+i]);\n }\n }\n journeysinrangeofp1 = getReacheableCellsInRangeWithPath(tabcells[p1.getX()][p1.getY()],p1.getNumberMoveRemaining()+1);\n for(Journey j:journeysinrangeofp1){\n if(bombingavailableslots.contains(j.getDestinationcell())){\n availablemovestoflee = p1.getNumberMoveRemaining() - j.getNbmoves();\n availablecellstoflee = getReacheableCellsInRange(j.getDestinationcell(), availablemovestoflee);\n for(Cell c: availablecellstoflee){\n if(wouldBeSafeFromBomb(p1,j.getDestinationcell(),c)){\n if(isSafeFromAllPlayersExcept(c,p1,p2)){\n return true;\n }\n }\n }\n }\n }\n return false;\n }", "public void explosionDetonate(Level level, Explosion explosion, List<Entity> affectedEntities) {\n\n\t\tif (level.isClientSide() || explosion.getToBlow().isEmpty()) {\n\t\t\treturn;\n\t\t}\n\n\t\tList<BlockPos> list = new ArrayList<>(explosion.getToBlow());\n\t\texplosion.clearToBlow();\n\t\tMap<ChunkDimPos, Boolean> map = new HashMap<>();\n\n\t\tfor (BlockPos pos : list) {\n\t\t\tif (map.computeIfAbsent(new ChunkDimPos(level, pos), cpos ->\n\t\t\t{\n\t\t\t\tClaimedChunk chunk = FTBChunksAPI.getManager().getChunk(cpos);\n\t\t\t\treturn chunk == null || chunk.allowExplosions();\n\t\t\t})) {\n\t\t\t\texplosion.getToBlow().add(pos);\n\t\t\t}\n\t\t}\n\t}", "public void handleExplosion(EntityExplodeEvent event) {\n final int radius = ConfigManager.getInstance().getRadius();\n\n // cancel if radius is < 0\n if (radius < 0) {\n ObsidianDestroyer.LOG.warning(\"Explosion radius is less than zero. Current value: \" + radius);\n return;\n }\n\n final Entity detonator = event.getEntity();\n\n if (detonator == null) {\n // some other plugins create new explosions passing 'null' as\n // Entity, so we need this here to fix it\n return;\n }\n\n final Location detonatorLoc = detonator.getLocation();\n final String eventTypeRep = event.getEntity().toString();\n //ObsidianDestroyer.debug(\"EventTypeRep: \" + eventTypeRep);\n\n // List of blocks that will be removed from the blocklist\n List<Block> blocksIgnored = new ArrayList<Block>();\n\n // Hook into cannons... (somehow)\n // TODO: Hook into cannons again.\n if (eventTypeRep.equals(\"CraftSnowball\")) {\n List<Location> hitLocs = new ArrayList<Location>();\n Iterator<Block> iter = event.blockList().iterator();\n while (iter.hasNext()) {\n Block block = iter.next();\n hitLocs.add(block.getLocation());\n if (hitLocs.contains(block.getLocation())) {\n continue;\n }\n if (ChunkManager.getInstance().blowBlockUp(block.getLocation(), event.getEntity().toString())) {\n blocksIgnored.add(block);\n }\n }\n }\n\n // Liquid overrides\n if (ConfigManager.getInstance().getBypassAllFluidProtection()) {\n LiquidExplosion.Handle(event);\n } else if ((detonatorLoc.getBlock().isLiquid()) && (ConfigManager.getInstance().getFluidsProtectIndustructables())) {\n return;\n }\n\n // Check explosion blocks\n for (Block block : event.blockList()) {\n if (ChunkManager.getInstance().blowBlockUp(block.getLocation(), event.getEntity().toString())) {\n blocksIgnored.add(block);\n }\n }\n\n // For materials that are not normally destructible.\n for (int x = -radius; x <= radius; x++) {\n for (int y = -radius; y <= radius; y++) {\n for (int z = -radius; z <= radius; z++) {\n Location targetLoc = new Location(detonator.getWorld(), detonatorLoc.getX() + x, detonatorLoc.getY() + y, detonatorLoc.getZ() + z);\n if (detonatorLoc.distance(targetLoc) <= radius) {\n if (blocksIgnored.contains(targetLoc.getBlock())) {\n continue;\n }\n if (!MaterialManager.getInstance().contains(targetLoc.getBlock().getType().name()) || targetLoc.getBlock().getType() == Material.AIR) {\n continue;\n }\n if (ChunkManager.getInstance().blowBlockUp(targetLoc, event.getEntity().toString())) {\n blocksIgnored.add(targetLoc.getBlock());\n }\n }\n }\n }\n }\n\n // Remove managed blocks\n for (Block block : blocksIgnored) {\n event.blockList().remove(block);\n }\n }", "ShooterExplosion(Parcel in) {\n super(in);\n explosionFrame = in.readInt();\n }", "public void doExplosionA() {\n float f3 = this.size;\n int k1 = MathHelper.floor(this.x - (double) f3 - 2.0F);\n int l1 = MathHelper.floor(this.x + (double) f3 + 2.0F);\n int i2 = MathHelper.floor(this.y - (double) f3 - 2.0F);\n int i1 = MathHelper.floor(this.y + (double) f3 + 2.0F);\n int j2 = MathHelper.floor(this.z - (double) f3 - 2.0F);\n int j1 = MathHelper.floor(this.z + (double) f3 + 2.0F);\n\n f3 *= 2.0f;\n\n List<Entity> list = this.world.getEntitiesWithinAABBExcludingEntity(this.explosionSource, new AxisAlignedBB((double) k1, (double) i2, (double) j2, (double) l1, (double) i1, (double) j1));\n Vec3d vec3d = new Vec3d(this.x, this.y, this.z);\n\n for (int k2 = 0; k2 < list.size(); ++k2) {\n Entity entity = list.get(k2);\n\n if (!entity.isImmuneToExplosions()) {\n attackEntity(entity);\n double d12 = entity.getDistance(this.x, this.y, this.z); /// (double) f3;\n\n if (d12 <= f3*1.5) {\n double d5 = entity.posX - this.x;\n double d7 = entity.posY + (double) entity.getEyeHeight() - this.y;\n double d9 = entity.posZ - this.z;\n double d13 = (double) MathHelper.sqrt(d5 * d5 + d7 * d7 + d9 * d9);\n\n if (d13 != 0.0D) {\n d5 = d5 / d13;\n d7 = d7 / d13;\n d9 = d9 / d13;\n double d14 = (double) this.world.getBlockDensity(vec3d, entity.getEntityBoundingBox());\n double d10 = (1.0D - (d12/f3)) * d14;\n //TODO fix\n// attackEntity(entity);\n// entity.attackEntityFrom(DamageSource.GENERIC, 10);\n// entity.attackEntityFrom(DamageSource.GENERIC, (float) ((int) ((d10 * d10 + d10) / 2.0D * 7.0D * (double) f3 + 1.0D)));\n double d11 = d10;\n\n if (entity instanceof EntityLivingBase) {\n d11 = EnchantmentProtection.getBlastDamageReduction((EntityLivingBase) entity, d10);\n }\n\n entity.motionX += d5 * d11;\n entity.motionY += d7 * d11;\n entity.motionZ += d9 * d11;\n\n if (entity instanceof EntityPlayer) {\n EntityPlayer entityplayer = (EntityPlayer) entity;\n\n if (!entityplayer.isSpectator() && (!entityplayer.isCreative() || !entityplayer.capabilities.isFlying)) {\n this.playerKnockbackMap.put(entityplayer, new Vec3d(d5 * d10, d7 * d10, d9 * d10));\n }\n }\n }\n }\n }\n }\n }", "boolean isOverflow() {\r\n\r\n if (children.size() > branchingFactor) {\r\n return true;\r\n }\r\n return false;\r\n }", "public List<Sq<Sq<Cell>>> explosion() {\n\t\tList<Sq<Sq<Cell>>> explosion = new ArrayList<>();\n\n\t\texplosion.add(explosionArmTowards(Direction.N));\n\t\texplosion.add(explosionArmTowards(Direction.E));\n\t\texplosion.add(explosionArmTowards(Direction.S));\n\t\texplosion.add(explosionArmTowards(Direction.W));\n\n\t\treturn explosion;\n\t}", "public void explosion(){\n explosionEffect.play(pitch, volume);\n }", "public void clickExplode() {\n\t\tsetBorder(UNLOCKED_BORDER);\n\t\tsetIcon(HIT_MINE_PIC);\n\t\tsetBackground(Color.RED);\n\t\tunlocked = true;\n\t}", "public String getBomb() {\n\t\treturn bomb;\n\t}", "public void checkBombs() {\n for (Bomb bomb : bombs) {\n if (ship.intersects(bomb)) {\n ship.die();\n bomb.die();\n }\n\n if (bomb.getY() >= height)\n bomb.die();\n }\n }", "boolean isOverflow() {\r\n\r\n if (values.size() > branchingFactor - 1) {\r\n return true;\r\n }\r\n return false;\r\n }", "public static void playExplosion()\n {\n combust.play();\n if (combust.audioClip.getFramePosition() ==\n combust.audioClip.getFrameLength())\n {\n combust.audioClip.setFramePosition(0);\n combust.audioClip.stop();\n }\n }", "@Override\n public void run() {\n mExplosionField.explode(layout);\n mExplosionField.explode(mpb);\n }", "@Override\n\tpublic boolean performsAttackAnimation() {\n\t\tif (phase == AbyssalSirePhase.MAGIC_COMBAT && attack == AbyssalSireAttack.POISON) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "boolean isExplosivesUsed();", "private void placeBomb() {\n\t\tint x = ran.nextInt(worldWidth);\n\t\tint y = ran.nextInt(worldHeight);\n\n\t\tif (!tileArr[x][y].hasBomb()) {\n\t\t\ttileArr[x][y].setBomb(true);\n\n\t\t\tindex.add(\"Index\" + x + \",\" + y); // ADDED COMPONENT\n\t\t\trevealed.put(index, true);\n\t\t\tindex.removeFirst();\n\n\t\t} else {\n\t\t\tindex.add(\"Index\" + x + \",\" + y); // ADDED COMPONENT\n\t\t\trevealed.put(index, false);\n\t\t\tindex.removeFirst();\n\t\t\tplaceBomb();\n\t\t}\n\n\t}", "public Bomb(){\n this.num_uses = 2147483647; // Constant set num times we can use this\n }", "public boolean isFarmBig() {\r\n if(usedPopulation / maxPopulation > 0.8) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }", "public boolean isFireDamage();", "public void placeBombIntent(View v){\n\n if(!myTurn){\n showToast(\"Wait for your turn imbecile\");\n return;\n }\n if(bombs>0 && canPlaceBomb){\n if(!bombIntent){\n showToast(\"Touch a tile to place a bomb\");\n bombIntent = true;\n }else{\n showToast(\"No longer placing bombs\");\n bombIntent = false;\n }\n }\n }", "public void animate() {\n\t\t\n\t\t// already exploded\n\t\tif (disabled > explodeTime) {\n\t\t\treturn;\n\t\t} // if\n\n\t\t// exploding now\n\t\tif (disabled > 0) {\n\t\t\tsphere.explode();\n\t\t\tdisabled++;\n\t\t\treturn;\n\t\t} // if\n\t\t\n\t\t// move sphere and this\n\t\tlocation.add(movement);\n\t\tsphere.move(movement);\n\t\t\n\t\t// bounce back if too far out\n\t\tif(location.distance(new Tuple(0, 0, 0)) > FIELD_SIZE) {\n\t\t\tmovement.scale(-1, -1, -1);\n\t\t} // if\n\t}", "public void dropExplosives() {\n // Updates the time elapsed for each of the explosives\n for (int i=0; i<this.explosives.size(); i++) {\n Explosive dormantExplosive = this.explosives.get(i);\n dormantExplosive.increaseTime();\n }\n // If the Airplane has reached the end, doesn't detect any enemies\n // Isn't deleted straight away as it needs to wait for explosives to detonate\n if (super.outOfBounds()) {return;}\n this.timeElapsedDrop += ShadowDefend.getTimescale()/FPS;\n //Adds a new explosive\n if (this.timeElapsedDrop >= this.dropTime) {\n this.timeElapsedDrop = 0;\n Explosive newExplosive = new Explosive(super.getCenter());\n // Centers the explosive at the airplane's current position\n newExplosive.centerRectAt(super.getCenter());\n this.explosives.add(newExplosive);\n // Generates a new drop time in range\n this.dropTime = generateDropTime();\n this.numDropped++;\n }\n\n }", "public boolean isOverflow() {\n\t\treturn (children.size() >= degree + 1) || (data.size() >= degree);\n\t}", "boolean testShipExplodeAcc(Tester t) {\n return t.checkExpect(this.ship1.explodeAcc(0, 0), this.mt)\n && t.checkExpect(this.ship12.explodeAcc(10, 20), this.mt);\n }", "public boolean isSetLimb() {\n return this.limb != null;\n }", "public void makeTombstone()\r\n\t\t{\r\n\t\t\tisTombstone = true;\r\n\t\t}", "public void isStillInCombat() {\n isInCombat = enemiesInCombat.size() > 0;\n }", "void explode(int x, int y) {\n //Implemented \n }", "private boolean shootAt(Enemy enemy) {\n if (nextAttack == 0) {\n enemy.setHealth(enemy.getHealth() - tower.getDamage());\n shotEnemy = enemy;\n return true;\n }\n return false;\n }", "protected void agregarExplosiones(){\r\n\t\tif(!control[0]){\r\n\t\t\tinit = System.currentTimeMillis();\r\n\t\t\tcontrol[0] = true;\r\n\t\t\tint[] array = {169, 256, 343, 432, 817, 907, 993, 1083};\r\n\t\t\tint expY = 117;\r\n\t\t\tint i = 0;\r\n\t\t\tURL exp = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/fuego.gif\"));\r\n\t\t\twhile(i<array.length){\r\n\t\t\t\tExplosion ex = new Explosion(x+array[i],y+expY, new ImageIcon(exp), 32,56);\r\n\t\t\t\tex.setDelay(5000);\r\n\t\t\t\tmapa.addExposion(ex);\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse{ \r\n\t\t\tif(System.currentTimeMillis() - init > 5000){\r\n\t\t\t\tjugador.setPuntaje(puntaje);\r\n\t\t\t\tmapa.addPower(400, 200, true);\r\n\t\t\t\twidth = defaultWidth;\r\n\t\t\t\theight = defaultHeight;\t\t\t\t\r\n\t\t\t\tsuper.destroy();\r\n\t\t\t}\r\n\t\t\tif(System.currentTimeMillis() - init > 1000 && !control[1]){\r\n\t\t\t\tcontrol[1] = true;\r\n\t\t\t\taddSonidoExplosion();\r\n\t\t\t\tURL exp = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/player.gif\"));\r\n\t\t\t\tURL exp2 = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/ExplodeNave.gif\"));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 430, y + 250, new ImageIcon(exp2), 180, 180));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 850, y + 186, new ImageIcon(exp), 265, 265));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 660, y + 320, new ImageIcon(exp), 180, 180));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(System.currentTimeMillis() - init > 1500 && !control[2]){\r\n\t\t\t\tcontrol[2] = true;\r\n\t\t\t\taddSonidoExplosion();\r\n\t\t\t\tURL exp = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/nave.gif\"));\r\n\t\t\t\tURL exp2 = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/ExplodeNave.gif\"));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 310, y + 150, new ImageIcon(exp2), 140, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 912, y + 289, new ImageIcon(exp), 140, 140));\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(System.currentTimeMillis() - init > 3000 && !control[3]){\r\n\t\t\t\tcontrol[3] = true;\r\n\t\t\t\taddSonidoExplosion();\r\n\t\t\t\tURL exp = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/nave.gif\"));\r\n\t\t\t\tURL exp2 = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/ExplodeNave.gif\"));\r\n\t\t\t\t\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 120, y + 1100, new ImageIcon(exp), 140, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 800, y + 324, new ImageIcon(exp2), 190, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 650, y + 424, new ImageIcon(exp2), 190, 140));\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(System.currentTimeMillis() - init > 4000 && !control[4]){\r\n\t\t\t\tcontrol[4] = true;\r\n\t\t\t\taddSonidoExplosion();\r\n\t\t\t\tURL exp = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/nave.gif\"));\r\n\t\t\t\tURL exp2 = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/ExplodeNave.gif\"));\r\n\t\t\t\tURL exp3 = (Nave.class.getClassLoader().getResource(\"ProyectoX/img/Explosiones/player.gif\"));\r\n\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 120, y + 1100, new ImageIcon(exp3), 140, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 800, y + 324, new ImageIcon(exp2), 190, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 650, y + 424, new ImageIcon(exp2), 190, 140));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 430, y + 250, new ImageIcon(exp), 180, 180));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 850, y + 186, new ImageIcon(exp3), 265, 265));\r\n\t\t\t\tmapa.addExposion(new Explosion(x+ 660, y + 320, new ImageIcon(exp), 180, 180));\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "private boolean checkBlueBox(int i , int j) {\n if ( Start.shemaArray[i][j].bomb == 1)\n {\n return true;\n }\n else\n {\n return false;\n }\n }", "private void bladeAndActorOverlap() {\n for (BirdActor bird : birdList) {\n if (bird.isCircleOverlap(bladeActor.boundaryCircle)) {\n ExplosionActor explosionActor = new ExplosionActor(bird.getX(), bird.getY(), 0.03333f, explosionAtlas, Animation.PlayMode.NORMAL);\n gameStage.addActor(explosionActor);\n bird.setRandomPosition(birdActorLowestYPos);\n bird.flyAction.restart();\n lblHighScore.setText(scoreDefaultTxt + String.format(\"%04d\", ++score));\n ++destroyInOneShoot;\n }\n }\n }", "public boolean isThisShipSunken(String hitEmblem)\n {\n for(Ship ship: this.fleet)\n {\n if(ship.getEmblem() == hitEmblem.charAt(1)) {\n return ship.isDestroyed();\n }\n }\n \n throw new IllegalStateException(\"No value is given for isDestoryed\"); //Thrown if point that was hit isn't a ship\n }", "private void checkEndGame() {\n if (field.getStackSize() == (field.getPegCount() - 1)) {\n endGame = true;\n }\n }", "public boolean checkFire(float xTile, float yTile)\r\n/* 147: */ {\r\n/* 148:167 */ if ((this.mission) && (tileFireObjectives(xTile, yTile)))\r\n/* 149: */ {\r\n/* 150:169 */ this.fire[((int)xTile)][((int)yTile)] = 1;\r\n/* 151:170 */ this.burnPlaces -= 1;\r\n/* 152:171 */ if (this.burnPlaces == 0) {\r\n/* 153:173 */ return true;\r\n/* 154: */ }\r\n/* 155: */ }\r\n/* 156:177 */ return false;\r\n/* 157: */ }", "public void act() \n {\n //plays animation with a delay between frames\n explosionSound.play();\n i = (i+1)%(frames.length); \n setImage(frames[i]);\n if(i == 0) getWorld().removeObject(this);\n }", "public Bomb(Position posn) {\n\t\tthis.posn = posn;\n\t\tthis.fuseLength = Bomb.DEFAULT_FUSE_LENGTH;\n\t\tthis.dropTime = System.nanoTime();\n\t\tthis.explode = false;\n\t}", "public void isShot() {\r\n\t\tlives -=1;\r\n\t\tif(isDead())\r\n\t\t{\r\n\t\t\tthis.erase();\r\n\t\t}\r\n\t}", "public int canPoseBombAndStillBeSafe() {\n Player currentPlayer = state.getCurrentPlayer();\n List<Player> players = state.getPlayers();\n Maze maze = state.getMaze();\n Cell[][] tabcells = maze.getCells();\n for (Player p : players) {\n if (!p.equals(currentPlayer)) {\n if (canBombThisEnemyAndRunSafe(currentPlayer,p)) {\n return 1;\n }\n }\n }\n return 0;\n }", "public boolean isExplosive() {\r\n return explosive;\r\n }", "public boolean canSpawnMore() {\n for(int e: enemiesLeft) {\n if(e > 0) {\n return true;\n }\n }\n\n return false;\n }", "public void explode(Group sceneGroup) {\n\t setState(SpriteState.ANIMATION_ACTIVE);\n\t setvX(0);\n\t setvY(0);\n\n\t String imagePath = \"/explode.png\";\n\t jewelImage = new Image(Jewel.class.getResourceAsStream(imagePath));\n\t ImageView jewelImageView = new ImageView();\n\t jewelImageView.setImage(jewelImage);\n\t jewelImageView.setStyle(\"-fx-background-color:transparent;\");\n\t sceneGroup.getChildren().remove(getNode());\n\t sceneGroup.getChildren().add(jewelImageView);\n\t setNode(jewelImageView);\n\t \n\t FadeTransition ft = new FadeTransition(Duration.millis(EXPLODE_DURATION), getNode());\n\t ft.setFromValue(1.0);\n\t ft.setToValue(0.0);\n\t ft.setCycleCount(1);\n\t ft.setAutoReverse(false);\n\t ft.setOnFinished(event -> remove(sceneGroup));\n\t ft.play();\n\t }", "public void setBreedingExp(int exp)\n\t{\n\t\tm_skillBreedExp = exp;\n\t}", "public void setExplosive(boolean value) {\r\n this.explosive = value;\r\n }", "public boolean wouldBeSafeFromBomb(Player playerposingbomb, Cell cellbomb, Cell refugecell){\n Maze maze = state.getMaze();\n Cell[][] tabcells = maze.getCells();\n int rangebomb = playerposingbomb.getBombRange();\n int x = cellbomb.getX();\n int y = cellbomb.getY();\n int i = 0;\n for(i=0;i<=rangebomb;i++){\n if((x-i>=0)){\n if(tabcells[x-i][y].equals(refugecell)){\n return false;\n }\n }\n if((x+i)<maze.getWidth()){\n if(tabcells[x+i][y].equals(refugecell)){\n return false;\n }\n }\n if((y-i)>=0){\n if(tabcells[x][y-i].equals(refugecell)){\n return false;\n }\n }\n if((y+i)<maze.getHeight()) {\n if(tabcells[x][y+i].equals(refugecell)){\n return false;\n }\n }\n }\n return true;\n }", "public boolean eat() {\n\n if (this.hungerLevel > 0) {\n --this.hungerLevel; // Lower hunger after eating.\n return true;\n }\n return false;\n }" ]
[ "0.7555472", "0.7041239", "0.69589007", "0.6812391", "0.67303425", "0.6679654", "0.6631045", "0.6628101", "0.654451", "0.6193257", "0.61003006", "0.6068857", "0.60575897", "0.60088", "0.5976148", "0.59252936", "0.59242344", "0.591865", "0.591488", "0.5907216", "0.5769576", "0.5753024", "0.57399356", "0.56526744", "0.5607137", "0.55317146", "0.5483315", "0.54300404", "0.5415024", "0.5391178", "0.53826743", "0.53538096", "0.53511643", "0.5314847", "0.53101254", "0.52993006", "0.52796954", "0.52691054", "0.5259294", "0.5256997", "0.5216733", "0.52081525", "0.5160499", "0.5122626", "0.50813985", "0.5078151", "0.50767034", "0.50685513", "0.50499094", "0.50289434", "0.50114554", "0.4996018", "0.49873707", "0.49329734", "0.49250957", "0.49234954", "0.49147153", "0.49098244", "0.48950377", "0.48387453", "0.48370826", "0.482986", "0.4823587", "0.48179054", "0.48115608", "0.48056534", "0.48009577", "0.47821662", "0.47601914", "0.47558287", "0.47546017", "0.47460636", "0.47440916", "0.47427544", "0.47359803", "0.4731695", "0.47271663", "0.47230127", "0.47140217", "0.471303", "0.46973863", "0.4669392", "0.4668866", "0.46665362", "0.46561724", "0.46513548", "0.46512866", "0.46400616", "0.46341005", "0.46329686", "0.46263638", "0.4622847", "0.4622382", "0.46191242", "0.46107706", "0.46059904", "0.4604114", "0.4602307", "0.45880884", "0.45650244" ]
0.717642
1
Helper function to ckeck if the text is in vaild length check if lat/lon is within range
private void validatePostTweet(Tweet tweet) { //check if the length exceeds 140 characters if (tweet.getText().length() > 140) { throw new IllegalArgumentException("Tweet is too long"); } //check if lon/lst is within range Double lon = tweet.getCooridinates().getCoordinates().get(0); Double lat = tweet.getCooridinates().getCoordinates().get(1); if (lon > 180 || lon < -180 || lat > 90 || lat <-90) { throw new IllegalArgumentException("Coordinates out of range"); } return; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean stringInBounds(String plainText) {\r\n\t\tchar[] val = plainText.toCharArray();\r\n\t\tfor (int i = 0; i < val.length; i++) {\r\n\t\t\tif (!(val[i]==SPACE) &&!(val[i] >= LOWER_BOUND && val[i] <= UPPER_BOUND)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public static boolean stringInBounds (String plainText) {\r\n\t\t\r\n\t\tchar[] pText = plainText.toCharArray();\r\n\t\tboolean isCorrect;\r\n\t\tfor(int i = 0; i < plainText.length(); i++) {\r\n\t\t\tdo {\r\n\t\t\t\tif (plainText.charAt(i) < LOWER_BOUND || plainText.charAt(i) > UPPER_BOUND ) {\r\n\t\t\t\t\tisCorrect = false;\r\n\t\t\t\t\t\r\n\t\t\t\t\t/**\r\n\t\t\t\t\tif(plainText.charAt(i) < LOWER_BOUND) {\r\n\t\t\t\t\t\tchar nChar = (char) (plainText.charAt(i) - RANGE);\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tchar nChar = (char) (plainText.charAt(i) + RANGE);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t*/\r\n\t\t\t\t\t\r\n\t\t\t\t}else {\r\n\t\t\t\t\tisCorrect = true;\r\n\t\t\t\t}\r\n\t\t\t}while(isCorrect = false);\r\n\t\t\t\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public static boolean stringInBounds (String plainText) {\r\n\t\t// Variables\r\n\t\tboolean isValid = true;\r\n\t\t\r\n\t\t// Loops\r\n\t\tfor (int i = 0; i < plainText.length(); i++) {\r\n\t\t\t// Variables\r\n\t\t\tchar c = plainText.charAt(i);\r\n\t\t\t\r\n\t\t\t// Checks\r\n\t\t\tif (c < LOWER_BOUND || c > UPPER_BOUND) {\r\n\t\t\t\tisValid = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// Return\r\n\t\treturn isValid;\r\n\t}", "private static boolean validateLongitude(String longitude) {\n try {\n BigDecimal bd = new BigDecimal(longitude);\n\n if ((bd.compareTo(maxLongitude) <= 0) && (bd.compareTo(minLongitude) >= 0)) {\n return true;\n }\n } catch (Exception ignored) {\n }\n\n return false;\n }", "private static String checkAddress(String raw) \n\t{\n\t\t// Check to see if the length is greater than the maxLength of user input.\n\t\tif(raw.length() > maxLength) \n\t\t{\n\t\t\treturn \"\";\n\t\t}\n\t\treturn raw;\n\t}", "private boolean hasValidLength()\n {\n final int length = mTextInputLayout.getText().length();\n return (length >= mMinLen && length <= mMaxLen);\n }", "private static boolean validateLatitude(String latitude) {\n try {\n BigDecimal bd = new BigDecimal(latitude);\n\n if ((bd.compareTo(maxLatitude) <= 0) && (bd.compareTo(minLatitude) >= 0)) {\n return true;\n }\n } catch (Exception ignored) {\n }\n\n return false;\n }", "boolean hasLongitude();", "boolean hasLongitude();", "Boolean checkLength(String detail);", "boolean hasHasLongitude();", "private static void checkBounds(byte[] bytes, int offset, int length) {\n\t\tif (length < 0)\n\t\t\tthrow new StringIndexOutOfBoundsException(length);\n\t\tif (offset < 0)\n\t\t\tthrow new StringIndexOutOfBoundsException(offset);\n\t\tif (offset > bytes.length - length)\n\t\t\tthrow new StringIndexOutOfBoundsException(offset + length);\n\t}", "private boolean checkLengthPlateNumber(EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 10)\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n }", "boolean judgeValid()\r\n\t{\r\n\t\tif(loc.i>=0 && loc.i<80 && loc.j>=0 && loc.j<80 && des.i>=0 && des.i<80 && des.j>=0 && des.j<80)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t\t\r\n\t}", "private void checkPointLon(){\n double glon = Double.parseDouble(point_lon);\n if(glon > 180.0){\n double glon360 = glon % 360.0;\n //west\n if(glon360 > 180.0){\n point_lon = Double.toString(glon360-360.0);\n //System.out.println(point_lon);\n //east\n }else{\n point_lon = Double.toString(glon360);\n //System.out.println(point_lon);\n }\n }\n if(glon < -180.0){\n double glon360 = glon % 360.0;\n //east\n if(glon360 < -180.0){\n point_lon = Double.toString(glon360+360.0);\n //west\n }else{\n point_lon = Double.toString(glon360);\n }\n }\n }", "boolean hasSearchLength();", "public static boolean checkLineLength(String matrice){\r\n String[] lignes = matrice.trim().split(\" {1,}\");\r\n int longeur = lignes[0].length();\r\n int i = 1;\r\n boolean memeLongeur = true;\r\n while(i < lignes.length && memeLongeur){\r\n memeLongeur = (longeur == lignes[i].length());\r\n ++i;\r\n }\r\n\r\n if(! memeLongeur){\r\n System.out.println(\"Matrice invalide, lignes de longueurs differentes !\");\r\n }\r\n\r\n return memeLongeur;\r\n }", "public boolean validateLng() {\r\n\t\treturn true;\r\n\t}", "private static boolean checkLength(String password) {\n \treturn password.length() >= minLength;\n }", "public boolean checkLocations(String location, String range) {\n boolean locationPresent = location != null && !location.isEmpty();\n\n\n if (locationPresent) {\n // Parses the location and range strings into doubles\n String[] locationComponents = location.replaceAll(\" \", \"\").split(\",\");\n latitude = Double.parseDouble(locationComponents[0]);\n longitude = Double.parseDouble(locationComponents[1]);\n desiredRange = Double.parseDouble(range.replace(\"km\", \"\").trim());\n }\n return locationPresent;\n }", "public boolean isTextValid(CharSequence charSequence) {\n if (TextUtils.isEmpty(charSequence)) {\n return false;\n }\n try {\n int parseInt = Integer.parseInt(charSequence.toString());\n return parseInt >= 3 && parseInt <= 3600;\n } catch (NumberFormatException unused) {\n return false;\n }\n }", "public static Boolean areWithinRange(Double latOne, Double longOne, Double latTwo, Double longTwo, Double kiloRange) {\r\n\t\tdouble calcDistance;\r\n\t\tcalcDistance = (Math.sqrt(Math.pow((latOne - latTwo), 2) + Math.pow((longOne - longTwo), 2)) * 111.3); // c^2 = a^2 + b^2, a = y_1 - y_2, b = x_1 - x_2, 111.3 km per degree\r\n\t\t//System.out.println(calcDistance);\r\n\t\tif (calcDistance < kiloRange) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public static boolean inRange(double lon, double lat) {\n // Coordinates of office and current location in radians\n double lon1 = Math.toRadians(lon);\n double lat1 = Math.toRadians(lat);\n double lon2 = Constants.OFFICE_LONG;\n double lat2 = Constants.OFFICE_LAT;\n\n // Uses the haversine formula to calculate distance\n double deltaLon = Math.abs(lon1 - lon2);\n double deltaLat = Math.abs(lat1 - lat2);\n double num1 = Math.sin(deltaLat/Constants.SQUARE);\n num1 = Math.pow(num1, Constants.SQUARE);\n double num2 = Math.sin(deltaLon/Constants.SQUARE);\n num2 = Math.pow(num2, Constants.SQUARE);\n num2 = num2 * Math.cos(lat1) * Math.cos(lat2);\n double num = num1 + num2;\n num = Math.sqrt(num);\n num = Math.asin(num);\n num *= Constants.SQUARE;\n double dist = num * Constants.RADIUS; \n return (dist <= Constants.MAX); // Compares it to max distance\n }", "public boolean meetsMinimumLength(){\n\n return alg.meetsMinimumLength(input.getText().toString());\n }", "private void checkBounds(int n) throws ParseException\n {\n if (pos + n > s.length())\n {\n throw new ParseException(format(\"Requested: %s, Available: %s\", n, remaining()));\n }\n }", "protected boolean isValid() {\n \t\t\treturn fStart > -1 && fEnd > -1 && fText != null;\n \t\t}", "private boolean fitsOnBoard(Anchor anchor, ArrayList<Tile> word){\n //check if word would cause spilling off the edge of the board\n int anchorPos = getAnchorPosition(anchor, word);\n int prefixLength = anchorPos;\n int postfixLength = word.size() - anchorPos - 1 ;\n\n if (anchor.prefixCap >= prefixLength && anchor.postfixCap >= postfixLength){\n return true;\n } else {\n return false;\n }\n }", "boolean valueCheckMatch(String value) {\r\n\t\tif (value.length() > intLength) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (hasRange) {\r\n\t\t\tLong ulongValue = Long.valueOf(Long.parseLong(value));\r\n\t\t\tif ((ulongValue.compareTo(minimum) < 0)\r\n\t\t\t\t\t|| (ulongValue.compareTo(maximum) > 0)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "private boolean checkRange() {\n String notInRange = \"\"; //used for displaying error message\n \n double a = Double.valueOf(ampBox.getText());\n int d = Integer.valueOf(durBox.getText());\n int f = Integer.valueOf(freqBox.getText());\n int ow = Integer.valueOf(owBox.getText());\n \n if(a>8.128 || a<0) notInRange += \"Amplitude not in range [0mA,8.128mA]\\n\";\n if(d>423 || d<0) notInRange += \"Pulse duration not in range [0uS,423uS]\\n\";\n if(f>100 || f<0) notInRange += \"Frequency not in range [0Hz,100Hz]\\n\";\n if(ow>60 || ow<0) notInRange += \"ON-WAVE duration not in range [0sec,60sec]\\n\";\n \n if(notInRange.length()>0) {\n notInRange += \"\\nInput within proper ranges and try again\";\n JOptionPane.showMessageDialog(null, \n notInRange, \n \"Error\", JOptionPane.INFORMATION_MESSAGE);\n return false;\n }\n else {\n return true;\n }\n }", "private boolean inBounds(int row, int col){\n if (row > -1 && row < 120 && col > -1 && col < 160)\n return true;\n return false;\n }", "public static boolean checkValidLatLngString(String strLatLngString) throws Exception {\n\t\t\treturn (LatLngPattern.matcher(strLatLngString).find());\n\t\t}", "public static boolean minCharRequirementPassed(String toCheck, int limit) {\n if (toCheck == null) return false;\n return toCheck.length() >= limit;\n }", "private void getTextBounds(CharSequence text, Paint paint, float[] p) {\n if (p == null || p.length < 3) {\n return;\n }\n float textWidth = paint.measureText(text.toString());\n Paint.FontMetrics fontM = paint.getFontMetrics();\n //baseLine:一行文字的底线。\n //Ascent: 字符顶部到baseLine的距离。\n //Descent: 字符底部到baseLine的距离。\n //Leading: 字符行间距。\n float bottom = fontM.bottom;\n float top = fontM.top;\n p[0] = textWidth;// text width\n p[1] = bottom - top;// text height\n p[2] = top;\n Log.i(TAG, \"fontM.ascent=\"+fontM.ascent + \" fontM.bottom=\"+fontM.bottom+\" fontM.descent=\"+fontM.descent+\" fontM.top=\"+fontM.top);\n }", "private boolean hasValidBounds() {\n\n\n\n return false;\n }", "public int canDisplayUpTo(char[] text, int start, int limit) {\n\twhile (start < limit && canDisplay(text[start])) {\n\t ++start;\n\t}\n\n\treturn start == limit ? -1 : start;\n }", "private static boolean dataAppearsToBeText(byte[] bytes)\n {\n \tint nontext = 0;\n \tint text = 0;\n \t// only read the first 1000 bytes, if the data is long...\n \tfor (int i = 0; i < bytes.length && i < 1000; i++)\n \t{\n \t\tbyte b = bytes[i];\n \t\tif ((b < 8 || b > 13) && (b < 32 || b > 126))\n \t\t{\n \t\t\tnontext++;\n \t\t}\n \t\telse\n \t\t{\n \t\t\ttext++;\n \t\t}\n \t}\n \t// if more than 95% of the characters fall in the normal text range, we'll consider it text... \n \treturn (text / ((double) nontext + text) > 0.95);\n }", "public boolean verifyLeaveLocation(String location){\n\t\tint separator = leaveLocation.getText().indexOf(\">\");\t\t\n\t\treturn leaveLocation.getText().substring(0, separator).contains(\"(\" + location + \")\");\n\t}", "@Override\n public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { sydney = new LatLng(lati, longi);\n//\n// mMap.addMarker(new MarkerOptions().position(sydney).title(\"Marker in Sydney\"));\n//\n// latt = Double.parseDouble((String) latitxt.getText());\n// longg = Double.parseDouble((String) longtxt.getText());\n//\n//\n\n\n\n\n\n }", "private void parse_text()\n {\n float temporary_min = min; // used to hold the values entered, before\n float temporary_max = max; // validating them\n\n String str = getText();\n Float Float_NaN = new Float(Float.NaN);\n // get the first number\n float val = findNumber( START, str, SEPARATOR );\n Float Float_val = new Float(val);\n if ( !Float_val.equals(Float_NaN) )\n temporary_min = val;\n // get the second number\n val = findNumber( SEPARATOR, str, END );\n Float_val = new Float(val);\n if ( !Float_val.equals(Float_NaN) )\n temporary_max = val;\n\n if ( temporary_min < temporary_max ) // make sure the values\n { // define a non-degenerate\n min = temporary_min; // interval, before we \n max = temporary_max; // accept them\n }\n\n show_text();\n }", "private boolean checkRangeAddress(int address) {\r\n return (address >= startAddress && address < endAddress);\r\n }", "public static String validString(String message, int minLength, int maxLength){\n boolean success = false;\n String line = \"\";\n do {\n line = readLine(message).trim();\n if (inRange(line.length(), minLength, maxLength))\n success = true;\n else\n System.out.println(\"El número máximo de caracteres es \" + \n maxLength + \"... \");\n } while(!success);\n return line;\n }", "private static String testString(String str, int minLen, int maxLen) throws Exception {\n if (str.length() > maxLen || str.length() < minLen) {\n throw new Exception(str + \" has a length not in [\" + minLen + \", \" + maxLen + \"]\");\n }\n return str;\n }", "private static boolean isInBounds(Location location, Vector3i min, Vector3i max) {\n return location.getX() >= min.x && location.getX() < max.x && location.getY() >= min.y\n && location.getY() < max.y && location.getZ() >= min.z && location.getZ() < max.z;\n }", "private boolean checkLengthDeviceSerialEditText (EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 10 || text.getText().toString().length() < 10)\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n\n\n }", "private boolean shouldUseFeet(int lowerBound, int upperBound) {\n return (shouldUseUpToFormat(lowerBound) && upperBound >= 12) || (lowerBound >= 12 && upperBound >= 24);\n }", "@Override\r\n\t\t\tpublic void verifyText(VerifyEvent e) {\n\t\t\t\tText t=(Text) e.widget;\r\n\t\t\t\tString s=e.text;\r\n\t\t\t\tString ct=t.getText();\r\n\t\t\t\tString temps=StringUtils.substring(ct, 0,e.start)+s+StringUtils.substring(ct,e.end);\r\n\t\t\t\tif(!IntegerValidator.getInstance().isValid(temps)){\r\n\t\t\t\t\te.doit=false;\r\n\t\t\t\t}\r\n\t\t\t}", "public void onScrubGeo(long arg0, long arg1) { }", "private static boolean isLengthValue(String pageSizeChunk) {\n return CssUtils.isMetricValue(pageSizeChunk) || CssUtils.isRelativeValue(pageSizeChunk);\n }", "private void checkAnnotation() {\n if (annotMin != -1)\n Assert.condition(annotMin >= 0, \"min isn't >= 0: '\" + annotMin + \"'\");\n if (annotMax != -1)\n Assert.condition(annotMax >= 0, \"max isn't >= 0: '\" + annotMax + \"'\");\n if ((annotMin != -1) && (annotMax != -1))\n Assert.condition(annotMin <= annotMax,\n \"min isn't <= max: '\" + annotMin + \"', '\" + annotMax + \"'\");\n }", "@Test(timeout = 4000)\n public void test060() throws Throwable {\n Range.CoordinateSystem range_CoordinateSystem0 = Range.CoordinateSystem.SPACE_BASED;\n // Undeclared exception!\n try { \n Range.parseRange(\"/9-5!2 Hl\", range_CoordinateSystem0);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // length can not be negative\n //\n verifyException(\"org.jcvi.jillion.core.Range$Builder\", e);\n }\n }", "public boolean verifisTel(String text) {\n if (text.matches(\"^[0-9]+$\")&& text.length()==8) {\n return true;\n } else {\n return false;\n }\n }", "@Test(timeout = 4000)\n public void test029() throws Throwable {\n Range range0 = Range.ofLength(9223372032559808565L);\n String string0 = \"]?&0A@\";\n range0.getLength();\n // Undeclared exception!\n try { \n range0.split(9223372032559808565L);\n fail(\"Expecting exception: IndexOutOfBoundsException\");\n \n } catch(IndexOutOfBoundsException e) {\n //\n // given length -8589934487 would make range [9223372032559808565 - ? ] beyond max allowed end offset\n //\n verifyException(\"org.jcvi.jillion.core.Range$Builder\", e);\n }\n }", "private boolean checkGPS(double latitude, double longitude, String massage) {\n if(latitude == 0.0 && longitude == 0.0)\n {\n Toast.makeText(this, massage, Toast.LENGTH_LONG).show();\n return false;\n }\n else\n {\n return true;\n }\n }", "private Boolean TimeInRange(String time){\n \n String[] t = time.split(\":\");\n \n int hours = Integer.parseInt(t[0]);\n int minutes = Integer.parseInt(t[1]);\n int seconds = Integer.parseInt(t[2]);\n \n if(hours == 11 && minutes == 59 && (seconds >= 55)){\n return true;\n }\n \n return false;\n \n }", "private boolean checkOverlap(int row, int col, int length){\n \tif(!inBounds(row,col)){\n \t\treturn false;\n \t}\n \tfor(int i = row; i < row + length; i++ ){\n\t\t\tfor(int j = col; j < col + length; j++){\n\t\t\t\tif(grid[i][col] == 1 || row + length >= 10)\n\t\t\t\t\treturn false;\n\t\t\t\tif(grid[row][j] == 1 || col + length >= 10)\n\t\t\t\t\treturn false;\n\t\t\t}\n \t\t\n \t}\n \treturn true;\n }", "@Test\n\tpublic void invalidLengthLong() {\n\t\tboolean result = validator.isValid(\"73102851691\");\n\t\tassertFalse(result);\n\t}", "private boolean isValidPosition(Point pos){\r\n return (0 <= pos.getFirst() && pos.getFirst() < 8 && \r\n 0 <= pos.getSecond() && pos.getSecond() < 8);\r\n }", "private static boolean isPalindromeSubstring(String inString, int lowerBound, int upperBound)\n {\n char lowerChar = inString.charAt(lowerBound);\n char upperChar = inString.charAt(upperBound);\n\n if (lowerBound == upperBound)\n {\n return true;\n }\n else if (lowerBound > upperBound)\n {\n return false;\n }\n else if (lowerChar != upperChar)\n {\n return false;\n }\n else\n {\n isPalindromeSubstring(inString, ++lowerBound, --upperBound);\n }\n\n return true;\n }", "private boolean verifyBounds() {\r\n\t if((x>RobotController.BOUNDS_X || y>RobotController.BOUNDS_Y)\r\n\t || x<0 || y<0){\r\n\t return false;\r\n\t }\r\n\t return true;\r\n\t }", "@Test(timeout = 4000)\n public void test21() throws Throwable {\n Range range0 = Range.of((-1259L), 255L);\n Range.CoordinateSystem range_CoordinateSystem0 = Range.CoordinateSystem.SPACE_BASED;\n range0.toString(range_CoordinateSystem0);\n Range range1 = Range.of((-1259L));\n range1.getEnd();\n range1.getEnd();\n Range range2 = Range.of((-1259L), 255L);\n List<Range> list0 = range2.split(255L);\n range2.complementFrom(list0);\n Range.CoordinateSystem range_CoordinateSystem1 = Range.CoordinateSystem.SPACE_BASED;\n Range range3 = Range.of(range_CoordinateSystem1, (-1259L), 0L);\n range3.endsBefore(range0);\n range2.getEnd(range_CoordinateSystem1);\n // Undeclared exception!\n try { \n Range.parseRange(\"[ -1259 .. 256 ]/SB\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // length can not be negative\n //\n verifyException(\"org.jcvi.jillion.core.Range$Builder\", e);\n }\n }", "@Test(timeout = 4000)\n public void test14() throws Throwable {\n Range range0 = Range.of((-1259L));\n Range.CoordinateSystem range_CoordinateSystem0 = Range.CoordinateSystem.SPACE_BASED;\n range0.toString(range_CoordinateSystem0);\n Range range1 = Range.of((-1259L));\n long long0 = new Long((-1259L));\n range1.getEnd();\n Range range2 = range0.intersection(range1);\n List<Range> list0 = range2.split(255L);\n range2.complementFrom(list0);\n Range range3 = range1.asRange();\n String string0 = null;\n range3.intersection(range1);\n Range.CoordinateSystem range_CoordinateSystem1 = Range.CoordinateSystem.RESIDUE_BASED;\n range2.getEnd(range_CoordinateSystem1);\n // Undeclared exception!\n try { \n Range.parseRange(\"[ -1259 .. -1258 ]/SB\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // can not parse [ -1259 .. -1258 ]/SB into a Range\n //\n verifyException(\"org.jcvi.jillion.core.Range\", e);\n }\n }", "public boolean checkValidString(String s) {\n int cmin = 0;\n int cmax = 0;\n for (char c: s.toCharArray()) {\n if (c == '(') {\n cmax++;\n cmin++;\n } else if (c == ')') {\n cmax--;\n cmin = Math.max(cmin - 1, 0);\n } else {\n cmax++;\n cmin = Math.max(cmin - 1, 0);\n }\n if (cmax < 0) return false;\n }\n return cmin == 0;\n }", "int getTextLength();", "@Override\n public void onTextChanged(CharSequence s, int start, int before, int count) {\n\n if (s.length() > 0) {\n try {\n float value = Float.parseFloat(s.toString());\n sendBound(true, upperBoundCheck.isChecked() ,value);\n } catch (Exception e) {\n Toast toast = Toast.makeText(getActivity(), R.string.enter_valid_number,Toast.LENGTH_LONG);\n toast.show();\n }\n }\n }", "private static boolean above_limit(String a)\n {\n int sum = 0;\n for(int x = 0; x < a.length(); x++)\n {\n sum += (find_cost(\"\"+a.charAt(x)));\n }\n if(sum >= library.return_capacity() || sum <= library.return_lowercost())\n return false;\n return true;\n }", "private boolean checkOdometerNumber(EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 8)\n {\n TFB.setErrorEnabled(true);\n TFB.setError(massage);\n return false;\n }\n else\n {\n TFB.setErrorEnabled(false);\n return true;\n }\n }", "@Override\n\tpublic Rectangle getBounds(String text) {\n\t\tint height = 0;\n\t\tint width = 0;\n\t\t//Initialize y to the maximum int\n\t\tint y = Integer.MAX_VALUE;\n\t\t\n\t\tchar[] chars = text.toCharArray();\n\t\t//First, find the lowest yoffset\n\t\tfor (char c : chars) {\n\t\t\tGlyph g = getGlyph(c);\n\t\t\tif (g != null) y = Math.min(g.getYOff(), y);\n\t\t}\n\t\tfor (char c : chars) {\n\t\t\tGlyph g = getGlyph(c);\n\t\t\tif (g != null) {\n\t\t\t\theight = Math.max(g.getHeight() + (g.getYOff() - y), height);\n\t\t\t\twidth += g.getXAdvance();\n\t\t\t}\n\t\t}\n\t\treturn new Rectangle(0, y, width, height);\n\t}", "public boolean checkLength(String password) {\n return password.matches(\"^.{8,25}$\");\n }", "public boolean pointOnShape(int u, int v){\n //doing this properly would be nasty because we would have to find out the size of the font\n // and the size of the string when displayed in the font currently used by the canvas\n // Instead, this uses an approximation, based on the default font of the canvas\n return (u>=x && u<=x+(str.length()*10) && v>=y-13 && v<=y+3);\n }", "private String validateGeographicCoordinate(String stringValue, \n float minValue, \n float maxValue, \n String defaultValue) {\n String returnValue = defaultValue;\n String warning = \"Illegal geographic coordinate specified: '\" + stringValue +\n \"'. Expected a value between \" + minValue + \" and \" + maxValue;\n\n if (stringValue == null || stringValue.equals(\"\")) {\n return returnValue;\n }\n else {\n try {\n Float floatValue = new Float(stringValue);\n\n if ((floatValue != null) &&\n (floatValue >= minValue) && \n (floatValue <= maxValue)) {\n returnValue = stringValue;\n }\n else {\n logger.warn(warning);\n }\n }\n catch (NumberFormatException e) {\n logger.warn(warning);\n }\n }\n \n return returnValue;\n }", "public void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) {\n super.onTextChanged(text, start, lengthBefore, lengthAfter);\n this.needFit = true;\n }", "public boolean checkLength(Contribution contribution) {\n\t\tint longness= jdbc.queryForObject(\"select lineLength from stories where title=:title\", \n\t\t\t\tnew MapSqlParameterSource(\"title\", contribution.getTitle()), Integer.class);\n\t\tSystem.out.println(\"Your content: \"+contribution.getAddition().length()+\" the max length: \"+longness);\n\t\tif(contribution.getAddition().length() > longness) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "boolean hasMid();", "boolean hasMid();", "@Override\n public void onScrubGeo(long arg0, long arg1) {\n }", "private static boolean validate(String line){\n\t\tString[] lineArray = line.split(\" \");\n\t\t\n\t\tif(lineArray.length != 3) return false; //skip lines in incorrect format\n\t\t\n\t\t//http://stackoverflow.com/questions/25873636/regex-pattern-for-exactly-hhmmss-time-string\n\t\tif(!lineArray[0].matches(\"(?:[01]\\\\d|2[0123]):(?:[012345]\\\\d):(?:[012345]\\\\d)\")) return false;\n\n\t\tif(!lineArray[2].equals(\"Start\") && !lineArray[2].equals(\"End\")) return false;\n\t\t\n\t\treturn true;\n\t}", "public boolean isLevelTrailSegment(int start, int end)\n {\n int max = markers[start];\n int min = markers[start];\n for (int i = start; i <= end; i++) {\n if (markers[i] > max) {\n max = markers[i];\n }\n \n if (markers[i] < min) {\n min = markers[i];\n }\n }\n \n return (max-min <= 10);\n }", "private boolean overlapsWith(int offset1, int length1, int offset2, int length2) {\n \t\tint end= offset2 + length2;\n \t\tint thisEnd= offset1 + length1;\n \n \t\tif (length2 > 0) {\n \t\t\tif (length1 > 0)\n \t\t\t\treturn offset1 < end && offset2 < thisEnd;\n \t\t\treturn offset2 <= offset1 && offset1 < end;\n \t\t}\n \n \t\tif (length1 > 0)\n \t\t\treturn offset1 <= offset2 && offset2 < thisEnd;\n \t\treturn offset1 == offset2;\n \t}", "boolean hasLatLng();", "private boolean isRangeValid() {\n\n\t\tboolean valid = true;\n\n\t\tif (getRange() == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\tLong.parseLong(getRange());\n\t\t} catch (NumberFormatException nfe) {\n\t\t\tvalid = false;\n\t\t}\n\n\t\tvalid = valid || getRange().compareToIgnoreCase(CCLConstants.INDIRECT_RANGE_ALL) == 0;\n\n\t\treturn valid;\n\t}", "public void verifyText(VerifyEvent e) {\n\t\t\tboolean ret = true;\r\n\t\t\tfor(int i=0; i < e.text.length(); i ++){\r\n\t\t\t\tret = \"0123456789.\".indexOf(e.text.charAt(i)) >= 0;\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\te.doit = ret;\r\n\t\t}", "public boolean checkMissingLonLatTime() {\n\t\ttry {\n _locationsChecked = true;\n\t\t\tDouble[] longitudes = getSampleLongitudes();\n\t\t\tfor (int rowIdx = 0; rowIdx < numSamples; rowIdx++) {\n\t\t\t\tif ( longitudes[rowIdx] == null ) {\n\t\t\t\t\t_locationsOk = false;\n\t\t\t\t\tADCMessage msg = new ADCMessage();\n\t\t\t\t\tmsg.setSeverity(Severity.CRITICAL);\n\t\t\t\t\tmsg.setRowIndex(rowIdx);\n\t\t\t\t\tmsg.setColIndex(longitudeIndex);\n\t\t\t\t\tmsg.setColName(userColNames[longitudeIndex]);\n\t\t\t\t\tString comment = \"missing longitude\";\n\t\t\t\t\tmsg.setGeneralComment(comment);\n\t\t\t\t\tmsg.setDetailedComment(comment);\n\t\t\t\t\tstdMsgList.add(msg);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( Exception ex ) {\n\t\t\t_locationsOk = false;\n\t\t\tADCMessage msg = new ADCMessage();\n\t\t\tmsg.setSeverity(Severity.CRITICAL);\n\t\t\tString comment = \"no longitude column\";\n\t\t\tmsg.setGeneralComment(comment);\n\t\t\tmsg.setDetailedComment(comment);\n\t\t\tstdMsgList.add(msg);\n\t\t}\n\n\t\ttry {\n\t\t\tDouble[] latitudes = getSampleLatitudes();\n\t\t\tfor (int rowIdx = 0; rowIdx < numSamples; rowIdx++) {\n\t\t\t\tif ( latitudes[rowIdx] == null ) {\n\t\t\t\t\t_locationsOk = false;\n\t\t\t\t\tADCMessage msg = new ADCMessage();\n\t\t\t\t\tmsg.setSeverity(Severity.CRITICAL);\n\t\t\t\t\tmsg.setRowIndex(rowIdx);\n\t\t\t\t\tmsg.setColIndex(latitudeIndex);\n\t\t\t\t\tmsg.setColName(userColNames[latitudeIndex]);\n\t\t\t\t\tString comment = \"missing latitude\";\n\t\t\t\t\tmsg.setGeneralComment(comment);\n\t\t\t\t\tmsg.setDetailedComment(comment);\n\t\t\t\t\tstdMsgList.add(msg);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( Exception ex ) {\n\t\t\t_locationsOk = false;\n\t\t\tADCMessage msg = new ADCMessage();\n\t\t\tmsg.setSeverity(Severity.CRITICAL);\n\t\t\tString comment = \"no latitude column\";\n\t\t\tmsg.setGeneralComment(comment);\n\t\t\tmsg.setDetailedComment(comment);\n\t\t\tstdMsgList.add(msg);\n\t\t}\n\n//\t DashDataType<?> pressureColumn = findDataColumn(\"water_pressure\");\n//\t DashDataType<?> depthColumn = findDataColumn(\"sample_depth\");\n//\t if ( depthColumn != null ) {\n//\t\t\ttry {\n//\t\t\t\tDouble[] depths = getSampleDepths();\n//\t\t\t\tfor (int rowIdx = 0; rowIdx < numSamples; rowIdx++) {\n//\t\t\t\t\tif ( depths[rowIdx] == null ) {\n//\t\t\t\t\t\tisOk = pressureColumn != null;\n//\t\t\t\t\t\tADCMessage msg = new ADCMessage();\n//\t\t\t\t\t\tmsg.setSeverity(pressureColumn == null ? Severity.ERROR : Severity.WARNING);\n//\t\t\t\t\t\tmsg.setRowIndex(rowIdx);\n//\t\t\t\t\t\tmsg.setColIndex(sampleDepthIndex);\n//\t\t\t\t\t\tmsg.setColName(userColNames[sampleDepthIndex]);\n//\t\t\t\t\t\tString comment = \"missing sample depth\";\n//\t\t\t\t\t\tmsg.setGeneralComment(comment);\n//\t\t\t\t\t\tmsg.setDetailedComment(comment);\n//\t\t\t\t\t\tstdMsgList.add(msg);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t} catch ( Exception ex ) {\n//\t\t\t ex.printStackTrace();\n//\t\t\t}\n//\t\t} else if ( pressureColumn == null ) {\n//\t\t\tisOk = false;\n//\t\t\tADCMessage msg = new ADCMessage();\n//\t\t\tmsg.setSeverity(Severity.CRITICAL);\n//\t\t\tString comment = \"no sample depth column\";\n//\t\t\tmsg.setGeneralComment(comment);\n//\t\t\tmsg.setDetailedComment(comment);\n//\t\t\tstdMsgList.add(msg);\n//\t\t}\n\n\t\tDouble[] times = null;\n\t\ttry {\n _timesChecked = true;\n\t\t\ttimes = getSampleTimes();\n\t\t\tfor (int rowIdx = 0; _timesOk && rowIdx < numSamples; rowIdx++) {\n\t\t\t\tif ( times[rowIdx] == null ) {\n\t\t\t\t\t_timesOk = false;\n // XXX Messages are now added during the data standarization phase\n\t\t\t\t\t// in the StdUserDataArray constructor.\n//\t\t\t\t\tADCMessage msg = new ADCMessage();\n//\t\t\t\t\tmsg.setSeverity(Severity.CRITICAL);\n//\t\t\t\t\tmsg.setRowIndex(rowIdx);\n//\t\t\t\t\tString comment = \"incomplete sample date/time specification\";\n//\t\t\t\t\tmsg.setGeneralComment(\"Bad date/time value\");\n//\t\t\t\t\tmsg.setDetailedComment(comment);\n//\t\t\t\t\tstdMsgList.add(msg);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( Exception ex ) {\n\t\t\t_timesOk = false;\n\t\t\tex.printStackTrace();\n\t\t\tADCMessage msg = new ADCMessage();\n\t\t\tmsg.setSeverity(Severity.CRITICAL);\n\t\t\tString comment = \"incomplete columns specifying sample date/time\";\n\t\t\tmsg.setGeneralComment(comment);\n\t\t\tmsg.setDetailedComment(ex.getMessage());\n\t\t\tstdMsgList.add(msg);\n\t\t}\n\n\t\treturn _locationsOk && _timesOk;\n\t}", "public boolean goodCoordinatesForm(String coord) {\n\t\tString[] parts = coord.split(\"-\");\r\n\t\ttry{\r\n\t\t\t //Where exception may happen\r\n\t\tchar letter1 = parts[0].charAt(0);\r\n\t\t\r\n\t\tif(( parts[0] != coord && isNumeric(parts[1])) && parts[0].equals(parts[0].toUpperCase()) && Character.isLetter(letter1) && parts[0].length() ==1 ) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse { \r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t}\r\n\r\n\t\tcatch(java.lang.ArrayIndexOutOfBoundsException e){\r\n\t\t\treturn false;\r\n\t\t\t}\r\n\t\tcatch (java.lang.StringIndexOutOfBoundsException s) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "int minLength();", "public static String cutToSize(String textIn, float targetWidth, BitmapFont fontIn){\n String out=textIn;\n for(int i = textIn.length();i>0;i--) {\n String cutText = out.substring(0, i);\n if (textWidth(fontIn, cutText) <= targetWidth) {\n return cutText;\n }\n }\n return \"\";\n }", "public boolean goodSize( Coordinates startCoord, Coordinates endCoord, int size) {\n\t\t\r\n\t\tint nb1 = startCoord.getNumber();\r\n\t\tchar letter1 = startCoord.getLetter();\r\n\t\tint nb2 = endCoord.getNumber();\r\n\t\tchar letter2 = endCoord.getLetter();\r\n\t\t\r\n\t\treturn (\r\n\t\t\t\t(Math.abs(nb1 - nb2) == size-1)\r\n\t\t\t\t|| \r\n\t\t\t\t(Math.abs(letter1 - letter2) == size-1 ));\r\n\t}", "public static int segmentLengthCheck(String translationText, Shell shell, TransUnitInformationData trans, de.folt.util.Messages message)\n\t{\n\t\t// int iSegmentNumber = trans.getISegmentNumber();\n\t\t// add some checks for length here....\n\t\tif ((trans.getSegmentLengthInformation() != -1) && trans.getSizeunit().equals(\"char\"))\n\t\t{\n\t\t\tString translation = MonoLingualObject.simpleComputePlainText(translationText);\n\t\t\tint iLen = translation.length() + 1; // we must add 1 for the\n\t\t\t// current character!\n\t\t\tif (iLen > trans.getSegmentLengthInformation())\n\t\t\t{\n\t\t\t\tint style = SWT.PRIMARY_MODAL | SWT.ICON_WARNING | SWT.OK; // SWT.YES\n\t\t\t\t// |\n\t\t\t\t// SWT.NO;\n\t\t\t\tMessageBox messageBox = new MessageBox(Display.getCurrent().getActiveShell(), style);\n\t\t\t\tmessageBox.setText(message.getString(\"TranslationTooLong\"));\n\t\t\t\tmessageBox.setMessage(message.getString(\"TranslationTextTooLong\") + \"\\n\" + message.getString(\"targetTextWindowSize\") + \" \"\n\t\t\t\t\t\t+ trans.getSegmentLengthInformation() + \" < \" + iLen + \" \" + message.getString(\"targetTextWindowTextLength\"));\n\t\t\t\tint result = messageBox.open();\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn -99;\n\t}", "@Override\r\n public CharSequence filter(CharSequence source, int start, int end,\r\n Spanned dest, int dstart, int dend) {\n for (int i = start; i < end; i++) {\r\n\r\n \t String checkMe = String.valueOf(source.charAt(i));\r\n\r\n\t\t Pattern pattern = Pattern.compile(\"[1234]*\");\r\n\t\t Matcher matcher = pattern.matcher(checkMe);\r\n\t\t boolean valid = matcher.matches();\r\n\t\t if(!valid){\r\n\t\t Log.d(\"\", \"invalid\");\r\n\t\t return \"\";\r\n\t\t }\r\n }\r\n\r\n // If we've got this far, then return null to accept string\r\n return null;\r\n }", "@Override\n\t\t\tpublic void onScrubGeo(long arg0, long arg1) {\n\n\t\t\t}", "public boolean checkEnoughSpace(int len, int leftWid, int rightWid) {\n switch (facing) {\n case \"Up\":\n return checkUpSpace(position, len, leftWid, rightWid);\n case \"Down\":\n return checkDownSpace(position, len, leftWid, rightWid);\n case \"Left\":\n return checkLeftSpace(position, len, leftWid, rightWid);\n case \"Right\":\n return checkRightSpace(position, len, leftWid, rightWid);\n default:\n System.out.println(\"Where am I looking?\");\n }\n return false;\n }", "void checkRange(String value) throws TdtTranslationException {\r\n\t\tif (!hasRange)\r\n\t\t\treturn;\r\n\t\tLong intValue;\r\n\t\ttry {\r\n\t\t\tintValue = Long.valueOf(Long.parseLong(value));\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new TdtTranslationException(\"Cannot convert \" + value\r\n\t\t\t\t\t+ \" to ulong in field \" + getId());\r\n\t\t}\r\n\t\tcheckRange(intValue);\r\n\t}", "boolean checkIfValidToCreate(int start, int end) {\n return myMarkerTree.processOverlappingWith(start, end, region->{\n int rStart = region.getStartOffset();\n int rEnd = region.getEndOffset();\n if (rStart < start) {\n if (region.isValid() && start < rEnd && rEnd < end) {\n return false;\n }\n }\n else if (rStart == start) {\n if (rEnd == end) {\n return false;\n }\n }\n else {\n if (rStart > end) {\n return true;\n }\n if (region.isValid() && rStart < end && end < rEnd) {\n return false;\n }\n }\n return true;\n });\n }", "@Test\n public void testOverboundsInside() {\n Coordinate a, b, c, d;\n a = new Coordinate2D(2, 2, 0);\n b = new Coordinate2D(3, 3, 0);\n c = new Coordinate2D(2, 0, 0);\n d = new Coordinate2D(4, 2, 0);\n\n int actual, expected;\n\n expected = 0;\n actual = hex.getDistanceOverBoundary(a);\n assertEquals(expected, actual);\n\n expected = 0;\n actual = hex.getDistanceOverBoundary(b);\n assertEquals(expected, actual);\n\n expected = 0;\n actual = hex.getDistanceOverBoundary(c);\n assertEquals(expected, actual);\n\n expected = 0;\n actual = hex.getDistanceOverBoundary(d);\n assertEquals(expected, actual);\n }", "public boolean Validate_Input(String attack_coord){\r\n\t\tattack_coord=attack_coord.trim(); //deletes any unecessary whitespace\r\n\t\tif(attack_coord.length()>3) { //format incorrect\r\n\t\t\tdisplay.scroll(\"Input string too long to be proper coordinate\");\r\n\t\t\tdisplay.printScreen();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif(attack_coord.length()<=1){\r\n\t\t\tdisplay.scroll(\"Input string too short to be proper coordinate\");\r\n\t\t\tdisplay.printScreen();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t// Convert the string inputs into integers\r\n\t\tString x_as_string = attack_coord.substring(1);\r\n\t\tycoor = letterToIndex(attack_coord.charAt(0));\r\n\t\t\r\n\t\t\r\n\t\ttry{\r\n\t\t\txcoor=Integer.parseInt(x_as_string);\r\n\t\t\txcoor--; //to match the xcoor with the array position\r\n\t\t} catch (NumberFormatException nfe) {\r\n\t display.scroll(\"Incorrect Format. Enter with letter and then number i.e. B3\");\r\n\t display.printScreen();\r\n\t return false;\r\n\t\t}\r\n\r\n\t\t\r\n\t\t\r\n\r\n\t\tif(!hisBoard.in_Grid(xcoor, ycoor)){\r\n\t\t\tdisplay.scroll(\"The Coordinate input is not within (A-J) or (1-10)\");\r\n\t\t\tdisplay.printScreen();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif(hisBoard.already_attacked(xcoor,ycoor)){\r\n\t\t\tdisplay.scroll(\"Coordinate has already been attacked\");\r\n\t\t\tdisplay.printScreen();\t\t\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "private boolean isRelevant(Address address){\n\n return Math.abs(ride.getStartLatitude() - address.getLatitude()) < 2 &&\n Math.abs(ride.getStartLongitude() - address.getLongitude()) < 2;\n }", "private boolean boundsWereChanged(String boundsChangedCount, \n\t\t\t String northValue,\n\t\t\t String southValue,\n\t\t\t String eastValue,\n\t\t\t String westValue) {\n\t\tboolean changed = false;\n\t\t\n\t\tint count = Integer.valueOf(boundsChangedCount);\n\t\tfloat north = Float.valueOf(northValue);\n\t\tfloat south = Float.valueOf(southValue);\n\t\tfloat east = Float.valueOf(eastValue);\n\t\tfloat west = Float.valueOf(westValue);\n\t\t\n\t\tif ((count >= 3) ||\n\t\t\t(north < 84.0) || \n\t\t\t(south > -84.0) || \n\t\t\t(east < 180.0) || \n\t\t\t(west > -180.0)\n\t\t ) {\n\t\t\tchanged = true;\n\t\t}\n\n\t\treturn changed;\n\t}", "private boolean isNumberinRange(double needle, double haystack, double range) {\n return (((haystack - range) < needle) // greater than low bounds\n && (needle < (haystack + range))); // less than upper bounds\n }", "private void extractLatLongAndRelativeLocation(Buoy buoy, String value)\n {\n String regexp = \"^(.+?)or\";\n Pattern pat = Pattern.compile(regexp);\n Matcher match = pat.matcher(value);\n\n String latLong = \"\";\n String relativePos = \"\";\n\n if (match.find())\n {\n latLong = match.group(0);\n relativePos = value.substring(value.\n lastIndexOf(latLong) + latLong.length(), value.length()).trim(); \n \n latLong = latLong.replace(\"or\", \"\").trim();\n\n\n } else\n {\n latLong = \"\";\n relativePos = value;\n }\n\n buoy.setLatlong(latLong);\n buoy.setRelativeLocation(relativePos);\n }", "public static boolean checkValid(String text)\r\n {\n if (text.length() == 0)\r\n {\r\n return false;\r\n }\r\n // should only have characters 0, 1, +, -.\r\n int counter = 0; // will count occurrences of + and - characters\r\n for (int i = 0; i < text.length(); i++)\r\n {\r\n char c = text.charAt(i);\r\n if (\"01+-\".indexOf(c) < 0)\r\n {\r\n return false;\r\n } \r\n if (\"+-\".indexOf(c) >= 0)\r\n {\r\n counter++;\r\n }\r\n }\r\n \r\n // should only have one occurrence of a + or - character\r\n if (counter != 1)\r\n {\r\n return false;\r\n }\r\n \r\n // the operator (+ or - character) should not be at the beginning\r\n // or end of the string\r\n char start = text.charAt(0);\r\n char end = text.charAt(text.length() - 1);\r\n if (\"01\".indexOf(start) < 0)\r\n {\r\n return false;\r\n }\r\n if (\"01\".indexOf(end) < 0)\r\n {\r\n return false;\r\n }\r\n \r\n return true;\r\n }", "private String getFitText(String text, float width, Paint paint) {\r\n String newText = text;\r\n int length = text.length();\r\n int diff = 0;\r\n while (paint.measureText(newText) > width && diff < length) {\r\n diff++;\r\n newText = text.substring(0, length - diff) + \"...\";\r\n }\r\n if (diff == length) {\r\n newText = \"...\";\r\n }\r\n return newText;\r\n }" ]
[ "0.6729031", "0.6589749", "0.65780354", "0.5924414", "0.58591986", "0.578532", "0.5763052", "0.571042", "0.571042", "0.569946", "0.5685209", "0.56417286", "0.55313146", "0.5497244", "0.54958606", "0.54894483", "0.54622364", "0.54060435", "0.53960943", "0.5384821", "0.537681", "0.5343883", "0.5341602", "0.5326108", "0.52921176", "0.5292061", "0.5277796", "0.5245645", "0.52271384", "0.52194536", "0.5211307", "0.5207469", "0.5192903", "0.5183874", "0.51710725", "0.5127989", "0.51138085", "0.51081765", "0.51017845", "0.5093116", "0.5080057", "0.5074384", "0.5069578", "0.506949", "0.50688756", "0.50645083", "0.5061141", "0.50603795", "0.50572187", "0.505262", "0.50476944", "0.5045488", "0.5038405", "0.50236285", "0.50224364", "0.500192", "0.4999107", "0.4984374", "0.49830207", "0.49761704", "0.4963988", "0.49601305", "0.49541673", "0.49537748", "0.494731", "0.49461752", "0.49450395", "0.49436823", "0.49326038", "0.4923107", "0.49217322", "0.4914676", "0.4913012", "0.4913012", "0.4897019", "0.48926654", "0.48909912", "0.4890327", "0.48887372", "0.48884588", "0.48816133", "0.48703066", "0.48655772", "0.48616606", "0.4856458", "0.4855432", "0.48523173", "0.48513415", "0.48484424", "0.484572", "0.48435408", "0.48371765", "0.48261556", "0.4823297", "0.4817624", "0.48172325", "0.48170948", "0.48113263", "0.48064533", "0.48064464" ]
0.52859545
26
check if the tweet id is all digit
private void validateId(String id) { if (!id.matches("[0-9]+")) { throw new IllegalArgumentException("Invaild Tweet Id"); } return; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean CheckID(String id) {\n\t\tif ((!id.matches(\"([0-9])+\") || id.length() != 9) && (!id.matches(\"S([0-9])+\") || id.length() != 10)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "static boolean verifyID(String id)\r\n\t{\r\n\t\tfor(int i = 0; i < id.length(); i++)\r\n\t\t{\r\n\t\t\tchar c = id.charAt(i);\r\n\t\t\tif((c <= 'Z' && c >= 'A') || (c >= 'a' && c <= 'z')) //isAlpha\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c >= '0' && c <= '9' || c == '_' || c == '-') //is digit or _ or -\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c == ' ')\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn id.length() > 0;\r\n\t}", "private boolean checkId() {\n int sum = 0;\n int id;\n\n try\n {\n id = Integer.parseInt(ID.getText().toString());\n }\n catch (Exception e)\n {\n return false;\n }\n\n if (id >= 1000000000)\n return false;\n\n for (int i = 1; id > 0; i = (i % 2) + 1) {\n int digit = (id % 10) * i;\n sum += digit / 10 + digit % 10;\n\n id=id/10;\n }\n\n if (sum % 10 != 0)\n return false;\n\n return true;\n }", "static boolean verifyIDRelaxed(String id)\r\n\t{\r\n\t\tfor(int i = 0; i < id.length(); i++)\r\n\t\t{\r\n\t\t\tchar c = id.charAt(i);\r\n\t\t\tif(Character.isLetterOrDigit(c)) //isAlpha\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse if(c == ' ' || c == '_' || c == '-')\r\n\t\t\t{\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn id.length() > 0;\r\n\t}", "boolean isNumericPubmed(String id){\n\t\t \n\t\t try{\n\t\t\t Integer.parseInt(id);\n\t\t }catch (Exception e){\n\t\t\t return false;\n\t\t }\n\t\t return true;\n\t }", "private boolean checkSoThang(String soThang){\n String pattern = \"\\\\d+\"; \n return soThang.matches(pattern);\n }", "private static boolean m4389a(String str) {\n return str != null && str.length() != 0 && Pattern.compile(\"^[0-9A-Fa-f]{13,18}+$\").matcher(str).matches() && str.indexOf(\"000000000\") == -1 && str.indexOf(\"111111111\") == -1 && str.indexOf(\"222222222\") == -1 && str.indexOf(\"333333333\") == -1 && str.indexOf(\"444444444\") == -1 && str.indexOf(\"555555555\") == -1 && str.indexOf(\"666666666\") == -1 && str.indexOf(\"777777777\") == -1 && str.indexOf(\"888888888\") == -1 && str.indexOf(\"999999999\") == -1;\n }", "public boolean checkDigits(String password) {\n return password.matches(\".*\\\\d.*\");\n }", "private boolean isValidId(String id) {\r\n\t\tboolean result = false;\r\n\t\tif (id.length() >= 1) {\r\n\t\t\tif (Character.isLetter(id.charAt(0))) {\r\n\t\t\t\tif (id.contains(\".\")) {\r\n\t\t\t\t\tString[] tokens = id.split(\"\\\\.\");\r\n\t\t\t\t\tif (tokens.length == 2) {\r\n\t\t\t\t\t\tfor (int i = 0; i < tokens[0].length(); i++) {\r\n\t\t\t\t\t\t\tif (!(tokens[0].charAt(i) == '.'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '_'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '-' || Character\r\n\t\t\t\t\t\t\t\t\t\t.isLetterOrDigit(tokens[0].charAt(i)))) {\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tfor (int i = 0; i < tokens[1].length(); i++) {\r\n\t\t\t\t\t\t\tif (!(tokens[0].charAt(i) == '.'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '_'\r\n\t\t\t\t\t\t\t\t\t|| tokens[0].charAt(i) == '-' || Character\r\n\t\t\t\t\t\t\t\t\t\t.isLetterOrDigit(tokens[0].charAt(i)))) {\r\n\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public void testNumberID() {\n String testID = generator.generatePrefixedIdentifier(\"123\");\n assertNotNull(testID);\n assertTrue(testID.matches(\"_123\" + ID_REGEX));\n }", "public boolean checkInt( String s ) {\n \tchar[] c = s.toCharArray();\n \tboolean d = true;\n\n \tfor ( int i = 0; i < c.length; i++ )\n \t // verifica se o char não é um dígito\n \t if ( !Character.isDigit( c[ i ] ) ) {\n \t d = false;\n \t break;\n \t }\n \treturn d;\n \t}", "public static boolean onlyDigitsApi(String input) {\n if (input.length() == 0) {\n return false;\n } else {\n try {\n Long.parseLong(input);\n return true;\n } catch (NumberFormatException ex) {\n return false;\n }\n }\n }", "public Boolean checkDigids(String text) {\n String regex = \"^(\\\\d+)$\";\n return text.matches(regex);\n }", "public static boolean isCoordinationNumber(final String id) {\n if (id.length() != 12) {\n return false;\n }\n try {\n final Integer day = Integer.parseInt(id.substring(6, 8));\n return (day >= 61);\n }\n catch (final Exception e) {\n return false;\n }\n }", "private boolean hasInvalidCharacter(final String taxId) {\n char aChar;\n for (int i = 0; i < EXPECTED_LEN; i++) {\n aChar = taxId.charAt(i);\n if (!(aChar >= '0' && aChar <= '9' || aChar >= 'A' && aChar <= 'Z')) {\n return true;\n }\n }\n return false;\n }", "protected boolean isNumeric(final String id) {\n\t\tfinal NumberFormat formatter = NumberFormat.getInstance();\n\t\tfinal ParsePosition pos = new ParsePosition(0);\n\t\tformatter.parse(id, pos);\n\t\treturn id.length() == pos.getIndex();\n\t}", "private boolean isSSNFourDigits(String toCheck) {\r\n if (toCheck.length() > 0 && toCheck.length() != 4) {\r\n JOptionPane.showMessageDialog\r\n (null, \"Social Security # Must Have 4 Characters\");\r\n return false;\r\n } else if (toCheck.length() == 0) {\r\n JOptionPane.showMessageDialog\r\n (null, \"No Social Security # entered\");\r\n return false;\r\n } else if (toCheck.length() == 4) {\r\n for (int i = 0; i < 4; i++) {\r\n if (!Character.isDigit(toCheck.charAt(i))) {\r\n JOptionPane.showMessageDialog\r\n (null, \"Social Security # Must Have Only Numbers\");\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }", "private boolean isDigit(char toCheck) {\n return toCheck >= '0' && toCheck <= '9';\n }", "public boolean validateID() {\n\t\tif (this.id == null || this.id.length() < 1)\n\t\t\treturn false;\n\t\ttry {\n\t\t\tInteger.parseInt(this.id);\n\t\t} catch (NumberFormatException e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean verifisTel(String text) {\n if (text.matches(\"^[0-9]+$\")&& text.length()==8) {\n return true;\n } else {\n return false;\n }\n }", "private static boolean areNumbers(String s) {\n boolean isADigit = false;//only changed once everything has been checked\n //checks if places 0-2 are numbers and 3 is a \"-\"\n for(int i = 0; i < 3; i++) {\n if(Character.isDigit(s.charAt(i)) && s.charAt(3) == '-') {\n isADigit = true;\n }\n }\n //checks if places 4-5 are numbers and 6 is a \"-\"\n for(int i = 4; i < 6; i++) {\n if(Character.isDigit(s.charAt(i)) && s.charAt(6) == '-') {\n isADigit = true;\n }\n }\n //checks if places 7-10 are numbers\n for(int i = 7; i < 11; i++) {\n if(Character.isDigit(s.charAt(i))) {\n isADigit = true;\n }\n }\n return isADigit;\n }", "private boolean digits() {\r\n return ALT(\r\n GO() && RANGE('1','9') && decimals() || OK() && CHAR('0') && hexes()\r\n );\r\n }", "public static boolean isINT(final String token) {\n\t\t// Check for empty or 1-size strings.\n\t\tif (token.length() < 2)\n\t\t\treturn false;\n\n\t\t// verify all chars are 0-9.\n\t\tfor (int i = 0; i < token.length(); i++) {\n\t\t\tif (!digits.contains(Character.toString(token.charAt(i)))) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\t// Passes all tests!\n\t\treturn true;\n\t}", "public static boolean isValidId(String test) {\n return test.matches(VALIDATION_REGEX);\n }", "public static boolean isValidId(String test) {\n return test.matches(VALIDATION_REGEX);\n }", "public boolean checkCourseID(String id) {\n // check for empty String\n if (id == null || id.strip().equals(\"\")) {\n return false;\n }\n\n // check for length\n if (id.length() > 6) {\n return false;\n }\n\n return true;\n }", "private boolean checkMobileDigit(String mobileNumber) {\n\t\tString patternStr = \"^[0-9]*$\";\n\t\tPattern pattern = Pattern.compile(patternStr);\n\t\tMatcher matcher = pattern.matcher(mobileNumber);\n\t\tboolean matchFound = matcher.matches();\n\t\treturn matchFound;\n\t}", "private static boolean stringContainsNumber( String userName ) {\n return Pattern.compile( \"[0-9]\" ).matcher( userName).find();\n }", "private boolean startsWithDigit(String s) {\n return Pattern.compile(\"^[0-9]\").matcher(s).find();\n\t}", "public boolean isContainNumericalDigits(String password) {\n\t\treturn password.matches(\".*[0-9].*\");\n\t}", "public static boolean checkdigitsequal() {\n int count2=0;\n for (a = 0; a < 10; a++) {\n if (digits[a] == 0)\n {\n count2++;\n if(count2==10)return true;\n }\n else return false;\n }\n return false;\n }", "private boolean is_valid_message(String ID)\n\t{\n\t\t// if the string is not null, not empty, and between 0 and 65356 in length, it is valid\n\t\tif(ID != null && !ID.equals(\"\") && ID.length() > 0 && ID.length() < 65356)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t// otherwise it's not\n\t\treturn false;\n\t}", "private static boolean isLegalIdentifier(String str) {\n if (\"\".equals(str)) {\n return false;\n }\n if (str.charAt(0) >= '0' & str.charAt(0) <= '9') {\n return false;\n }\n\n return str.matches(\"^\\\\w+$\");\n }", "public static boolean passwordDigitCheck (String password){\n int numberOfDigits = 0;\n for (int i = 0; i < password.length(); i++){\n if (Character.isDigit(password.charAt(i))){\n numberOfDigits++;\n }\n if (numberOfDigits >=3){\n return true;\n }\n }\n return false;\n }", "private boolean is_phonenumber(String nr)\n\t{\n\t\t// if the string is not null, length is between 0 and 16, starts with \"00\" and all the characters in the sttring are numbers\n\t\t// then it's valid\n\t\tif(nr != null && nr.length() > 0 && nr.length() < 16 && nr.substring(0, 2).equals(\"00\") && valid_numbers(nr))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public static Boolean Int(String arg){\n\t\tif(arg == arg.replaceAll(\"\\\\D\",\"\")){\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public static boolean hasDigit(String password) throws NoDigitException\r\n {\r\n Pattern pattern = Pattern.compile(\".*[0-9].*\");\r\n Matcher matcher = pattern.matcher(password);\r\n if (!matcher.matches())\r\n throw new NoDigitException();\r\n return true;\r\n }", "boolean hasLetterId();", "boolean hasLetterId();", "public boolean isDigit(String s)\r\n\t\t{\n\t\t\tfor(char c : s.toCharArray())\r\n\t\t\t{\r\n\t\t\t if(!(Character.isDigit(c)))\r\n\t\t\t {\r\n\t\t\t return false;\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t\t//return false;\r\n\t\t\treturn true;\r\n\t\t}", "@Override\n public boolean isUhUuid(String naming) {\n return naming.matches(\"\\\\d+\");\n }", "public boolean ehInteiro(String s) {\n\t\tchar[] c = s.toCharArray();\n\t\tboolean d = true;\n\t\tfor (int i = 0; i < c.length; i++)\n\t\t\t// verifica se o char não é um dígito\n\t\t\tif (!Character.isDigit(c[i])) {\n\t\t\t\td = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\treturn d;\n\t}", "private boolean validar_numero(String numero) {\n boolean es_valido;\n es_valido = numero.charAt(0) != '0';\n return es_valido;\n }", "@Test\n public void shouldMatchDigits(){\n Assert.assertThat(\"match all digits\",CharMatcher.DIGIT.matchesAllOf(\"1234434\"),is(true));\n Assert.assertThat(\"match any digits \",CharMatcher.DIGIT.matchesAnyOf(\"123TTT4\"),is(true));\n }", "public static boolean hasTwitterId(Context context) {\n\t\t\tSharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);\n\t\t\treturn prefs.getString(TWITTER_ID, null)!=null;\n\t\t}", "public boolean isDigit(int i) {\n if (i < 1632) {\n return i <= 57 && 48 <= i;\n }\n return Collation.hasCE32Tag(getCE32(i), 10);\n }", "@Test\n\tpublic void test() {\n\t\tString r1 = CGroup.createRandomId();\n\t\tassertTrue(r1.matches(\"[0-9]+\"));\n\t\t\n\t\tString r2 = CGroup.createRandomId();\n\t\tassertFalse(r1.equals(r2));\n\t}", "private boolean isDigit(char x) {\n return x >= '0' && x <= '9';\n }", "private boolean isNotNumeric(String s) {\n return s.matches(\"(.*)\\\\D(.*)\");\n }", "public boolean validateEmployeeID() {\n if (employeeID.length() - 1 != 6) {\n return false;\n }\n else if (employeeID.toCharArray()[2] != '-') {\n return false;\n }\n else if (Character.isLetter(employeeID.toCharArray()[0] & employeeID.toCharArray()[1])) {\n return true;\n }\n else if (Character.isDigit(employeeID.toCharArray()[3] & employeeID.toCharArray()[4]\n & employeeID.toCharArray()[5] & employeeID.toCharArray()[6])) {\n return true;\n }\n else{\n return false;\n }\n }", "private static boolean isKata(String s) {\n\t\tchar c = s.charAt(0);\n\t\tif (c < '0' || c > '9') return true;\n\t\t\n\t\ttry {\n\t\t\tInteger.parseInt(s);\n\t\t\treturn false;\n\t\t} catch (NumberFormatException e) {\n\t\t\treturn true;\n\t\t}\n\t}", "public static boolean isDigitsOnly(CharSequence str) {\r\n\t\tfinal int len = str.length();\r\n\t\tfor (int i = 0; i < len; i++) {\r\n\t\t\tif (!Character.isDigit(str.charAt(i))) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public void testStringID() {\n String testID = generator.generatePrefixedIdentifier(\"test\");\n assertNotNull(testID);\n assertTrue(testID.matches(\"test\" + ID_REGEX));\n }", "private static boolean isPrimitive(String value) {\n boolean status = true;\n value = value.trim();\n if (value.length() < 1) {\n return false;\n }\n for (int i = 0; i < value.length(); i++) {\n char c = value.charAt(i);\n if (!Character.isDigit(c)) {\n status = false;\n break;\n }\n }\n\n return status;\n }", "public static boolean containsOnlyDigitsV1(String str) {\n\n if (str == null || str.isBlank()) {\n // or throw IllegalArgumentException\n return false;\n }\n \n for (int i = 0; i < str.length(); i++) {\n if (!Character.isDigit(str.charAt(i))) {\n return false;\n }\n }\n \n return true;\n }", "protected boolean isAirportIDValid(String airportID) {\n return (airportID.length() <= 5 && airportID.matches(\"[0-9]+\"));\n }", "public boolean ifStringContainsOneNumberMod36Equals1(String s) {\n\t\tint sta = 0;\n\t\twhile (sta < s.length()) {\n\t\t\tchar curCha = s.charAt(sta);\n\t\t\tif (!Character.isDigit(curCha)) {\n\t\t\t\tsta++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tStringBuilder cur = new StringBuilder();\n\t\t\twhile (Character.isDigit(curCha)) {\n\t\t\t\tcur.append(curCha);\n\t\t\t\tsta++;\n\t\t\t\tif (sta >= s.length()) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcurCha = s.charAt(sta);\n\t\t\t}\n\t\t\tString tmpString = cur.toString();\n\t\t\tint[] array = new int[tmpString.length() - 1];\n\t\t\tint len = 3;\n\t\t\tfor (int i = 1; i < tmpString.length(); i++) {\n\t\t\t\tarray[i - 1] = Integer.parseInt(tmpString.substring(i - 1, i + 1)) % 36;\n\t\t\t\tif (array[i - 1] == 1)\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t\twhile (len <= tmpString.length()) {\n\t\t\t\tfor (int i = 0; i <= tmpString.length() - len; i++) {\n\t\t\t\t\tarray[i] = array[i] * 10 + tmpString.charAt(i + len - 1) - '0';\n\t\t\t\t\tarray[i] %= 36;\n\t\t\t\t\tif (array[i] == 1) {\n\t\t\t\t\t\tSystem.out.println(tmpString.substring(i, i+len));\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlen++;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public static boolean isNumeric(String userInput) {\n return Pattern.matches(Constants.ID_VALIDATION, userInput);\n }", "@Override\n public final boolean isValid(final String taxId) {\n if (hasInvalidLength(taxId) || hasInvalidCharacter(taxId)) {\n return false;\n }\n if (computeCheckDigit(taxId) != taxId.charAt(EXPECTED_LEN - 1)) {\n return false;\n }\n return true;\n }", "private static boolean m66068b(String str) {\n for (int i = 0; i < str.length(); i++) {\n char charAt = str.charAt(i);\n if (charAt <= 31 || charAt >= 127 || \" #%/:?@[\\\\]\".indexOf(charAt) != -1) {\n return true;\n }\n }\n return false;\n }", "private int m127619a(String str) {\n if (TextUtils.isEmpty(str)) {\n return 0;\n }\n int i = 0;\n for (char a : str.toCharArray()) {\n if (m127620a(a)) {\n i++;\n }\n }\n return i;\n }", "public boolean isNumber(String num)\t{\n\t\tfor(int i=0;i<13;i++)\t{\n\t\t\tif(Integer.parseInt(num)==i)\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "private boolean isNumber(char c){\n if(c >= 48 && c < 58)\n return true;\n else{\n return false;\n }\n }", "public static boolean isPubid(int c) {\n return c < 0x10000 && (CHARS[c] & MASK_PUBID) != 0;\n }", "public static void main(String[] args) {\n String idNum = \"410326880818551\";\n System.out.println(verify15(idNum));\n// String idNum2 = \"411111198808185510\";\n String idNum2 = \"410326198808185515\";\n System.out.println(verify(idNum2));\n }", "protected boolean isAirlineIDValid(String airlineID) {\n return airlineID.length() <= 5 && airlineID.matches(\"[0-9]+\");\n }", "private boolean isIsbn10(String code) {\n return checkDigit(code, 10);\n }", "public boolean validarTel(String text) {\n if (text.length() == 9) {\n return true;\n } else {\n return false;\n }\n }", "public static boolean ehInteiro(String s) {\n char[] c = s.toCharArray();\n boolean d = true;\n\n for (int i = 0; i < c.length; i++) {\n // verifica se o char não é um dígito\n if (!Character.isDigit(c[i])) {\n d = false;\n break;\n }\n }\n\n return d;\n }", "public static boolean isNumber(String s) \r\n{ \r\n for (int i = 0; i < s.length(); i++) \r\n if (Character.isDigit(s.charAt(i)) \r\n == false) \r\n return false; \r\n\r\n return true; \r\n}", "private static boolean isSingleDigit(int number) {\n\t\treturn number < 10;\n\t}", "public boolean isDuplicateNumber(String t){\n\t\tfor(ChildMessage c : cMessages)\n\t\t\tif(c.containsNumber(t))\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "private boolean m81839a(String str) {\n return C6969H.m41409d(\"G738BDC12AA\").equals(str) || C6969H.m41409d(\"G738BDC12AA39A528F61E\").equals(str);\n }", "public static Boolean Digit(String arg){\n\t\tif(arg.length() == 1 && Is.Int(arg)){\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public static boolean checkUnlucky(int num) {\n\t\twhile (num != 0) {\n\t\t\tif (num == 13) {\n\t\t\t\treturn true;\n\t\t\t} \n\t\t\tnum = num / 10;\n\t\t}\n\t\treturn false;\n\t}", "public static boolean isDigits(String value) {\n return value.matches(\"[0-9]+\");\n }", "private boolean isNdexId(String conceptId) {\n\t\tif(conceptId.startsWith(Translator.NDEX_NS)) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// ...old test, in case you\n\t\ttry {\n\t\t\tif (conceptId.length() >= 38) {\n\t\t\t\tUUID.fromString(conceptId.substring(0, 36));\n\t\t\t\treturn conceptId.charAt(36) == Translator.NETWORK_NODE_DELIMITER_CHAR;\n\t\t\t}\n\t\t\n\t\t} catch (IllegalArgumentException e) {}\n\t\t\n\t\treturn false;\n\t}", "private boolean isNumber(String str) {\r\n int ASCII_0 = 48;\r\n int ASCII_9 = 57;\r\n if (str.equals(\"\")) {\r\n return false;\r\n }\r\n for (int i = 0; i < str.length(); i++) {\r\n int chr = str.charAt(i);\r\n if (chr < ASCII_0 || chr > ASCII_9) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "private boolean esNumero(String cadena) {\n try {\n Integer.parseInt(cadena);\n return true;\n } catch (NumberFormatException nfe) {\n return false;\n }\n }", "private static boolean isNumber(String value){\r\n\t\tfor (int i = 0; i < value.length(); i++){\r\n\t\t\tif (value.charAt(i) < '0' || value.charAt(i) > '9')\r\n\t\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "private boolean isInt(String num) {\n boolean isInt;\n try {\n Integer.parseInt(num);\n isInt = true;\n } catch (Exception e) {\n isInt = false;\n }\n return isInt;\n }", "public boolean checkNumberContinuation(String password) {\n for (int i = 0; i < password.length(); i++) {\n if (String.valueOf(password.charAt(i)).matches(\"[0-9]\")) { //next time: Character.isDigit(passtword.charAt(i))\n if ((password.charAt(i) + 1 == password.charAt(i + 1))\n && (password.charAt(i) + 2 == password.charAt(i + 2))) {\n return false;\n }\n }\n }\n return true;\n }", "private boolean checkMaPhieuTT(String maPTT){\n String pattern = \"PTT\\\\d+\";\n return maPTT.matches(pattern);\n }", "private boolean isPhoneValid(String password) {\n return password.length() == 10;\r\n }", "@Test\n public void shouldMatchDigitsWithSpace() {\n Assert.assertThat(\"match any digits with space\",CharMatcher.DIGIT.matchesAllOf(\"123T TT4\"),is(false));\n Assert.assertThat(\"match any digits with space\",CharMatcher.DIGIT.matchesAnyOf(\"123 TTT4\"),is(true));\n }", "public static boolean isInteger(String str) {\n if (str == null || str.isEmpty()) {\n return false;\n }\n int length = str.length();\n if (length == 0) {\n return false;\n }\n int i = 0;\n if (str.charAt(0) == '-') {\n if (length == 1) {\n return false;\n }\n i = 1;\n }\n for (; i < length; i++) {\n char c = str.charAt(i);\n if (c <= '/' || c >= ':') {\n return false;\n }\n }\n return true;\n }", "public static boolean empidValidate(String emp_id){\n if(emp_id.matches(\"\\\\p{IsAlphabetic}{2}-\\\\d{4}\"))\n return true;\n\n else {\n System.out.println(\"The employee ID must be in the format of AA-1234.\");\n return false;\n }\n\n }", "private boolean checkForNumber(String field) {\n\n\t\tPattern p = Pattern.compile(\"[0-9].\");\n\t\tMatcher m = p.matcher(field);\n\n\t\treturn (m.find()) ? true : false;\n\t}", "private static boolean checkForMultipleIDs(String id)\n\t{\n\t\tif (id.indexOf(',') >= 0)\n\t\t{\n\t\t\treturn false; \n\t\t}\n\t\t\n\t\treturn true; \n\t}", "private static String normalizeID(String id) {\r\n\t\tint hashcode = id.hashCode();\r\n\t\tboolean positive = hashcode >= 0;\r\n\t\tlong longcode = positive ? (long) hashcode : -(long) hashcode;\r\n\t\tStringBuffer hexstring = new StringBuffer(Long.toHexString(longcode));\r\n\t\twhile (hexstring.length() < 8) {\r\n\t\t\thexstring.insert(0, '0');\r\n\t\t}\r\n\t\tif (positive) {\r\n\t\t\thexstring.insert(0, '0');\r\n\t\t} else {\r\n\t\t\thexstring.insert(0, '1');\r\n\t\t}\r\n\t\treturn hexstring.toString();\r\n\t}", "public boolean checkInput(String input){\n\t\t//make sure only input 0-9\n\t\tif(input.length() != 1){\n\t\t\treturn false;\n\t\t}\n\t\tchar c = input.charAt(0);\n\t\tif(!Character.isDigit(c)){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "public boolean validarDni(String dni){\n boolean isDni = true;\n while(dni.startsWith(\"0\")){\n dni = dni.substring(1);\n }\n isDni = dni.length()<10 && dni.length()>6?true:false;\n return isDni;\n }", "public static boolean checkPhoneNumber(String phone){\n String regex = \"\\\\d{9}\"; \n if (phone.matches(regex))\n return true;\n else\n return false;\n }", "private boolean isNumber( String test ) {\n\treturn test.matches(\"\\\\d+\");\n }", "public static boolean isValidInt(String s)\n {\n for (int i = 0; i < s.length(); i++)\n {\n if (!Character.isDigit(s.charAt(i)))\n {\n return false;\n }\n }\n return true;\n }", "private boolean checkInt(String str) {\n\t\ttry {\n\t\t\tint integer = Integer.parseInt(str);\n\t\t\tif(integer>=0&&integer<100000){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch(Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean checkInvalid0(String x) {\n String kiTuDacBiet = \"0123456789fwjz~`!@#$%^&*()-_=+[{}]|;:'<>?/\";\n for (int i = 0; i < x.length(); i++) {\n if (kiTuDacBiet.contains(String.valueOf(x.charAt(i)))) {\n return true;\n }\n }\n return false;\n }", "private static boolean m127620a(char c) {\n return Pattern.compile(\"[一-龥]\").matcher(String.valueOf(c)).matches();\n }", "public boolean checkInvalid6(String x) {\n String phuAmDau = \"qsdklxvb\";\n for (int i = 1; i < x.length(); i++) {\n if (phuAmDau.contains(String.valueOf(x.charAt(i)))) {\n return true;\n }\n }\n return false;\n }", "public boolean includes(int s) {\n return code.is_digit(s);\n }" ]
[ "0.7116283", "0.6888588", "0.6543503", "0.6528316", "0.62945414", "0.6251363", "0.6184216", "0.61692464", "0.6040584", "0.5993946", "0.59841555", "0.5983787", "0.59557015", "0.5942105", "0.5859375", "0.5849586", "0.5842887", "0.58293986", "0.58091104", "0.57522374", "0.5715798", "0.5714251", "0.56720304", "0.56656843", "0.56656843", "0.56244814", "0.56177455", "0.56175065", "0.5614068", "0.5611582", "0.56076336", "0.5604123", "0.5603922", "0.5578516", "0.5554666", "0.5549515", "0.5540309", "0.55252665", "0.55252665", "0.5524342", "0.55155027", "0.5488183", "0.5482546", "0.5479514", "0.5473999", "0.5472172", "0.546672", "0.5464031", "0.54620254", "0.5461173", "0.5457744", "0.5446795", "0.5442779", "0.5441075", "0.5439567", "0.54384047", "0.54351157", "0.54311967", "0.53983027", "0.53879577", "0.5381988", "0.53775555", "0.537565", "0.5374697", "0.5364798", "0.5364666", "0.5349709", "0.53486407", "0.534808", "0.53411895", "0.5333077", "0.53311414", "0.53223574", "0.53076047", "0.530428", "0.53023815", "0.5298724", "0.5296193", "0.52950007", "0.52946025", "0.529426", "0.5288408", "0.5287449", "0.5286511", "0.5283794", "0.52806795", "0.5277814", "0.5277532", "0.5272336", "0.5256814", "0.5250216", "0.5222327", "0.5221637", "0.52182084", "0.52161443", "0.52156967", "0.5214651", "0.5203918", "0.5201683", "0.5199958" ]
0.6595956
2
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}", "public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}", "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }" ]
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.68621665", "0.68621665", "0.68621665", "0.68515885", "0.68467957", "0.68194443", "0.6817494", "0.6813087", "0.6813087", "0.6812847", "0.6805774", "0.6801204", "0.6797914", "0.6791314", "0.6789091", "0.67883503", "0.6783642", "0.6759701", "0.6757412", "0.67478645", "0.6744127", "0.6744127", "0.67411774", "0.6740183", "0.6726017", "0.6723245", "0.67226785", "0.67226785", "0.67208904", "0.67113477", "0.67079866", "0.6704564", "0.6699229", "0.66989094", "0.6696622", "0.66952467", "0.66865396", "0.6683476", "0.6683476", "0.6682188", "0.6681209", "0.6678941", "0.66772443", "0.6667702", "0.66673946", "0.666246", "0.6657578", "0.6657578", "0.6657578", "0.6656586", "0.66544783", "0.66544783", "0.66544783", "0.66524047", "0.6651954", "0.6650132", "0.66487855", "0.6647077", "0.66467404", "0.6646615", "0.66464466", "0.66449624", "0.6644209", "0.6643461", "0.6643005", "0.66421187", "0.6638628", "0.6634786", "0.6633529", "0.6632049", "0.6632049", "0.6632049", "0.66315657", "0.6628954", "0.66281766", "0.6627182", "0.6626297", "0.6624309", "0.6619582", "0.6618876", "0.6618876" ]
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.AboutMe: { showMyDialog(); return true; } case R.id.shareApp: { ShareActionProvider myShareActionProvider = (ShareActionProvider) item .getActionProvider(); Intent sharingIntent = new Intent( android.content.Intent.ACTION_SEND); sharingIntent.setType("text/plain"); String shareBody = "the link to the app"; sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Check out my App"); sharingIntent .putExtra(android.content.Intent.EXTRA_TEXT, shareBody); myShareActionProvider.setShareIntent(sharingIntent); return true; } case R.id.favs: { Intent myIntent = new Intent(this, List.class); myIntent.putExtra("typeList", 1111); startActivity(myIntent); return true; } case R.id.rateApp: { final Uri uri = Uri.parse("market://details?id=" + getApplicationContext().getPackageName()); final Intent rateAppIntent = new Intent(Intent.ACTION_VIEW, uri); if (getPackageManager().queryIntentActivities(rateAppIntent, 0) .size() > 0) { startActivity(rateAppIntent); } else { Toast.makeText(getApplicationContext(), R.string.rateappno, Toast.LENGTH_SHORT).show(); /* * handle your error case: the device has no way to handle * market urls */ } return true; } case R.id.sendfeedback: { startActivity(new Intent(MainActivity.this, Feedback.class)); return true; } // start activity for feedback form default: return super.onOptionsItemSelected(item); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n //\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // Back button clicked\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n switch (id) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; go home\r\n this.finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // app icon in action bar clicked; go home\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n Log.e(\"clik\", \"action bar clicked\");\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n\t public boolean onOptionsItemSelected(MenuItem item) {\n\t int id = item.getItemId();\n\t \n\t\t\tif (id == android.R.id.home) {\n\t\t\t\t// Respond to the action bar's Up/Home button\n\t\t\t\t// NavUtils.navigateUpFromSameTask(this);\n\t\t\t\tonBackPressed();\n\t\t\t\treturn true;\n\t\t\t}\n\t \n\t \n\t return super.onOptionsItemSelected(item);\n\t }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n // Respond to the action bar's Up/Home button\r\n case android.R.id.home:\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_clear:\n return true;\n case R.id.action_done:\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onActionHomePressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId())\n {\n case android.R.id.home :\n super.onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId ()) {\n case android.R.id.home:\n onBackPressed ();\n return true;\n\n default:\n break;\n }\n return super.onOptionsItemSelected ( item );\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\t// app icon in action bar clicked; go home \n\t\t\tIntent intent = new Intent(this, Kelutral.class); \n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); \n\t\t\tstartActivity(intent); \n\t\t\treturn true;\t\t\n\t case R.id.Search:\n\t \treturn onSearchRequested();\n\t\tcase R.id.AppInfo:\n\t\t\t// Place holder menu item\n\t\t\tIntent newIntent = new Intent(Intent.ACTION_VIEW,\n\t\t\t\t\tUri.parse(\"http://forum.learnnavi.org/mobile-apps/\"));\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\n\t\tcase R.id.Preferences:\n\t\t\tnewIntent = new Intent(getBaseContext(), Preferences.class);\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\t\n\t }\n\t return false;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n onBackPressed();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // Intent homeIntent = new Intent(this, MainActivity.class);\n // homeIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n // startActivity(homeIntent);\n finish();\n return true;\n default:\n return (super.onOptionsItemSelected(item));\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // setResult and close the activity when Action Bar Up Button clicked.\n if (item.getItemId() == android.R.id.home) {\n setResult(RESULT_CANCELED);\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // This ID represents the Home or Up button. In the case of this\n // activity, the Up button is shown. Use NavUtils to allow users\n // to navigate up one level in the application structure. For\n // more details, see the Navigation pattern on Android Design:\n //\n // http://developer.android.com/design/patterns/navigation.html#up-vs-back\n //\n \tgetActionBar().setDisplayHomeAsUpEnabled(false);\n \tgetFragmentManager().popBackStack();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if(id == android.R.id.home){\n onBackPressed();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@RequiresApi(api = Build.VERSION_CODES.M)\n @Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif(item.getItemId()==android.R.id.home)\r\n\t\t{\r\n\t\t\tgetActivity().onBackPressed();\r\n\t\t}\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if(item.getItemId()==android.R.id.home){\n super.onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n return false;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n //Back arrow\n case android.R.id.home:\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // android.R.id.home是Android内置home按钮的id\n finish();\n break;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n this.onBackPressed();\n return false;\n }\n return false;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n\r\n case android.R.id.home:\r\n /*Intent i= new Intent(getApplication(), MainActivity.class);\r\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n startActivity(i);*/\r\n onBackPressed();\r\n finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case android.R.id.home:\n this.finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Pass the event to ActionBarDrawerToggle, if it returns\n // true, then it has handled the app icon touch event\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n\n // Handle your other action bar items...\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n NavUtils.navigateUpFromSameTask(getActivity());\n return true;\n case R.id.action_settings:\n Intent i = new Intent(getActivity(), SettingsActivity.class);\n startActivity(i);\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n //Fixes the Up Button\n if(id == android.R.id.home) {\n BuildRoute.this.finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return true;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if (id == android.R.id.home) {\n NavUtils.navigateUpFromSameTask(this);\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n break;\r\n }\r\n return true;\r\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif (item.getItemId() == android.R.id.home) {\n\t\t\tfinish();\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n onBackPressed();\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if ( id == android.R.id.home ) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.home) {\r\n NavUtils.navigateUpFromSameTask(this);\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_about) {\r\n AboutDialog();\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_exit) {\r\n finish();\r\n return true;\r\n }\r\n\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n//noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n// finish the activity\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if( id == android.R.id.home ) // Back button of the actionbar\n {\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\t\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\tswitch (item.getItemId()) {\r\n\t\t\tcase android.R.id.home:\r\n\t\t\t\tfinish();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\treturn super.onOptionsItemSelected(item);\r\n\t\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return false;\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if(id == android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tsetResult(RESULT_OK, getIntent());\r\n\t\t\tfinish();\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n\n case android.R.id.home:\n this.finish();\n return true;\n }\n return true;\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == android.R.id.home) {\n\t\t\tfinish();\n\t\t\treturn true;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if (id == android.R.id.home) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n //NavUtils.navigateUpFromSameTask(this);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // todo: goto back activity from here\n finish();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n // Handle item selection\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n return true;\r\n\r\n case me.cchiang.lookforthings.R.id.action_sample:\r\n// Snackbar.make(parent_view, item.getTitle() + \" Clicked \", Snackbar.LENGTH_SHORT).show();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tcase R.id.scan_menu:\n\t\t\tonScan();\n\t\t\tbreak;\n\t\tcase R.id.opt_about:\n\t\t\t//onAbout();\n\t\t\tbreak;\n\t\tcase R.id.opt_exit:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t\treturn true;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n super.onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n finish();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t \t// back to previous page\r\n\t case android.R.id.home:\r\n\t finish();\r\n\t return true;\r\n\t }\r\n\t return super.onOptionsItemSelected(item);\r\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if(id==android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId())\n {\n case android.R.id.home:\n this.finish();\n return (true);\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case R.id.home:{\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n }\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n switch(item.getItemId())\n {\n case android.R.id.home:\n super.onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\treturn true;\n\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n\r\n int id = item.getItemId();\r\n if(id==android.R.id.home){\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }" ]
[ "0.7903837", "0.78051525", "0.77659255", "0.77268183", "0.7631446", "0.7621391", "0.75841075", "0.7530494", "0.7487704", "0.7456764", "0.7456764", "0.74384135", "0.74208015", "0.74030864", "0.7391401", "0.7386621", "0.73789454", "0.7370171", "0.73620147", "0.7355636", "0.73452693", "0.7341198", "0.7329712", "0.7327852", "0.73252565", "0.73184", "0.73163027", "0.73132235", "0.73038787", "0.73038787", "0.73015165", "0.72978747", "0.7293419", "0.7286446", "0.7282969", "0.7280837", "0.7278409", "0.72595507", "0.72595507", "0.72595507", "0.725947", "0.72591", "0.72496724", "0.72238463", "0.72192425", "0.7216827", "0.7204148", "0.72002345", "0.71994936", "0.71925104", "0.7185105", "0.71769345", "0.7168523", "0.71675384", "0.7153654", "0.71535045", "0.71352005", "0.7134702", "0.7134702", "0.7129045", "0.7128479", "0.7124082", "0.7123082", "0.712302", "0.7121837", "0.711701", "0.71168506", "0.7116747", "0.7116747", "0.7116747", "0.7116747", "0.7116185", "0.7114864", "0.71119577", "0.7109688", "0.71088374", "0.7105472", "0.70990086", "0.7097912", "0.70947707", "0.7093472", "0.7093472", "0.708617", "0.7082372", "0.7080411", "0.70799303", "0.70732236", "0.70680827", "0.7061595", "0.7060437", "0.7059899", "0.70511454", "0.70371467", "0.70371467", "0.7035687", "0.7035242", "0.7035242", "0.7031746", "0.70300347", "0.7029477", "0.7018981" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { if (v.getId() == R.id.winnerid) { Intent myIntent = new Intent(this, Winners.class); startActivity(myIntent); } else { Intent myIntent = new Intent(this, List.class); myIntent.putExtra("typeList", ((Button) v).getId()); startActivity(myIntent); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Atribui aos objetos criados o componente de leyout correspondente
private void initFormulario() { btnCadastro = findViewById(R.id.btnCadastro); editNome = findViewById(R.id.editNome); editEmail = findViewById(R.id.editEmail); editSenhaA = findViewById(R.id.editSenha); editSenhaB = findViewById(R.id.editSenhaB); chTermo = findViewById(R.id.chTermos); isFormOk = false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LecturaPorEvento() \r\n {\r\n }", "private void crearObjetos() {\n // crea los botones\n this.btnOK = new CCButton(this.OK);\n this.btnOK.setActionCommand(\"ok\");\n this.btnOK.setToolTipText(\"Confirmar la Operación\");\n \n this.btnCancel = new CCButton(this.CANCEL);\n this.btnCancel.setActionCommand(\"cancel\");\n this.btnCancel.setToolTipText(\"Cancelar la Operación\");\n \n // Agregar los eventos a los botones\n this.btnOK.addActionListener(this);\n this.btnCancel.addActionListener(this);\n }", "Compuesta createCompuesta();", "public Vencimientos() {\n initComponents();\n \n \n }", "public Propuestas() {}", "private void inicializarcomponentes() {\n Comunes.cargarJList(jListBecas, becasFacade.getTodasBecasVigentes());\n \n }", "private void renderObjetos() {\n // Agrego los botones a la barra\n this.rBotones.add(this.btnOK);\n this.rBotones.add(this.btnCancel);\n }", "private void agregarComponentes() {\n JButton botonEstudiante = new JButton(\"Estudiante\");\r\n JButton botonDocente = new JButton(\"Docente\");\r\n JButton botonEquipo = new JButton(\"Equipo\");\r\n\r\n botonEstudiante.addActionListener(new OyenteListaEstudiante(this));\r\n botonDocente.addActionListener(new OyenteListaDocente(this));\r\n botonEquipo.addActionListener(new OyenteListaEquipo(this));\r\n\r\n // crea objeto Box para manejar la colocación de areaConsulta y\r\n // botonEnviar en la GUI\r\n Box boxNorte = Box.createHorizontalBox();\r\n boxNorte.add(botonDocente);\r\n boxNorte.add(botonEstudiante);\r\n boxNorte.add(botonEquipo);\r\n\r\n // crea delegado de JTable para modeloTabla\r\n tablaDatosIngresdos = new JTable();\r\n add(boxNorte, BorderLayout.NORTH);\r\n\r\n add(new JScrollPane(tablaDatosIngresdos), BorderLayout.CENTER);\r\n\r\n }", "private void renderObjetos()\n {\n for (int i=0;i<NCONSUMIBLES;i++)\n {\n //EDIT:Ruta de Inventario\n Consumible consumible=(Consumible)VenganzaBelial.atributoGestion.getInv().getItems().get(i);\n if(eleccionJugador==i)\n {\n opcionesJugadorTTF.drawString(10,i*20+400,consumible.getNombre()+\" \"+consumible.getNumero()+\"/10\");\n }\n else{\n opcionesJugadorTTF.drawString(10, i * 20 + 400, consumible.getNombre()+\" \"+consumible.getNumero()+\"/10\", notChosen);\n }\n }\n }", "public VPacientes() {\n initComponents();\n inicializar();\n }", "private void iniciarComponentesInterface() {\n\t\tPanelchildren panelchildren = new Panelchildren();\r\n\t\tpanelchildren.setParent(this);\r\n\t\tlistBox = new Listbox();\r\n\t\tlistBox.setHeight(\"300px\");\r\n\t\tlistBox.setCheckmark(true);\r\n\t\tlistBox.setMultiple(false);\r\n\t\tlistBox.setParent(panelchildren);\r\n\t\tListhead listHead = new Listhead();\r\n\t\tlistHead.setParent(listBox);\r\n\t\tListheader listHeader = new Listheader(\"Projeto\");\r\n\t\tlistHeader.setParent(listHead);\r\n\r\n\t\t// Botões OK e Cancelar\r\n\t\tDiv div = new Div();\r\n\t\tdiv.setParent(panelchildren);\r\n\t\tdiv.setStyle(\"float: right;\");\r\n\t\tSeparator separator = new Separator();\r\n\t\tseparator.setParent(div);\r\n\t\tButton botaoOK = new Button(\"OK\");\r\n\t\tbotaoOK.addEventListener(\"onClick\", new EventListenerOK());\r\n\t\tbotaoOK.setWidth(\"100px\");\r\n\t\tbotaoOK.setStyle(\"margin-right: 5px\");\r\n\t\tbotaoOK.setParent(div);\r\n\t\tButton botaoCancelar = new Button(\"Cancelar\");\r\n\t\tbotaoCancelar.addEventListener(\"onClick\", new EventListenerCancelar());\r\n\t\tbotaoCancelar.setWidth(\"100px\");\r\n\t\tbotaoCancelar.setParent(div);\r\n\t}", "public CadastroComplemento() {\n initComponents();\n \n }", "Compleja createCompleja();", "private void crearVista() {\n\t\tVista vista = Vista.getInstancia();\n\t\tvista.addObservador(this);\n\n\t}", "public Controlador() {\n\t\t// m\n\t\tdatosPrueba1 = new ListaEnlazada();\n\t\t// m\n\t\tdatosPrueba2 = new ListaEnlazada();\n\t\t// add\n\t\tdatosPrueba3 = new ListaEnlazada();\n\t\tdatosPrueba4 = new ListaEnlazada();\n\t\tprueba1 = new Estadisticas(datosPrueba1);\n\t\tprueba2 = new Estadisticas(datosPrueba2);\n\t\tprueba3 = new Estadisticas(datosPrueba3);\n\t\tprueba4 = new Estadisticas(datosPrueba4);\n\t\t// finAdd\n\t}", "public ListOfClickableObjectsModel()\n {\n this.observers = new ArrayList<>();\n this.infos = new ArrayList<>();\n }", "public Oveja() {\r\n this.nombreOveja = \"Oveja\";\r\n }", "public void inicializar(Component comp) {\r\n\r\n\t\tList<Tematica> tematica = servicioTematica.buscarTematicasDeArea(area);\r\n\t\tltbTematica.setModel(new ListModelList<Tematica>(tematica));\r\n\r\n\t}", "private UsineJoueur() {}", "@Override\r\n\tprotected void initVentajas() {\n\r\n\t}", "private void renderObjetos() {\n \tcpPrincipal.add(_cPrincipal);\n\n _cPrincipal.add(rPrincipal);\n rPrincipal.add(cLabels);\n rPrincipal.add(cTexts);\n \n //rPrincipal.setBorder(new Border(1, Color.BLUE,Border.STYLE_DASHED));\n \n _cPrincipal.add(rMensaje);\n _cPrincipal.add(rBotones); \n \n cLabels.add(lApellido);\n cLabels.add(lNombres);\n cLabels.add(lDocNum);\n cLabels.add(lTelefono);\n cLabels.add(lCelular);\n //cLabels.add(lRazonSocial);\n \n cTexts.add(tApellido);\n cTexts.add(tNombres); \n cTexts.add(tDoc);\n cTexts.add(tTelefono);\n cTexts.add(tCelular);\n //cTexts.add(tRazonSocial); \n \n rMensaje.add(lMensaje);\n\n ApplicationInstance.getActive().setFocusedComponent(tApellido);\n \n }", "private void createUIComponents() {\n table = new ShareTraderTable();\n }", "public AsosiyOyna() {\n initComponents();\n }", "public Boleta(){\r\n\t\tsuper();\r\n\t}", "public Caso_de_uso () {\n }", "@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}", "private void createObstacole()\n {\n //Create Obstacole\n Obstacole topObstacole = new Obstacole(\"top\");\n Obstacole botObstacole = new Obstacole(\"bottom\");\n Obstacole midObstacole = new Obstacole(\"mid\");\n //amount of space between obstacole\n int ObstacoleSpacing = 150;\n \n //get object image\n GreenfootImage image = botObstacole.getImage();\n \n //random number to vary\n int numOfObstacoles = Greenfoot.getRandomNumber(40) + 15;\n \n //counter increment to 50\n ObstacoleCounter++;\n if (ObstacoleCounter == 50)\n {\n if (getObjects(Obstacole.class).size() < numOfObstacoles)\n {\n addObject(botObstacole, getWidth(), getHeight() / 2 + image.getHeight() - Greenfoot.getRandomNumber(100) - 10);\n addObject(topObstacole, getWidth(), botObstacole.getY() - image.getHeight() - ObstacoleSpacing);\n addObject(midObstacole, getWidth(), botObstacole.getY() + image.getHeight() / 3 + ObstacoleSpacing);\n }\n ObstacoleCounter = 0;\n }\n }", "public void crearGloboRojo(int tiempo){ \n GloboRojo globor = new GloboRojo();\n double posicionx = generarPosicionX();\n globor.fijarPosicion(posicionx);\n globoslista.add(globor);\n gpane.getChildren().addAll(globor); \n MoverGlobo mv = new MoverGlobo(globor,tiempo);\n mov= new Thread(mv);\n mov.start(); \n }", "public Oddeven() {\n initComponents();\n }", "public TelaCadasroProjeto() {\n initComponents();\n }", "public void creoVehiculo() {\n\t\t\n\t\tAuto a= new Auto(false, 0);\n\t\ta.encender();\n\t\ta.setPatente(\"saraza\");\n\t\ta.setCantPuertas(123);\n\t\ta.setBaul(true);\n\t\t\n\t\tSystem.out.println(a);\n\t\t\n\t\tMoto m= new Moto();\n\t\tm.encender();\n\t\tm.frenar();\n\t\tm.setManubrio(true);\n\t\tm.setVelMax(543);\n\t\tm.setPatente(\"zas 241\");\n\t\tVehiculo a1= new Auto(true, 0);\n\t\ta1.setPatente(\"asd 423\");\n\t\t((Auto)a1).setBaul(true);\n\t\t((Auto)a1).setCantPuertas(15);\n\t\tif (a1 instanceof Auto) {\n\t\t\tAuto autito= (Auto) a1;\n\t\t\tautito.setBaul(true);\n\t\t\tautito.setCantPuertas(531);\n\t\t\t\n\t\t}\n\t\tif (a1 instanceof Moto) {\n\t\t\tMoto motito=(Moto) a1;\n\t\t\tmotito.setManubrio(false);\n\t\t\tmotito.setVelMax(15313);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif (a1 instanceof Camion) {\n\t\t\tCamion camioncito=(Camion) a1;\n\t\t\tcamioncito.setAcoplado(false);\n\t\t\tcamioncito.setPatente(\"ge\");\n\t\t\t\n\t\t\t\n\t\t}\n\t\tVehiculo a2= new Moto();\n\t\tSystem.out.println(a2);\n\t\ta1.frenar();\n\t\t\n\t\tArrayList<Vehiculo>listaVehiculo= new ArrayList<Vehiculo>();\n\t\tlistaVehiculo.add(new Auto(true, 53));\n\t\tlistaVehiculo.add(new Moto());\n\t\tlistaVehiculo.add(new Camion());\n\t\tfor (Vehiculo vehiculo : listaVehiculo) {\n\t\t\tSystem.out.println(\"clase:\" +vehiculo.getClass().getSimpleName());\n\t\t\tvehiculo.encender();\n\t\t\tvehiculo.frenar();\n\t\t\tSystem.out.println(\"=======================================\");\n\t\t\t\n\t\t}\n\t}", "@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}", "public void limpiarCampos() {\n\t\ttema = new Tema();\n\t\ttemaSeleccionado = new Tema();\n\t\tmultimedia = new Multimedia();\n\t}", "private void createUIComponents() {\n\n String[] criterios = {\"Nombre\",\"Identificación\"};\n DefaultListModel modelo = new DefaultListModel();\n criterioBusquedaComboBox = new JComboBox(criterios);\n tablaCitas = new JTable();\n tablaBusqueda = new JTable();\n tableModel = (DefaultTableModel) tablaCitas.getModel();\n tableModelBusqueda = (DefaultTableModel) tablaBusqueda.getModel();\n scrollerTable = new JScrollPane(tablaCitas, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n scrollerBusqueda = new JScrollPane(tablaBusqueda, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n guardarInformacionButton = new JButton(\"Guardar información\");\n guardarInformacionButton.setVisible(false);\n }", "private void nuevoJuego() { \n\n objJuegoTresEnRaya = new JuegoTresEnRaya();\n objJuegoTresEnRaya.addObserver(this);\n objJuegoTresEnRaya.setQuienComienza(JuegoTresEnRaya.JUGADOR);\n objJuegoTresEnRaya.setQuienJuega(JuegoTresEnRaya.JUGADOR);\n \n }", "private void inicializarComponentes() {\n universidadesIncluidos = UniversidadFacade.getInstance().listarTodosUniversidadOrdenados();\n universidadesIncluidos.removeAll(universidadesExcluidos);\n Comunes.cargarJList(jListMatriculasCatastrales, universidadesIncluidos);\n }", "public void definirObjetos(ObservableList<ListaCompras> lista){\n this.data=lista;\n }", "public VistaListacomprasnocliente() {\n // You can initialise any data required for the connected UI components here.\n }", "Obligacion createObligacion();", "public PnAlunos() {\n initComponents();\n listarAlunos();\n }", "public Punto_venta() {\n initComponents();\n }", "public void createCompte(Compte compte);", "public static void init()\n\t{\n\t\t\n\t\tu.creerGalaxie(\"VoieLactee\", \"spirale\", 0);\n\t\tu.creerEtoile(\"Soleil\", 0, 'F', u.getGalaxie(\"VoieLactee\")); //1\n\t\tu.creerObjetFroid(\"Terre\", 150000 , 13000 , 365 , u.getObjet(1)); //2\n\n\t\tu.creerObjetFroid(\"Lune\", 200 , 5000 , 30 , u.getObjet(2)); //3\n\n\t\tu.creerObjetFroid(\"Mars\", 200000 , 11000 , 750 , u.getObjet(1)); //4\n\n\t\tu.creerObjetFroid(\"Phobos\", 150 , 500 , 40 , u.getObjet(4)); //5\n\n\t\tu.creerObjetFroid(\"Pluton\", 1200000 , 4000 , 900 , u.getObjet(1)); //6\n\n\t\tu.creerEtoile(\"Sirius\", 2, 'B', u.getGalaxie(\"VoieLactee\")); //7\n\n\t\tu.creerObjetFroid(\"BIG-1\", 1000 , 50000 , 333 , u.getObjet(7)); //8\n\n\t\tu.creerGalaxie(\"M31\", \"lenticulaire\", 900000);\n\t\tu.creerEtoile(\"XS67\", 8, 'F', u.getGalaxie(\"M31\")); //9\n\t\tu.creerObjetFroid(\"XP88\", 160000 , 40000 , 400 , u.getObjet(9)); //10\n\t}", "public TelaConversao() {\n initComponents();\n }", "void inicializaComponentes(){\r\n\t\t\r\n\t\t//Botão com status\r\n\t\ttgbGeral = (ToggleButton) findViewById(R.id.tgbGeral);\r\n\t\ttgbGeral.setOnClickListener(this);\r\n\t\ttgbMovimento = (ToggleButton) findViewById(R.id.tgbMovimento);\r\n\t\ttgbMovimento.setOnClickListener(this);\r\n\t\ttgbfogo = (ToggleButton) findViewById(R.id.tgbFogo);\r\n\t\ttgbfogo.setOnClickListener(this);\r\n\r\n\t\t//botão\r\n\t\tbtnTemperatura = (Button) findViewById(R.id.btnTemperatura);\r\n\t\tbtnTemperatura.setOnClickListener(this);\r\n\t\t\r\n\t\t//label\r\n\t\ttxtLegenda = (TextView) findViewById(R.id.txtSensorLegenda);\r\n\t}", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "private void createUIComponents() {\n }", "public Husdjurshotell(){}", "public static void main(String[] args) {\n ArrayList<String> tab = new ArrayList<>();\n tab.add(\"First\");\n tab.add(\"Hello\");\n tab.add(\"Last\");\n //Creation du modele\n LeModele leModele = new LeModele(tab);\n\n //Creation du controleur\n LeControleur leControleur = new LeControleur(leModele);\n\n //Creation de la vue\n LaVue laVue = new LaVue(leControleur);\n\n\n //Test\n\n\n }", "public misTutores() {\n initComponents();\n }", "private void createUIComponents() {\n }", "public TelaCidadaoDescarte() {\n initComponents();\n }", "Objet getObjetAlloue();", "@Override\n public void Create() {\n initView();\n initData();\n }", "public TelaJogos() {\n initComponents();\n setSize(1018,768);\n \n }", "public Controller (Salle salle) {\n double marge = 30;\n this.salle = salle;\n \n cSalle = salle.afficher();\n cSalle.setTranslateX(marge);\n cSalle.setTranslateY(marge);\n cSalle.setController(this);\n\n cPanel = new ControllerPanel();\n cPanel.setTranslateY(salle.getHauteur() + (3 * marge));\n\n creerObstacle = new ArrayList<>();\n pointObstacle = new ArrayList<>();\n ligneObstacle = new ArrayList<>();\n suppressionObstacle = false;\n \n // Event utilisé pour ajouter des Personnes, Obstacles en lors d'un clique.\n // Seulement lorsque la simulation n'est pas lancée\n cSalle.getSalleGraphique().setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n double rayon = new Personne().getRayon();\n double x = event.getX();\n double y = event.getY();\n if((x+marge > marge+rayon && x < salle.getLargeur()-rayon)){\n if(!salle.isRunning() && !creationObstacle && !suppressionObstacle){\n cSalle.afficherPersonne(cSalle.createPersonne(x,y));\n } else if(!salle.isRunning() && creationObstacle && !suppressionObstacle){\n Circle c = new Circle(x+marge, y+marge, 10);\n getChildren().add(c);\n pointObstacle.add(c);\n if(pointObstacle.size()>1){\n Line l = new Line(pointObstacle.get(pointObstacle.size()-2).getCenterX(),pointObstacle.get(pointObstacle.size()-2).getCenterY() , event.getX()+marge, event.getY()+marge);\n getChildren().add(l);\n ligneObstacle.add(l);\n }\n if(pointObstacle.size()>2){\n if(pointObstacle.size()>3) getChildren().remove(getChildren().get(getChildren().size()-3));\n Line l = new Line(event.getX()+marge, event.getY()+marge, pointObstacle.get(0).getCenterX(), pointObstacle.get(0).getCenterY());\n getChildren().add(l);\n ligneObstacle.add(l);\n }\n \n creerObstacle.add(new Point(event.getX(), event.getY()));\n }\n }\n }\n });\n\n // Event utilisé pour supprimer un obstacle en cliquant.\n // Seulement lorsque la simulation n'est pas lancée\n this.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n if(!salle.isRunning() && suppressionObstacle){\n for(ControllerObstacle o : cSalle.getListObstacles()){\n if(o.contains(event.getX()-marge, event.getY()-marge)){\n salle.removeObstacle(o.getObstacle()); \n suppressionObstacle = false;\n cPanel.visibility(true);\n cPanel.getGroupeGraphe().getSelectedToggle().setSelected(false);\n cPanel.getEnleverGrapheRB().setSelected(true);\n cSalle.cacherGraphe();\n }\n }\n }\n }\n });\n\n // Event qui lance la simulation lorsque l'utilisateur appuie sur le bouton play.\n // Prends en compte les différents paramètres (checkbox) de gestion des collisions.\n cPanel.getPlayButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n salle.setVitessePersonnes(cPanel.getVitesseValue());\n if(cPanel.getCollisionStatus()){\n salle.play(true);\n }\n else\n salle.play(false);\n if(salle.isRunning())\n cPanel.setLoopTimer(0);\n }\n });\n\n // Event qui met en pause la simulation lorsque l'utilisateur clique sur le bouton pause.\n cPanel.getPauseButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n salle.pause();\n cPanel.setLoopTimer(1);\n }\n });\n\n // Event qui supprime toutes les personnes de la salle et stoppe la simulation lorsque l'utilisateur clique sur clear.\n cPanel.getClearButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n salle.removeAllPersonne();\n cPanel.setLoopTimer(2);\n }\n });\n\n // Event qui affiche ou cache le graphe des chemins les plus courts lorsque l'utilisateur active ou désactive la checkbox correspondante.\n cPanel.getGrapheRB().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n cSalle.cacherGraphe();\n salle.initialisationGrapheAvecAffichage(\"\");\n }\n });\n\n cPanel.getGrapheDiagonaleRB().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n cSalle.cacherGraphe();\n salle.initialisationGrapheAvecAffichage(\"Diagonale\");\n }\n });\n\n cPanel.getGrapheCartesienRB().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n cSalle.cacherGraphe();\n salle.initialisationGrapheAvecAffichage(\"Cartesien\");\n }\n });\n\n cPanel.getGraphePhysiqueRB().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n cSalle.cacherGraphe();\n salle.initialisationGrapheAvecAffichage(\"Physique\");\n }\n });\n\n cPanel.getEnleverGrapheRB().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n cSalle.cacherGraphe();\n }\n });\n\n // Event qui ouvre un popup pour ajouter un nombre de personnes définis lorsque l'utilisateur clique sur le bouton correspondant.\n cPanel.getAddPersonButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n if(!salle.isRunning())\n createPopup(\"Personne\");\n }\n });\n\n // Event qui permet d'activer l'option de creation d'obstacle lorsque l'utilisateur clique sur le bouton correspondant.\n cPanel.getAddObstacleButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n if(!salle.isRunning()){\n creationObstacle = true;\n cPanel.visibility(false);\n }\n }\n });\n\n // Event qui permet de valider la creation d'un obstacle lorsque l'utilisateur clique sur le bouton valider.\n cPanel.getValiderObstacleButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n boolean intersec = false;\n double rayon = new Personne().getRayon();\n for(int i=0;i<pointObstacle.size() && !intersec;i++){\n Point A = new Point(pointObstacle.get(i).getCenterX()-marge,pointObstacle.get(i).getCenterY()-marge);\n Point B;\n if(i==pointObstacle.size()-1) B = new Point(pointObstacle.get(0).getCenterX()-marge,pointObstacle.get(0).getCenterY()-marge);\n else B = new Point(pointObstacle.get(i+1).getCenterX()-marge,pointObstacle.get(i+1).getCenterY()-marge);\n if(salle.intersecObstacle(A, B)) {\n intersec = true;\n }\n }\n creationObstacle = false;\n cPanel.visibility(true);\n if(!intersec){\n if(!creerObstacle.isEmpty() && creerObstacle.size()>2){\n Obstacle obstacle = new ObstaclePolygone(creerObstacle);\n ControllerObstacle obstacleGraphique = obstacle.afficher();\n salle.addObstacle(obstacle);\n cSalle.afficherControllerObstacle(obstacleGraphique);\n List<ControllerObstacle> obstacles = cSalle.getListObstacles();\n for(ControllerObstacle o : obstacles){\n if(!obstacleGraphique.equals(o)){\n if(obstacleGraphique.contains(o.getObstacle().getListePointsGraphiques().get(0).getX(),o.getObstacle().getListePointsGraphiques().get(0).getY())) salle.removeObstacle(o.getObstacle());\n }\n }\n cPanel.getGroupeGraphe().getSelectedToggle().setSelected(false);\n cPanel.getEnleverGrapheRB().setSelected(true);\n cSalle.cacherGraphe();\n }\n }\n creerObstacle.clear();\n for(Circle c : pointObstacle) getChildren().remove(c);\n for(Line l : ligneObstacle) getChildren().remove(l);\n pointObstacle.clear();\n ligneObstacle.clear();\n }\n });\n // Event qui permet d'activer l'option pour supprimer un obstacle lorsque l'utilisateur clique sur le bouton correspondant.\n cPanel.getSupprimerObstacleButton().setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n if(!salle.isRunning() && !salle.getListObstacles().isEmpty()){\n suppressionObstacle = true;\n cPanel.visibility(false);\n cPanel.getValiderObstacleButton().setVisible(false);\n }\n }\n });\n\n getChildren().addAll(cSalle, cPanel);\n }", "public Equipas() {\r\n\t\t\r\n\t}", "public Cgg_jur_anticipo(){}", "private void prepare()\n {\n addObject(new TempoLimite(), 432, 207);\n addObject(new NumeroVidas(), 395, 278);\n\n Cliqueparajogar clique = new Cliqueparajogar();\n addObject(clique, getWidth()/2, getHeight()/2);\n\n Som som = new Som();\n addObject(som, getWidth() - 37, getHeight()-57);\n \n umMin ummin = new umMin();\n addObject(ummin,630,206);\n\n doisMin doismin = new doisMin();\n addObject(doismin,670,206);\n \n tresMin tresmin = new tresMin();\n addObject(tresmin,710,206);\n \n quatroMin quatromin = new quatroMin();\n addObject(quatromin,750,206);\n \n cincoMin cincomin = new cincoMin();\n addObject(cincomin,790,206);\n \n umaVida umavida = new umaVida();\n addObject(umavida,630,280);\n \n duasVidas duasvidas = new duasVidas();\n addObject(duasvidas,670,280);\n \n tresVidas tresvidas = new tresVidas();\n addObject(tresvidas,710,280);\n \n quatroVidas quatrovidas = new quatroVidas();\n addObject(quatrovidas,750,280);\n \n cincoVidas cincovidas = new cincoVidas();\n addObject(cincovidas,790,280);\n \n voltaratras voltar = new voltaratras();\n addObject(voltar, getWidth() -37, 428);\n }", "private void crearElementos() {\n\n\t\tRotonda rotonda1 = new Rotonda(new Posicion(400, 120), \"5 de octubre\");\n\t\tthis.getListaPuntos().add(rotonda1);\n\n\t\tCiudad esquel = new Ciudad(new Posicion(90, 180), \"Esquel\");\n\t\tthis.getListaPuntos().add(esquel);\n\n\t\tCiudad trelew = new Ciudad(new Posicion(450, 200), \"Trelew\");\n\t\tthis.getListaPuntos().add(trelew);\n\n\t\tCiudad comodoro = new Ciudad(new Posicion(550, 400), \"Comodoro\");\n\t\tthis.getListaPuntos().add(comodoro);\n\n\t\tCiudad rioMayo = new Ciudad(new Posicion(350, 430), \"Rio Mayo\");\n\t\tthis.getListaPuntos().add(rioMayo);\n\n\t\t// --------------------------------------------------------\n\n\t\tRutaDeRipio rutaRipio = new RutaDeRipio(230, 230, rotonda1, esquel);\n\t\tthis.getListaRuta().add(rutaRipio);\n\n\t\tRutaPavimentada rutaPavimentada1 = new RutaPavimentada(380, 100, trelew, comodoro);\n\t\tthis.getListaRuta().add(rutaPavimentada1);\n\n\t\tRutaPavimentada rutaPavimentada2 = new RutaPavimentada(800, 120, esquel, comodoro);\n\t\tthis.getListaRuta().add(rutaPavimentada2);\n\n\t\tRutaDeRipio rutaripio3 = new RutaDeRipio(380, 100, trelew, comodoro);\n\t\tthis.getListaRuta().add(rutaripio3);\n\n\t\tRutaEnConstruccion rutaConst1 = new RutaEnConstruccion(180, 70, rioMayo, comodoro);\n\t\tthis.getListaRuta().add(rutaConst1);\n\n\t\tRutaPavimentada rutaPavimentada3 = new RutaPavimentada(600, 110, rioMayo, esquel);\n\t\tthis.getListaRuta().add(rutaPavimentada3);\n\t}", "private void prepare()\n {\n Victoria victoria = new Victoria();\n addObject(victoria,190,146);\n Salir salir = new Salir();\n addObject(salir,200,533);\n Volver volver = new Volver();\n addObject(volver,198,401);\n }", "public TelaAgendamento() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n private void create() {\n components.clear();\n\n if (content != null) {\n content.clearChildren();\n }\n else {\n content = new Container();\n content.setInsets(INSETS);\n }\n\n GuiComponent guiComponent = (GuiComponent) getReflectedItem().getValue();\n\n // let the user choose which type of backgroundComponent they want.\n Label label = content.addChild(new Label(\"Type\"), 0, 0);\n label.setTextHAlignment(HAlignment.Right);\n label.setInsets(INSETS);\n Container backgroundTypeContainer = content.addChild(new Container(), 0, 1);\n\n ColorRGBA oldColor = BackgroundUtils.getBackgroundColor(guiComponent);\n\n Button colorOnlyBgButton = backgroundTypeContainer.addChild(new Button(\"Color Only\"), 0, 0);\n colorOnlyBgButton.addClickCommands(source -> {\n if (!(guiComponent instanceof QuadBackgroundComponent)) {\n setValue(new QuadBackgroundComponent(oldColor));\n create();\n }\n });\n\n Button colorAndImageBgButton = backgroundTypeContainer.addChild(new Button(\"Color and Image\"), 0, 1);\n colorAndImageBgButton.addClickCommands(source -> {\n if (!(guiComponent instanceof TbtQuadBackgroundComponent)) {\n setValue(BackgroundComponents.gradient(oldColor));\n create();\n }\n });\n\n if (guiComponent instanceof QuadBackgroundComponent) {\n\n try {\n\n Method getter = QuadBackgroundComponent.class.getDeclaredMethod(\"getColor\");\n Method setter = QuadBackgroundComponent.class.getDeclaredMethod(\"setColor\", ColorRGBA.class);\n\n label = content.addChild(new Label(\"Color\"), 1, 0);\n label.setTextHAlignment(HAlignment.Right);\n label.setInsets(INSETS);\n\n ColorRGBAComponent bgColorComponent = new ColorRGBAComponent(guiComponent, getter, setter);\n content.addChild(bgColorComponent.getPanel(), 1, 1);\n components.add(bgColorComponent);\n\n // margin\n getter = QuadBackgroundComponent.class.getDeclaredMethod(\"getMargin\");\n setter = QuadBackgroundComponent.class.getDeclaredMethod(\"setMargin\", Vector2f.class);\n\n label = content.addChild(new Label(\"Margin\"), 2, 0);\n Vector2fComponent marginComponent = new Vector2fComponent(guiComponent, getter, setter);\n content.addChild(marginComponent.getPanel(), 2, 1);\n components.add(marginComponent);\n\n } catch (NoSuchMethodException e) {\n e.printStackTrace();\n }\n\n }\n else if (guiComponent instanceof TbtQuadBackgroundComponent) {\n\n TbtQuadBackgroundComponent backgroundComponent = (TbtQuadBackgroundComponent) guiComponent;\n\n try {\n Method getter = TbtQuadBackgroundComponent.class.getDeclaredMethod(\"getColor\");\n Method setter = TbtQuadBackgroundComponent.class.getDeclaredMethod(\"setColor\", ColorRGBA.class);\n\n label = content.addChild(new Label(\"Color\"), 1, 0);\n label.setTextHAlignment(HAlignment.Right);\n label.setInsets(INSETS);\n\n ColorRGBAComponent bgColorComponent = new ColorRGBAComponent(guiComponent, getter, setter);\n content.addChild(bgColorComponent.getPanel(), 1, 1);\n components.add(bgColorComponent);\n\n label = content.addChild(new Label(\"Image\"), 2, 0);\n label.setTextHAlignment(HAlignment.Right);\n label.setInsets(INSETS);\n\n Button browseImageButton = content.addChild(new Button(\"Select Background Image...\"), 2, 1);\n browseImageButton.setTextVAlignment(VAlignment.Center);\n browseImageButton.addClickCommands(source -> {\n\n JFileChooser jfc = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory());\n jfc.setDialogTitle(\"Select a Background Image...\");\n jfc.setMultiSelectionEnabled(false);\n jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);\n jfc.setAcceptAllFileFilterUsed(false);\n FileNameExtensionFilter filter = new FileNameExtensionFilter(\"PNG Images\", \"png\");\n jfc.addChoosableFileFilter(filter);\n int returnValue = jfc.showOpenDialog(null);\n\n if (returnValue == JFileChooser.APPROVE_OPTION) {\n\n File file = jfc.getSelectedFile();\n\n\n try {\n\n byte[] imageData = Files.readAllBytes(file.toPath());\n byte[] stringData = Base64.getEncoder().encode(imageData);\n\n String imageString = new String(stringData);\n\n // PanelBackground panelBackground = (PanelBackground) getReflectedProperty().getValue();\n // panelBackground.setBase64Image(imageString);\n\n Texture texture = new TextureUtils().fromBase64(imageString);\n\n backgroundComponent.setTexture(texture);\n\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n });\n\n // margin\n getter = TbtQuadBackgroundComponent.class.getDeclaredMethod(\"getMargin\");\n setter = TbtQuadBackgroundComponent.class.getDeclaredMethod(\"setMargin\", Vector2f.class);\n\n label = content.addChild(new Label(\"Margin\"), 3, 0);\n Vector2fComponent marginComponent = new Vector2fComponent(guiComponent, getter, setter);\n content.addChild(marginComponent.getPanel(), 3, 1);\n components.add(marginComponent);\n\n\n } catch (NoSuchMethodException e) {\n e.printStackTrace();\n }\n\n }\n\n//\n// this.content = new RollupPanel(\"\", contentContainer, null);\n// this.content.setOpen(false);\n//\n// // background Image\n// Container bgImageContainer = contentContainer.addChild(new Container(new SpringGridLayout(Axis.Y, Axis.X, FillMode.Last, FillMode.Last)), 0, 0);\n// Label bgImageLabel = bgImageContainer.addChild(new Label(\"Background Image\"), 0, 0);\n// bgImageLabel.setTextVAlignment(VAlignment.Center);\n// bgImageLabel.setInsets(new Insets3f(0.0F, 2.0F, 0.0F, 5.0F));\n// Button browseImageButton = bgImageContainer.addChild(new Button(\"Browse...\"), 0, 1);\n// Button removeImageButton = bgImageContainer.addChild(new Button(\"Remove\"), 0, 2);\n// bgImageContainer.addChild(new Container(), 0, 3);\n//\n// browseImageButton.addClickCommands(source -> {\n//\n// JFileChooser jfc = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory());\n// jfc.setDialogTitle(\"Select a Background Image...\");\n// jfc.setMultiSelectionEnabled(false);\n// jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);\n// jfc.setAcceptAllFileFilterUsed(false);\n// FileNameExtensionFilter filter = new FileNameExtensionFilter(\"PNG Images\", \"png\");\n// jfc.addChoosableFileFilter(filter);\n// int returnValue = jfc.showOpenDialog(null);\n//\n// if (returnValue == JFileChooser.APPROVE_OPTION) {\n//\n// File file = jfc.getSelectedFile();\n//\n// try {\n// byte[] imageData = Files.readAllBytes(file.toPath());\n// byte[] stringData = Base64.getEncoder().encode(imageData);\n//\n// String imageString = new String(stringData);\n//\n// PanelBackground panelBackground = (PanelBackground) getReflectedProperty().getValue();\n// panelBackground.setBase64Image(imageString);\n//\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// }\n//\n// });\n//\n// removeImageButton.addClickCommands(source -> {\n// PanelBackground panelBackground = (PanelBackground) getReflectedProperty().getValue();\n// panelBackground.setBase64Image(\"\");\n// });\n//\n//\n// try {\n//\n// // color\n// Method get = PanelBackground.class.getMethod(\"getColor\");\n// Method set = PanelBackground.class.getMethod(\"setColor\", ColorRGBA.class);\n//\n// ColorRGBAComponent bgColorComponent = new ColorRGBAComponent(getReflectedProperty().getValue(), get, set);\n// bgColorComponent.setPropertyName(\"Color\");\n// contentContainer.addChild(bgColorComponent.getPanel());\n// components.add(bgColorComponent);\n//\n// // insetTop\n// get = PanelBackground.class.getMethod(\"getInsetTop\");\n// set = PanelBackground.class.getMethod(\"setInsetTop\", int.class);\n//\n// IntComponent insetTopComponent = new IntComponent(getReflectedProperty().getValue(), get, set);\n// insetTopComponent.setPropertyName(\"Inset Top\");\n// contentContainer.addChild(insetTopComponent.getPanel());\n// components.add(insetTopComponent);\n//\n// // insetLeft\n// get = PanelBackground.class.getMethod(\"getInsetLeft\");\n// set = PanelBackground.class.getMethod(\"setInsetLeft\", int.class);\n//\n// IntComponent insetLeftComponent = new IntComponent(getReflectedProperty().getValue(), get, set);\n// insetLeftComponent.setPropertyName(\"Inset Left\");\n// contentContainer.addChild(insetLeftComponent.getPanel());\n// components.add(insetLeftComponent);\n//\n// // insetBottom\n// get = PanelBackground.class.getMethod(\"getInsetBottom\");\n// set = PanelBackground.class.getMethod(\"setInsetBottom\", int.class);\n//\n// IntComponent insetBottomComponent = new IntComponent(getReflectedProperty().getValue(), get, set);\n// insetBottomComponent.setPropertyName(\"Inset Bottom\");\n// contentContainer.addChild(insetBottomComponent.getPanel());\n// components.add(insetBottomComponent);\n//\n// // insetRight\n// get = PanelBackground.class.getMethod(\"getInsetRight\");\n// set = PanelBackground.class.getMethod(\"setInsetRight\", int.class);\n//\n// IntComponent insetRightComponent = new IntComponent(getReflectedProperty().getValue(), get, set);\n// insetRightComponent.setPropertyName(\"Inset Right\");\n// contentContainer.addChild(insetRightComponent.getPanel());\n// components.add(insetRightComponent);\n//\n// // zOffset\n// get = PanelBackground.class.getMethod(\"getzOffset\");\n// set = PanelBackground.class.getMethod(\"setzOffset\", float.class);\n//\n// FloatComponent zOffsetComponent = new FloatComponent(getReflectedProperty().getValue(), get, set);\n// zOffsetComponent.setPropertyName(\"Z-Offset\");\n// contentContainer.addChild(zOffsetComponent.getPanel());\n// components.add(zOffsetComponent);\n//\n// } catch (NoSuchMethodException e) {\n// e.printStackTrace();\n// }\n\n\n }", "public meseros() {\n initComponents();\n }", "public ConsultaEquipo() {\n initComponents();\n }", "Vaisseau_longueur createVaisseau_longueur();", "public TelaEscolhaAssento() {\n initComponents();\n }", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public TelaSobre() {\n initComponents();\n }", "public VistaGraficaQytetet() {\n ArrayList <String> nombres = obtenerNombreJugadores();\n modelo = Qytetet.getInstance();\n controlador = ControladorQytetet.getInstance(nombres);\n initComponents();\n creaMenuOperacion();\n creaMenuCasilla();\n update();\n }", "public YonetimliNesne() {\n }", "public Livro() {\n\n\t}", "public telaAddPedidoII() {\n initComponents();\n }", "public CatalogoJogos() {\r\n\t\tthis.listaDeJogosComprados = new ArrayList<Jogo>();\r\n\t}", "public Lentejas() {\n initComponents();\n }", "public OffertoryGUI() {\n initComponents();\n setTypes();\n }", "public ViewUsluga() {\n initComponents();\n obrada = new ObradaUsluga();\n postInitComponents(); \n }", "private void inicializarComponentes() \n\t{\n\t\tthis.table=new JTable(); \n\t\ttablas.setBackground(Color.white);\n\t\tscroll =new JScrollPane(table); // Scroll controla la tabla\n\t\tthis.add(scroll,BorderLayout.CENTER);\n\t\tthis.add(tablas,BorderLayout.NORTH);\n\t\t\n\t}", "private void makeObject() {\n\t\t\n\t\tItem I1= new Item(1,\"Cap\",10.0f,\"to protect from sun\");\n\t\tItemMap.put(1, I1);\n\t\t\n\t\tItem I2= new Item(2,\"phone\",100.0f,\"Conversation\");\n\t\tItemMap.put(2, I2);\n\t\t\n\t\tSystem.out.println(\"Objects Inserted\");\n\t}", "public Bebawy_Hotels() \n\t{\n\t\tinitComponent();\n\t\tcreateEvent();\t\n\t}", "@Override\r\n\tpublic List<Componente> crear(Jpo jpo, ProyectoBean proyectoBean) throws Exception {\n\t\treturn null;\r\n\t}", "public VEmpleado() {\n initComponents();\n setLocationRelativeTo(null);\n getObjetos(false, true, false);\n }", "public newRelationship() {\n initComponents();\n }", "public Lienzo() {\n initComponents();\n }", "public Ficha_Ingreso_Egreso() {\n initComponents();\n limpiar();\n bloquear();\n \n }" ]
[ "0.61663014", "0.60957927", "0.6065218", "0.6005016", "0.5973156", "0.5952015", "0.59346944", "0.5933516", "0.5899642", "0.5875899", "0.5866148", "0.5864441", "0.58576393", "0.58481926", "0.58272886", "0.58244663", "0.5820864", "0.5820344", "0.580903", "0.57983863", "0.5788352", "0.5787553", "0.5782486", "0.5761128", "0.5759532", "0.5737406", "0.5731264", "0.5730737", "0.57196367", "0.57190263", "0.5715229", "0.57144946", "0.5704326", "0.5699346", "0.5681924", "0.56788045", "0.56558794", "0.5631736", "0.5620712", "0.5610785", "0.5609373", "0.5607467", "0.56064475", "0.5605434", "0.5602389", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.557917", "0.5570366", "0.5559744", "0.5558046", "0.5557652", "0.55548424", "0.555233", "0.5546813", "0.55439776", "0.5541587", "0.55353934", "0.55312276", "0.5526349", "0.5523964", "0.55229735", "0.5518378", "0.55126303", "0.5507793", "0.55050355", "0.55021197", "0.55004877", "0.5499815", "0.54973495", "0.5489908", "0.548943", "0.54887605", "0.54871464", "0.548515", "0.548387", "0.54834837", "0.54824597", "0.5481506", "0.54763883", "0.54751635", "0.5472804", "0.54713774", "0.5464031", "0.54591566", "0.54552996" ]
0.0
-1
/Metodo que compara as duas senhas digitadas nos campos
public boolean validarSenha(){ //boleano boolean retorno = false; //variavel boleana ja recebendo false int senhaA, senhaB; senhaA = Integer.parseInt(editSenhaA.getText().toString()); senhaB = Integer.parseInt(editSenhaB.getText().toString()); retorno = (senhaA == senhaB); return retorno; //reorna o proprio retorno }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean verificarCnpj(String cnpj) {\n return true;\n \n// if (cnpj.length() != 14) {\n// return false;\n// }\n//\n// int soma = 0;\n// int dig = 0;\n//\n// String digitosIniciais = cnpj.substring(0, 12);\n// char[] cnpjCharArray = cnpj.toCharArray();\n//\n// /* Primeira parte da validação */\n// for (int i = 0; i < 4; i++) {\n// if (cnpjCharArray[i] - 48 >= 0 && cnpjCharArray[i] - 48 <= 9) {\n// soma += (cnpjCharArray[i] - 48) * (6 - (i + 1));\n// }\n// }\n//\n// for (int i = 0; i < 8; i++) {\n// if (cnpjCharArray[i + 4] - 48 >= 0 && cnpjCharArray[i + 4] - 48 <= 9) {\n// soma += (cnpjCharArray[i + 4] - 48) * (10 - (i + 1));\n// }\n// }\n//\n// dig = 11 - (soma % 11);\n//\n// digitosIniciais += (dig == 10 || dig == 11) ? \"0\" : Integer.toString(dig);\n//\n// /* Segunda parte da validação */\n// soma = 0;\n//\n// for (int i = 0; i < 5; i++) {\n// if (cnpjCharArray[i] - 48 >= 0 && cnpjCharArray[i] - 48 <= 9) {\n// soma += (cnpjCharArray[i] - 48) * (7 - (i + 1));\n// }\n// }\n//\n// for (int i = 0; i < 8; i++) {\n// soma += (cnpjCharArray[i + 5] - 48) * (10 - (i + 1));\n// }\n//\n// dig = 11 - (soma % 11);\n// digitosIniciais += (dig == 10 || dig == 11) ? \"0\" : Integer.toString(dig);\n\n// return cnpj.equals(digitosIniciais);\n }", "private boolean camposNumCorrectos() {\n\t\t return Utilidades.isPositiveNumber(anioText.getText().trim());\n\t}", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner s = new Scanner(System.in);\n\t\tString s1=\"wipro\";\n\t\tString s2=\"technologies\";\n\t\tint i,j,temp;\n\t int a = s.nextInt();\n\t char[] c = s1.toCharArray();\n\t char[] d = s2.toCharArray();\n\t if(a==1)\n\t {\n\t \tfor(i=0;i<c.length;i++)\n\t \t{\n\t \t\tfor(j=0;j<d.length||j<c.length;j++)\n\t \t\t{\n\t \t\t\tif(c[i]==d[j])\n\t \t\t\t{\n\t \t\t\t\tSystem.out.println(c[i]);\n\t \t\t\t\tc[i]+='A'-'a';\n\t \t\t\t\td[j]+='A'-'a';\n\t \t\t\t\t\n\t \t\t\t\t\n\t \t\t\t}\n\t \t\t}\n\t \t}\n\t }\n\t \n\t else if(a==0)\n\t {\n\t \tfor(i=0;i<c.length;i++)\n\t \t{\n\t \t\tfor(j=0;j<d.length||j<c.length;j++)\n\t \t\t{\n\t \t\t\tif(c[i]!=d[j])\n\t \t\t\t{\n\t \t\t\t c[i]+='A'-'a';\n\t \t\t\t \n\t \t\t\t}\n\n\t \t\t}\n\t \t}\n\t for(i=0;i<d.length;i++)\n\t {\n\t \tfor(j=0;j<c.length;j++)\n\t \t\t{\n\t \t\t\tif(d[i]!=c[j])\n\t \t\t\t{\n\t \t\t\t d[i]+='A'-'a';\n\t \t\t\t \n\t \t\t\t}\n\n\t \t\t}\n\t \t}\n\t \t\n\t }\n\telse\n\t{\n\tSystem.out.println(\"no accepted value\");\n\t}\n\t \n\t \tSystem.out.print(c);\n\t \n\t \n\t \n\t \tSystem.out.print(d);\n\t \n\t}", "private void validate() {\n\t\t// just in case;\n\t\tfor (int i=0;i<NR_OF_FIELDS; i++) {\n\t\t\tvalid[i] = \"0\";\n\t\t}\n\t\t//\n\t\t// Validate name and surname:\n\t\t//\n\t\tif ( ! this.isUpperAlpha(nume)) {\n\t\t\tfields[0] = \"1\";\n\t\t}\n\t\t\n\t\tif ( ! this.isUpperAlphaWithSpace(nume)) {\n\t\t\tfields[1] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate seria\n\t\t//\n\t\tvalid[2] = \"1\";\t\t\t\t\t\t\t// presupun ca seria este invalida, si incerc sa o validez\n\t\tfor (int i=0; i<seriiBuletin.length; i++) {\n\t\t\tif (seriiBuletin[i].equals(seria)) {\n\t\t\t\tvalid[2] = \"0\";\n\t\t\t}\n\t\t}\n\t\t//\n\t\t// validate numarul\n\t\t//\n\t\ttry {\n\t\t\tvalid[3] = \"1\";\n\t\t\tint nr = Integer.valueOf(numarul);\n\t\t\tif ( nr >= 100000 && nr <= 999999 ) {\n\t\t\t\tvalid[3] = \"0\";\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLog.d(TAG, \"Error validating seria.\");\n\t\t}\n\n\t\t//\n\t\t// validate sex\n\t\t//\n\t\tif ( ! (sex == 'M' || sex == 'F')) {\n\t\t\tvalid[6] = \"1\";\n\t\t}\n\t\t//\n\t\t// Validate valabilitate\n\t\t//\n\t\tif ( ! isNumber(this.valabilitate)) {\n\t\t\tvalid[7] = \"1\";\n\t\t}\n\t\t//\n\t\t// validate CNP\n\t\t//\n\t\tif ( ! (isNumber(CNP) && isValidCNP(CNP))) {\n\t\t\tvalid[8] = \"1\";\n\t\t}\n\t\t\n\t}", "public String verificationUtilisateur( int number, int number1) {\n\t\n\tfinal String SEPARATEUR = \"\";\n\t// car va avec number\n\tchar car;\n\t// car1 va avec number1\n\tchar car1;\n\tString code;\n\tStringBuilder codeSymbole = new StringBuilder() ;\n\t\n\t\n\t\n\tString proposition;\n\tcode = String.valueOf(number);\n\tproposition = String.valueOf(number1);\n\tString mot[] = proposition.split(SEPARATEUR);\n\t\n\tfor (int i = 0; i < mot.length; i++) {\n\tcar = code.charAt(i);\n\tcar1 = proposition.charAt(i);\n\t\n\t\n\tif ( car > car1) {\n\t\tcodeSymbole.append(\"+\");\n\t}else if (car == car1) {\n\t\tcodeSymbole.append(\"=\");\n\t}else {\n\t\tcodeSymbole.append(\"-\");\n\t}\n\n\t\n\t\n\t}\n\t//System.out.println(\"les indices sont\" + arraylist.get(0) + arraylist.get(1) + arraylist.get(2) + arraylist.get(3));\n\t\n\t\n\tSystem.out.println( codeSymbole.toString());\n\t\n\treturn codeSymbole.toString() ;\n}", "protected String comprobarConsumoEnergetico(Letra letra){\r\n if(getConsumoEnergetico() == Letra.A | getConsumoEnergetico() == Letra.B | getConsumoEnergetico() == Letra.C \r\n | getConsumoEnergetico() == Letra.D | getConsumoEnergetico() == Letra.E | getConsumoEnergetico() == Letra.F){\r\n return \"Consumo energetico correcto; letra correcta\";\r\n }\r\n else{\r\n return \"Consumo energetico incorrecto; letra erronea\";\r\n }\r\n}", "private boolean isValidValue(String val) {\n for (int i = 2; i <= 10; i++) {\n if (val.equals(i + \"\")) {\n return true;\n }\n }\n return (val.equals(\"J\") || val.equals(\"Q\") || val.equals(\"K\") || val.equals(\"A\"));\n }", "@Override\n\t\t\tpublic int compare(String[] o1, String[] o2) {\n\t\t\t\treturn Integer.compare(Integer.parseInt(o1[0]),Integer.parseInt(o2[0]));\n\t\t\t}", "@Override\n public int compare(String[] o1, String[] o2) {\n try {\n Integer integer1 = Integer.valueOf(o1[0]);\n Integer integer2 = Integer.valueOf(o2[0]);\n return integer1.compareTo(integer2);\n } catch (java.lang.NumberFormatException e) {\n return o1[1].compareTo(o2[1]);\n }\n }", "static void cmp_with_reg(String passed){\n\t\tint val1 = hexa_to_deci(registers.get('A'));\n\t\tint val2 = hexa_to_deci(registers.get(passed.charAt(4)));\n\t\tS = val1>=val2?false:true;\n\t\tval2 = 256-val2;\n\t\tval2%=256;\n\t\tval1+=val2;\n\t\tCS = val1>255?true:false;\n\t\tString b = Integer.toBinaryString(val1);\n\t\tint ones=0;\n\t\tfor(int i=0;i<b.length();i++)\n\t\t\tif(b.charAt(i)=='1')\n\t\t\t\tones++;\n\t\tZ = ones==0?true:false;\n\t\tP = ones%2==0?true:false;\n\t}", "public boolean validarPasswordDigitado(String passworddigitado, String passwordalmacenadobd)\r\n\t{\r\n\t\tboolean passwordcorreto=false;\r\n\t\tString passwordencriptadomd=\"\";\r\n\t\tString passwordencriptadosh=\"\";\r\n\t\tfor (int i = 0; i < 4; i++) {\r\n\t\t\tif(i==0){\r\n\t\t\t\tpasswordencriptadomd=Encriptar.getStringMessageDigest(passworddigitado, Encriptar.MD5);\r\n\t\t\t\tpasswordencriptadosh=Encriptar.getStringMessageDigest(passwordencriptadomd, Encriptar.SHA1);\r\n\t\t\t}else{\r\n\t\t\t\tpasswordencriptadomd=Encriptar.getStringMessageDigest(passwordencriptadosh, Encriptar.MD5);\r\n\t\t\t\tpasswordencriptadosh=Encriptar.getStringMessageDigest(passwordencriptadomd, Encriptar.SHA1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(passwordencriptadosh.equalsIgnoreCase(passwordalmacenadobd)){\r\n\t\t\tpasswordcorreto=true;\r\n\t\t}\r\n\t\treturn passwordcorreto;\r\n\t}", "public boolean validaCnpj(String cnpj){\n if (cnpj.equals(\"00000000000000\") || cnpj.equals(\"11111111111111\") || cnpj.equals(\"22222222222222\")\n || cnpj.equals(\"33333333333333\") || cnpj.equals(\"44444444444444\") || cnpj.equals(\"55555555555555\")\n || cnpj.equals(\"66666666666666\") || cnpj.equals(\"77777777777777\") || cnpj.equals(\"88888888888888\")\n || cnpj.equals(\"99999999999999\") || (cnpj.length() != 14))\n return (false);\n\n char dig13, dig14;\n int sm, i, r, num, peso;\n\n // \"try\" - protege o código para eventuais erros de conversao de tipo (int)\n try {\n // Calculo do 1o. Digito Verificador\n sm = 0;\n peso = 2;\n for (i = 11; i >= 0; i--) {\n // converte o i-ésimo caractere do CNPJ em um número:\n // por exemplo, transforma o caractere '0' no inteiro 0\n // (48 eh a posição de '0' na tabela ASCII)\n num = (int) (cnpj.charAt(i) - 48);\n sm = sm + (num * peso);\n peso = peso + 1;\n if (peso == 10)\n peso = 2;\n }\n\n r = sm % 11;\n if ((r == 0) || (r == 1))\n dig13 = '0';\n else\n dig13 = (char) ((11 - r) + 48);\n\n // Calculo do 2o. Digito Verificador\n sm = 0;\n peso = 2;\n for (i = 12; i >= 0; i--) {\n num = (int) (cnpj.charAt(i) - 48);\n sm = sm + (num * peso);\n peso = peso + 1;\n if (peso == 10)\n peso = 2;\n }\n\n r = sm % 11;\n if ((r == 0) || (r == 1))\n dig14 = '0';\n else\n dig14 = (char) ((11 - r) + 48);\n\n // Verifica se os dígitos calculados conferem com os dígitos informados.\n if ((dig13 == cnpj.charAt(12)) && (dig14 == cnpj.charAt(13)))\n return (true);\n else\n return (false);\n } catch (InputMismatchException erro) {\n return (false);\n }\n }", "@Override\npublic int compare(String first, String second) {\n\tint ans= Integer.compare(first.length(), second.length());\n\t//\n\t\n\t\n\t\n\t\n\treturn ans;\n\t//\n\t\n\t\n}", "public String checkValue(int userInputValue) {\n int i;\n for(i=0; i<sirDeLa1La100.length; i++) {\n if (userInputValue == sirDeLa1La100[i]) {\n return String.valueOf(userInputValue) + \" apartine sirului.\";\n }\n }\n return String.valueOf(userInputValue) + \" nu apartine sirului.\";\n }", "@Override\n public int compare(String o1, String o2) {\n return Integer.compare(o2.length(), o1.length());\n }", "private String getModulo(){\n int lenghtOfInput = String.valueOf(modulo).length();\n String even = new String();\n String odd = new String();\n\n if (lenghtOfInput != 8){\n return modulo + getString(R.string.notValidMatrikelNotePt1) + lenghtOfInput + getString(R.string.notValidMatrikelNotePt2);\n } else {\n int[] arr = new int[lenghtOfInput];\n\n //make an array of digits\n int i = 0;\n do {\n arr[i] = modulo % 10;\n modulo = modulo / 10;\n i++;\n } while (modulo != 0);\n\n //seperate even digits from odd ones\n for (int runner = 0; runner < lenghtOfInput; runner++){\n if(arr[runner] % 2 == 0){\n even += arr[runner];\n } else {\n odd += arr[runner];\n }\n }\n\n //Sorting of the char-rays which are numbers\n char[] evenSorted = even.toCharArray();\n Arrays.sort(evenSorted);\n String evenSortedString = new String(evenSorted);\n char[] oddSorted = odd.toCharArray();\n Arrays.sort(oddSorted);\n String oddSortedString = new String(oddSorted);\n\n return getString(R.string.solutionTxt) + \"\\n\" + evenSortedString + oddSortedString;\n }\n }", "@Override\n public int compare(String o1, String o2) {\n return Integer.compare(o1.length(), o2.length());\n }", "public String cekPengulangan(String kata) throws IOException{\n String hasil=\"\";\n if(cekUlangSemu(kata)){\n return kata+\" kata ulang semu \";\n }\n if(kata.contains(\"-\")){\n String[] pecah = kata.split(\"-\");\n String depan = pecah[0];\n String belakang = pecah[1];\n ArrayList<String> depanList = new ArrayList<String>();\n ArrayList<String> belakangList = new ArrayList<String>();\n if(!depan.equals(\"\")){\n depanList.addAll(morpParser.cekBerimbuhan(depan, 0));\n }\n if(!belakang.equals(\"\")){\n belakangList.addAll(morpParser.cekBerimbuhan(belakang, 0));\n }\n for(int i = 0; i < depanList.size(); i++){\n for(int j = 0; j < belakangList.size(); j++){\n if(depanList.get(i).equals(belakangList.get(j))){\n return depan+\" kata ulang penuh \";\n }\n }\n }\n if(depan.equals(belakang)){\n return depan+\" kata ulang penuh \";\n }\n char[] isiCharDepan = depan.toCharArray();\n char[] isiCharBelakang = belakang.toCharArray();\n boolean[] sama = new boolean[isiCharDepan.length];\n int jumlahSama=0;\n int jumlahBeda=0;\n for(int i =0;i<sama.length;i++){\n if(isiCharDepan[i]==isiCharBelakang[i]){\n sama[i]=true;\n jumlahSama++;\n }\n else{\n sama[i]=false;\n jumlahBeda++;\n }\n }\n \n if(jumlahBeda<jumlahSama && isiCharDepan.length==isiCharBelakang.length){\n return depan+\" kata ulang berubah bunyi \";\n }\n \n \n }\n else{\n if(kata.charAt(0)==kata.charAt(2)&&kata.charAt(1)=='e'){\n if((kata.charAt(0)=='j'||kata.charAt(0)=='t')&&!kata.endsWith(\"an\")){\n return kata.substring(2)+\" kata ulang sebagian \";\n }\n else if(kata.endsWith(\"an\")){\n return kata.substring(2,kata.length()-2)+\" kata ulang sebagian \";\n }\n \n }\n }\n return hasil;\n }", "@Override\n public int compare(String s1, String s2) {\n String soString1 = s1.replaceAll(\"[\\\\d.]\",\"\");\n String soString2 = s2.replaceAll(\"[\\\\d.]\",\"\");\n if (soString1.equals(soString2)){\n Integer soNumero1 = Integer.parseInt(s1.replaceAll(\"\\\\D\", \"\"));\n Integer soNumero2 = Integer.parseInt(s2.replaceAll(\"\\\\D\", \"\"));\n return soNumero1.compareTo(soNumero2) * this.reverse;\n }\n return soString1.compareTo(soString2) * this.reverse;\n }", "public boolean isStrobogrammatic(String num) {\n char input[] = num.toCharArray();\n int p1 = 0, p2 = num.length() - 1;//pointers\n while(p1 <= p2) {\n if(input[p1] == '6') {\n if(input[p2] != '9') return false;\n } else if (input[p1] == '9') {\n if(input[p2] != '6') return false;\n } else if (input[p1] == '1' || input[p1] == '8'||input[p1] == '0') {\n if (input[p2] != input[p1]) return false;\n } else {\n return false;\n }\n p1++;\n p2--;\n }\n return true;\n }", "private static void esPalindromo(String palabraUsuario) {\n\t\tString primeraParte = \"\";\n\t\tString segundaParte = \"\";\n\t\tif (palabraUsuario.length() % 2 == 0) {// Es Par\n\t\t\tfor (int i = 0; i < palabraUsuario.length() / 2; i++) {//Recorro lo caracteres de la palabra introducida hasta la mitad\n\t\t\t\tprimeraParte += palabraUsuario.charAt(i); //Los meto en una cadena\n\t\t\t}\n\t\t\tfor (int i = palabraUsuario.length() / 2 - 1; i >= 0; i--) {//Recorro la mitad de la palabra introducida pero al reves\n\t\t\t\tsegundaParte += palabraUsuario.charAt(i);\n\t\t\t}\n\t\t\tString palabraCreada = primeraParte + segundaParte;// Creo una palabra a partir de la primera y segunda parte\n\t\t\tif (palabraCreada.equalsIgnoreCase(palabraUsuario))//Si la palabra que ha introducido es igual a la que he compuesto \n\t\t\t\tSystem.out.println(\"Es palindromo\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"No es palindromo\");\n\t\t} else {// Es impar\n\t\t\tfor (int i = 0; i < palabraUsuario.length() / 2 + 1; i++) {//Recorro lo caracteres de la palabra introducida un caracter mas de la mitad\n\t\t\t\tprimeraParte += palabraUsuario.charAt(i); // Los meto en una cadena\n\t\t\t}\n\t\t\tfor (int i = primeraParte.length() - 2; i >= 0; i--) {//Le doy i el valor de la longitud de la primera parte -2 porque es impar \n\t\t\t\tsegundaParte += primeraParte.charAt(i);\n\t\t\t}\n\t\t\tString palabraComprobar = primeraParte + segundaParte;\n\t\t\tif (palabraUsuario.equalsIgnoreCase(palabraComprobar)) {//Igual que antes\n\t\t\t\tSystem.out.println(\"Es un palindromo\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"No es un palindromo\");\n\t\t\t}\n\t\t}\n\n\t}", "@Test\r\n\tpublic void testIsOBGYN() {\r\n\t\tAssert.assertFalse(oic.isOBGYN(\"a\"));\r\n\t\t\r\n\t\tAssert.assertFalse(oic.isOBGYN(\"123\"));\r\n\t\t\r\n\t\tAssert.assertFalse(oic.isOBGYN(\"9000000003\"));\r\n\t\t\r\n\t\tAssert.assertFalse(oic.isOBGYN(\"9900000000\"));\r\n\t\t\r\n\t\tAssert.assertTrue(oic.isOBGYN(\"9000000012\"));\r\n\t}", "private String[] condicionGeneral(String condicion) {\n String retorno[] = new String[2];\n try {\n String[] simbolos = {\"<=\", \">=\", \"==\", \"!=\", \"<\", \">\"};\n String simbolo = \"0\";\n\n if (condicion.length() > 3) {\n condicion = condicion.substring(1, condicion.length());\n for (int i = 0; i < simbolos.length; i++) {//selecciona el simbolo de la condicion\n if (condicion.contains(simbolos[i])) {\n simbolo = simbolos[i];\n break;\n }\n }\n if (simbolo.equals(\"0\")) {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n } else {\n String var[] = condicion.split(simbolo);\n if (var.length == 2) {\n if (esNumero(var[0])) {\n if (esNumero(var[1])) {\n retorno[0] = \"1\";\n retorno[1] = \"\";\n } else {\n if (var[1].matches(\"[a-zA-Z]*\")) { //comprueba que solo contenga letas \n byte aux = 0;\n\n for (int i = 0; i < codigo.size(); i++) {\n if (var[1].equals(codigo.get(i).toString())) {\n aux++;\n }\n }\n if (aux > 0) {\n retorno[0] = \"1\";\n retorno[1] = \"\";\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"no se reconoce la variable \" + var[1] + \".\";\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n }\n }\n } else {\n if (var[0].matches(\"[a-zA-Z]*\")) { //comprueba que solo contenga letras \n byte aux = 0;\n for (int i = 0; i < codigo.size(); i++) {\n if (var[0].equals(codigo.get(i).toString())) {\n aux++;\n }\n }\n if (aux > 0) {\n if (esNumero(var[1])) {\n retorno[0] = \"1\";\n retorno[1] = \"\";\n } else {\n if (var[0].matches(\"[a-zA-Z]*\")) { //comprueba que solo contenga letas \n aux = 0;\n\n for (int i = 0; i < codigo.size(); i++) {\n if (var[1].equals(codigo.get(i).toString())) {\n aux++;\n }\n }\n if (aux > 0) {\n retorno[0] = \"1\";\n retorno[1] = \"\";\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"no se reconoce la variable \" + var[1] + \".\";\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n }\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"no se reconoce la variable \" + var[0] + \".\";\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n }\n\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n }\n }\n } else {\n retorno[0] = \"0\";\n retorno[1] = \"mala construcción de la sentencia.\";\n }\n\n\n\n } catch (Exception e) {\n System.out.println(\"Error en condicion \" + e.getClass());\n } finally {\n return retorno;\n }\n }", "public void validar_campos(){\r\n\t\tfor(int i=0;i<fieldNames.length-1;++i) {\r\n\t\t\tif (jtxt[i].getText().length() > 0){\r\n\t\t\t}else{\r\n\t\t\t\tpermetir_alta = 1;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\tif((CmbPar.getSelectedItem() != null) && (Cmbwp.getSelectedItem() != null) && (CmbComp.getSelectedItem() != null) && (jdc1.getDate() != null) && (textdescripcion.getText().length() > 1) && (textjustificacion.getText().length() > 1)){\t\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tpermetir_alta = 1;\r\n\t\t}\r\n\t\t\r\n\t}", "private boolean equalsChars(char[] first, char[] second) {\n for (int i = 0; i < second.length; i++)\n if (first[i] != second[i])\n return false;\n return true;\n }", "public void validarRut(String rut) {\n boolean validacion = false;\n try {\n rut = rut.toUpperCase().replace(\".\", \"\").replace(\"-\", \"\");\n int rutAux = Integer.parseInt(rut.substring(0, rut.length() - 1));\n char dv = rut.charAt(rut.length() - 1);\n int m = 0, s = 1;\n for (; rutAux != 0; rutAux /= 10) {\n s = (s + rutAux % 10 * (9 - m++ % 6)) % 11;\n }\n if (dv == (char) (s != 0 ? s + 47 : 75)) {\n validacion = true;\n recorrerUsuarios(rut);\n }\n } catch (java.lang.NumberFormatException e) {\n } catch (Exception e) {\n }\n if (validacion==false){\n Toast.makeText(getApplicationContext(),\"Rut no valido\",Toast.LENGTH_LONG).show();\n }\n }", "private int validate(final String lcono) {\n\n if (lcono == null || lcono.isEmpty())\n return 1;\n else if (!lcono.matches(\"\\\\d*\\\\.?\\\\d+\"))\n return 2;\n\n return 0;\n }", "private boolean checkValue(char v1, char v2, char v3){ \r\n\t\treturn ((v1 != '-') && (v1 == v2) && (v2==v3));\r\n\t}", "static String isValid(String s) {\n if(s.isEmpty())return \"YES\";\n int[] alphabet = new int[26];\n // char - 97 = arr location;\n for(int i = 0;i<s.length();i++){\n int location = (int)s.charAt(i) - 'a';\n alphabet[location] += 1;\n }\n for(Integer x: alphabet){\n System.out.println(x);\n }\n int i = 0;\n while(alphabet[i]==0){\n i++;\n }\n int standard = alphabet[i];\n boolean used = false;\n for(;i<26;i++){\n if(alphabet[i]!=0){\n if(Math.abs(alphabet[i]-standard)==1){\n if(used){\n System.out.println(\"equal 1\");\n return \"NO\";\n }else{\n used = true;\n }\n }else if(Math.abs(alphabet[i]-standard)>1){\n\n System.out.println(\"gtr then 1\");\n return \"NO\";\n }\n }\n }\n return \"YES\";\n\n\n\n }", "private boolean alphabCheck(String first, String second) {\n\t\tif (first.length() == 1 || second.length() == 1) {\n\t\t\tif (first.compareTo(second) < 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (first.substring(0, 1).compareTo(second.substring(0,1)) < 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (first.substring(0, 1).compareTo(second.substring(0,1)) == 0) {\n\t\t\t\t\treturn alphabCheck(first.substring(1, first.length()),second.substring(1,second.length()));\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "@Override\n\t\t\tpublic int compare(String o1, String o2) {\n\t\t\t\treturn Integer.compare(o1.length(),\n\t\t o2.length());\n\t\t\t}", "public static void main(String[] args) {\nScanner sc=new Scanner(System.in);\r\nString s1=sc.nextLine();\r\nString s2=sc.nextLine();\r\ns1=s1.replaceAll(\"\\\\s\",\"\");\r\ns2=s2.replaceAll(\"\\\\s\",\"\");\r\ns1=s1.toLowerCase();\r\ns2=s2.toLowerCase();\r\nchar str1[]=s1.toCharArray();\r\nchar str2[]=s2.toCharArray();\r\nArrays.sort(str1);\r\nArrays.sort(str2);\r\nboolean k=true;\r\nif(s1.length()!=s2.length())\r\n\tk=false;\r\nelse\r\n{\r\nk=Arrays.equals(str1,str2);\t\r\n}\r\nif(k==false)\r\n\tSystem.out.print(\"not annagram\");\r\nelse\r\n\tSystem.out.print(\"annagram\");\r\n\t}", "public static void main(String[] args) {\nScanner sc=new Scanner(System.in);\r\nString a=sc.nextLine();\r\nString b=sc.nextLine();\r\nchar ch1[]=a.toCharArray();\r\nchar ch2[]=b.toCharArray();\r\nint l1=ch1.length;\r\nint l2=ch2.length;\r\nint n=0;\r\nif(l1==l2)\r\n{\r\n\tfor(int i=0;i<l1;i++)\r\n\t{\r\n\t\tif(ch1[i]!=ch2[i])\r\n\t\t{\r\n\t\t\tn=n+1;\r\n\t\t}\r\n\t}\r\n\tif(n==1)\r\n\t\tSystem.out.println(\"yes\");\r\n\telse\r\n\t\tSystem.out.println(\"no\");\r\n}\r\nelse\r\n\tSystem.out.println(\"no\");\r\n\t}", "@Override\r\n\t\t\tpublic int compare(String o1, String o2) {\n\t\t\t\tString[] values = o1.split(\";\");\r\n\t\t\t\t//Take the second string and do the same thing\r\n\t\t\t\tString[] values2 = o2.split(\";\");\r\n\t\t\t\t//Compare strings according to their integer values\r\n\t\t\t\treturn Integer.valueOf(values[0].replace(\"\\\"\", \"\")).compareTo(Integer.valueOf(values2[0].replace(\"\\\"\", \"\")));\r\n\t\t\t}", "static int type_of_cmp(String passed){\n\t\tif(general_registers.contains(passed.charAt(4)))\n\t\t\treturn 1;\n\t\telse if(passed.charAt(4)=='M')\n\t\t\treturn 2;\n\t\telse\n\t\t\treturn 0;\n\t}", "static int twoCharaters(String s) {\n\t\tList<String> list = Arrays.asList(s.split(\"\"));\n\t\tHashSet<String> uniqueValues = new HashSet<>(list);\n\t\tSystem.out.println(uniqueValues);\n\t\tString result;\n\t\twhile(check(list,1,list.get(0))) {\n\t\t\tresult = replace(list,1,list.get(0));\n\t\t\tif(result != null) {\n\t\t\t\tSystem.out.println(result);\n\t\t\t\ts = s.replaceAll(result,\"\");\n\t\t\t\tlist = Arrays.asList(s.split(\"\"));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t\treturn 5;\n }", "@Test\n public void deve_aceitar_tamanho_com_8_numeros() {\n telefone.setTamanho(8);\n assertTrue(isValid(telefone, String.valueOf(telefone.getTamanho()), Find.class));\n }", "public int day02PartOne(ArrayList<String> input) {\n int validPwd = 0;\n for (String str : input) {\n Pattern p = Pattern.compile(\"(\\\\d*)-(\\\\d*) (.): ([a-z]*)\");\n Matcher m = p.matcher(str);\n\n if (m.find()) {\n int min = Integer.parseInt(m.group(1));\n int max = Integer.parseInt(m.group(2));\n char ch = m.group(3).charAt(0);\n String pwd = m.group(4);\n int n = 0;\n for (int i = 0; i < pwd.length(); i++) {\n char c = pwd.charAt(i);\n if (c == ch)\n n++;\n }\n if (n >= min && n <= max) {\n validPwd++;\n }\n\n } else {\n System.out.println(\"NO MATCH\");\n }\n\n }\n\n return validPwd;\n }", "void compareMantisseminDec(String mantisse){\n\n \t\tString min = \"14012985\";\n \t\tint longueur = minimum(mantisse.length(), min.length());\n\n \t\tfor (int i = 0; i< longueur; i++) {\n \t\t\tint mininum = min.charAt(i);\n \t\t\tint mantissei = mantisse.charAt(i);\n \t\t\tif (mantissei < mininum) {\n \t\t throw new InvalidFloatSmall(this, getInputStream());\n \t\t\t}\n \t\t}\n \t\t// mantisse plus longue donc >= min donc pas d'erreur de debordement\n\n \t}", "static int checkdigit(String num1, String num2)\n {\n for (int i=0;i<num1.length();i++)\n {\n char c1=num1.charAt(i);\n if((num1.substring(0,i).indexOf(c1))!=-1)//To check if a digit repeats itself in the substring \n continue;\n if(num2.indexOf(c1)==-1)//To check the presence of the digit in the factors\n return 0;\n \n int f1=0;int f2 =0;\n \n for(int k=0;k<num1.length();k++)//To find how many times c1 occurs in num1\n {\n if(c1==num1.charAt(k))\n f1=f1+1;\n }\n for(int p=0;p<num2.length();p++)//To find how many times c1 occurs in num2\n {\n if(c1==num2.charAt(p))\n f2=f2+1;\n }\n if(f1!=f2)//If c1 occurs the same number of times in num1 and num2\n {\n return 0;\n }\n \n }\n return 1;\n \n }", "private int compareInternal(String shorter, String longer) {\n int lengthDiff = longer.length() - shorter.length();\n\n for (int compareStartIndexInsideLonger = 0; compareStartIndexInsideLonger <= lengthDiff; compareStartIndexInsideLonger++) {\n String compariosonPartFromLonger = longer.substring(compareStartIndexInsideLonger, compareStartIndexInsideLonger + shorter.length());\n //we have found an answer if they are not equal\n int result = shorter.compareTo(compariosonPartFromLonger);\n if (result != 0) {\n return result;\n }\n }\n\n //the are equal\n return 0;\n }", "@Test\n public void testComp2()\n {\n System.out.println(\"comp\");\n String compString = \"D+M\";\n assertEquals(\"1000010\", N2TCode.comp(compString));\n }", "private boolean isSSNFourDigits(String toCheck) {\r\n if (toCheck.length() > 0 && toCheck.length() != 4) {\r\n JOptionPane.showMessageDialog\r\n (null, \"Social Security # Must Have 4 Characters\");\r\n return false;\r\n } else if (toCheck.length() == 0) {\r\n JOptionPane.showMessageDialog\r\n (null, \"No Social Security # entered\");\r\n return false;\r\n } else if (toCheck.length() == 4) {\r\n for (int i = 0; i < 4; i++) {\r\n if (!Character.isDigit(toCheck.charAt(i))) {\r\n JOptionPane.showMessageDialog\r\n (null, \"Social Security # Must Have Only Numbers\");\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }", "private String cadenaABinario(String cadena){\n String cb = \"\";\n int longitud;\n for(int i = 0; i < cadena.length(); i++){\n cb += String.format(\"%8s\",Integer.toBinaryString(cadena.charAt(i)));\n }\n cb = formato(cb);\n return cb;\n }", "static int minimumNumber(int n, String password) {\n //Check synchronization \n // Return the minimum number of characters to make the password strong\n int sym = 0;\n String numbers = \"0123456789\";\n String lower_case = \"abcdefghijklmnopqrstuvwxyz\";\n String upper_case = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n String special_characters = \"!@#$%^&*()-+\";\n\n Set<Character> stringSet = new TreeSet<Character>();\n for (int i = 0; i < password.length(); i++) {\n stringSet.add(password.charAt(i));\n }\n Set<Character> localeStringSet1 = new TreeSet<Character>();\n Set<Character> localeStringSet2 = new TreeSet<Character>();\n Set<Character> localeStringSet3 = new TreeSet<Character>();\n Set<Character> localeStringSet4 = new TreeSet<Character>();\n\n Set<Character> numbersSet = new TreeSet<Character>();\n for (int i = 0; i < numbers.length(); i++) {\n numbersSet.add(numbers.charAt(i));\n }\n\n Set<Character> lowerCase = new TreeSet<Character>();\n for (int i = 0; i < lower_case.length(); i++) {\n lowerCase.add(lower_case.charAt(i));\n }\n\n Set<Character> upperCase = new TreeSet<Character>();\n for (int i = 0; i < upper_case.length(); i++) {\n upperCase.add(upper_case.charAt(i));\n }\n\n Set<Character> specialChars = new TreeSet<Character>();\n for (int i = 0; i < special_characters.length(); i++) {\n specialChars.add(special_characters.charAt(i));\n }\n\n if (password.length() < 6) {\n sym = 6 - password.length();\n }\n\n int answer = 0;\n\n localeStringSet1.addAll(stringSet);\n localeStringSet2.addAll(stringSet);\n localeStringSet3.addAll(stringSet);\n localeStringSet4.addAll(stringSet);\n\n localeStringSet1.retainAll(numbersSet);\n System.out.println(localeStringSet1);\n if (localeStringSet1.isEmpty()) {\n System.out.println(localeStringSet1);\n answer++;\n System.out.println(answer);\n }\n\n localeStringSet2.retainAll(lowerCase);\n System.out.println(localeStringSet2);\n if (localeStringSet2.isEmpty()) {\n System.out.println(localeStringSet2);\n answer++;\n System.out.println(answer);\n }\n\n localeStringSet3.retainAll(upperCase);\n System.out.println(localeStringSet3);\n if (localeStringSet3.isEmpty()) {\n System.out.println(localeStringSet3);\n answer++;\n System.out.println(answer);\n }\n\n localeStringSet4.retainAll(specialChars);\n System.out.println(localeStringSet4);\n if (localeStringSet4.isEmpty()) {\n System.out.println(localeStringSet4);\n answer++;\n System.out.println(answer);\n }\n\n if (answer < sym){\n return answer;\n } else {\n return sym;\n }\n\n\n /*for (int i = 0; i < bigMfS.length();) {\n if ((i == bigMfS.length()-1) && (password.indexOf(numbersChar[i]) == -1)){\n answer ++;\n System.out.println(answer);\n }\n if (password.indexOf(numbersChar[i]) == -1 ){\n i++;\n }\n else {\n answer = 0;\n break;\n }\n }*/\n }", "public static boolean compareLetters(String romConcat, char smallNum, char bigNum) {\n\t\tint checkSmall = 0, checkBig = 0;\r\n\t\t\r\n\t\tif(romConcat.indexOf(smallNum) > -1) {\r\n\t\t\tcheckSmall = romConcat.indexOf(smallNum);\r\n\t\t}\r\n\t\t\r\n\t\tif(romConcat.indexOf(bigNum) > -1) {\r\n\t\t\tcheckBig = romConcat.indexOf(bigNum);\r\n\t\t}\r\n\t\t\r\n\t\tif(checkSmall == 0 || checkBig == 0) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse if(checkSmall < checkBig) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}", "public int cuantosRenglones() \r\n\t{\r\n\t\tString respuesta = JOptionPane.showInputDialog(\"cuantas renglones quiere\");\r\n\t\tint respuesta1 = Integer.parseInt(respuesta);\r\n\t\treturn respuesta1;\r\n\t}", "private boolean comparacionOblicuaID(String[] dna) {\n boolean repetir;\n int aux = 0;\n final int CASO = 3;\n int largo = dna.length - CASO - 1;\n int repaso = 1, fila,columna;\n do {\n do {\n repetir = true;\n if (repaso == 1) {\n fila = 0;\n columna = largo - aux;\n } else {\n fila = largo - aux;\n columna = 0;\n }\n for (int i = 0; i <= (CASO + aux); i += 2) {\n int colum = columna + i;\n int fil = fila + i;\n if ((colum) == (fil) && repaso == 1) {\n repetir = false; break;\n }\n if (((dna.length-CASO)>=colum && repaso==1) || ((dna.length-CASO)>=fil && repaso==0)) {\n if (dna[fil].charAt(colum) == dna[fil + 2].charAt(colum + 2)) {\n if (dna[fil].charAt(colum) == dna[fil + 1].charAt(colum + 1)) {\n if (((fil - 1) >= 0 && (colum - 1) >= 0) && (dna[fil].charAt(colum) == dna[fil - 1].charAt(colum - 1))) {\n cantidadSec++;\n if(cantidadSec>1)return true;\n if (colum == fil) repetir = false;\n break;\n } else {\n if (((dna.length - CASO+1) >= (colum + 3) && repaso == 1) || ((dna.length-1) >= (fil + 3) && repaso == 0)) {\n if ((dna[fil].charAt(colum) == dna[fil + 3].charAt(colum + 3))) {\n cantidadSec++;\n if(cantidadSec>1)return true;\n if (colum == fil) repetir = false;\n break;\n }\n }\n }\n }\n }\n } else {\n if (colum == fil) repetir = false;\n }\n }\n aux++;\n } while (repetir);\n repaso--;\n aux = 0;\n } while (repaso >= 0);\n return false;\n }", "static boolean possibility(HashMap<Integer,\n Integer> m,\n int length, String s)\n{\n // counts the occurrence of number\n // which is odd\n int countodd = 0;\n \n for (int i = 0; i < length; i++)\n {\n // if occurrence is odd\n if (m.get(s.charAt(i) - '0') % 2 == 1)\n countodd++;\n \n // if number exceeds 1\n if (countodd > 1)\n return false;\n }\n \n return true;\n}", "public static boolean checkdigitsequal() {\n int count2=0;\n for (a = 0; a < 10; a++) {\n if (digits[a] == 0)\n {\n count2++;\n if(count2==10)return true;\n }\n else return false;\n }\n return false;\n }", "public void printNo(String numar)\r\n {\r\n //toate verificarile posibile pentru a afisa ce trebuie\r\n //mi-e lene sa scriu la fiecare in parte, daca vrei ti le explic la telefon\r\n if(Character.getNumericValue(numar.charAt(0)) ==0 && Character.getNumericValue(numar.charAt(1)) == 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else{\r\n if(Character.getNumericValue(numar.charAt(0)) > 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(0))] + \" hundread \");\r\n }\r\n if(Character.getNumericValue(numar.charAt(1)) == 1){\r\n System.out.print(v1[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else if (Character.getNumericValue(numar.charAt(1)) > 1 && Character.getNumericValue(numar.charAt(2)) > 0){\r\n System.out.print(v2[Character.getNumericValue(numar.charAt(1)) - 2] + v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n else if(Character.getNumericValue(numar.charAt(2)) == 0 && Character.getNumericValue(numar.charAt(1)) > 1){\r\n System.out.print(v2[Character.getNumericValue(numar.charAt(1)) - 2] + \" \");\r\n }\r\n if(Character.getNumericValue(numar.charAt(1)) == 0 && Character.getNumericValue(numar.charAt(2)) > 0){\r\n System.out.print(v[Character.getNumericValue(numar.charAt(2))] + \" \");\r\n }\r\n }\r\n }", "boolean comprovarCodi(String codi) {\r\n if(codi == id) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }", "public static boolean ehCampoVazio(JTextField... campos) {\n String vazio = \"\";\n \n for (JTextField c : campos) {\n if (c.getText().equals(vazio)) {\n return true;\n }\n }\n return false;\n }", "public boolean ValidarCantidad(String c) {\n String numCuenta = c;\n int NOnum = 0;\n for (int i = 0; i < numCuenta.length(); i++) {\n if (!Character.isDigit(numCuenta.charAt(i))) {\n NOnum++;\n }\n }\n return NOnum == 0;\n }", "static String isValid(String s) {\r\n\r\n\t\tHashMap<Character, Integer> map = new HashMap();\r\n\t\tHashMap<Integer, Integer> vMap = new HashMap();\r\n\t\tfor (int i = 0; i < s.length(); i++) {\r\n\r\n\t\t\tif (map.containsKey(s.charAt(i))) {\r\n\t\t\t\tmap.put(s.charAt(i), map.get(s.charAt(i)) + 1);\r\n\t\t\t} else {\r\n\t\t\t\tmap.put(s.charAt(i), 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(map);\r\n\t\tfor (int v : map.values()) {\r\n\t\t\tif (vMap.containsKey(v)) {\r\n\t\t\t\tvMap.put(v, vMap.get(v) + 1);\r\n\t\t\t} else {\r\n\t\t\t\tvMap.put(v, 1);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tSystem.out.println(vMap);\r\n\r\n\t\tif (vMap.size() == 1) {\r\n\t\t\treturn \"YES\";\r\n\t\t} else if (vMap.size() == 2) {\r\n\t\t\tint ar[] = new int[2];\r\n\t\t\tint ark[] = new int[2];\r\n\t\t\tint j = 0;\r\n\t\t\tfor (int a : vMap.keySet()) {\r\n\t\t\t\tar[j] = vMap.get(a);\r\n\t\t\t\tark[j] = a;\r\n\t\t\t\tj++;\r\n\t\t\t}\r\n\r\n\t\t\tif ((ar[1] == 1 || ar[0] == 1) && (Math.abs(ark[1] - ark[0]) == 1))\r\n\t\t\t\treturn \"YES\";\r\n\t\t\telse if ((!(Math.abs(ark[1] - ark[0]) == 1))\r\n\t\t\t\t\t&& ((ark[0] == 1 && ar[0] == 1) || (ark[1] == 1 && ar[1] == 1)))\r\n\t\t\t\treturn \"YES\";\r\n\t\t\telse\r\n\t\t\t\treturn \"NO\";\r\n\r\n\t\t} else {\r\n\t\t\treturn \"NO\";\r\n\t\t}\r\n\r\n\t}", "public static boolean allUnique2(String s ){\n\t\tint value = 0;\n\t\tchar[] chars = s.toCharArray();\n\t\tfor(char c : chars) \n\t\t{\t\n\t\t\tint i = c -'a';\n\t\t\tif(((1<<i+1)&value)>0)\n\t\t\t\treturn false;\n\t\t\tvalue = value | (1<<i+1);\n\t\t}\n\t\treturn true;\n\t}", "private static int cmp( String str1, String str2 )\n \t\t{\n \t\t\tif ( str1==null && str2==null )\n \t\t\t\treturn 0;\n \t\t\tif ( str1==null )\n \t\t\t\treturn -1;\n \t\t\tif ( str2==null )\n \t\t\t\treturn 1;\n \t\t\t\n \t\t\tint p1 = 0;\n \t\t\tint p2 = 0;\n \t\t\tfor ( ;; ) {\n \t\t\t\tif ( p1>=str1.length() ) {\n \t\t\t\t\tif ( p2>=str2.length() )\n \t\t\t\t\t\treturn 0;\n \t\t\t\t\treturn 1;\n \t\t\t\t}\n \t\t\t\tif ( p2>=str2.length() )\n \t\t\t\t\treturn -1;\n \t\t\t\tchar ch1 = str1.charAt(p1);\n \t\t\t\tchar ch2 = str2.charAt(p2);\n \t\t\t\tif ( ch1>='0' && ch1<='9' && ch2>='0' && ch2<='9' ) {\n \t\t\t\t\tint n1 = 0;\n \t\t\t\t\tint n2 = 0;\n \t\t\t\t\twhile ( ch1>='0' && ch1<='9' ) {\n \t\t\t\t\t\tp1++;\n \t\t\t\t\t\tn1 = n1 * 10 + (ch1-'0');\n \t\t\t\t\t\tif ( p1>=str1.length() )\n \t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\tch1 = str1.charAt(p1);\n \t\t\t\t\t}\n \t\t\t\t\twhile ( ch2>='0' && ch2<='9' ) {\n \t\t\t\t\t\tp2++;\n \t\t\t\t\t\tn2 = n2 * 10 + (ch2-'0');\n \t\t\t\t\t\tif ( p2>=str2.length() )\n \t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\tch2 = str2.charAt(p2);\n \t\t\t\t\t}\n \t\t\t\t\tint c = cmp(n1, n2);\n \t\t\t\t\tif ( c!=0 )\n \t\t\t\t\t\treturn c;\n \t\t\t\t} else {\n \t\t\t\t\tif ( ch1<ch2 )\n \t\t\t\t\t\treturn -1;\n \t\t\t\t\tif ( ch1>ch2 )\n \t\t\t\t\t\treturn 1;\n \t\t\t\t\tp1++;\n \t\t\t\t\tp2++;\n \t\t\t\t}\n \t\t\t}\n \t\t}", "public boolean check3sameNumbersMax(String password) {\n for (int i = 0; i < password.length() - 3; i++) {\n if (String.valueOf(password.charAt(i)).matches(\"\\\\d\")) { //next time: Character.isDigit(passtword.charAt(i))\n for (int j = i; j < i+3; j++) {\n if (password.charAt(j) != password.charAt(j + 1)) {\n break;\n } else if (j-i == 2) {\n return false;\n }\n }\n }\n }\n return true;\n }", "@Test\n public void deve_aceitar_tamanho_com_9_numeros() {\n telefone.setTamanho(9);\n assertTrue(isValid(telefone, String.valueOf(telefone.getTamanho()), Find.class));\n }", "public int symbols(String senha){\n Pattern exp = Pattern.compile(\"([^a-zA-Z\\\\d\\\\s]+)\");\n Matcher matcher = exp.matcher(senha);\n int i = 0;\n while (matcher.find())\n i += matcher.group().length();\n return i;\n }", "private boolean validarContrasena (String contrasena){\n Pattern pattern = Pattern.compile(\"^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=!.])(?=\\\\S+$).{6,}$\");\n if (!contrasena.matches(String.valueOf(pattern))){\n errorCo.setText(\"La Contraseña debe tener al menos: 6 caracteres, 1 minúscula, 1 mayúscula, 1 número y 1 signo\");\n errorCo.setVisibility(View.VISIBLE);\n\n }\n return contrasena.matches(String.valueOf(pattern));\n }", "static String GetCheckDigitAndCheckCode(String input) {\n int sum = 0;\n for(int i = 0; i < input.length(); i++) {\n if(i%2 == 0 || i == 0) {\n\n sum += 3 * Character.getNumericValue(input.charAt(i));\n }else {\n sum += Character.getNumericValue(input.charAt(i));\n }\n }\n int subDigit = ((sum/10) + 1 ) * 10;\n int checkDigit = subDigit - sum;\n\n input = input + checkDigit;\n\n\n int digit1 = get9Digits(input.substring(0, 8));\n int digit2 = get9Digits(input.substring(9));\n\n // NOTE - Not able to understand what means by index of 2\n // digit numbers so here am just adding instead of multiplying the 2 9 digits.\n int result = digit1 + digit2 + 207;\n int remainder = result % 103;\n\n StringBuilder sb = new StringBuilder();\n sb.append(checkDigit);\n sb.append(',');\n sb.append(remainder);\n return sb.toString();\n }", "public void calcular() {\n int validar, c, d, u;\n int contrasena = 246;\n c = Integer.parseInt(spiCentenas.getValue().toString());\n d = Integer.parseInt(spiDecenas.getValue().toString());\n u = Integer.parseInt(spiUnidades.getValue().toString());\n validar = c * 100 + d * 10 + u * 1;\n //Si es igual se abre.\n if (contrasena == validar) {\n etiResultado.setText(\"Caja Abierta\");\n }\n //Si es menor nos indica que es mas grande\n if (validar < contrasena) {\n etiResultado.setText(\"El número secreto es mayor\");\n }\n //Si es mayot nos indica que es mas pequeño.\n if (validar > contrasena) {\n etiResultado.setText(\"El número secreto es menor\");\n }\n }", "static String isValid(String s) {\n int[] index = new int[26];\n for(char i : s.toCharArray()) {\n index[i-'a']++;\n }\n int diff = 0;\n HashMap<Integer,Integer> map = new HashMap<>();\n for(int i = 0 ; i < 26 ; i++) {\n if(index[i]==0) continue;\n diff++;\n map.put(index[i],map.getOrDefault(index[i],0)+1);\n }\n if(map.size() > 2) {\n return \"NO\";\n }\n else if(map.size() == 2) {\n Iterator<Integer> it = map.keySet().iterator();\n int a = it.next();\n int b = it.next();\n if(Math.max(map.get(a),map.get(b)) != diff - 1) {\n return \"NO\";\n }\n if(map.get(Math.min(a,b))!=1 && Math.abs(a-b)!=1) {\n return \"NO\";\n }\n }\n return \"YES\";\n \n }", "public boolean estMotDePasseValide(String motDePasse) {\n\t\t\n\t\tif(motDePasse.length()>8) {\n\t\t\tfor(int i=0;i<motDePasse.length();i++) {\n\t\t\t\tif(motDePasse.charAt(i)==motDePasse.toUpperCase().charAt(i)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "@Test\n public void testEqualChars2()\n {\n assertTrue(offBy2.equalChars('a', 'c')); // true\n assertTrue(offBy2.equalChars('c', 'a')); // true\n assertTrue(offBy2.equalChars('e', 'g')); // true\n\n assertFalse(offBy2.equalChars('C', 'c')); // false\n assertFalse(offBy2.equalChars('a', 'e')); // false\n assertFalse(offBy2.equalChars('z', 'a')); // false\n assertFalse(offBy2.equalChars('k', 's')); // false\n }", "@Override\n public int compare(String str1, String str2) {\n String digitRegex = \".*\\\\d+.*\";\n boolean hasDigits1 = str1.matches(digitRegex);\n boolean hasDigits2 = str2.matches(digitRegex);\n int result = -Boolean.valueOf(hasDigits1).compareTo(hasDigits2);\n\n if (result == 0) {\n // Secondary order: length, descending\n result = -Integer.valueOf(str1.length()).compareTo(str2.length());\n }\n\n return result;\n }", "@Test\n public void testBeneZPayerTreatAuthCd() {\n new BeneZPayerFieldTester()\n .verifyStringFieldCopiedCorrectly(\n FissBeneZPayer.Builder::setTreatAuthCd,\n RdaFissPayer::getTreatAuthCd,\n RdaFissPayer.Fields.treatAuthCd,\n 18);\n }", "public static boolean checkPermutation3 (String input1, String input2) {\n\t\t\n\t\tint[] asciiVal = new int[256];\n\t\t\n\t\tfor (int i = 0; i < input1.length(); i++) {\n\t\t\tasciiVal[(int) input1.charAt(i)] += 1;\n\t\t}\n\t\t\n\t\tfor (int j = 0; j < input2.length(); j++) {\n\t\t\tif (asciiVal[(int) input2.charAt(j)] <= 0) return false;\n\t\t\tasciiVal[(int) input2.charAt(j)] -= 1;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "public int probar(String poox){\r\n int numero = Character.getNumericValue(poox.charAt(0))+ Character.getNumericValue(poox.charAt(1))+ Character.getNumericValue(poox.charAt(2))+ \r\n Character.getNumericValue(poox.charAt(3))+ Character.getNumericValue(poox.charAt(4));\r\n int comprobar;\r\n if(numero >= 30){\r\n comprobar = 2;\r\n System.out.println( numero +\" Digito verificar = \" + comprobar);\r\n }else if (numero >=20 && numero <= 29){\r\n comprobar = 1;\r\n System.out.println(numero + \" Digito verificar = \" + comprobar);\r\n }else{\r\n comprobar = 0;\r\n System.out.println(numero + \" Digito verificar = \" + comprobar);\r\n }\r\n return comprobar;\r\n }", "@Override\n public long resultPart2() throws Exception {\n Scanner sc = inputScanner();\n\n int valid = 0;\n\n while(sc.hasNextLine()) {\n StringBuilder line = new StringBuilder(sc.nextLine());\n \n int a = Integer.parseInt(line.substring(0, line.indexOf(\"-\")));\n int b = Integer.parseInt(line.substring(line.indexOf(\"-\") + 1, line.indexOf(\" \")));\n line.delete(0, line.indexOf(\" \") + 1);\n\n char c = line.charAt(0);\n line.delete(0, line.indexOf(\" \")); // No +1 means first character is automatically '1'\n \n if(line.length() <= a) continue;\n if(line.charAt(a) == c) {\n if(line.length() <= b || line.charAt(b) != c) valid++;\n }\n else if(line.length() > b && line.charAt(b) == c) valid++;\n }\n\n return valid;\n }", "public int compare(Object obj1, Object obj2){\n\t\t\n\t\tString s1 = obj1.toString(); // sudha\n\t\tString s2 = obj2.toString(); // rani\n\t\t\n\t\tif(s1.length()>s2.length()){\n\t\t\treturn 100;\n\t\t}else if(s1.length()<s2.length()){\n\t\t\treturn -10;\n\t\t} else{\n\t\t\treturn s1.compareTo(s2);\n\t\t}\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tScanner ulaz = new Scanner(System.in);\r\n\t\tSystem.out\r\n\t\t\t\t.println(\"Unesite Vas ssn u formatu DDD-DD-DDDD gdje D predstavlja broj:\");\r\n\t\tString ssn = ulaz.nextLine();\r\n\t\t// prebaci string u niz\r\n\t\tchar[] SSN = ssn.toCharArray();\r\n\t\t// ispitaj da li je na odgovarajucim mjestima broj ili crtica\r\n\t\tif ((Character.isDigit(SSN[0])) && (Character.isDigit(SSN[1]))\r\n\t\t\t\t&& (Character.isDigit(SSN[2])) && (SSN[3] == '-')\r\n\t\t\t\t&& (Character.isDigit(SSN[4])) && (Character.isDigit(SSN[5]))\r\n\t\t\t\t&& (SSN[6] == '-') && (Character.isDigit(SSN[7]))\r\n\t\t\t\t&& (Character.isDigit(SSN[8])) && (Character.isDigit(SSN[9]))\r\n\t\t\t\t&& (Character.isDigit(SSN[10]))) {\r\n\t\t\t// ako su svi uslov tacni ispisi poruku\r\n\t\t\tSystem.out.println(\"Uneseni ssn je ispravan.\");\r\n\t\t} else {\r\n\t\t\t// ako jedan ili vise uslova nije tacan ispisi poruku\r\n\t\t\tSystem.out.println(\"\\nUneseni ssn nije ispravan.\");\r\n\r\n\t\t}\r\n\r\n\t}", "private boolean isAllChars(String fieldVal){\r\n // Get rid of all whitespace from the given string\r\n String val = fieldVal.replaceAll(\"\\\\s\", \"\").trim();\r\n // Check each character in the string to determine if it is a digit or not\r\n for (int i=0; i < val.length(); i++){\r\n // if we find a digit return false\r\n if (Character.isDigit(val.charAt(i))){\r\n return false;\r\n }\r\n }\r\n // if we get here then all characters in the string are letters\r\n return true;\r\n }", "public boolean isCNPJ(String CNPJ) {\n\t\t// considera-se erro CNPJ's formados por uma sequencia de numeros iguais\n if (CNPJ.equals(\"00000000000000\") || CNPJ.equals(\"11111111111111\") ||\n CNPJ.equals(\"22222222222222\") || CNPJ.equals(\"33333333333333\") ||\n CNPJ.equals(\"44444444444444\") || CNPJ.equals(\"55555555555555\") ||\n CNPJ.equals(\"66666666666666\") || CNPJ.equals(\"77777777777777\") ||\n CNPJ.equals(\"88888888888888\") || CNPJ.equals(\"99999999999999\") ||\n (CNPJ.length() != 14))\n return(false);\n\n char dig13, dig14;\n int sm, i, r, num, peso;\n\n// \"try\" - protege o codigo para eventuais erros de conversao de tipo (int)\n try {\n// Calculo do 1o. Digito Verificador\n sm = 0;\n peso = 2;\n for (i=11; i>=0; i--) {\n// converte o i-�simo caractere do CNPJ em um n�mero:\n// por exemplo, transforma o caractere '0' no inteiro 0\n// (48 eh a posi��o de '0' na tabela ASCII)\n num = (int)(CNPJ.charAt(i) - 48);\n sm = sm + (num * peso);\n peso = peso + 1;\n if (peso == 10)\n peso = 2;\n }\n\n r = sm % 11;\n if ((r == 0) || (r == 1))\n dig13 = '0';\n else dig13 = (char)((11-r) + 48);\n\n// Calculo do 2o. Digito Verificador\n sm = 0;\n peso = 2;\n for (i=12; i>=0; i--) {\n num = (int)(CNPJ.charAt(i)- 48);\n sm = sm + (num * peso);\n peso = peso + 1;\n if (peso == 10)\n peso = 2;\n }\n\n r = sm % 11;\n if ((r == 0) || (r == 1))\n dig14 = '0';\n else dig14 = (char)((11-r) + 48);\n\n// Verifica se os d�gitos calculados conferem com os d�gitos informados.\n if ((dig13 == CNPJ.charAt(12)) && (dig14 == CNPJ.charAt(13)))\n return(true);\n else return(false);\n } catch (InputMismatchException erro) {\n return(false);\n }\n\t}", "public static void main(String[] args) {\n\t\t\n\t\tString s = \"123.5MA1C2034\";\n\t\tfor(int i = 0; i < s.length(); i++)\n\t\t\tif(((int) s.charAt(i)>= 65 && (int)s.charAt(i)<= 91)||(int) s.charAt(i)>= 97 && (int)s.charAt(i)<= 122)\n\t\t\t\tSystem.out.println(s.charAt(i));\n\t\t\t\n\t}", "@Override\r\n\tArrayList<String> checkData() {\n\t\tArrayList<String> cf = new ArrayList<String>();\r\n\t\tboolean errorSuperficie = false;\r\n\t\t\r\n\t\t\r\n\t\tfor (Entry<String, String[]> entry : request.getParameterMap().entrySet()) {\r\n\r\n\t\t\tif(entry.getKey().indexOf(\"PR\") != -1){\r\n\t\t\t\t\r\n\t\t\t\tif(!isPositive0Included(request.getParameter(entry.getKey()))){\r\n\t\t\t\t\terrorSuperficie = true;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif(errorSuperficie){\r\n\t\t\tcf.add(\"Las superficies tienen que ser positivas.\");\r\n\t\t}\r\n\r\n\t\t\r\n\t\treturn cf;\r\n\t}", "public boolean ValidMoveset(String s) {\r\n\t\t\r\n\t\tif(s==null) {\r\n\t\t\treturn true;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tchar[] C = s.toCharArray();\r\n\r\n\t\tint incr = 1;\r\n\t\t\r\n\t\tboolean T = false;\r\n\t\tfor(int i=0; i<C.length;i= i +incr) {\r\n\t\t\tif(i!=C.length-1) {\r\n\t\t\t\t//System.out.printf(\"str:%c%c INT VAL: %d\\n\",C[i],C[i+1],Character.getNumericValue((int)C[i+1]));\r\n\t\t\t\tT = (C[i]=='u'&&Character.getNumericValue(C[i+1])>0&&Character.getNumericValue(C[i+1])<9)||(C[i]=='r'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='d'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='l'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='<'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='>'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='{'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)||(C[i]=='}'&&Character.getNumericValue((int)C[i+1])>0&&Character.getNumericValue((int)C[i+1])<9)/*||(C[i]=='U')||(C[i]=='R')||(C[i]=='D')||(C[i]=='L')||(C[i]=='<'&&C[i+1]=='<')||(C[i]=='>'&&C[i+1]=='>')||(C[i]=='{'&&C[i+1]=='{')||(C[i]=='}'&&C[i+1]=='}')*/;\r\n\t\t\t\tincr = 2;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t//These can be the only cases for last char\r\n\t\t\t\t//T =(C[i]=='U')||(C[i]=='R')||(C[i]=='D')||(C[i]=='L'); \r\n\t\t\t\t\r\n\t\t\t\t/////////////////////////////////////////////////////////////////ALLOW USER TO CREATE OWN PIECE\r\n\t\t\t\tT = false;\r\n\t\t\t\t///////////////////////////////////////////////////////////////// MUST MANUALLY SET ALL PIECE MOVESETS\r\n\t\t\t\t\r\n\t\t\t\tincr = 1;\r\n\t\t\t}\r\n\t\tif(!T) {\r\n\t\t\t//If Failed all cases\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "private boolean comandosNoPermitidos(String comandos){\n \tboolean encontrado = false;\n \tString iniciar = \"INICIAR\".toUpperCase();\n \tString paso = \"paso\".toUpperCase();\n \tString vaciar = \"vaciar\".toUpperCase();\n \tString crearCelula = \"crearCelula\".toUpperCase();\n \tString eliminarCelula = \"eliminarCelula\".toUpperCase();\n\n \t\n \tcomandos = comandos.toUpperCase();\n \tString[] words = comandos.split(\" \");\n \tif(words[0].equals(iniciar)){\n \t\tencontrado = true;\n \t}\n \telse if(words[0].equals(paso)){\n \t\tencontrado = true;\n \t}\n \telse if(words[0].equals(vaciar)){\n \t\tencontrado = true;\n \t}\n \telse if(words[0].equals(crearCelula)){\n \t\tencontrado = true;\n \t}\n \telse if(words[0].equals(eliminarCelula)){\n \t\tencontrado = true;\n \t}\n \t\n \treturn encontrado;\n }", "java.lang.String getField1101();", "private String validarEntradas()\n { \n return Utilitarios.validarEntradas(campoNomeAC, campoEnderecoAC, campoBairroAC, campoCidadeAC, campoUfAC, campoCepAC, campoTelefoneAC, campoEmailAC);\n }", "private boolean digits() {\r\n return ALT(\r\n GO() && RANGE('1','9') && decimals() || OK() && CHAR('0') && hexes()\r\n );\r\n }", "@Override\r\n\t public int compare(String o1, String o2) { //compare the two Strings\r\n\t\tif (o1 == null || o2 == null) { //if one of them is 0\r\n\t\t return 0;\r\n\t\t}\r\n\t\tBigDecimal o1bd = new BigDecimal(o1); //creating a BigDecimal variable, value equals String o1\r\n\t\tBigDecimal o2bd = new BigDecimal(o2);\r\n\t\treturn o2bd.compareTo(o1bd); \r\n\t }", "public boolean validarDni(String dni){\n boolean isDni = true;\n while(dni.startsWith(\"0\")){\n dni = dni.substring(1);\n }\n isDni = dni.length()<10 && dni.length()>6?true:false;\n return isDni;\n }", "public static boolean compararAnoMesReferencia(String anoMesReferencia1, String anoMesReferencia2, String sinal) {\r\n\t\tboolean retorno = true;\r\n\r\n\t\t// Separando os valores de mês e ano para realizar a comparação\r\n\t\tString mesReferencia1 = String.valueOf(anoMesReferencia1).substring(4, 6);\r\n\t\tString anoReferencia1 = String.valueOf(anoMesReferencia1).substring(0, 4);\r\n\r\n\t\tString mesReferencia2 = String.valueOf(anoMesReferencia2).substring(4, 6);\r\n\t\tString anoReferencia2 = String.valueOf(anoMesReferencia2).substring(0, 4);\r\n\r\n\t\tif (sinal.equalsIgnoreCase(\"=\")) {\r\n\t\t\tif (!Integer.valueOf(anoReferencia1).equals(Integer.valueOf(anoReferencia2))) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t} else if (!Integer.valueOf(mesReferencia1).equals(Integer.valueOf(mesReferencia2))) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t}\r\n\t\t} else if (sinal.equalsIgnoreCase(\">\")) {\r\n\t\t\tif (Integer.valueOf(anoReferencia1).intValue() < Integer.valueOf(anoReferencia2).intValue()) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t} else if (Integer.valueOf(anoReferencia1).equals(Integer.valueOf(anoReferencia2))\r\n\t\t\t\t\t&& Integer.valueOf(mesReferencia1).intValue() <= Integer.valueOf(mesReferencia2).intValue()) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (Integer.valueOf(anoReferencia2).intValue() < Integer.valueOf(anoReferencia1).intValue()) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t} else if (Integer.valueOf(anoReferencia2).equals(Integer.valueOf(anoReferencia1))\r\n\t\t\t\t\t&& Integer.valueOf(mesReferencia2).intValue() <= Integer.valueOf(mesReferencia1).intValue()) {\r\n\t\t\t\tretorno = false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn retorno;\r\n\t}", "@Test\n public void testBeneZPayerBeneSsnHic() {\n new BeneZPayerFieldTester()\n .verifyStringFieldCopiedCorrectly(\n FissBeneZPayer.Builder::setBeneSsnHic,\n RdaFissPayer::getBeneSsnHic,\n RdaFissPayer.Fields.beneSsnHic,\n 19);\n }", "protected int stringCompare(String s1,String s2)\r\n\t{\r\n\t\tint shortLength=Math.min(s1.length(), s2.length());\r\n\t\tfor(int i=0;i<shortLength;i++)\r\n\t\t{\r\n\t\t\tif(s1.charAt(i)<s2.charAt(i))\r\n\t\t\t\treturn 0;\r\n\t\t\telse if(s1.charAt(i)>s2.charAt(i))\r\n\t\t\t\treturn 1;\t\r\n\t\t}\r\n\t\t//if the first shrotLenghtTH characters of s1 and s2 are same \r\n\t\tif(s1.length()<=s2.length()) //it's a close situation. \r\n\t\t\treturn 0;\r\n\t\telse \r\n\t\t\treturn 1; \r\n\t\t\r\n\t}", "public void ejercicio03() {\r\n\t\tcabecera(\"03\", \"Comparar numeros\");\r\n\r\n // Inicio modificacion\r\n\t\t\r\n NumeroEntero n1 = new NumeroEntero(10);\r\n NumeroEntero n2 = new NumeroEntero(10);\r\n\r\n if (n1.comapreTo(n2) == -1){\r\n \t System.out.println(\"N1-> \"+n1);\r\n System.out.println(\"N1 es mayor que N2\");\r\n }\r\n else if (n1.comapreTo(n2) ==1) {\r\n System.out.println(\"N1 -> \"+n1);\r\n System.out.println(\"N1 es menor que N2\");\r\n }\r\n else{\r\n System.out.println(\"N1 y N2 son iguales -> N1 ->\"+n1+\" N2 -> \"+n2);\r\n }\r\n\r\n\t\t// Fin modificacion\r\n\t\t\r\n\t}", "private boolean checkValue(){\n\t\tfor (int i = 0; i <binary.length();i++){\n\t\t\tif(Character.getNumericValue(binary.charAt(i))>'1' || binary.length()>32 || binary.length()\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t%4 != 0){\n\t\t\t\tSystem.out.println(\"Invalid Input\");\n\t\t\t\tpw.println(\"Invalid Input\");\n\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\t\t\n\t}", "public static boolean provera(String s, char[] niz) {\r\n\t\tchar[] rec = s.toCharArray();\r\n\t\tint brojac = 0;\r\n\t\tint pozicija = 0;\r\n\t\tchar trenutni;\r\n\r\n\t\tfor (int i = 0; i < rec.length; i++) {\r\n\t\t\tchar temp = rec[i];\r\n\t\t\tfor (int j = 0 + pozicija; j < niz.length; j++) {\r\n\t\t\t\tif (temp == niz[j]) {\r\n\t\t\t\t\tbrojac++;\r\n\r\n\t\t\t\t\ttrenutni = niz[pozicija];\r\n\t\t\t\t\tniz[pozicija] = niz[j];\r\n\t\t\t\t\tniz[j] = trenutni;\r\n\t\t\t\t\tpozicija++;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tif (brojac != rec.length)\r\n\t\t\treturn false;\r\n\t\treturn true;\r\n\t}", "public static String sorte(String chaine) {\r\n boolean estNumerique = false;\r\n boolean estAlphabetique = false;\r\n\r\n char car;\r\n\r\n if (chaine != null){\r\n if(!chaine.isEmpty()){\r\n for (int i = 0; i < chaine.length(); i++){\r\n car = chaine.charAt(i);\r\n if(car >= '0' && car <= '9' ){\r\n estNumerique = true;\r\n }else{\r\n estAlphabetique = true;\r\n }\r\n }\r\n if(estNumerique && estAlphabetique){\r\n chaine = \"alphanumerique\";\r\n }else if(estNumerique){\r\n chaine = \"numerique\";\r\n }else{\r\n chaine = \"alphabetique\";\r\n }\r\n }else {\r\n chaine = \"vide\";\r\n }\r\n }else{\r\n chaine = \"nulle\";\r\n }\r\n\r\n\r\n\r\n return chaine; //pour compilation\r\n }", "static String isValid(String s) {\n\n\t\tMap<Character, Integer> charMap = new HashMap<>();\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (charMap.get(s.charAt(i)) == null) {\n\t\t\t\tcharMap.put(s.charAt(i), 1);\n\t\t\t} else {\n\t\t\t\tint value = charMap.get(s.charAt(i));\n\t\t\t\tcharMap.put(s.charAt(i), value + 1);\n\t\t\t}\n\t\t}\n\n\t\tint highest = 0;\n\t\tint secondHighest = 0;\n\t\tint singleCharcount = 0;\n\t\tfor (Map.Entry<Character, Integer> entry : charMap.entrySet()) {\n\t\t\tint num = entry.getValue();\n\t\t\tif (num == 1) {\n\t\t\t\tsingleCharcount++;\n\t\t\t\tif (singleCharcount >= 2) {\n\t\t\t\t\treturn \"NO\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (num > highest) {\n\t\t\t\tsecondHighest = highest;\n\t\t\t\thighest = num;\n\t\t\t} else if (num > secondHighest) {\n\t\t\t\tsecondHighest = num;\n\t\t\t}\n\t\t}\n\n\t\tif (highest - secondHighest > 2) {\n\t\t\treturn \"NO\";\n\t\t} else {\n\t\t\treturn \"YES\";\n\t\t}\n\t}", "public static boolean checkDNI(String dni){\n final String letters = \"TRWAGMYFPDXBNJZSQVHLCKE\";\n dni = dni.trim().toUpperCase();\n if (dni.length() == 9){\n if (Character.isDigit(dni.charAt(0))){\n int numbers = Integer.parseInt(dni.substring(0, 8)); \n return String.valueOf(letters.charAt(numbers % 23)).equals(dni.substring(8, 9));\n } else {\n int numbers = Integer.parseInt(dni.substring(1, 8));\n String checkDigit = \"\";\n switch(dni.charAt(0)){\n case 'X':\n checkDigit = String.valueOf(letters.charAt(numbers % 23));\n break;\n case 'Y':\n checkDigit = String.valueOf(letters.charAt((10000000 + numbers) % 23));\n break;\n case 'Z':\n checkDigit = String.valueOf(letters.charAt((20000000 + numbers) % 23));\n break;\n }\n return checkDigit.equals(dni.substring(8, 9));\n }\n } \n return false;\n }", "public static boolean capicuaOrNot(String theNumber){\r\n\r\n //more local variables\r\n int counter=0, size=0;\r\n String newNumber=\"\";\r\n boolean yesOrNo=false;\r\n\r\n //process to determine wether it's capicúa or not\r\n size=theNumber.length()-1;\r\n //System.out.println(theNumber + size);\r\n for(counter=size; counter>=0; counter--){\r\n newNumber+=theNumber.charAt(counter);\r\n }//end of for loop\r\n System.out.println(newNumber);\r\n if(newNumber.equals(theNumber)){\r\n yesOrNo=true;\r\n }\r\n return yesOrNo;\r\n\r\n }", "public boolean DEBUG_compare(Alphabet other) {\n System.out.println(\"now comparing the alphabets this with other:\\n\"+this+\"\\n\"+other);\n boolean sameSlexic = true;\n for (String s : other.slexic.keySet()) {\n if (!slexic.containsKey(s)) {\n sameSlexic = false;\n break;\n }\n if (!slexic.get(s).equals(other.slexic.get(s))) {\n sameSlexic = false;\n break;\n }\n slexic.remove(s);\n }\n System.out.println(\"the slexic attributes are the same : \" + sameSlexic);\n boolean sameSlexicinv = true;\n for (int i = 0, limit = other.slexicinv.size(); i < limit; i++) {\n boolean temp = false;\n for (int j = i, limit2 = slexicinv.size() + i; j < limit2; j++) {\n int k = j % slexicinv.size();\n if (other.slexicinv.get(i).equals(slexicinv.get(k))) {\n temp = true;\n break;\n }\n }\n if (!temp) {\n sameSlexicinv = false;\n break;\n }\n\n }\n boolean sameSpair = true;\n System.out.println(\"the slexicinv attributes are the same : \" + sameSlexicinv);\n for (IntegerPair p : other.spair.keySet()) {\n if(!spair.containsKey(p)) {\n //if (!containsKey(spair, p)) {\n sameSpair = false;\n break;\n }\n //if (!(get(spair, p).equals(get(a.spair, p)))) {\n if (!spair.get(p).equals(other.spair.get(p))) {\n sameSpair = false;\n break;\n }\n }\n System.out.println(\"the spair attributes are the same : \" + sameSpair);\n boolean sameSpairinv = true;\n for (int i = 0, limit = other.spairinv.size(); i < limit; i++) {\n boolean temp = false;\n for (int j = i, limit2 = spairinv.size() + i; j < limit2; j++) {\n int k = j % spairinv.size();\n if (other.spairinv.get(i).equals(spairinv.get(k))) {\n temp = true;\n break;\n }\n }\n if (!temp) {\n sameSpairinv = false;\n break;\n }\n }\n System.out.println(\"the spairinv attributes are the same : \" + sameSpairinv);\n return (sameSpairinv && sameSpair && sameSlexic && sameSlexicinv);\n }", "@Override\n\tpublic boolean verificaAgencia(String codigo)\n\t{\n\t\tchar[] digitos = capturaDigitos(codigo, 4, 0);\n\t\treturn (digitos != null);\n\t}", "private boolean isAllNums(String fieldVal){\r\n // Get rid of all whitespace\r\n String val = fieldVal.replaceAll(\"\\\\s\",\"\").trim();\r\n // check for presence of letters in the string, ignoring '()' and '-'\r\n for (int i=0; i < val.length(); i++){\r\n if (val.charAt(i) != '(' || val.charAt(i) != ')' || val.charAt(i) != '-'){\r\n if (Character.isLetter(val.charAt(i))){\r\n return false;\r\n }\r\n }\r\n }\r\n return true; \r\n }", "@Override\n\tpublic int compareTo(Osoba _arg0) {\n\t\treturn (new String(nazwisko_ + imie_).compareToIgnoreCase(new String( _arg0.nazwisko_ + _arg0.imie_)));\n\t}", "private boolean isSelect(int n) {\n String string = this.msg;\n int n2 = n + 1;\n if ((n = (int)string.charAt(n)) != 115) {\n if (n != 83) return false;\n }\n string = this.msg;\n n = n2 + 1;\n if ((n2 = (int)string.charAt(n2)) != 101) {\n if (n2 != 69) return false;\n }\n string = this.msg;\n n2 = n + 1;\n if ((n = (int)string.charAt(n)) != 108) {\n if (n != 76) return false;\n }\n string = this.msg;\n n = n2 + 1;\n if ((n2 = (int)string.charAt(n2)) != 101) {\n if (n2 != 69) return false;\n }\n if ((n2 = (int)this.msg.charAt(n)) != 99) {\n if (n2 != 67) return false;\n }\n if ((n = (int)this.msg.charAt(n + 1)) == 116) return true;\n if (n != 84) return false;\n return true;\n }", "public boolean validaCPF(String cpf){\n if (cpf.equals(\"00000000000\") || cpf.equals(\"11111111111\") || cpf.equals(\"22222222222\")\n || cpf.equals(\"33333333333\") || cpf.equals(\"44444444444\") || cpf.equals(\"55555555555\")\n || cpf.equals(\"66666666666\") || cpf.equals(\"77777777777\") || cpf.equals(\"88888888888\")\n || cpf.equals(\"99999999999\") || (cpf.length() != 11))\n return (false);\n\n char dig10, dig11;\n int sm, i, r, num, peso;\n\n // \"try\" - protege o codigo para eventuais erros de conversao de tipo (int)\n try {\n // Calculo do 1o. Digito Verificador\n sm = 0;\n peso = 10;\n for (i = 0; i < 9; i++) {\n // converte o i-esimo caractere do CPF em um numero:\n // por exemplo, transforma o caractere '0' no inteiro 0\n // (48 eh a posicao de '0' na tabela ASCII)\n num = (int) (cpf.charAt(i) - 48);\n sm = sm + (num * peso);\n peso = peso - 1;\n }\n\n r = 11 - (sm % 11);\n if ((r == 10) || (r == 11))\n dig10 = '0';\n else\n dig10 = (char) (r + 48); // converte no respectivo caractere numerico\n\n // Calculo do 2o. Digito Verificador\n sm = 0;\n peso = 11;\n for (i = 0; i < 10; i++) {\n num = (int) (cpf.charAt(i) - 48);\n sm = sm + (num * peso);\n peso = peso - 1;\n }\n\n r = 11 - (sm % 11);\n if ((r == 10) || (r == 11))\n dig11 = '0';\n else\n dig11 = (char) (r + 48);\n\n // Verifica se os digitos calculados conferem com os digitos informados.\n if ((dig10 == cpf.charAt(9)) && (dig11 == cpf.charAt(10)))\n return (true);\n else\n return (false);\n } catch (InputMismatchException erro) {\n return (false);\n }\n }" ]
[ "0.56370205", "0.55273277", "0.54987437", "0.533689", "0.52761245", "0.52759683", "0.5240773", "0.5153598", "0.513036", "0.51257205", "0.5107712", "0.51065844", "0.50856435", "0.50851625", "0.507079", "0.50540906", "0.5035486", "0.5012954", "0.5007672", "0.49800757", "0.4975993", "0.49622673", "0.4952278", "0.4937882", "0.49220777", "0.49167016", "0.49086553", "0.49051297", "0.49008337", "0.4899873", "0.4896432", "0.48706174", "0.48650634", "0.48617104", "0.48594463", "0.48583975", "0.48554227", "0.48475364", "0.48432213", "0.4836117", "0.48346132", "0.48268119", "0.4819405", "0.48137712", "0.4811152", "0.4808274", "0.48051003", "0.47992915", "0.47969535", "0.47934765", "0.47928393", "0.47885418", "0.47877124", "0.47787702", "0.47781914", "0.47656307", "0.47650236", "0.47636375", "0.4763566", "0.4756771", "0.47541273", "0.47490793", "0.4748077", "0.47459376", "0.4740925", "0.4731238", "0.47310197", "0.47293484", "0.47248128", "0.47200894", "0.4719953", "0.47102207", "0.4708963", "0.47078103", "0.47043985", "0.4704303", "0.4702813", "0.47009426", "0.46991906", "0.46954617", "0.4694821", "0.4694418", "0.46925843", "0.46924046", "0.46896338", "0.4688837", "0.46860996", "0.46832138", "0.46792707", "0.46741208", "0.46717355", "0.46624583", "0.46610034", "0.46605563", "0.4659468", "0.4658492", "0.46464387", "0.4644959", "0.4644462", "0.46380898" ]
0.52381665
7
Given an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents) and pennies (1 cent), write code to calculate the number of ways of representing n cents
public static int makeChange(int n, int denom) { int next_denom = 0; switch(denom) { case 25: next_denom = 10; break; case 10: next_denom = 5; break; case 5:next_denom = 1; break; case 1:return 1; } int ways=0; for(int i=0;i*denom<n;i++) { ways=ways+makeChange(n-i*denom, next_denom); } return ways; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int sumCoins(int quarters, int dimes, int nickels, int pennies){\n \n return (quarters * 25) + (dimes * 10) + (nickels * 5) + (pennies) * 1;\n }", "public static void numOfWrappersAndCoins(BigDecimal penny, BigDecimal nickel, BigDecimal dime, BigDecimal quarter){\n // Find the approximate number of each individual coin type\n BigDecimal numOfPennies = penny.divide(new BigDecimal(\"2.50\"), RoundingMode.FLOOR);\n BigDecimal numOfNickels = nickel.divide(new BigDecimal(\"5\"), RoundingMode.FLOOR);\n BigDecimal numOfDimes = dime.divide(new BigDecimal(\"2.268\"), RoundingMode.FLOOR);\n BigDecimal numOfQuarters = quarter.divide(new BigDecimal(\"5.670\"), RoundingMode.FLOOR);\n\n /* Find the number of wrappers needed to hold each coin type, num of wrappers is always rounded up, even if the\n last wrapper would be left with some empty space.\n */\n BigDecimal numOfPennyWrappers = numOfPennies.divide(new BigDecimal(\"50\"), 0, RoundingMode.CEILING);\n BigDecimal numOfNickelWrappers = numOfNickels.divide(new BigDecimal(\"40\"),0, RoundingMode.CEILING);\n BigDecimal numOfDimeWrappers = numOfDimes.divide(new BigDecimal(\"50\"), 0, RoundingMode.CEILING);\n BigDecimal numOfQuarterWrappers = numOfQuarters.divide(new BigDecimal(\"40\"), 0, RoundingMode.CEILING);\n\n // Find total estimated value of each coin type\n BigDecimal penniesTotalValue = numOfPennies.multiply(new BigDecimal(\"0.01\"), new MathContext(3));\n BigDecimal nickelsTotalValue = numOfNickels.multiply(new BigDecimal(\"0.05\"), new MathContext(3));\n BigDecimal dimesTotalValue = numOfDimes.multiply(new BigDecimal(\"0.10\"), new MathContext(3));\n BigDecimal quartersTotalValue = numOfQuarters.multiply(new BigDecimal(\"0.25\"), new MathContext(3));\n\n System.out.println(\"Result: \\n\");\n System.out.println(\"Number of Pennies: \" + numOfPennies.intValue() + \"\\nWrappers: \" + numOfPennyWrappers +\n \"\\nTotal estimated value: $\" + penniesTotalValue + \"\\n\");\n System.out.println(\"Number of Nickels: \" + numOfNickels.intValue() + \"\\nWrappers: \" + numOfNickelWrappers +\n \"\\nTotal estimated value: $\" + nickelsTotalValue + \"\\n\");\n System.out.println(\"Number of Dimes: \" + numOfDimes.intValue() + \"\\nWrappers: \" + numOfDimeWrappers +\n \"\\nTotal estimated value: $\" + dimesTotalValue + \"\\n\");\n System.out.println(\"Number of Quarters: \" + numOfQuarters.intValue() + \"\\nWrappers: \" + numOfQuarterWrappers +\n \"\\nTotal estimated value: $\" + quartersTotalValue);\n }", "public static int numQuarters(double money) {\n int quarters = 0;\n while (money>0.25){\n quarters++;\n money =(money-0.25);}\n return quarters;}", "public static void main(String[] args) {\n\r\n int cent = 200;\r\n\r\n // you have purchase candle for 74 cent, what would be your remainder\r\n\r\n cent -= 74 ; // 126 cent\r\n\r\n int quarter = cent / 25 ; // 126/25---->\r\n int penny = cent % 25; //126%25 ---> 1 is remaining\r\n\r\n System.out.println(quarter);\r\n System.out.println(penny);\r\n\r\n int dime= cent / 10 ; // 126 / 10 --->12\r\n // how much penny I have after getting dime 126 %10---->6\r\n int penny2 = cent % 10 ; //---->6\r\n System.out.println(dime);\r\n System.out.println(penny2);\r\n\r\n\r\n\r\n }", "private int calculateCents(int cents)\n\t{\n\t\tint dollars= getDollars() + cents/100;\n\t\tsetDollars(dollars);\n\t\t\n\t\treturn cents%100;\n\t}", "private void calcCoins() {\n\t\tint changeDueRemaining = (int) Math.round((this.changeDue - (int) this.changeDue) * 100);\n\n\t\tif (changeDueRemaining >= 25) {\n\t\t\tthis.quarter += changeDueRemaining / 25;\n\t\t\tchangeDueRemaining = changeDueRemaining % 25;\n\t\t}\n\t\tif (changeDueRemaining >= 10) {\n\t\t\tthis.dime += changeDueRemaining / 10;\n\t\t\tchangeDueRemaining = changeDueRemaining % 10;\n\t\t}\n\t\tif (changeDueRemaining >= 5) {\n\t\t\tthis.nickel += changeDueRemaining / 5;\n\t\t\tchangeDueRemaining = changeDueRemaining % 5;\n\t\t}\n\t\tif (changeDueRemaining >= 1) {\n\t\t\tthis.penny += changeDueRemaining / 1;\n\t\t}\n\t}", "public static int dynamicProgramming(int n) {\n for (int i=0; i<=n; i++) {\n table[0][i] = 1;\n }\n\n for (int j=1; j<4; j++) { //this loops the different denominations.\n for (int i=0; i<=n; i++) { //this loops through the amount we have to make change for\n\n //hard to explain, create a table and look at it. For j=1 (nickel), for anything less than\n //5 cents, we just copy the value down from j=0 (penny). The nickel has no effect for anything less than 5 cents.\n if (i < denominations[j]) {\n table[j][i] = table[j-1][i];\n continue;\n }\n\n //For example, j=1 (nickel), i = 11 cents. the number of ways to make 11 cents is equal to\n //the number of ways to make 11 cents without using nickel (table[j-1][i]) plus the number\n //of ways to 6 cents (table[j][i-denomination[j]).\n table[j][i] = table[j-1][i] + table[j][i-denominations[j]];\n }\n }\n return table[3][n];\n }", "private static int getTotient(int n) {\n int result = n;\n for(int i=2; i*i <=n; i++) {\n if(n % i == 0) {\n while(n % i == 0) n /= i;\n result -= result/i;\n }\n }\n if(n > 1) result -= result/n;\n return result;\n }", "public static void main(String[] args)\n {\n Scanner input = new Scanner(System.in);\n System.out.println(\"Your name please\");\n String name = input.nextLine();\n\n // get a number from the user\n System.out.println(\"Give me the amount of money in cents please, \" + name);\n int money = input.nextInt();\n \n // limit the size of the number\n while(money>100000000)\n {\n\tSystem.out.println(\"This number is too big.\");\n\tSystem.out.println(\"Please enter something smaller\");\n\tmoney = input.nextInt();\n }\n \n // do the calculations\n\n int hundreds = money / 10000;\n int leftover = money % 10000;\n\n int fifties = leftover / 5000;\n leftover = leftover % 5000;\n\n int twenties = leftover / 2000;\n leftover = leftover % 2000;\n\n int tens = leftover / 1000;\n leftover = leftover % 1000;\n\n int fives = leftover / 500;\n leftover = leftover % 500;\n\n int ones = leftover / 100;\n leftover = leftover % 100;\n\n int quarters = leftover / 25;\n leftover = leftover % 25;\n\n int dimes = leftover / 10;\n leftover = leftover % 10;\n\n int nickels = leftover / 5;\n leftover = leftover % 5;\n\n int pennies = leftover / 1;\n\n // print the results\n System.out.println(\"\"); System.out.println(\"\"); //formating for results\n\n System.out.println(\"******Dollar Bills******\"); //This is printout of dollar bills \n System.out.print(hundreds + \" Hundred dollar bill(s), \");\n System.out.print(fifties + \" Fifty dollar bill(s), \");\n System.out.print(twenties + \" Twenty dollar bill(s), \"); \n System.out.print(tens + \" Ten dollar bill(s), \");\n System.out.print(fives + \" Five dollar bill(s), \");\n System.out.print(ones + \" One dollar bill(s)\");\n \n System.out.println(\"\"); System.out.println(\"\"); \n\n System.out.println(\"******Coins******\"); //This will printout coins \n System.out.print(quarters + \" Quarter(s), \");\n System.out.print(dimes + \" Dime(s), \");\n System.out.print(nickels + \" Nickel(s), \");\n System.out.print(pennies + \" Penny(s)\");\n\n System.out.println(\"\"); //formating for results2\n\n }", "public int getCents()\r\n {\r\n return cents;\r\n }", "public static String toDollarsAndCents(int cents){\n \n NumberFormat currencyFormatter = \n NumberFormat.getCurrencyInstance();\n return currencyFormatter.format(cents/100.0);\n }", "public static int coins(int n) {\n int[] coins = {1,5,10,25};\n int[] s = new int[n+1];\n for(int i=1; i<=n; i++) {\n for(int j=0; j<coins.length && j<=i; j++) {\n if(i-coins[j] == 0) {\n s[i]++;\n }\n if(i-coins[j] > 0) {\n s[i] += s[i-coins[j]];\n }\n }\n }\n return s[n];\n }", "private static int getChange(int n) {\n \t\n int count =0, tempCount = 0;\n while(n!=0){\n \t\n \tif(n >= 10){\n \t\ttempCount = n/10;\n \t\tn = n % 10;\n \t\tcount = count + tempCount;\n \t\tif(n==0)\n \t\t\tbreak;\n \t}\n \tif( n >= 5 && n < 10){\n \t\ttempCount = n/5;\n \t\tn = n % 5;\n \t\tcount = count + tempCount;\n \t\tif(n == 0)\n \t\t\tbreak;\n \t}\n \tif(n >= 1 && n < 5){\n \t\tcount = count + n;\n break;\n \t}\n }\n return count;\n }", "private int d(final int n) {\r\n Set<Long> set = new Factors(n).getProperDivisors();\r\n long sum = 0;\r\n for (long i : set) {\r\n sum += i;\r\n }\r\n return (int) sum;\r\n }", "public static void main(String[] args) {\n int cents = new Scanner(System.in).nextInt();\n double convertedCents = cents*131;\n int wholeDollars = (int) (convertedCents/100);\n int wholeCents = (int) (convertedCents%100);\n\n System.out.printf(\"%03d.%03d\",wholeDollars, wholeCents);\n\n }", "public static int numPennies(double money) {\n // REPLACE THIS WITH YOUR CODE\n return 0;\n }", "public static int numDimes(double money) {\n int dimes=0;\n while (money>0.10){\n dimes++;\n money=(money-0.10);}\n return dimes;}", "private static Double convertToKilograms(Double pounds) {\n double kilos;\n kilos = pounds / 2.2046;\n return kilos;\n }", "public static void main(String[] args) {\n //ENTER CODE HERE\n Scanner scan =new Scanner(System.in);\n System.out.println(\"Enter price in cents:\");\n\n int itemPrice = scan.nextInt();\n\n if (itemPrice < 25 || itemPrice > 100 || (itemPrice % 5 != 0) ) {\n System.out.println(\"Invalid entry\");\n }\n else\n {\n int change=(100-itemPrice);\n int quarterCount = change / 25;\n int remainder1 = change % 25;\n int dimeCount = remainder1 / 10;\n int remainder2 = remainder1 % 10;\n int nickelCount = remainder2 / 5;\n\n System.out.println(\"When you give $1 for \" +itemPrice+ \"cents item. You will get back \"+\n quarterCount+ (quarterCount>1 ? \"quarters \" :\"quarter \")+\n dimeCount + (dimeCount > 1 ? \"dimes \" : \"dime \") +\n nickelCount+ (nickelCount > 1 ? \"nickels \" :\"nickel \") );\n\n }\n\n\n\n }", "public int getCents() {\n return cents;\n }", "public int getCents() {\n return cents;\n }", "public void setDollar(int cents) {\n this.cents = cents;\n this.partieEntier = cents / 100;\n this.partieFractionnaire = cents % 100;\n\n }", "public int arrangeCoins(int n) { // score 7\n return (int) ((Math.sqrt(8 * n + 1) - 1) / 2);\n }", "@Override\n public int howManyCoins() {\n return 7;\n }", "public int getAsCents(){\n return (dollars*100 + cents);\n }", "public Money(int dollars, int cents) {\n this.dollars = dollars;\n this.cents = cents;\n }", "public static void calculateNNumbersInPI(int n){\n double pi = 0;\n\n for (int i = 100000; i > 0; i--) { // the larger (i), the closer to PI\n pi += Math.pow(-1, i + 1) / (2 * i - 1);\n if (i == 1) {\n pi *= 4;\n System.out.printf(\"%.\"+n+\"f\\n\", pi);\n }\n }\n }", "public int coinNeededBU(int[] coins, int amount, int n) {\n int dp[] = new int[amount + 1];\n Arrays.fill(dp, Integer.MAX_VALUE);\n\n dp[0] = 0;\n for (int rupay = 1; rupay <= amount; rupay++) {\n\n //Iterating over Coins\n for (int i = 0; i < n; i++) {\n\n if (rupay - coins[i] >= 0) {\n int smallAnswer = dp[rupay - coins[i]];\n //if (smallAnswer != Integer.MAX_VALUE) {\n dp[rupay] = Math.min(dp[rupay], smallAnswer + 1);\n //}\n }\n }\n }\n for (int i : dp) {\n System.out.print(i + \", \");\n }\n System.out.println();\n return dp[amount];\n }", "int main()\n{\n int n;\n cin>>n;\n if(n<=200)\n cout<<\"Rs.\"<<n/2;\n else if(n<=400)\n cout<<\"Rs.\"<<n*0.65+100;\n else if(n<=600)\n cout<<\"Rs.\"<<n*0.80+200;\n else cout<<\"Rs.\"<<n*1.25+425;\n return 0;\n \n}", "public static int coinChangeDP(int n, int[] coins, int StartCoinIndex, HashMap<String, Integer> temp) {\n\t\tint Comb = 0;\n\t\tString tempKey = n + \"-\" + StartCoinIndex;\n\t\tfor(int i_coin=StartCoinIndex;i_coin<=(coins.length-1);i_coin++) {\n\t\t\tif(temp.containsKey(tempKey)) {\n\t\t\t\treturn temp.get(tempKey);\n\t\t\t}\n\t\t\tint remain = n - coins[i_coin];\n\t\t\t//System.out.println(remain);\n\t\t\tif(remain==0) {\t\t\t\t\n\t\t\t\tComb = Comb + 1;\n\t\t\t} else if (remain < 0) {\n\t\t\t\t// do nothing\n\t\t\t} else {\n\t\t\t\tComb = Comb + coinChangeDP(remain,coins,i_coin,temp);\n\t\t\t}\n\t\t}\n\t\ttemp.put(tempKey, Comb);\n\t\treturn Comb;\n\t}", "public static int lengthInInches(int feet, int inches){\n return inches = (12*feet)+inches;\n }", "public static void main(String[] args){\n\t\tfinal int PENNY_VALUE = 1;\n\t\tfinal int NICKEL_VALUE = 5;\n\t\tfinal int DIME_VALUE = 10;\n\t\tfinal int QUARTER_VALUE = 25;\n\t\tfinal int DOLLAR_VALUE = 100;\n\t\t\n\t\t// Declare the variables that contain the amount of each coin\n\t\tint pennyAmt, nickelAmt, dimeAmt, quarterAmt, totalAmount, totalDollars, totalChange;\n\t\t\n\t\t// ask for pennies\n\t\tpennyAmt = getIntFromUser(\"Enter the number of pennies: \");\n\t\t\n\t\t//ask for nickels\n\t\tnickelAmt = getIntFromUser(\"Enter the number of nickels: \");\n\t\t\n\t\t//ask for dimes\n\t\tdimeAmt = getIntFromUser(\"Enter the number of dimes: \");\n\t\t\n\t\t//ask for quarters\n\t\tquarterAmt = getIntFromUser(\"Enter the number of quarters: \");\n\t\t\n\t\t//now calculate\n\t\ttotalAmount = (pennyAmt*PENNY_VALUE) + (nickelAmt*NICKEL_VALUE) + (dimeAmt*DIME_VALUE) + (quarterAmt*QUARTER_VALUE);\n\t\ttotalDollars = totalAmount/DOLLAR_VALUE;\n\t\ttotalChange = totalAmount%DOLLAR_VALUE;\n\t\t\n\t\t//finally display all the amounts\n\t\tSystem.out.println(\"\\nPennies: \" + pennyAmt);\n\t\tSystem.out.println(\"Nickels: \" + nickelAmt);\n\t\tSystem.out.println(\"Dimes: \" + dimeAmt);\n\t\tSystem.out.println(\"Quarters: \" + quarterAmt);\n\t\tSystem.out.println(\"\\nIn total, you have $\" + totalDollars + \".\" + totalChange);\n\t}", "private double equation(long n) {\n\t\treturn (4d * montoCarlo(n) / n);\n\t}", "public int calculatePayDollarsPerHour() {\n int dollarsPerHour = BASE_RATE_DOLLARS_PER_HOUR;\n\n if (getHeight() >= TALL_INCHES && getWeight() < THIN_POUNDS)\n dollarsPerHour += TALL_THIN_BONUS_DOLLARS_PER_HOUR;\n if (isCanTravel())\n dollarsPerHour += TRAVEL_BONUS_DOLLARS_PER_HOUR;\n if (isSmokes())\n dollarsPerHour -= SMOKER_DEDUCTION_DOLLARS_PER_HOUR;\n\n return dollarsPerHour;\n }", "public static void calcCoffee(int guests) {\r\n double coffeAmount;\r\n coffeAmount = ((double) guests * 2) / 32;\r\n System.out.println(\"For \" + guests + \" guests you will need \" + (guests * 32)\r\n + \" cups and \" + coffeAmount + \" pounds of coffee\");\r\n }", "public static void main(String[] args) {\n\t\tint count = 0;\n\t\tfor (int i = 100;i <= 999;i++) {\n\t\t\tint a = i % 10;\n\t\t\tint b = i / 10 % 10;\n\t\t\tint c = i / 10 / 10 % 10;\n\t\t\tif (i == a*a*a + b*b*b + c*c*c) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}", "static long getWays(int amount, int[] coins){\n long[] dp = new long[amount + 1];\n \n //ways to pay amount 0 is only 1 i.e. not to give any coin\n dp[0] = 1;\n \n //outer loop works on coin array\n for(int coin : coins){\n\n //inner loop works on dp array\n for(int i = 1; i < dp.length; i++){\n if(i >= coin){\n\n //adding the number ways to pay i-coin \n dp[i] += dp[i - coin];\n }\n }\n }\n\n //returning no of ways to pay amount. \n return dp[amount];\n }", "private BigInteger computeTotalWays(){\n Map<BigInteger, Integer> sumdices = new ConcurrentHashMap<>();\n dice.stream()\n .map( die -> new BigInteger(die.getSides().toString()) )\n .forEach((c) -> {\n sumdices.compute(c, (k,v) -> {return v == null ? 1 : v + 1; });\n });\n \n // How many ways to roll a die are in total.\n return sumdices.entrySet().stream()\n .map(e -> { return e.getKey().pow(e.getValue()); })\n .reduce(BigInteger.ZERO, (a,b) -> a.add(b) );\n \n }", "public static void main(String[] args) {\n\n Solution solution = new Solution();\n\n int[] coins = null;\n int amount = 0;\n int expected = 0;\n int answer = 0;\n String format = \"%s, %d -> %d (%d)\";\n\n // [1, 2, 5], 11 -> 3\n coins = new int[]{1, 2, 5};\n amount = 11;\n expected = 3;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n // [2], 3 -> -1\n coins = new int[]{2};\n amount = 3;\n expected = -1;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n // [1, 2, 5], 21 -> 5\n coins = new int[]{1, 2, 5};\n amount = 21;\n expected = 5;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n // [2, 7, 8, 10], 29 -> 4\n coins = new int[]{2, 7, 8, 10};\n amount = 29;\n expected = 4;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n // [2, 5, 10, 1], 27 -> 4\n coins = new int[]{2, 5, 10, 1};\n amount = 27;\n expected = 4;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n // [186, 419, 83, 408], 6249 -> 20\n coins = new int[]{186, 419, 83, 408};\n amount = 6249;\n expected = 20;\n answer = solution.coinChange(coins, amount);\n System.out.println(String.format(format, coins, amount, expected, answer));\n\n }", "public static double poundsPerSquareInchToAtmosphere(double num) { return (num/14.696); }", "public static double footPoundsToElectronVolts(double num) { return (num*8.462*Math.exp(18)); }", "public static void main(String args[])\n {\n \n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int f = n/100;\n int s = ((n/10)%10);\n int t = n%10;\n int r = (t*100)+(s*10)+f;\n System.out.println(r);\n }", "public static void countWays() {\n\t\t//ways to climb up 7 stories if 1 to 3 steps can be taken.\n\t\t//int ways = countWaysUtil(7, 3);\n\t\tint ways = countWaysUtilDp(7, 3);\n\t\tSystem.out.println(\"ways \"+ways);\n\t}", "static int count(int n)\r\n\t\t{\r\n\t\t\tint c = 0; //initially count of digits is 0\r\n\t\t\twhile(n != 0)\r\n\t\t\t{\r\n\t\t\t\tc++;\r\n\t\t\t\tn = n/10;\r\n\t\t\t}\r\n\t\t\treturn c;\r\n\t\t}", "public double calculatedConsuption(){\n\tint tressToSow=0;\n\n\tif (kiloWatts >=1 && kiloWatts <= 1000){\n\t\ttressToSow = 8;\n\t}\n\telse if (kiloWatts >=1001 && kiloWatts <=3000){\n\t\ttressToSow = 35;\n\t}\n\telse if (kiloWatts > 3000){\n\t\ttressToSow=500;\n\t}\n\treturn tressToSow;\n\t}", "public static double mathConst(double x, int n){\n double result = 0;\n double item;\n double nominator = 1;\n for(int i = 0; i <= n; i++){\n if(i == 0){\n nominator = 1;\n }else {\n nominator = nominator * x;\n }\n item = nominator / factorial(i);\n result = result + item;\n }\n return result;\n }", "public int digitCounts(int k, int n) {\n\n int result = 0;\n int base = 1;\n while (n/base > 0) {\n\n int cur = (n/base)%10;\n int low = n-(n/base) * base;;\n int high = n/(base * 10);\n\n if (cur < k)\n {\n result += high*base;\n }\n else if (cur > k)\n {\n result += (high+1)*base;\n }\n else\n {\n result += high*base+low+1;\n }\n\n base *= 10;\n }\n\n return result;\n }", "public static double feetPerSecondToCentiMetresPerSecond(double num) { return (num*30.48); }", "static int multiplesOf3And5(int n) {\n int response = 0;\n for (int i = 0; i < n; i++) {\n if (i % 3 == 0 || i % 5 == 0) {\n response += i;\n }\n }\n return response;\n }", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int c = 0;\n int p = 0;\n int prev = 0;\n while (n-- > 0) {\n int a = scanner.nextInt();\n if (p == 0 ) {\n p = 1;\n } else if (prev != a - 1) {\n if (p >= 3) c+= p - 2;\n p = 1;\n } else if (prev == a - 1) {\n p++;\n }\n prev = a;\n }\n if (p >= 3) c+= p - 2;\n System.out.print(c);\n }", "public static int numNickels(double money) {\n // REPLACE THIS WITH YOUR CODE\n return 0;\n }", "public int countDigitOne(int n) {\n long res = 0;\n for(int i = 10; i <= n*10 ; i *= 10){\n int tmp = n - (n/i)*i;\n tmp = tmp > (i/10) ? (i/10) : (tmp - i/10);\n tmp = tmp > 0 ? tmp: 0;\n// int tmp = (n%i - i/10 + 1)>(i/10)?(i/10): (n%i - i/10 + 1);\n res += n/i + tmp;\n }\n return (int)res;\n }", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n int t = in.nextInt();\n \n int count = 1;\n \n while(count<=t)\n {\n long n = in.nextLong();\n \n long backupN = n;\n \n int zeroes = (n+\"\").length()-1;\n \n // StringBuilder sb = new StringBuilder(\"1\");\n \n // for(int i = 0;i<zeroes;i++)\n // {\n // sb.append(\"0\");\n // }\n \n // System.out.println(sb.toString());\n \n long divisor = (long)Math.pow(10,zeroes);\n //Integer.parseInt(sb.toString());\n \n \n // System.out.println(\"divisor = \"+divisor);\n \n int counter = 0;\n while(n>0)\n {\n // System.out.println(\"value of n = \"+n);\n // System.out.println(\"value of divisor = \"+divisor);\n long q = n/divisor;\n \n if(q != 0 && backupN%q == 0)\n {\n \n counter++;\n }\n n = n%divisor;\n divisor = divisor/10;\n } \n \n System.out.println(counter);\n count++;\n }\n }", "public static void main(String[] args) throws Exception\r\n\t{\n\t\tScanner cin=new Scanner(new BufferedInputStream(System.in));\r\n\t\twhile(true)\r\n\t\t{\r\n\t\r\n\t\t\tint n1=cin.nextInt();\r\n\t\t\tint n2=cin.nextInt();\r\n\t\t\tint n=cin.nextInt();\r\n\t\t\tif(n1==0&&n2==0&&n==0)\r\n\t\t\t\tbreak;\r\n\t\t\tint divsor=n-n1-n2;\r\n\t\t\tHashMap<BigDecimal,Integer> bd=new HashMap< BigDecimal,Integer>();\r\n\t\t\tfor(int i=0;i<n;i++)\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tBigDecimal td=new BigDecimal(cin.next());\r\n\t\t\t\tInteger ti=bd.get(td);\r\n\t\t\t\tif(ti!=null)\r\n\t\t\t\t\tti++;\r\n\t\t\t\telse ti=1;\r\n\t\t\t\tbd.put(td,ti);\r\n\t\t\t}\r\n\t\t\tBigDecimal [] p=new BigDecimal[bd.size()];\r\n\t\t\tbd.keySet().toArray(p);\r\n\t\t\tArrays.sort(p);\r\n\t\t\tBigDecimal re=new BigDecimal(\"0\");\r\n\t\t\tint findex=0;\r\n\t\t\tint fnum=0;\r\n\t\t\tint lindex=p.length-1;\r\n\t\t\tint lnum=0;\r\n\t\t\twhile(true)\r\n\t\t\t{\r\n\t\t\t\tint t=bd.get(p[findex]);\r\n\t\t\t\tif(n2>=t)\r\n\t\t\t\t{\r\n\t\t\t\t\tn2-=t;\r\n\t\t\t\t\tfindex++;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tfnum=t-n2;\r\n\t\t\t\t\tre=re.add(p[findex].multiply(new BigDecimal(\"\"+fnum)));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\twhile(true)\r\n\t\t\t{\r\n\t\t\t\tint t=bd.get(p[lindex]);\r\n\t\t\t\tif(n1>=t)\r\n\t\t\t\t{\r\n\t\t\t\t\tn1-=t;\r\n\t\t\t\t\tlindex--;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tlnum=t-n1;\r\n\t\t\t\t\tre=re.add(p[lindex].multiply(new BigDecimal(\"\"+lnum)));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\r\n\t\t\tfor(int i=findex+1;i<lindex;i++)\r\n\t\t\t\tre=re.add(p[i].multiply(new BigDecimal(\"\"+bd.get(p[i]))));\r\n\t\t\tre=re.divide(new BigDecimal(\"\"+divsor),6,BigDecimal.ROUND_HALF_UP);\r\n\t\t\tSystem.out.println(re);\r\n\t\t\tbd=null;\r\n\t\t\tSystem.gc();\r\n\t\t}\r\n\t}", "public int countDigitOne(int n) {\n int res = 0;\n for(long i = 1 ; i <= n; i *= 10){\n long k = n/i, r = n % i;\n res += (k + 8) / 10 * i + ((k%10 == 1)?(r+1):0);\n }\n return res;\n }", "private static String numberToProse(int n) {\n if(n == 0)\n return \"zero\";\n\n if(n < 10)\n return intToWord(n);\n\n StringBuilder sb = new StringBuilder();\n\n // check the tens place\n if(n % 100 < 10)\n sb.insert(0, intToWord(n % 10));\n else if(n % 100 < 20)\n sb.insert(0, teenWord(n % 100));\n else\n sb.insert(0, tensPlaceWord((n % 100) / 10) + \" \" + intToWord(n % 10));\n\n n /= 100;\n\n // add the hundred place\n if(n > 0 && sb.length() != 0)\n sb.insert(0, intToWord(n % 10) + \" hundred and \");\n else if (n > 0)\n sb.insert(0, intToWord(n % 10) + \" hundred \");\n\n if(sb.toString().equals(\" hundred \"))\n sb = new StringBuilder(\"\");\n\n n /= 10;\n\n // the thousand spot\n if(n > 0)\n sb.insert(0, intToWord(n) + \" thousand \");\n\n return sb.toString();\n }", "public int numWays(int n, int k) {\n if(n == 0)\n return 0;\n int numsDiff = k;\n int numsSame = 0;\n for(int i = 2; i <= n; i++){\n int preSame = numsSame;\n numsSame = numsDiff;\n numsDiff = preSame * (k - 1) + numsDiff * (k - 1);\n }\n return numsSame + numsDiff;\n }", "public static Result solve(Integer numCoins, int player)\n {\n if (numCoins <= 4) return checkBaseCase(numCoins, player);\n\n int count1 = 0;\n int count2 = 0;\n Result p1 = solve(numCoins-1, (player+1)%2);\n //System.out.println(\"solve: \" + (numCoins-1) + \",\" + player2 + \",\" + player1 + \" returned \" + p1.getPlayer() + \" wins in \" + p1.getNumWays() + \" ways\");\n if (p1.getPlayer() == player) {\n count1 += p1.getNumWays();\n } else {\n count2 += p1.getNumWays();\n }\n p1 = solve(numCoins-2, (player+1)%2);\n //System.out.println(\"solve: \" + (numCoins-2) + \",\" + player2 + \",\" + player1 + \" returned \" + p1.getPlayer() + \" wins in \" + p1.getNumWays() + \" ways\");\n if (p1.getPlayer() == player) {\n count1 += p1.getNumWays();\n } else {\n count2 += p1.getNumWays();\n }\n p1 = solve(numCoins-4, (player+1)%2);\n //System.out.println(\"solve: \" + (numCoins-4) + \",\" + player2 + \",\" + player1 + \" returned \" + p1.getPlayer() + \" wins in \" + p1.getNumWays() + \" ways\");\n if (p1.getPlayer() == player) {\n count1 += p1.getNumWays();\n } else {\n count2 += p1.getNumWays();\n }\n\n if (count1 > 0) {\n return new Result(player, count1);\n }\n return new Result((player+1)%2, count2);\n }", "@Override\n public double getCost(int hours) {\n\n if (hours < 2) {\n\n return 30;\n } else if (hours < 4) {\n\n return 70;\n } else if (hours < 24) {\n\n return 100;\n } else {\n\n int days = hours / 24;\n return days * 100;\n }\n }", "public static void main(String[] args)\n {\n Scanner s = new Scanner(System.in);\n System.out.println(\"Please enter the amount due\");\n double due = s.nextDouble();\n System.out.println(\"Please enter the amount recieved\");\n double pay = s.nextDouble();\n double change = (pay - due);\n int dollars = (int) change/ 1;\n change = change%1;\n int quarters = (int) (change/.25);\n change = change %.25;\n int dimes = (int) (change/.10);\n change = change% .10;\n int nickels = (int) (change /.05);\n change = change % .05;\n int pennies = (int) (change/.01);\n System.out.println(dollars + \" Dollars\\n\");\n System.out.println(quarters +\" Quarters\\n\");\n System.out.println(dimes + \" Dimes\\n\");\n System.out.println(nickels + \" Nickels\\n\");\n System.out.println(pennies + \" Pennies\\n\");\n}", "public static void main(String[] args) {\n\t\tint N = 234;\n\t\tint times=N%10;\n\t\tN/=10;\n\t\tint temp=N/10,sum=0;\n\t\twhile(times>0)\n\t\t{\n\t\t\tint rem=N%10;\n\t\t\tsum=temp+rem;\n\t\t\ttemp=sum;\n\t\t\ttimes--;\n\t\t}\n\t\tSystem.out.println(temp);\n\t\n\t}", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int t = in.nextInt();\n for(int a0 = 0; a0 < t; a0++){\n long n = in.nextLong();\n long sum=0;\n n--;\n long x=n-n%3;\n sum+=(x)*(x+3)/6;\n x=n-n%5;\n sum+=(x)*(x+5)/10;\n x=n-n%15;\n sum-=(x)*(x+15)/30;\n System.out.println(sum);\n in.close();\n }\n }", "public static double squareMillimetersToSquareCentimeters(double num){ return (num/100); }", "public int countNumbersWithUniqueDigits(int n) {\n if(n==0) return 1;\n if(n==1) return 10;\n if(n>10) return 0;\n int current = 81;//for f(2) f(n)=f(n-1)*(11-n);depend on previous result, we have 11-n \n int total=91;\n for(int i=3;i<=n;i++){\n current*=(11-i);\n total+=current;\n }\n return total;\n }", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\n\t\tlong n = in.nextInt();\n\t\tlong m = in.nextInt();\n\n\t\tlong d = 1;\n\n\t\tlong a = 1;\n\t\tfor (long i = n; i > n - m; i--) {\n\t\t\td = d * i;\n\t\t\td = d / a;\n\t\t\ta++;\n\t\t}\n\n\t\tSystem.out.print(d);\n\n\t}", "public static void main(String[] args)\n\t{\n\t\tint n = 50;\n\t\tint c = n*n;\n\t\t\n\t\tfor(int x =0; x <=n ;x++)\n\t\t{\n\t\t\tfor(int y = 1; y <=n; y++)\n\t\t\t{\n\t\t\t\tc+=2*count(x,y,n);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(c);\n\t}", "public boolean canMakeExactChange(int valueInCents) {\n\n boolean ableToMakeExactChange = false;\n\n int tempValue = valueInCents;\n\n //For every coin value, chack if it is divisible into the value.\n for (int coinValue : denominationList) {\n\n int numTimes = (tempValue / coinValue);\n\n tempValue = tempValue - coinValue * numTimes;\n\n }\n\n //If all the coins are divisible, and there is no remaining value, we can make change.\n if (tempValue == 0) {\n ableToMakeExactChange = true;\n }\n\n return ableToMakeExactChange;\n\n\n }", "public static void main(String[] args) {\n int a = 2; // starting number\n int r = 2; // Common ratio\n int n = 5; // N th term to be find\n\n int curr_term;\n for (int i = 0; i < n; i++) {\n curr_term = a * (int)Math.pow(r, i);\n System.out.print(curr_term + \" \");\n }\n\n }", "public static String formatMoney(BigInteger valueInCents) {\n return formatMoney(MathUtil.divide(new BigDecimal(valueInCents), MathUtil.HUNDRED));\n }", "@Test\n public void coinsC() throws EmptyListE {\n Coin quarter = new Coin(25);\n Coin dime = new Coin(10);\n Coin nickel = new Coin(5);\n Coin penny = new Coin(1);\n List<Coin> coins =\n new Node<>(quarter,\n new Node<>(dime, new Node<>(nickel, new Node<>(penny, new Empty<>()))));\n assertEquals(1, DP.coinChange(coins, 3));\n assertEquals(2, DP.coinChange(coins, 6));\n assertEquals(242, DP.coinChange(coins, 100));\n assertEquals(1, DP.bucoinChange(coins, 3));\n assertEquals(2, DP.bucoinChange(coins, 6));\n assertEquals(242, DP.bucoinChange(coins, 100));\n }", "public static long kRounding(){\n\t\tScanner kbd = new Scanner(System.in); //see fairgame\n\t\tint input = kbd.nextInt();\n\t\tint Nput = input;\n\t\tint rounding = kbd.nextInt();\n\n\t\tint div2 = 0;\n\t\tint div5 = 0;\n\n\t\twhile (input % 2 == 0){\n\t\t\tdiv2++;\n\t\t\tinput = input/2;\n\t\t}\n\t\twhile (input % 5 == 0){\n\t\t\tdiv5++;\n\t\t\tinput = input/5;\n\t\t}\n\n\t\tint multiplierTwo = 1;\n\t\tint multiplierFive = 1;\n\t\tif(rounding - div2 > 0){\n\t\t\tmultiplierTwo = (int) Math.pow(2, rounding - div2);\n\t\t}\n\t\tif(rounding - div5 > 0){\n\t\t\tmultiplierFive = (int) Math.pow(5, rounding - div5)\n\t\t}\n\n\t\treturn multiplierTwo*(long)multiplierFive*(long)Nput;\n\t}", "private Integer toAmountCents(final BigDecimal input) {\n return input.multiply(ONE_HUNDRED).intValue();\n }", "public int countNumbersWithUniqueDigits(int n) {\n int result = 10;\n if(n == 0) {\n return 1;\n } else if (n == 1) {\n return 10;\n } \n \n int avblNums = 9;\n int multipliers = 9;\n int combos = 0;\n for(int i=2; i<= n; i++) {\n combos = avblNums * multipliers--;\n result += combos;\n avblNums = combos;\n }\n return result;\n }", "private static void find_coins(int[] d, int k, int n) {\n\t\t\n\t}", "public String countAndSay(int n) {\n String input = \"1\";\n\n // As per the constraint: 1 <= n <= 30.\n if(n > 0 && n <= 30) {\n // Loop starts from 0. However, counting starts from the second iteration.\n int i = 1;\n // Iterate recursively.\n while(i < n) {\n input = transform(input);\n // Increment i.\n i++;\n }\n }\n\n // If constraint is not satisfied, \"1\" is returned.\n return input; \n }", "@Test\n public void testMakeChange() {\n\n //setting a variable for the amount of change the user should get back\n BigDecimal changeDue = new BigDecimal(\"3.19\");\n\n //creating map to store the results of the makeChange() method\n Map<Coin, BigDecimal> changeReturned = new HashMap<>();\n\n changeReturned = dao.makeChange(changeDue);\n\n //creating a variable to store the amount returned from the makeChange()\n // as a BigDecimal\n BigDecimal changeReturnedAsBigDecimal = BigDecimal.ZERO;\n\n BigDecimal quarter = new BigDecimal(\"0.25\");\n BigDecimal dime = new BigDecimal(\"0.10\");\n BigDecimal nickel = new BigDecimal(\"0.05\");\n BigDecimal penny = new BigDecimal(\"0.01\");\n\n BigDecimal numberOfQuarters;\n BigDecimal numberOfDimes;\n BigDecimal numberOfNickels;\n BigDecimal numberOfPennies;\n\n BigDecimal valueOfQuartersDispensed;\n BigDecimal valueOfDimesDispensed;\n BigDecimal valueOfNickelsDispensed;\n BigDecimal valueOfPenniesDispensed; \n\n //calculating the number of quarters that should be returned\n numberOfQuarters = changeDue.divide(quarter);\n //calculating the value of the quarters returned\n valueOfQuartersDispensed = numberOfQuarters.setScale(0, RoundingMode.DOWN).multiply(quarter);\n //calculating how much change is left to be dispensed after quarters\n BigDecimal changeAfterQuarters = changeDue.subtract(valueOfQuartersDispensed);\n \n //adding the value of the quarters returned\n changeReturnedAsBigDecimal = changeReturnedAsBigDecimal.add(valueOfQuartersDispensed);\n\n //dimes\n numberOfDimes = changeAfterQuarters.divide(dime);\n valueOfDimesDispensed = numberOfDimes.setScale(0, RoundingMode.DOWN).multiply(dime);\n\n BigDecimal changeAfterDimes = changeAfterQuarters.subtract(valueOfDimesDispensed);\n \n changeReturnedAsBigDecimal = changeReturnedAsBigDecimal.add(valueOfDimesDispensed);\n \n //nickels\n numberOfNickels = changeAfterDimes.divide(nickel);\n valueOfNickelsDispensed = numberOfNickels.setScale(0, RoundingMode.DOWN).multiply(nickel);\n\n BigDecimal changeAfterNickels = changeAfterDimes.subtract(valueOfNickelsDispensed);\n \n changeReturnedAsBigDecimal = changeReturnedAsBigDecimal.add(valueOfNickelsDispensed);\n \n //pennies\n numberOfPennies = changeAfterNickels.divide(penny);\n valueOfPenniesDispensed = numberOfPennies.setScale(0, RoundingMode.DOWN).multiply(penny);\n \n changeReturnedAsBigDecimal = changeReturnedAsBigDecimal.add(valueOfPenniesDispensed);\n\n //testing if the amount of change returnes equals the amount of change that is due\n assertEquals(changeDue, changeReturnedAsBigDecimal);\n }", "public void ex() {\n int inches = 86; \n int pie = 12; //1 pie = 12 inches \n //Operaciones para obtener la cantidad de pies e inches\n int cant = inches / pie; \n int res = inches % pie;\n //Muestra de resultados\n System.out.println(inches + \" pulgadas es equivalente a\\n \" + \n cant + \" pies \\n \" + res + \" pulgadas \");\n }", "public int countDigitOne(int n) {\n long res = 0;\n for(int i = 1; i < n ; i *= 10){\n res += (long)n/i + n%(i*10);\n }\n return (int)res;\n }", "public static String formatAmountInCents(long amountInCents)\r\n\t{\n\t\treturn Currency.getInstance(\"EUR\").getSymbol() + \" \" + penniesToString(amountInCents);\r\n\t}", "public String converter(int n){\r\n str = \"\";\r\n condition = true;\r\n while(condition){\r\n if(n >= 1 && n < 100){\r\n str = str + oneToHundred(n);\r\n condition = false; \r\n }else if (n >= 100 && n < 1000){\r\n str = str + oneToHundred(n / 100);\r\n str = str + \"Hundred \";\r\n n = n % 100;\r\n condition = true; \r\n }\r\n \r\n }\r\n return str;\r\n \r\n }", "private int calculatePrice() {\n int price = numberOfCoffees * 5;\n\n return price;\n\n\n }", "private static int fact(int n) {\n\t\tint prod = 1;\n\t\tfor (int i = 1; i <= n; prod *= i++)\n\t\t\t;\n\t\treturn prod;\n\t}", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tfor(int i=0 ; i<n ; i++ ){\n\t\t\tint lower = in.nextInt();\n\t\t\tint higher = in.nextInt();\n\t\t\tint base = (int)Math.ceil(Math.sqrt(lower));\n\t\t\tint count=0;\n\t\t\tfor(int j=base ; j*j<=higher ; j++){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n }", "public static double getChange(int cashTend, double amountOwed) {\n\t\t\n\t\t//variables \n\t\tdouble Quarters = .25;\n\t\tdouble Dimes = .10;\n\t\tdouble Nickel = .05;\n\t\tdouble Pennies = .01;\n\t\t\n\t\t//calculate the change and round it\n\t\tdouble change = ( (double)((int) Math.round((cashTend - amountOwed)*100)) / 100.0);\n\t\t\n\t\t//calculate the modulus of quarter, dimes, nickels and pennies\n\t\tdouble mdQuarters = ((double)((int) Math.round((change % Quarters)*100)) / 100);\n\t\tdouble mdDimes = ((double)((int) Math.round((mdQuarters % Dimes)*100)) / 100);\n\t\tdouble mdNickel = ((double)((int) Math.round((mdQuarters % Nickel)*100)) / 100);\n\t\tdouble mdPennies = ((double)((int) Math.round((mdQuarters % Pennies)*100)) / 100);\n\t\t\n\t\t//getting the coins here and casted to int\n\t\tint cQuarters = (int) ((change - mdQuarters) / (Quarters));\n\t\tint cDimes = (int) ((mdQuarters - mdDimes) / (Dimes));\n\t\tint cNickel = (int) ((mdDimes - mdNickel) / (Nickel));\n\t\tint cPennies = (int) ((mdNickel - mdPennies) / (Pennies));\n\t\t\n\t\t//printing out changedue, quarters, dimes, nickel, pennies\n\t\tSystem.out.println(\"ReturnChange:\" +change);\n\t\tSystem.out.println(\"Quarters:\" +cQuarters);\n\t\tSystem.out.println(\"Dimes:\" +cDimes);\n\t\tSystem.out.println(\"Nickels:\" +cNickel);\n\t\tSystem.out.println(\"Pennies:\" +cPennies);\n\t\t\n\t\t//return value\n\t\treturn change;\n\t\n\t}", "public static int querProdukt(int n) {\n\t\t// wandelt die nummer in einen String und diesen in ein Char Array\n\t char[] number = Integer.toString(n).toCharArray();\n\t int ret = 1;\n for (char c : number) {\n \t/* Char nach int gecasted ergibt den ASCII-Wert des Chars.\n \t Die ASII werte der Zahlen 0, 1,...,9 sind auf 48, 49,...,57,\n \t also gilt (ASCIIwertDerZahl)-48=Zahl\n \t */\n ret *= (int)c-48;\n }\n return ret;\n\t}", "private static int minCoins_my_way_infinite_coins_of_one_value_case(int[] coins, int startIndex, int endIndex, int amount) {\n\n if (coins.length == 0) return 0;\n\n if (startIndex == endIndex) {\n int currentCoin = coins[startIndex];\n\n if (currentCoin == amount) {// coins=(8) amount=8\n return 1;\n }\n if (currentCoin > amount) {// coins=(9) amount=8\n return 0;\n }\n if (currentCoin < amount) {\n // IMPORTANT: This code assumes that you can use only 1 coin of the same value (you can't use infinite number of coins of the same value).\n //return 0;\n\n // This code assumes that you can use infinite number of coins of the same value.\n // e.g. currentCoin=1 and amount=8, then 8 coins of 1s can be used\n if (amount % currentCoin == 0) { // coins=(1) amount=8 should return 8 because you can use 8 coins of value 1 to make amount=8\n return amount / currentCoin;\n }\n return 0; // coins=(3) amount=8 should return 0 because you can't use 1 or more coins of value 3 to make amount=8\n }\n }\n\n // IMPORTANT\n // You don't need any coin to make amount=0\n // By seeing recursive call, you will figure out that amount can reach to 0. So, you need an exit condition for amount==0\n if (amount == 0) {\n return 0;\n }\n\n int currentCoin = coins[startIndex];\n\n int minUsingCurrentCoin = 0;\n\n if (currentCoin == amount) {\n minUsingCurrentCoin = 1;\n } else if (currentCoin > amount) {\n minUsingCurrentCoin = 0;\n } else {\n /*\n if currentCoin=1 and amount=8, then maxNumberOfCoinsThatCanBeUsedToMakeAmount will be 8.\n if currentCoin=3 and amount=8, then maxNumberOfCoinsThatCanBeUsedToMakeAmount be 2\n you need to consider both these situations for coming up with the correct code\n\n Case 1:\n coins = (1,6) amount=8\n currentCoin=1. So, maxNumberOfCoinsThatCanBeUsedToMakeAmount = 8\n\n coin numberOfCurrentCoins(i) amountConsumedByCurrentCoin coinsUsedFromRemaining totalCoinsUsed\n remaining coins amount\n 1 1 1 (6) 7 = 0 0 (when you cannot make remaining amount using remaining coins, then you cannot make total amount including current coin also)\n 1 2 2 (6) 6 = 1 2+1=3\n 1 3 3 (6) 5 = 0 0\n 1 4 4 (6) 4 = 0 0\n 1 5 5 (6) 3 = 0 0\n 1 6 6 (6) 2 = 0 0\n 1 7 7 (6) 1 = 0 0\n 1 8 8 (6) 0 = 0 8 (special condition - even though you could not make remaining amount using remaining coins, you could make total amount using current coin)\n\n Case 2:\n coins = (3,6) amount=8\n currentCoin=3. So, maxNumberOfCoinsThatCanBeUsedToMakeAmount = 2\n\n coin numberOfCurrentCoins(i) amountConsumedByCurrentCoin coinsUsedFromRemaining totalCoinsUsed\n remaining coins amount\n 3 1 3 (6) 3 = 0 0 (when you cannot make remaining amount using remaining coins, then you cannot make total amount including current coin also)\n 3 2 6 (6) 2 = 0 0\n\n */\n int maxNumberOfCoinsThatCanBeUsedToMakeAmount = amount / currentCoin;\n\n int min = 0;\n\n for (int i = 1; i <= maxNumberOfCoinsThatCanBeUsedToMakeAmount; i++) {\n int amountConsumedByCurrentCoin = i * currentCoin;\n\n int minFromRemaining = minCoins_my_way_infinite_coins_of_one_value_case(coins, startIndex + 1, endIndex, amount - amountConsumedByCurrentCoin);\n\n if (minFromRemaining == 0) {// If I could not make remaining amount using remaining coins, then I cannot make total amount including current coin (except one special condition)\n if (amountConsumedByCurrentCoin == amount) {// special condition - even though you could not make remaining amount using remaining coins, you could make total amount using current coin\n min = i;\n } else {\n min = 0;\n }\n } else {\n min = i + minFromRemaining;\n }\n\n if (minUsingCurrentCoin == 0 && min > 0) {\n minUsingCurrentCoin = min;\n } else if (minUsingCurrentCoin > 0 && min == 0) {\n // don't change minUsingCurrentCoin\n } else {\n if (min < minUsingCurrentCoin) {\n minUsingCurrentCoin = min;\n }\n }\n }\n }\n\n int minWaysUsingRestOfTheCoins = minCoins_my_way_infinite_coins_of_one_value_case(coins, startIndex + 1, endIndex, amount);\n\n if (minWaysUsingRestOfTheCoins == 0 && minUsingCurrentCoin > 0) {\n return minUsingCurrentCoin;\n } else if (minWaysUsingRestOfTheCoins > 0 && minUsingCurrentCoin == 0) {\n return minWaysUsingRestOfTheCoins;\n }\n return Math.min(minUsingCurrentCoin, minWaysUsingRestOfTheCoins);\n\n }", "public int awardTriviaCoins (double pct) {\n Random r = new Random();\n int min = 1;\n if (pct > 0.75) {\n min = 15;\n } else if (pct > 0.5) {\n min = 10;\n } else if (pct > 0.25) {\n min = 5;\n }\n int winnings = min + (int)(Math.ceil(r.nextInt(10) * pct));\n this.coinCount += winnings;\n this.save();\n \n UserEvent.NewCoins message = new UserEvent.NewCoins(this.id, winnings);\n notifyMe(message);\n \n return winnings;\t \n\t}", "public static void main(String[] args) {\n\n\t\tSystem.out.println(\"Uneti broj n: \");\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.close();\n\t\tint c = 0;\n\t\tint sum = 0;\n\n\t\twhile (n > 0) {\n\t\t\tc = n % 10;\n\t\t\tn = n / 10;\n\t\t\tif (c % 2 == 0) {\n\t\t\t\tsum = sum + c;\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.println(\"Zbir parnih cifara je: \" + sum);\n\n\t}", "public static void main(String[] args) {\n \t\n \tScanner scanner = new Scanner(System.in);\n \tint n = scanner.nextInt();\n \tint positiveCount = 0;\n \tint negativeCount = 0;\n \tint zeroCount = 0;\n \tfor (int i = 0; i < n; i++) {\n \t\tint num = scanner.nextInt();\n \t\tif(num == 0){\n \t\t\tzeroCount++;\n \t\t}\n \t\telse if(num > 0){\n \t\t\tpositiveCount++;\n \t\t}\n \t\telse if(num < 0){\n \t\t\tnegativeCount++;\n \t\t}\n\t\t}\n \tDecimalFormat df = new DecimalFormat(\"#.#####\");\n \tSystem.out.println(df.format((double)positiveCount / n));\n \tSystem.out.println(df.format((double)negativeCount / n));\n \tSystem.out.println(df.format((double)zeroCount / n));\n }", "public static int feibona(int n) {\r\n int a = 1;\r\n int b = 1;\r\n int c = 0;\r\n for(int i = 3;i <= n;i++) {\r\n c = a + b;\r\n\r\n a = b;\r\n b = c;\r\n }\r\n return c;\r\n }", "public static long computeFactorial(int n) {\n if(n<0 || n > 15) throw new IllegalArgumentException(\"Invalid input. N must be >= 0 \");\n if(n==0 || n==1)\n return 1;\n //ddieu kien dung cua de quy \n //song sot den lenh cho nayf thi n chac chan roi vao 2.......15\n return n*computeFactorial(n-1); // n*(n-1)\n \n }", "static int solve(int n) \n\t{ \n\t // base case \n\t if (n < 0) \n\t return 0; \n\t if (n == 0) \n\t return 1; \n\t \n\t return solve(n-1) + solve(n-3) + solve(n-5); \n\t}", "public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader (\n new InputStreamReader(\n System.in\n )\n );\n\n int centuries = Integer.parseInt(reader.readLine());\n\n System.out.println(\n String.format(\n \"%d centuries = %d years = %s days = %s hours = %s minutes\",\n centuries,\n centuries * 100,\n Math.round(centuries * 100 * 365.2422),\n Math.round(centuries * 100 * 365.2422 * 24),\n Math.round(centuries * 100 * 365.2422 * 24 * 60)\n )\n );\n }", "public static int trailingZeroes(int n) {\n\t\t//base case 2 * 5 = 10\n\t\tint count = 0;\n\t\twhile(n > 1){\n\t\t\tn /= 5;\n\t\t\tcount += n;\n\t\t}\n return count;\n }", "public void addTo(int dollars,int cents)\n\t{\n\t\tsetDollars(getDollars()+dollars);\n\t\tsetCents(getCents()+cents);\n\t\t\n\t}", "public int solution1(int N) {\n int numFactors = 0;\n for (int i = 1; i <= (double) Math.sqrt(N); i++) {\n if (N % i == 0) {\n if (i * i != N) {\n numFactors = numFactors + 2;\n } else if (i * i == N) {\n numFactors = numFactors + 1;\n }\n }\n }\n return numFactors;\n }", "public static void main(String[] args) {\n Scanner s=new Scanner(System.in);\n int n = s.nextInt();\n for(int i=1; i<n+1; i++){\n int a = s.nextInt();\n int b = s.nextInt();\n int terms = s.nextInt();\n double c= a;\n for(int j=1; j<terms+1; j++){\n c = c + Math.pow(2,j-1)*b;\n System.out.printf(\"%.0f \", c);\n }\n System.out.printf(\"%n\");\n } \n }", "public static void main(String[] args) {\n int myIntValue = 5 / 3;\r\n float myFloatValue = 5f / 3f;\r\n double myDoubleValue = 5d / 3f;\r\n\r\n System.out.println(\"myIntValue = \" + myIntValue);\r\n System.out.println(\"myFloatValue = \" + myFloatValue);\r\n System.out.println(\"myDoubleValue = \" + myDoubleValue);\r\n\r\n // challenge\r\n\r\n double myPounds = 200d;\r\n double myTotalKg = 0.45359237 * myPounds;\r\n System.out.println(myTotalKg);\r\n\r\n }", "private static double fact(int n) {\n\t\tdouble sum = 1;\n\t\tfor(int i = 1; i <= n; i++) {\n\t\t\tsum *= i;\n\t\t}\n\t\treturn sum;\n\t}", "public static BigDecimal discount(final BigDecimal a, final BigDecimal r, final int n)\n {\n return divide(a, ONE.add(r).pow(n));\n }" ]
[ "0.7013872", "0.65981734", "0.64673436", "0.6352629", "0.61218584", "0.59232694", "0.5766536", "0.5737475", "0.569498", "0.56595534", "0.56556696", "0.56214815", "0.55438584", "0.5538536", "0.54875064", "0.5434092", "0.5432138", "0.5418825", "0.5412053", "0.5396323", "0.5396323", "0.53958136", "0.538235", "0.53682697", "0.53569174", "0.5342818", "0.53149116", "0.5303553", "0.52998734", "0.5294954", "0.5270314", "0.52619404", "0.5242205", "0.5233762", "0.52166677", "0.52086294", "0.52078354", "0.5180759", "0.51095265", "0.5108429", "0.5106497", "0.5078254", "0.50688463", "0.50656116", "0.50615627", "0.5055816", "0.5046809", "0.5044733", "0.5044242", "0.5037485", "0.5036777", "0.50174296", "0.50173646", "0.5015968", "0.5008783", "0.5001955", "0.49965286", "0.49951163", "0.49946475", "0.49861518", "0.49836403", "0.49804416", "0.49791116", "0.4968912", "0.49573147", "0.49480337", "0.49347743", "0.49285313", "0.49284917", "0.49283266", "0.49257508", "0.4924883", "0.49248424", "0.49219036", "0.49215096", "0.49207792", "0.49200165", "0.49195436", "0.49194002", "0.4918423", "0.4910611", "0.49077573", "0.4906996", "0.49009672", "0.48878035", "0.48771504", "0.48712185", "0.4869687", "0.48695406", "0.4868933", "0.48672593", "0.4864605", "0.48609057", "0.48606998", "0.48564544", "0.48558393", "0.4854356", "0.4852189", "0.48463538", "0.48446423" ]
0.5466468
15
Called when task begins for any initialization logic.
protected void onBegin() {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void init() {\n this.log.pri1(LoggingInterface.INIT_START, \"\");\n // Any task initialization code goes here.\n this.log.pri1(LoggingInterface.INIT_END, \"\");\n }", "@Override\n public void onInitializeTasks() {\n }", "public void initialize() {\n\n getStartUp();\n }", "@PostConstruct\n\tpublic void init()\n\t{\n\t\tlogModule.info(TaskGenerator.class, \"初始化 Task generator...\");\n\t}", "public void performInitialisation() {\n \t\t// subclasses can override the behaviour for this method\n \t}", "public void initialize() {\n //TODO: Initialization steps\n\n initialized = true;\n }", "public void init() {\n // These data structures are initialized here because other\n // module's startUp() might be called before ours\n this.systemStartTime = System.currentTimeMillis();\n }", "@Override\n public void initialize() {\n time = 0;\n //noinspection ConstantConditions\n this.runningTasks.addAll(getInitialNode().getTasks());\n for (Node node : nodes) {\n node.initialize();\n }\n }", "protected void init() {\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n RosFragmentActivity.this.init(nodeMainExecutorService);\n //Let everyone know that init is called\n synchronized (mNodeInitListeners) {\n for (final NodeInitListener nodeInitListener : mNodeInitListeners) {\n nodeInitListener.onNodeInit(nodeMainExecutorService, getMasterUri());\n }\n mNodeInitListeners.clear();\n }\n return null;\n }\n }.execute();\n }", "@Override\n public void runInit() {\n }", "@Override\n public void taskStarting() {\n\n }", "@Override\n public void init() throws IOException {\n ToDoData.getInstance().loadTasks();\n }", "public void initialize() {\n // TODO\n }", "public void autonomousInit() {\n \n }", "public void init() {\n log.info(\"initialization\");\n }", "private void initialize() {\n }", "public final void init() {\n onInit();\n }", "public void autonomousInit() {\n }", "public void autonomousInit() {\n }", "public void initialize() {\n // empty for now\n }", "protected void initialize() {}", "protected void initialize() {}", "private void init(){\n if(!initializing) {\n Initializer init = new Initializer();\n InitializationDetails initializationDetails = new InitializationDetails(url, download, reset, deviceID, this);\n init.execute(initializationDetails);\n initializing = true;\n }\n }", "public void initialize() {\r\n }", "@Override\r\n\tpublic void PreExecute(TaskConfig config){\n\t}", "public void initialize() {\n }", "@Override\r\n\tprotected void processInit() {\n\t\t\r\n\t}", "protected void initialize() {\n \t\n }", "@Override\n public void prepare() {\n applicationDeployer.initialize();\n this.initialize();\n }", "protected void initialize() { \tthePrintSystem.printWithTimestamp(getClass().getName()); \n\tthis.isDone = false;\n\t\n\ttheLoader.setSetpoint(1.5);\n\t\n }", "@Override\n public void autonomousInit() {\n }", "@Override\n public void autonomousInit() {\n }", "private void initialize() {\n\t}", "protected void initialize() {\r\n }", "protected void initialize() {\r\n }", "public void autonomousInit() {\n\t\t\n\t}", "public void initialize() {\n\t\t//start the processor thread\n\t\t//logger.debug(processorName+\" starting processor thread\");\n\t\tprocessorThread.start();\n\t\t\n\t\t//logger.debug(processorName+\" initialized\");\n\t}", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n }", "protected void initialize() {\n\t\tRobot.firstAutonomousCommandDone = true;\n\t}", "public void initialize() {\n\t}", "public void initialize() {\n\t}", "public void initialize() {\n }", "public void initialize () {\n }", "@Override\n public void autonomousInit() {\n \n }", "private void initialize() {\n\t\t\n\t}", "@Override\n public void startup() {\n }", "public void init() {\n \t\tif (initLock.start()) {\n \t\t\ttry {\n \t\t\t\tthis._init(this.config);\n \t\t\t} finally {\n \t\t\t\tinitLock.end();\n \t\t\t}\n \t\t}\n \t}", "protected void initialize()\n\t{\n\t}", "public void onInitializeComplete() {\n }", "@Override\n protected void startUp() {\n }", "public void preSetup() {\r\n // Any of your pre setup before the loop starts should go here\r\n\r\n }", "protected void initialize() {\n\t}", "public void preSetup() {\r\n // Any of your pre setup before the loop starts should go here\r\n }", "protected void initialize() {\n\t\t\n\t}", "protected void initialize() {\n\t\t\n\t}", "protected abstract void initialize();", "protected void initialize()\r\n {\n }", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t}", "public void initialize()\n {\n }", "protected void initialize() {\n\n\t}", "@Override\n\tpublic void autonomousInit() {\n\t}", "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "@Override\n public synchronized void start() {\n init();\n }", "@Override\n\tpublic void init() {\n\t\t// Nothing to do in this example\n\t}", "protected void initialize() {\n \ttimer.start();\n }", "public void init(){\n taskClient.connect(\"127.0.0.1\", 9123);\n }", "protected void initialize() {\n\n }", "public void init() {\n // TODO start asynchronous download of heavy resources\n }", "protected void initialize() {\n \tRobot.intake.runIntake(this.m_speed, this.m_speed);\n }", "protected void initialize() {\n \tif(todo.equals(\"saveFile\")){\n \t\ttry {\n\t\t\t\tRecordMotorMovement.getInstance().saveFile(fileLoc);\n\t\t\t} catch (IOException e) {\n\t\t\t}\n \t\tisFinished = true;\n \t}else if(todo.equals(\"readFile\")){\n \t\ttry {\n\t\t\t\tRecordMotorMovement.getInstance().readFile(fileLoc);\n\t\t\t} catch (IOException e) {\n\t\t\t}\n \t\tisFinished = true;\n \t}else if(todo.equals(\"record\")){\n \t\t\n \t}\n }", "@Before\n public void initialize()\n throws Exception\n {\n cronTaskEventListenerRegistry.addListener(this);\n }", "@Override\n\tpublic void onInitialize() {\n\t\titemregistry.registeritems();\n\t\tentityregister.registerEntityAttribute();\n\t\tSystem.out.println(\"Project Azure: Starting up...\");\n\n\t}", "public void initialize() {\n this.loadDownloadList();\n }", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "@Override\n public void initialize() {\n }", "protected void initialize() {\n \tP.println(Tt.extractClassName(this) + \" initializing\");\n }", "@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void autInitProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}" ]
[ "0.8216013", "0.7898842", "0.76822037", "0.7392349", "0.7211754", "0.7048105", "0.7026426", "0.6994605", "0.69733036", "0.69532996", "0.6945936", "0.69457364", "0.689964", "0.68920255", "0.68823993", "0.6862437", "0.6858621", "0.6848027", "0.6848027", "0.68235934", "0.67895013", "0.67895013", "0.67543525", "0.67541134", "0.6753898", "0.67509735", "0.6741915", "0.6737865", "0.6731994", "0.672738", "0.6718947", "0.6718947", "0.6713601", "0.6694161", "0.6694161", "0.66829896", "0.6678727", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6669407", "0.6652749", "0.6645316", "0.6645316", "0.6645046", "0.66429675", "0.6633061", "0.66235304", "0.65993345", "0.6599138", "0.6590867", "0.65832347", "0.6577412", "0.65713626", "0.6570101", "0.65673405", "0.6564642", "0.6564642", "0.6560614", "0.655846", "0.6549388", "0.65414256", "0.6538046", "0.6536484", "0.6522052", "0.6516224", "0.6515415", "0.65143543", "0.650902", "0.6500026", "0.648774", "0.6480129", "0.64784646", "0.64770365", "0.647523", "0.6465328", "0.6460265", "0.6460265", "0.6460265", "0.6460265", "0.6460265", "0.6451719", "0.6451719", "0.6451719", "0.64473736", "0.6443477", "0.6443477" ]
0.0
-1
Called when task ends (no cursor)
protected void onEnd() {}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void endTask();", "public void finishTask() {\n\t\t\n\t}", "void TaskFinished(Task task) {\n\n repository.finishTask(task);\n }", "public void finish() {\n\t\ttask.run();\n\t\ttask.cancel();\n\t}", "@Override\r\n public void tasksFinished()\r\n {\n }", "void finish(Task task);", "protected void end() {\n isFinished();\n }", "protected void end() {\r\n }", "protected void end() {\r\n }", "protected void end() {\r\n }", "protected void end() {\r\n }", "protected void end() {\n \n \n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "protected void end() {\n }", "public void end();", "protected void end()\n\t{\n\t}", "protected void end() {\n \t// theres nothing to end\n }", "protected void end() {\n\t}", "protected void end() {\n\t}", "protected void end() {\n\t}", "protected void end() {\n\t}", "protected void end() {\n\t}", "protected void end() {\n\t}", "public void finish() {}", "public void end() {\n\n }", "@Override\n public void end() {\n }", "protected void finishExecution() {\r\n\r\n\t}", "public abstract void end();", "protected void end() {\n\r\n\t}", "protected void finish() {\n }", "private void finish() {\n }", "public void finish() {\n\n\t}", "@Override\n\tpublic void end() {\n\t\t// Empty on purpose, no cleanup required yet\n\t}", "public void taskComplete() {\n mTasksLeft--;\n if ((mTasksLeft==0) & mHasCloRequest){\n onAllTasksCompleted();\n }\n }", "void taskFinished(Throwable t);", "@Override\n\t\tpublic void end() {\n\t\t\t\n\t\t}", "protected void end()\n\t{\n\t\tstop();\n\t}", "@Override\n protected void end() {\n\n }", "@Override\n protected void end() {\n }", "public void finish() { \n\t\t\n\t}", "@Override\r\n\tprotected void end() {\r\n\t}", "@Override\n\tpublic void end() {\n\n\t}", "@Override\n\tpublic void end() {\n\n\t}", "@Override\n\tpublic void end() {\n\t\t\n\t}", "public void end() throws Exception;", "public void finish(){\n }", "public void finish() {\n\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n protected void end() {\n }", "@Override\n\tpublic void finish() {\n\n\t}", "@Override\n\tpublic void finish() {\n\n\t}", "@Override\n\tpublic void finish() {\n\n\t}", "@Override\n\tpublic void finish() {\n\t\t\n\t}", "@Override\r\n\tprotected void end() {\n\r\n\t}", "@Override\r\n\tprotected void end() {\n\r\n\t}", "@Override\r\n\tpublic boolean finishCurrentTask() {\r\n\t\treturn finished;\r\n\t}", "@Override\n\tprotected void end() {\n\t}", "@Override\n\tprotected void end() {\n\t}", "@Override\n\tprotected void end() {\n\t}", "@Override\n\tprotected void end() {\n\t}", "public void end() {\n\t\tsigue = false;\n\t}" ]
[ "0.83726656", "0.8137818", "0.77749974", "0.7591923", "0.74022084", "0.7372094", "0.73460674", "0.720212", "0.720212", "0.720212", "0.720212", "0.7179716", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71732175", "0.71705925", "0.7168368", "0.7166873", "0.7136976", "0.7136976", "0.7136976", "0.7136976", "0.7136976", "0.7136976", "0.7126713", "0.7111225", "0.70930785", "0.70628804", "0.7061175", "0.70510715", "0.7009489", "0.6999548", "0.6995864", "0.69897735", "0.69381243", "0.6920006", "0.69079804", "0.69075644", "0.6906616", "0.68962044", "0.6891417", "0.68694156", "0.6869072", "0.6869072", "0.6867753", "0.6860035", "0.6846267", "0.68175787", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.68156624", "0.6814655", "0.6814655", "0.6814655", "0.6807139", "0.67961025", "0.67961025", "0.6783475", "0.67675567", "0.67675567", "0.67675567", "0.67675567", "0.6764103" ]
0.7218384
7
Get the requested menu item
@Nonnull private static IHCNode _getMainContent (@Nonnull final LayoutExecutionContext aLEC) { final IMenuItemPage aSelectedMenuItem = ApplicationRequestManager.getInstance ().getRequestMenuItem (); // Resolve the page of the selected menu item (if found) IWebPage aDisplayPage = SystemPageNotFound.getInstance (); if (aSelectedMenuItem != null) { // Only if we have display rights! if (aSelectedMenuItem.matchesDisplayFilter ()) aDisplayPage = (IWebPage) aSelectedMenuItem.getPage (); else { // No rights -> goto start page aDisplayPage = (IWebPage) ApplicationRequestManager.getInstance () .getMenuTree () .getDefaultMenuItem () .getPage (); } } final WebPageExecutionContext aWPEC = new WebPageExecutionContext (aLEC, aDisplayPage); // Build page content: header + content final HCNodeList aPageContainer = new HCNodeList (); final String sHeaderText = aDisplayPage.getHeaderText (aWPEC); if (StringHelper.hasText (sHeaderText)) aPageContainer.addChild (new BootstrapPageHeader ().addChild (HCH1.create (sHeaderText))); // Main fill content aDisplayPage.getContent (aWPEC); // Add result aPageContainer.addChild (aWPEC.getNodeList ()); return aPageContainer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MenuItem findItem(int id);", "UmsMenu getItem(Long id);", "public native MenuItem getSelectedItem();", "@Override\n\tpublic Menu getItem(int arg0) {\n\t\treturn arrayList.get(arg0);\n\t}", "MenuItem getMenuItemAbout();", "public MenuItem getMenuItem() {\r\n\t\treturn menuItem;\r\n\t}", "public MenuItem getMenuItemByName(String name){\n for (MenuItem item: menuItems){\n if (item.getFoodName().equals(name)){\n return item;\n }\n }\n return null;\n }", "String getMenuName();", "public MenuItem getMenuItem() {\n return menuItem;\n }", "public abstract int getMenu();", "@Override\n\tpublic MenuItem getMenuItem(long menuItemId) \n\t{\n\t\tList<MenuItem> list=this.menuItemList;\n\t\tfor(MenuItem m:list)\n\t\t{\n\t\t\tif(m.getId()==menuItemId)\n\t\t\t{\n\t\t\t\treturn m;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t\t\n\t}", "public static RawMenuItem getMenuForRestaurant() {\n\n AmazonDynamoDBClient ddb = SplashActivity.clientManager\n .ddb();\n DynamoDBMapper mapper = new DynamoDBMapper(ddb);\n\n try {\n RawMenuItem menuItem = mapper.load(RawMenuItem.class,\n Globals.getInstance().getBusinessName());\n\n return menuItem;\n\n } catch (AmazonServiceException ex) {\n SplashActivity.clientManager\n .wipeCredentialsOnAuthError(ex);\n }\n\n return null;\n }", "public String getActivationMenu();", "C getMenu();", "private ActionMenuItem findItemWithShortcut(int keyCode, KeyEvent event) {\n final boolean qwerty = mIsQwerty;\n final ArrayList<ActionMenuItem> items = mItems;\n final int itemCount = items.size();\n\n for (int i = 0; i < itemCount; i++) {\n ActionMenuItem item = items.get(i);\n final char shortcut = qwerty ? item.getAlphabeticShortcut() :\n item.getNumericShortcut();\n if (keyCode == shortcut) {\n return item;\n }\n }\n return null;\n }", "public String choosenMenu() {\n String value = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"menu_id\");\n menu_id = Integer.parseInt(value);\n String user = FacesContext.getCurrentInstance().getExternalContext().getRemoteUser();\n if (user == null) {\n return \"choosenMenu\";\n } else {\n return \"chooseMenuUser\";\n }\n }", "public void readTheMenu();", "IMenu getMainMenu();", "Menu getMenuFile();", "public String getParentMenu();", "@Nullable String pickItem();", "private String getSelectedString() {\n\t\treturn menuItem[selectedIndex];\r\n\t}", "public static int getMenuChoice() {\n String line;\n int option = -1;\n\n System.out.print(\">\");\n if (Menus.reader.hasNext()) {\n line = Menus.reader.nextLine().strip();\n\n try {\n option = Integer.parseInt(line);\n } catch (NumberFormatException e) {\n option = -1;\n }\n }\n\n return option;\n }", "public String chooseMenu() {\n String input = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"menu_id\");\n setName(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"name\"));\n setType(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(\"type\"));\n setMenu_id(Integer.parseInt(input));\n return \"EditMenu\";\n\n }", "public void getMenuChoice()\n {\n boolean finished = false;\n \n while(!finished)\n {\n printHeading();\n String choice = Menu.getMenuChoice(menuChoices);\n executeMenuChoice(choice);\n \n if(choice.startsWith(\"quit\"))\n {\n finished = true;\n }\n }\n }", "public void menuClicked(MenuItem menuItemSelected);", "private int getMenuSelection() {\n return view.printMenuAndGetSelection();\n }", "Menu getMenuHelp();", "public JMenuItem getMenuItem()\n\t\t\t\t{\n\t\t\t\tEvSwingUtil.tearDownMenu(miBookmark);\n\t\t\t\tmiBookmark.add(miAddBookmark);\n\t\t\t\tmiAddBookmark.addActionListener(new ActionListener(){\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t\t\t\t{\n\t\t\t\t\t\tEvContainer container=w.getSelectedData();\n\t\t\t\t\t\tString name=Bookmark.addBookmarkDialog(w, container);\n\t\t\t\t\t\tif(name!=null)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tBookmark b=new Bookmark();\n\t\t\t\t\t\t\tb.frame=w.getFrame();\n\t\t\t\t\t\t\tb.z=w.getZ();\n\t\t\t\t\t\t\tnew UndoOpPutObject(\"Add bookmark \"+name, b, container, name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\tmiBookmark.addSeparator();\n\t\t\t\t\n\t\t\t\tfor(EvData data:EvDataGUI.openedData)\n\t\t\t\t\t{\n\t\t\t\t\tJMenu miData=new JMenu(data.getMetadataName());\n\t\t\t\t\tfor(Map.Entry<EvPath, Bookmark> e:data.getIdObjectsRecursive(Bookmark.class).entrySet())\n\t\t\t\t\t\t{\n\t\t\t\t\t\tJMenuItem miGoto=new JMenuItem(\"=> \"+e.getKey());\n\t\t\t\t\t\tmiData.add(miGoto);\n\t\t\t\t\t\tfinal Bookmark m=e.getValue();\n\t\t\t\t\t\t\n\t\t\t\t\t\tmiGoto.addActionListener(new ActionListener()\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t//if(w.frameControl!=null)\n\t\t\t\t\t\t\t\t\t//{\n\t\t\t\t\t\t\t\tw.setFrame(m.frame);\n\t\t\t\t\t\t\t\tif(m.z!=null)\n\t\t\t\t\t\t\t\t\tw.setZ(m.z);\n\t\t\t\t\t\t\t\t\t//}\n\t\t\t\t\t\t\t\tw.repaint();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\tif(miData.getItemCount()>0)\n\t\t\t\t\t\tmiBookmark.add(miData);\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\treturn miBookmark;\n\t\t\t\t}", "private JMenuItem getItemComecar() {\r\n\t\tif (itemComecar == null) {\r\n\t\t\titemComecar = new JMenuItem(\"Iniciar Jogo\");\r\n\t\t}\r\n\t\treturn itemComecar;\r\n\t}", "public static int getMenu() {\n\t\tSystem.out.println(\"Choose Options from menu:\");\n\t\tint option = scanner.nextInt();\n\n\t\treturn option;\n\t}", "public interface MenuItem {\n\tpublic int getBasePrice();\n\tpublic int getAddOnPrice();\n\tpublic int getTotalGuestPrice(int additionalGuestTotal);\n\tpublic String getName();\n\tpublic String getDetails();\n}", "public static AutoAnswerMenuItem getAutoAnswerItem(SIPCommMenu menu,\n int index)\n {\n int currentIx = 0;\n for(int i = 0; i < menu.getItemCount(); i++)\n {\n if(menu.getItem(i) instanceof AutoAnswerMenuItem)\n {\n if(currentIx == index)\n return (AutoAnswerMenuItem)menu.getItem(i);\n\n currentIx++;\n }\n }\n\n return null;\n }", "@Override\n\tpublic Object getItem(int position) {\n\t\t return menuItems.get(position);\n\t}", "ReadOnlyMenuManager getMenuManager(int index);", "IProductInfo getM_piSelectedItem();", "Icon getMenuIcon();", "Menu getMenuEdit();", "Object getMenu() {\n return game.r;\n }", "private static MenuOption getRequest() \n\t{\n\t\tint request = 5;\n\t\tSystem.out.printf(\n\t\t\t\t\"%n--[ Manage My Contacts ]--%n%n%s%n%s%n%s%n%s%n%s%n\",\n\t\t\t\t\"1. Add new contact\", \"2. Delete a contact\",\n\t\t\t\t\"3. View a contact\", \"4. Display all contacts\",\n\t\t\t\t\"5. Exit program\");\n\t\ttry \n\t\t{\n\t\t\tScanner input = new Scanner(System.in);\n\t\t\tdo \n\t\t\t{\n\t\t\t\tSystem.out.printf(\"%nSelection: \");\n\t\t\t\trequest = input.nextInt();\n\t\t\t} while ((request < 1) || (request > 5));\n\t\t} catch (NoSuchElementException e) \n\t\t{\n\t\t\tSystem.err.println(\"Invalid input. Closing\");\n\t\t}\n\t\treturn choices[request - 1];\n\t}", "void onMenuItemClicked();", "public String getSelectedItem() {\n if (selectedPosition != -1) {\n Toast.makeText(activity, \"Selected Item : \" + list.get(selectedPosition), Toast.LENGTH_SHORT).show();\n return list.get(selectedPosition);\n }\n return \"\";\n }", "@Override\n public Object getItem(int arg0) {\n return title[arg0];\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int selectedItmId = item.getItemId();\n\n switch (selectedItmId){\n case (R.id.item_action_refresh):\n new SpotifyNewRelease(accessToken).execute();\n return true;\n case (R.id.find_web):\n Toast.makeText(MainActivity.this,\"Find In Web Selected\",Toast.LENGTH_SHORT).show();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "public JMenuItem getLoadGameMenuItem() {\n return loadGameMenuItem;\n }", "private MenuItem getMenuItem(String text, EventHandler<ActionEvent> handler) {\n MenuItem mi = new MenuItem(text);\n mi.setOnAction(handler);\n\n return mi;\n }", "private JMenuItem getAProposjMenuItem() {\r\n\t\tif (AProposjMenuItem == null) {\r\n\t\t\tAProposjMenuItem = new JMenuItem();\r\n\t\t\tAProposjMenuItem.setText(\"A Propos\");\r\n\t\t\tAProposjMenuItem.setActionCommand(\"A Propos\");\r\n\t\t\tAProposjMenuItem.setFont(new Font(\"Dialog\", Font.PLAIN, 12));\r\n\t\t\tAProposjMenuItem.setIcon(new ImageIcon(getClass().getResource(\"/interrogation.png\")));\r\n\t\t\tAProposjMenuItem.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tif (e.getActionCommand().equals(\"A Propos\")) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tHistorique.ecrire(\"Ouverture de : \"+e);\r\n\t\t\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnew FEN_APropos();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn AProposjMenuItem;\r\n\t}", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getMenuLabel();", "public SIPCommMenu getMenu()\n {\n return menu;\n }", "@Override\n\t\t\t\tpublic boolean onMenuItemClick(MenuItem item) {\n\t\t\t\t\tint id = item.getItemId();\n\t\t\t\t\tIntent i;\n\t\t\t\t\tswitch (item.getItemId()) {\n\t\t\t\t\tcase R.id.menu_add_new_list:\n\t\t\t\t\t\tif (task.getString(\"user_id\", null) != null) {\n\t\t\t\t\t\t\ti = new Intent(getBaseContext(), MyMap.class);\n\t\t\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tToast.makeText(MyMap.this, \"Please Login first\", Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\tcase R.id.menu_dashboard:\n\t\t\t\t\t\tif (task.getString(\"user_id\", null) != null) {\n\t\t\t\t\t\t\ti = new Intent(MyMap.this, dashboard_main.class);\n\t\t\t\t\t\t\ti.putExtra(\"edit\", \"12344\");\n\t\t\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tToast.makeText(MyMap.this, \"Please Login first\", Toast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\tcase R.id.menu_login:\n\t\t\t\t\t\tif (bedMenuItem.getTitle().equals(\"Logout\")) {\n\t\t\t\t\t\t\tSharedPreferences.Editor editor = getSharedPreferences(\"user\", MODE_PRIVATE).edit();\n\t\t\t\t\t\t\teditor.clear();\n\t\t\t\t\t\t\teditor.commit();\n\t\t\t\t\t\t\tbedMenuItem.setTitle(\"Login/Register\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tIntent i_user = new Intent(getBaseContext(), user_login.class);\n\t\t\t\t\t\t\tstartActivity(i_user);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}", "private void optionSelected(MenuActionDataItem action){\n \t\tString systemAction = action.getSystemAction();\n \t\tif(!systemAction.equals(\"\")){\n \t\t\t\n \t\t\tif(systemAction.equals(\"back\")){\n \t\t\t\tonBackPressed();\n \t\t\t}else if(systemAction.equals(\"home\")){\n \t\t\t\tIntent launchHome = new Intent(this, CoverActivity.class);\t\n \t\t\t\tstartActivity(launchHome);\n \t\t\t}else if(systemAction.equals(\"tts\")){\n \t\t\t\ttextToSearch();\n \t\t\t}else if(systemAction.equals(\"search\")){\n \t\t\t\tshowSearch();\n \t\t\t}else if(systemAction.equals(\"share\")){\n \t\t\t\tshowShare();\n \t\t\t}else if(systemAction.equals(\"map\")){\n \t\t\t\tshowMap();\n \t\t\t}else\n \t\t\t\tLog.e(\"CreateMenus\", \"No se encuentra el el tipo de menu: \" + systemAction);\n \t\t\t\n \t\t}else{\n \t\t\tNextLevel nextLevel = action.getNextLevel();\n \t\t\tshowNextLevel(this, nextLevel);\n \t\t\t\n \t\t}\n \t\t\n \t}", "public Object get(String itemName);", "public Menu getMenu() { return this.menu; }", "UmsMenu selectByPrimaryKey(String menuId);", "private Select getMenu() {\n updateMenu();\n mainMenu.setSelectedItemCode(MENU_STATUS);\n return mainMenu;\n }", "@Override\n public boolean onMenuItemSelected(int featureId, MenuItem item) {\n int lSelectedItemID = item.getItemId(); // 액션 메뉴 아이디 확인함.\n if(lSelectedItemID == R.id.action_example){\n // To-do something\n }\n return super.onMenuItemSelected(featureId, item);\n }", "public String getName() {\n\t\treturn MenuString;\n\t}", "MenuItem getMenuItemDelete();", "public MenuActionRequest getMenuAction() {\n\t\treturn menuAction;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n\n return super.onOptionsItemSelected(item);\n }", "public String getCurrentMenuID() {\n\t\treturn currentMenu.getIdMenuElement();\r\n\t}", "private static String getMenu() { // method name changes Get_menu to getMenu()\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\r\n\t\tsb.append(\"\\nLibrary Main Menu\\n\\n\")\r\n\t\t .append(\" M : add member\\n\")\r\n\t\t .append(\" LM : list members\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" B : add book\\n\")\r\n\t\t .append(\" LB : list books\\n\")\r\n\t\t .append(\" FB : fix books\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" L : take out a loan\\n\")\r\n\t\t .append(\" R : return a loan\\n\")\r\n\t\t .append(\" LL : list loans\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" P : pay fine\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" T : increment date\\n\")\r\n\t\t .append(\" Q : quit\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\"Choice : \");\r\n\t\t \r\n\t\treturn sb.toString();\r\n\t}", "public BasePage openSubMenuByName(WebDriver driver, String MenuItem, String subItem) {\r\n\t\tBy MenuItemBy = getDynamicBy(driver, BasePageNopCommerceUIs.SIDE_MENU_OPENED, MenuItem);\r\n\t\twaitForElementVisible(driver, MenuItemBy);\r\n\t\tclick(driver, MenuItemBy);\r\n\t\t\r\n\t\tBy subItemBy = getDynamicBy(driver, BasePageNopCommerceUIs.SUB_MENU_ITEM, subItem);\r\n\t\twaitForElementVisible(driver, subItemBy);\r\n\t\tclick(driver, subItemBy);\t\t\r\n\t\t\r\n\t\tswitch (subItem) {\r\n\t\tcase \"Products\":\r\n\t\t\treturn PONopCommerceGeneratorManage.getProductSearchPage(driver);\t\t\t\r\n\t\tdefault:\r\n\t\t\tthrow new RuntimeException(\"the page's name is wrong\");\r\n\t\t}\t\t\t\t\r\n\t}", "public String getMenuName() {\n return menuName;\n }", "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n return super.onOptionsItemSelected(item);\r\n }", "@Test\n public void testMenuFactoryGetMenuItem() {\n Menu menuController = menuFactory.getMenu();\n menuController.addMenuItem(MENU_NAME, MENU_PRICE, MENU_TYPE, MENU_DESCRIPTION);\n assertEquals(MENU_NAME, menuController.getMenuItem(1).getName());\n assertEquals(MENU_DESCRIPTION, menuController.getMenuItem(1).getDescription());\n assertEquals(MENU_PRICE, menuController.getMenuItem(1).getPrice());\n }", "IMenuView getMenuView();", "private JMenuItem getAboutMenuItem() {\n\t\tif (aboutMenuItem == null) {\n\t\t\taboutMenuItem = new JMenuItem();\n\t\t\taboutMenuItem.setText(\"O aplikácii SluchAnal\");\n\t\t\taboutMenuItem.addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tJDialog aboutDialog = getAboutDialog();\n\t\t\t\t\taboutDialog.pack();\n\t\t\t\t\tPoint loc = getHlavneOkno().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\taboutDialog.setLocation(loc);\n\t\t\t\t\taboutDialog.setVisible(true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn aboutMenuItem;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n }else if (id == R.id.basic){\n Intent intent = new Intent(Extra.this, MainActivity.class);\n intent.putExtra(\"expr\", exprStr);\n startActivity(intent);\n }\n\n return super.onOptionsItemSelected(item);\n }", "ItemStack getItem();", "public String getItem() {\r\n return item;\r\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n super.onOptionsItemSelected(item);\n\n int id = item.getItemId();\n Log.d(\"menu check\",\"clicked: \"+id);\n Log.d(\"menu check\",\"doc id: \"+R.id.doc);\n Log.d(\"menu check\",\"stat id:\"+R.id.stat);\n //noinspection SimplifiableIfStatement\n switch(id){\n case R.id.doc: {\n startActivity(new Intent(BasicInfo.this, Doctor.class));\n finish();\n break;\n }\n case R.id.stat: {\n startActivity(new Intent(BasicInfo.this, LastStatus.class));\n break;\n }\n }\n return super.onOptionsItemSelected(item);\n }", "MenuInfo selectByPrimaryKey(Integer menuid);", "public String menu_item_name() {\n\t\treturn driver.findElement(menu_item_logout).getText();\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch(id){\n case R.id.dates:\n getdatemenu();\n break;\n case R.id.keys:\n getkeymenu();\n break;\n case R.id.list:\n getlistmenu();\n case android.R.id.home:\n Intent goHome = new Intent(this,MainActivity.class);\n boolean foundHome = navigateUpTo(goHome);\n\n\n }\n\n\n\n return true;\n }", "void changeMenuItemName(String itemName, byte type, String msgPlus);", "private JMenuItem getParamjMenuItem() {\r\n\t\tif (ParamjMenuItem == null) {\r\n\t\t\tParamjMenuItem = new JMenuItem();\r\n\t\t\tParamjMenuItem.setText(\"Parametres\");\r\n\t\t\tParamjMenuItem.setIcon(new ImageIcon(getClass().getResource(\"/parametres_petit.png\")));\r\n\t\t\tParamjMenuItem.setFont(new Font(\"Dialog\", Font.PLAIN, 12));\r\n\t\t\tParamjMenuItem.setActionCommand(\"Parametres\");\r\n\t\t\tParamjMenuItem.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t//System.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\r\n\t\t\t\t\tif (e.getActionCommand().equals(\"Parametres\")) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tHistorique.ecrire(\"Ouverture de : \"+e);\r\n\t\t\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnew FEN_Param();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn ParamjMenuItem;\r\n\t}", "@Override\r\n\tpublic Object getItem(int arg0) {\n\t\treturn listab.get(arg0);\r\n\t}", "public static int dispAndGetMenu ( int menu ) {\n\t\tif ( menu == 0 ) { // if menu to display is main menu\n\t\t\tSystem.out.println ( \" Contacts Menu\" );\n\t\t\tSystem.out.println ( \"1. Add Contact\" );\n\t\t\tSystem.out.println ( \"2. Remove Contact\" );\n\t\t\tSystem.out.println ( \"3. Search for Contact\" );\n\t\t\tSystem.out.println ( \"4. Update Contact\" );\n\t\t\tSystem.out.println ( \"5. Show Contacts\" );\n\t\t\tSystem.out.println ( \"6. Quit\" );\n\t\t\tSystem.out.print ( \"Enter menu choice: \" );\n\t\t\treturn CheckInput.getIntRange ( 1, 6 ); // choose 1-6\n\t\t} else if ( menu == 2 ) { // submenu 2 for removing contacts\n\t\t\tSystem.out.print ( \"\\n\" );\n\t\t\tSystem.out.println ( \" Contact Removal Menu\" );\n\t\t\tSystem.out.println ( \"1. First and Last Name\" );\n\t\t\tSystem.out.println ( \"2. Index\" );\n\t\t\tSystem.out.print ( \"Remove by: \" );\n\t\t\treturn CheckInput.getIntRange ( 1, 2 ); // choose 1 or 2\n\t\t} else if ( menu == 3 ) { // submenu 3 for searching for a contact\n\t\t\tSystem.out.print ( \"\\n\" );\n\t\t\tSystem.out.println ( \" Contact Searching Menu\" );\n\t\t\tSystem.out.println ( \"1. Last Name\" );\n\t\t\tSystem.out.println ( \"2. Zip Code\" );\n\t\t\tSystem.out.print ( \"Search by: \" );\n\t\t\treturn CheckInput.getIntRange ( 1, 2 );\n\t\t} else { // submenu 4 for updating contacts\n\t\t\tSystem.out.print ( \"\\n\" );\n\t\t\tSystem.out.println ( \" Contact Updating Menu\" );\n\t\t\tSystem.out.println ( \"1. First Name\" );\n\t\t\tSystem.out.println ( \"2. Last Name\" );\n\t\t\tSystem.out.println ( \"3. Phone Number\" );\n\t\t\tSystem.out.println ( \"4. Address\" );\n\t\t\tSystem.out.println ( \"5. City \" );\n\t\t\tSystem.out.println ( \"6. Zip Code\" );\n\t\t\tSystem.out.print ( \"Update category: \" );\n\t\t\treturn CheckInput.getIntRange ( 1, 6 ); // choose 1-6\n\t\t}\n\t}", "public String getItem() {\r\n\t\treturn item;\r\n\t}", "@Override\n\tpublic Object getItem(int arg0) {\n\t\treturn mDiagnosisItemName[arg0];\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_search) {\n Intent searchIntent = new Intent(this, SearchActivity.class);\n //pass current dat as extra\n startActivity(searchIntent);\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }", "@Override\n\t\tpublic Object getItem(int arg0) {\n\t\t\treturn arg0;\n\t\t}", "protected ResourceReference getItem()\n\t{\n\t\treturn ITEM;\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n return super.onOptionsItemSelected(item);\n }", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n return super.onOptionsItemSelected(item);\n }", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int item_touched = item.getItemId();\n try {\n switch (item_touched) {\n case R.id.action_in_theatre:\n getMovieListInTheatre();\n return true;\n case R.id.action_popular_movies:\n getPopularMovies();\n return true;\n case R.id.action_incoming:\n getUpcomingMovies();\n return true;\n case R.id.config:\n configClick();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n } catch (NoNetworkException e) {\n Toast.makeText(getApplicationContext(), \" No network connection \", Toast.LENGTH_LONG).show();\n }\n return false;\n }", "String getAction();", "String getAction();", "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_highest_rated) {\n fetchHighestRated();\n } else if (id == R.id.action_popular){\n fetchPopular();\n }\n\n return super.onOptionsItemSelected(item);\n }", "Identifiable item();", "public int getMenuId() {\n return 0;\n }", "MenuEntry getParent();", "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint itemID = item.getItemId();\n\t\tswitch (itemID) {\n\t\tcase R.id.lastPage:\n\t\t\tintent.putExtra(\"itemID\", itemID );\n\t\t\tbreak;\n\t\tcase R.id.alkorsyVerse:\n\t\tdefault:\n\t\t\tintent.putExtra(\"itemID\", itemID);\n\t\t\tbreak;\n\t\t}\n\t\tstartActivity(intent);\n\t\treturn true;\n\t}" ]
[ "0.7590645", "0.74293745", "0.70928323", "0.6957048", "0.6807455", "0.67665344", "0.6648445", "0.6643084", "0.6626528", "0.66248524", "0.6483658", "0.6390465", "0.6336385", "0.6302387", "0.6277404", "0.62385297", "0.622479", "0.6224187", "0.6205249", "0.6188401", "0.6154698", "0.61203545", "0.6101246", "0.60853285", "0.6057564", "0.60245585", "0.60214376", "0.6014173", "0.5959604", "0.5956003", "0.5942472", "0.59338903", "0.59301794", "0.5921837", "0.5908427", "0.5880584", "0.58677244", "0.58668274", "0.5860388", "0.5855893", "0.5855207", "0.5853941", "0.5842028", "0.5816447", "0.5806256", "0.58056223", "0.58043116", "0.5801175", "0.5795882", "0.57869846", "0.57807076", "0.5779045", "0.5773274", "0.57720095", "0.5758801", "0.57564914", "0.57365614", "0.5729341", "0.5715438", "0.57124424", "0.57002616", "0.56965697", "0.5695011", "0.5689163", "0.56846017", "0.5665414", "0.56522256", "0.56519717", "0.5645596", "0.5645596", "0.5645596", "0.5645596", "0.5645596", "0.5645596", "0.56426895", "0.56409895", "0.56339127", "0.56326294", "0.56239474", "0.56128114", "0.56107324", "0.56066364", "0.56064075", "0.5603876", "0.56033915", "0.56016105", "0.5599604", "0.55992705", "0.55873376", "0.5585221", "0.558373", "0.558373", "0.55803555", "0.5577175", "0.5574124", "0.5574124", "0.5573893", "0.55659235", "0.5565444", "0.55574703", "0.55556095" ]
0.0
-1
/ Your class should be named Solution Don't write main(). Don't read input, it is passed as function argument. Return output and don't print it. Taking input and printing output is handled automatically.
public static boolean checkNumber(int a[], int x) { if(a.length==1) { if(a[0]==x){ return true; } else return false; } if(a[0]==x) return true; int arr[]=new int[a.length-1]; for(int i=1;i<a.length;i++) { arr[i-1]=a[i]; } boolean check = checkNumber(arr,x); return check; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void solution() {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(solution());\r\n\t}", "public static void main(String[] args) throws IOException{\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\r\n\r\n \tint n = Integer.parseInt(f.readLine());\r\n \t\r\n \tint[] a = new int[n];\r\n \tStringTokenizer st = new StringTokenizer(f.readLine());\r\n \tfor(int i = 0; i < n; i++) a[i] = Integer.parseInt(st.nextToken());\r\n \t\r\n \tSystem.out.println(solution(a));\r\n \r\n //out.close();\r\n }", "public static void main(String[] args) {\n\n Solution2.solution();\n }", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tSolution s = new Solution();\r\n\t}", "public static void main(String[] args) throws IOException {\n\t\t//Scanner in = new Scanner(System.in);\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tsolve(in, out);\n\t\tout.close();\n\t\tin.close();\t\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(solution(0));\n\n\t}", "public static void main(String[] args) {\n int[] arr = {10, 2, 5, 1, 8, 12};\n System.out.println(solution(arr));\n }", "public static void main(String[] args) {\n\t\t\tSystem.out.println(Solution(5, 83));\n\t\t\t\n\t\t}", "public static void main(String[] args) {\n String problem = \"Herman\";\n\n // Assign string type variable to solution string\n String result = solution(problem);\n\n //Print solution result\n System.out.println(result);\n }", "public static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\t\tProblemSolver problemSolver = new ProblemSolver();\n\t\tproblemSolver.solveTheProblem(in, out);\t\t\n\t\tout.close();\t\t\n\t}", "public static void main(String[] args) {\n System.out.println(Arrays.toString(solution(\"\")));\n System.out.println(Arrays.toString(solution(\"abcdef\")));\n System.out.println(Arrays.toString(solution(\"HelloWorld\")));\n System.out.println(Arrays.toString(solution(\"abcde\")));\n System.out.println(Arrays.toString(solution(\"LovePizza\")));\n\n }", "public static void main(String[] args) \r\n {\r\n // TODO: Read the input from the user and call produceAnswer with an equation\r\n \tScanner in = new Scanner(System.in);\r\n \tString problem = in.nextLine();\r\n \tin.close();\r\n \tSystem.out.printf(\"Result: %s\" , produceAnswer(problem));\r\n }", "public static void main(String[] args) {\n\t\tint [] arr = {4,2,3,5};\r\n\t\tint [] answer = solution(arr);\r\n\t\tfor(int i=0;i<answer.length;i++)\r\n\t\t\tSystem.out.print(answer[i]+\" \");\r\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(Arrays.toString(solution(8, 1)));\r\n\t}", "public static void main(String[] args) {\n\r\n\t\t\r\n\t\tTest01 t = new Test01();\r\n\t\t\r\n\t\t//String st = \"1927\";\r\n\t\t//int in\t= 2;\t// n 개 제거\r\n\r\n\t\tString st = \"1231234\";\r\n\t\tint in\t= 3;\t\r\n\t\t\r\n\t\tString an = t.solution(st, in);\r\n\t\t\r\n\t\tSystem.out.println(an);\r\n\t}", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] arr = new int[4];\n for (int i = 0; i < 4; i++)\n arr[i] = sc.nextInt();\n \n Q1 q1 = new Q1();\n int[] answer = q1.solution(arr);\n \n for (int i = 0; i < answer.length; i++) {\n System.out.println(answer[i]);\n }\n }", "public static void main(String[] args) {\n System.out.println(solution(new int[]{3,1,2,4,3}));\n }", "public static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tStringBuilder answers = new StringBuilder();\n\n\t\tanswers.append(\"PERFECTION OUTPUT\\n\");\n\t\ttry\n\t\t{\n\t\t\tint value;\n\t\t\twhile (true)\n\t\t\t{\n\t\t\t\tvalue = in.nextInt();\n\t\t\t\tif (value == 0) break;\n\n\t\t\t\tanswers.append(solve(value));\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tanswers.append(\"END OF OUTPUT\");\n\n\t\tSystem.out.println(answers);\n\t}", "public static void main(String[] args) {\n\t\tint A[]={2,1,0,0,0};\r\n\t\tSystem.out.println(solution(A));\r\n\r\n\t}", "public static void main(String[] args) {\n\t\tint[] A = {51,31,43};\n\t\tSystem.out.println(solution(A));\n\n\t}", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\tint t = Integer.parseInt(br.readLine());\n\t\tint a = 0, b = 0;\n\t\tfor (int i = 0; i < t; i++) {\n\t\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\t\ta = Integer.parseInt(st.nextToken());\n\t\t\tb = Integer.parseInt(st.nextToken());\n\t\t\tbw.write(solution(a, b) + \"\\n\");\n\t\t}\n\t\tbw.flush();\n\t\tbw.close();\n\t}", "public static void main(String []args) throws IOException {\n\tFastScanner in = new FastScanner(System.in);\n\tPrintWriter out = \n\t\tnew PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)), false); \n\tsolve(in, out);\n\tin.close();\n\tout.close();\n }", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tString input = scanner.nextLine();\n\t\t\tSystem.out.println(solve(input));\n\t\t\t\n\t\t}\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tSolution s = new Solution();\n\t\ts.solution(2, 4, 2, 1);\n\t}", "public static void main(String[] args) {\n\t\tint arr[] = {9,3,9,3,9,7,9};\n\t\tSolution(arr);\n\t}", "public static void main(String[] args) {\n\t\tint[] A = { 1, 3, 2, 5, 4, 6, 5, 7 };\r\n\t\tint X = 5;\r\n\t\tSystem.out.println(solution(X, A));\r\n\t}", "public static void main(String[] args) {\n\t\tint A[]={1,3,1,4,2,3,5,4};\n\t\tint result=solution(5,A);\n\t\tSystem.out.println(result);\n\t}", "private void testSolution(String input, String output) {\n runs++;\n\n // Load the problem & solution\n ProblemSpec problemSpec = Solution.loadProblem(input);\n Solution solution = new Solution(problemSpec);\n\n // Solve and time the solution\n long startTime = System.currentTimeMillis();\n List<State> states = solution.solve();\n long endTime = System.currentTimeMillis();\n durations.put(input, endTime - startTime);\n\n // Output the solution\n Solution.writeSolution(Formatter.format(states), output);\n\n problemSpec = Solution.loadProblem(input, output);\n if (solutionPasses(problemSpec)) {\n passes++;\n }\n\n successes++;\n }", "public static void main(String[] args) {\n String name = \"ABAAABB\";\n\n System.out.println(solution(name));\n }", "public static void main(String[] args) {\n\r\n\t\tnew Main().sol();\r\n\t}", "public static void main(String[] args) {\n\t\tint nums[] = {0, 1, 0, 3, 12};\r\n\t\tsolution(nums);\r\n\t\tfor(int a:nums)\r\n\t\t\tSystem.out.println(a);\r\n\t}", "public static void main (String[] args)\n {\n\n int A[] ={ 1, 0, 8, 9, 20, 39};\n\n int res = solution2(A);\n\n\n }", "public static void main(String[] args) {\n System.out.println(solution(5, new int[]{1, 3, 1, 4, 2, 3, 5, 4})); // 6\n }", "public static void main(String[] args) {\n String str = \"The one-hour drama series Westworld is a dark odyssey about the dawn of artificial consciousness and the evolution of sin. Set at the intersection of the near future and the reimagined past, it explores a world in which every human appetite, no matter how noble or depraved, can be indulged.\";\n\n System.out.println(solution1(str));\n }", "public static void main(String[] args) {\n\tint[] a=\t {3, 8, 9, 7, 6};\r\n\ta=solution(a, 8);\r\n\t}", "public static void main(String[] args) {\n\t\tint[] arr= {6,9,5,7,4};\r\n\t\t//int[] arr= {3,9,9,3,5,7,2};\r\n\t\t//int[] arr= {1,5,3,6,7,6,5};\r\n\t\tint[] tmp=solution(arr);\r\n\t\tfor(int i=0;i<tmp.length;i++)\r\n\t\t\tSystem.out.print(tmp[i]+\" \");\r\n\t}", "public static void main(String[] args) {\n\r\n\t\tSystem.out.println(solution(\"ACACACA\"));\r\n\t}", "public static void main(String[] args) {\n Scanner ob = new Scanner(System.in);\n Solution solution = null;\n int testcases = ob.nextInt();\n ob.nextLine();\n for (int i = 0; i < testcases; i++) {\n String numsLine = ob.nextLine();\n String[] numsLineParts = numsLine.trim().split(\" \");\n int dimensions = Integer.valueOf(numsLineParts[0]);\n int numOperations = Integer.valueOf(numsLineParts[1]);\n solution = new Solution(dimensions);\n for (int j = 0; j < numOperations; j++) {\n String line = ob.nextLine();\n String[] lineParts = line.split(\" \");\n if (lineParts[0].equals(\"UPDATE\")) {\n solution.update(Integer.valueOf(lineParts[1])-1, Integer.valueOf(lineParts[2])-1, Integer.valueOf(lineParts[3])-1, Integer.valueOf(lineParts[4]));\n }\n if (lineParts[0].equals(\"QUERY\")) {\n solution.query(Integer.valueOf(lineParts[1])-1, Integer.valueOf(lineParts[2])-1, Integer.valueOf(lineParts[3])-1, Integer.valueOf(lineParts[4])-1, Integer.valueOf(lineParts[5])-1, Integer.valueOf(lineParts[6])-1);\n }\n }\n }\n }", "public static void main(String[] args) {\r\n\t\t\r\n\t\ttry{\r\n\t\t\tScanner sc= new Scanner(new File(inpPath));\t//new File(inpPath)\r\n\t\t\tPrintWriter out = new PrintWriter(new File(outPath));\r\n\t\t\tint cases = sc.nextInt();\r\n\t\t\tfor(int t=1;t<=cases;t++){\r\n\t\t\t\tsolve(t,sc,out);\r\n\t\t\t}\r\n\t\t\tout.flush();\r\n\t\t\tout.close();\r\n\t\t}catch(Exception ex){ex.printStackTrace();}\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\tlong n = 3;\n//\t\tlong n = 1;\n\t\tSystem.out.println(solution(n));\n\t\t\n\t}", "public static void main(String[] args) {\n\n\t\tint ar[] = { 7, 5, 4 };\n\n\t\tSystem.out.println(solution(ar));\n\n\t}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tArrayList<Integer> arr = new ArrayList<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarr.add(sc.nextInt());\n\t\t}\n\t\tint k = sc.nextInt();\n\t\tSolution sol = new Solution();\n\t\tSystem.out.println(sol.solve(arr, k));\n\t\tsc.close();\n\t}", "public static void main(String[] args) {\r\n\t\tint N=1;\r\n\t\tint[][] trust = {};\r\n\t\tSolution sol = new Solution();\r\n\t\tSystem.out.println(sol.findJudge(N, trust));\r\n\t}", "public static void main(String[] args) {\n\t\t\tint[] A = {1};\r\n\t\t\tSystem.out.println(solution(A, 6));\r\n\t}", "public static void main(String[] args) {\n\t\tint[] arr = {5,5,3,3,3,2,5};\n\t\tint[] result = solution(arr);\n\t\tfor(int n : result) {\n\t\t\tSystem.out.print(n + \" \");\n\t\t}\n\t}", "public static void main(String[] args) {\n\n\t\tsolution();\n\n\t\t// int maxDivisor = Divided.getMaxDivisor(1, 3);\n\t\t// System.out.println(\"maxDivisor:\" + maxDivisor);\n\n\t}", "public static void main (String args []) throws IOException\r\n\t{\n\t\tScanner in = new Scanner(new File(\"moo.in\"));\r\n\t\tPrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(\"moo.out\")));\r\n\t\tint n = in.nextInt();\r\n//\t\tSystem.out.println(solve(n,0));\r\n\t\tout.println(solve(n,0));\r\n\t\tout.flush();\r\n\t}", "public static void main(String[] args) {\n System.out.println(solution(\"1 + 2\"));\n System.out.println(solution(\"1 * 2 + 3\"));\n System.out.println(solution(\"1 + 2 * 3\"));\n System.out.println(solution(\"1 + 2 * 3 - 4 / 2 + 6 / 2 - 7\"));\n\n System.out.println(solution(\"1 + 2 * (3 * (1 + 2))\"));\n }", "public static void main(String[] args) {\r\n\t\tSolver m = new Solver();\r\n\t\t\r\n\r\n\r\n\t\ttry {\r\n\t\t\tm.readData(\"data/Test_case_1.in\");\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\r\n\t\tint answer = m.solve(\"data/Test_case_1.in\");\r\n\r\n\t\tSystem.out.println(answer);\r\n\t\t\r\n\r\n\r\n\t}", "private Solution() { }", "private Solution() { }", "public static void main(String[] args) {\n\t\tint[] number = new int[] {1, 1, 1, 1, 1};\n\t\tint target = 3;\n\t\t\n\t\tSolution s = new Solution();\n\t\tint result = s.solution(number, target);\n\t\tSystem.out.println(result);\n\t}", "Solution(){\n\n n = scanner.nextInt();\n scanner.skip(\"(\\r\\n|[\\n\\r\\u2028\\u2029\\u0085])?\");\n\n a = new int[n+1];\n\n \n for (int i = 1; i <= n; i++) {\n a[i] = scanner.nextInt();\n }\n Graph graph=new Graph(a);\n for(int i=0;i<n-1;i++) {\n \tint node1=scanner.nextInt();\n \tint node2=scanner.nextInt();\n \tgraph.addEdge(node1, node2);\n \t//System.out.println(node1+\" \"+node2);\n }\n //graph.dump();\n int q=scanner.nextInt();\n while(q-- > 0) {\n \tint u=scanner.nextInt();\n \tint d=scanner.nextInt();\n \tint k=scanner.nextInt();\n \t//System.out.println(\"u:\"+u+\" d:\"+d+\" k:\"+k);\n \tSystem.out.println(graph.DFS(u, d, k));\n }\n scanner.close();\n\t\t\n\t}", "public static void main(String[] args) {\n \r\n Scanner sc = new Scanner(System.in);\r\n ArrayList<Integer> digits = new ArrayList<Integer>();\r\n System.out.println(\"Enter the input\");\r\n int n = sc.nextInt();\r\n for (int i=1;i<=n;i++) {\r\n int digit = sc.nextInt();\r\n digits.add(digit);\r\n }\r\n int b = sc.nextInt();\r\n int c = sc.nextInt();\r\n int res = solve(digits, b, c);\r\n\r\n\r\n }", "public static void main(String[] args) {\n int[] nums = {3,2,4};\n solution s = new solution();\n System.out.println(Arrays.toString(s.twoSum(nums,6)));\n }", "public static void main(String[] args){\n int[] nums = {10, 15, 3, 7};\n System.out.println(solution2(nums, 17));\n System.out.println(solution2(nums, 25));\n System.out.println(solution2(nums, 11));\n }", "public static void main(String[] args) {\n\n\t\tint [] scoville= {1,2,3,9,10};\n\t\tint [] scoville2= {3,1,5,7,2};\n\n\t\tSystem.out.println(solution(scoville,10));\n\t}", "public static void main(String[] args) {\n\t\tint[] stones = {2, 4, 5, 3, 2, 1, 4, 2, 5, 1};\n\t\tint k = 3;\n\t\tSystem.out.println(solution(stones, k));\n\t}", "public static void main(String[] args) {\n\t\tint[][] maps = \n\t\t\t{\n\t\t\t\t\t{1,0,1,1,1},\n\t\t\t\t\t{1,0,1,0,1},\n\t\t\t\t\t{1,0,1,1,1},\n\t\t\t\t\t{1,1,1,0,1},\n\t\t\t\t\t{0,0,0,0,1}\n\t\t\t};\n\t\tSystem.out.println(solution(maps));\n\t}", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tSystem.out.print(\"Enter No. disks :\");\n\t\tint number=scan.nextInt();\n\t\tif(number<=0){\n\t\t\tSystem.out.println(\"Please Enter a Valid Number\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tint strSize=((int)Math.pow(2,number))-1;\n\t\tString str[]=new String[strSize];\n\t\tString result[]=new TowerOfHanoiSolution().getTOHSolution(number,\"A\",\"B\",\"C\",str);\n\t\tfor(int i=0;i<strSize;i++){\n\t\tSystem.out.println(result[i]);\n\t\t}\n\t\tscan.close();\n\t}", "public static void main(String[] args) {\n /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */\n Scanner sc = new Scanner(System.in);\n int cases = sc.nextInt();\n for(int i=0;i<cases;i++){\n \tString[] strArray = sc.next().split(\"\");\n\n \tString odd = \"\";\n \tString even = \"\";\n \t\n \tfor(int j=1;j<strArray.length;j++){\n \t\tif(j%2==0){\n\t\t\t\t\teven += strArray[j];\n \t\t}else{\n \t\t\todd += strArray[j];\n \t\t}\n \t\t\n \t}\n \t\n \tSystem.out.println(odd + \" \" + even);\n }\n }", "public static void main(String[] args) {\n\t\tint A[] = new int[5];\n\t\tA[0]=3;\n\t\tA[1]=1;\n\t\tA[2]=2;\n\t\tA[3]=4;\n\t\tA[4]=3;\n\t\tSolution s = new Solution();\n\t\tSystem.out.println(s.solution(A));\n\t}", "public static void main(String[] args) {\nAddNumbers a=new AddNumbers();\r\na.getInput();\r\na.addNumbers();\r\nint output=a.addNumbers();\r\nSystem.out.println(\"OUTPUT:\");\r\nSystem.out.println(\"The addition of n numbers is: \"+output);\r\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(solution(people, limit));\n\t}", "void solve(String result);", "public static void main(String[] args) {\n int input = 0;\n int armLength;\n int solution = 0;\n\n // get the puzzle input\n System.out.print(\"Please provide the puzzle input: \");\n input = new Scanner(System.in).nextInt();\n\n /// PART 1\n // figure out which spiral input is on to calculate distance on one axis\n armLength = SpiralUtils.lengthOfSprialArm(input);\n solution = (armLength - 1) / 2;\n\n // find the midpoints of the spiral the input is on\n List<Integer> midpoints = SpiralUtils.midpointsOfSprialArm(armLength);\n\n // calculate the smallest distance from any midpoint to our input for other access\n solution += SpiralUtils.smallestDistanceFromMidpoints(input, midpoints);\n\n System.out.println(\"The solution to part 1 is: \" + solution);\n\n /// PART 2\n // this part is less elegant, as I'm just going to create the spiral instead of run calculations\n System.out.println(\"The solution to part 2 is: \" + SpiralUtils.spiralUntilAtLeast(input));\n }", "public<P extends Problem, S extends Solution> S solve(P problem, Class<P> problemClass, Class<S> solutionClass);", "public static void main(String[] args) {\n\n String test5 = \"abracadabra\";\n System.out.println(answer(test5));\n\n }", "public static void main(String[] args) throws IOException {\n\t\tin = new Scanner(new File(\"square.in\"));\n\t\tout = new PrintWriter(new File(\"square.out\"));\n\t\t\n\t\tinit();\n\t\tsolve();\n\t\t\n\t\tin.close();\n\t\tout.close();\n\t}", "private void generateSolution() {\n\t\t// TODO\n\n\t}", "public static void main(String[] args) {\n\t\tint [] a= {4,3,2,1};\r\n\t\tfor(int i:solution(a)) System.out.println(i);\r\n\t}", "public static void main(String[] args) {\n Homework1 hw1 = new Homework1();\n\n System.out.println(\"===Problem 1===\");\n hw1.problem1();\n\n System.out.println(\"===Problem 2===\");\n System.out.println(hw1.topInt(1.5));\n System.out.println(hw1.topInt(5.1));\n System.out.println(hw1.topInt(1.0));\n System.out.println(hw1.topInt(-4.2));\n\n\n System.out.println(\"===Problem 3===\");\n hw1.draw4x4('-');\n hw1.draw4x4('4');\n\n System.out.println(\"===Problem 4===\");\n System.out.println(hw1.citationName(\"Alastair\", \"Reynolds\"));\n System.out.println(hw1.citationName(\"Grace\", \"Hopper\"));\n\n System.out.println(\"===Problem 5===\");\n System.out.println(String.valueOf(hw1.min3(1.0, 2.0, 3.0)));\n System.out.println(String.valueOf(hw1.min3(4.0, 3.0, 2.0)));\n System.out.println(String.valueOf(hw1.min3(0.5, 0.1, 0.5)));\n \n System.out.println(\"===Problem 6===\");\n System.out.println(hw1.fibonacci(0));\n System.out.println(hw1.fibonacci(1));\n System.out.println(hw1.fibonacci(2));\n System.out.println(hw1.fibonacci(3));\n System.out.println(hw1.fibonacci(10));\n System.out.println(hw1.fibonacci(25));\n \n \n System.out.println(\"===Problem 7===\");\n //System.out.println(hw1.isPalindrome(\"racecar\"));\n //System.out.println(hw1.isPalindrome(\"cat\"));\n //System.out.println(hw1.isPalindrome(\"hannah\"));\n //System.out.println(hw1.isPalindrome(\"saippuakivikauppias\"));\n }", "public static void main(String[] args) {\n\t\tSolution s = new Solution();\n\t\tint[] nums = {4,5,6,7,0,1,2};\n\t\tSystem.out.println(s.search(nums, 0));\n\t}", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(in.readLine());\n\t\tSystem.out.println((1<<n)-1);\n\t\tsolve(n,1,3);\n\t}", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in); \r\n\t\twhile(sc.hasNext()){\r\n\t\t\tint x=sc.nextInt();\r\n\t\t\tint y=sc.nextInt();\r\n\t\t\tint result=getResult(x,y);\r\n\t\t\tSystem.out.println(result);\r\n\t\t\t\r\n\t\t}\r\n\t}", "public static void main(String[] args) throws Exception\n\t{\n\t\tBufferedReader br = new BufferedReader(new FileReader(\"input6.txt\"));\n\t\tSystem.setOut(new PrintStream(new File(\"output.txt\")));\n\n\t\tsolve(br);\n\t}", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tsolve();\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb=new StringBuilder();\nwhile(true){\n\tint K=Integer.parseInt(br.readLine());\n\tif(K==-1)break;\n\tsb.append(calculate[K]+\"\\n\");\n}\n\tSystem.out.println(sb);\n\t}", "public static void main(String[] args) throws IOException {\n\t\tSalesmanTour ss = new SalesmanTour();\n\t\tss.input();\n\t\tSystem.out.println(ss.solve());\n\t}", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tn = in.nextInt(); r = in.nextInt(); c = in.nextInt();\n\t\tint size = 1;\n\t\tfor (int i = 1; i <= n; i++) size *= 2;\n\t\tSystem.out.print(sol(0, 0, size));\n\t}", "public static void main(String[] args) {\n\t\tint num = Solve(5);\n\t\tint num2 = Solve2(5);\n\t\tSystem.out.println(num);\n\t\tSystem.out.println(num2);\n\t}", "public static void main(String[] args) {\n\t\tSolution sol = new Solution();\n\t\tsol.test();\n\t}", "public static void main(String[] args) {\n Solution app = new Solution();\n System.out.println(app.getPermutation(4, 5));\n }", "public static void main(String[] args) throws IOException {\n\t\tString task = \"palsquare\"; //XXX change this\n\t\tString path = !TESTING ? task + \".in\"\n\t\t\t\t: System.getProperty(\"user.dir\") + File.separator + \"src\" + File.separator + \"test.in\";\n\t\tInputReader in = new InputReader(new FileInputStream(path));\n\t\tPrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(task + \".out\")));\n\t\tsolve(in, out);\n\t\tout.close();\n\t}", "public static void main(String[] args) {\n\t\tSolution a = new Solution();\n\t\tint[] testCase = {1};//{2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,1,2};//{0,0,0,0,0,0,0,0,0,1,2,0,0};\n\t\tboolean result = a.search(testCase, 1);\n\t\tSystem.out.printf(\"ans = \"+result);\n\t}", "public static void main(String[] args) {\nMethods2 methods=new Methods2();\nSystem.out.println(methods.getMax(12,155));\n//double res=getMaxWithoutReturn(2,13);VOID METHOD DOES not return cant store in variable\nScanner scan=new Scanner(System.in);//return methods \n//scanner class returns and allow us to print by storing in another variable \n\t}", "public static void main(String[] args) {\n\t\tFactorialusingrecursion f=new Factorialusingrecursion();\n\t\tScanner input=new Scanner(System.in);\n\t\tSystem.out.println(\"enter the number to get the factorial:\");\n\t\tint a=input.nextInt();\n\t\tint ans=factorial(a);\n\t\tif(ans>=1){\n\t\tSystem.out.println(\"The factorial of\"+\" \"+a+\" \"+\"is\"+\" \"+ans);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"please write correct number\");\n\t\t}\n\t\t\n\t\t\t\t\n\n\t}", "public static void main(String[] args) {\n\t\tSolution s = new Solution();\r\n\r\n\t\t\r\n\t\tBoolean result = s.isValid(\"()[]{p}\");\r\n\t\tSystem.out.println(result);\r\n\t\tSystem.out.println(\"done\");\r\n\t}", "public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\r\n System.out.print(BinaryReversalMethod(s.nextLine()));\r\n s.close();\r\n }", "public static void main(String[] args) {\n int[] grades = {73,67,38,33};\n// for(int grades_i=0; grades_i < n; grades_i++){\n// grades[grades_i] = in.nextInt();\n// }\n int[] result = solve(grades);\n for (int i = 0; i < result.length; i++) {\n System.out.print(result[i] + (i != result.length - 1 ? \"\\n\" : \"\"));\n }\n System.out.println(\"\");\n \n\n }", "public static void main(String[] args) throws IOException {\n br = new BufferedReader(new FileReader(\"input.txt\"));\r\n\r\n int T = nextInt();\r\n for (int t = 1; t <= T; t++) {\r\n nextInt();\r\n int X = nextInt();\r\n String lString = nextToken();\r\n\r\n StringBuilder s = new StringBuilder();\r\n for (; X > 0; X--) s.append(lString);\r\n char[] arr = s.toString().toCharArray();\r\n String soln = solve(arr) ? \"YES\" : \"NO\";\r\n\r\n System.out.printf(\"Case #%d: %s%n\", t, soln);\r\n }\r\n }", "public static void main(String[] args) {\n\t\tSolution test = new Solution();\n\t\tSystem.out.println(test.isPalindrome(\"A man, a plan, a canal: Panama\"));\n\t\t\n\t}", "public static void main(String[] args) {\n\t\tString number = \"777777\";\n\t\tint k = 2;\n\t\t\n\t\t//solution(number, k, 0, \"\", 0);\n\t\tsol(number, k);\n\t\t\n\t}", "public static void main(String[] args) {\n Last_coding_exercises.task17();\n\n\n }", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tArrayList<String> problems = new ArrayList<>();\n\t\t\n\t\t\n\t\tint noOfInputs = Integer.parseInt(in.nextLine());\n\t\t\n\t\tfor(int x=0; x<noOfInputs; x++) {\n\t\t\tproblems.add(in.nextLine());\n\t\t}\n\t\tin.close();\n\t\t\n\t\tfor(String p : problems) {\n\t\t\tint no = getFibonacciIndex(p);\n\t\t\t//System.out.print( no + \"\\n\\t\" + p + \"\\n\\t\" + getFib(no) + \"\\n\" );\n\t\t\tSystem.out.print(no + \" \");\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}", "public static void main(String[] args) {\n\t\tsolve(8, 3);\r\n\t\tsolve(2, 4);\r\n\t\tsolve(3, 2);\r\n\t}", "public static void main(String[] args) {\n\t\tSolution s = new Solution();\n\t\t//char[][] test = {{'O','O','O'},{'O','X','O'},{'O','O','O'}};\n\t\tchar[][] test = {{'X','O','X','X'},{'O','X','O','X'},{'X','O','X','O'},{'O','X','O','X'},{'X','O','X','O'}};\n\t\tfor(int i = 0;i < test.length;i++){\n\t\t\tfor(int j = 0;j < test[0].length;j++){\n\t\t\t\tSystem.out.print(test[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tSystem.out.println();\n\t\ts.solve(test);\n\t\tfor(int i = 0;i < test.length;i++){\n\t\t\tfor(int j = 0;j < test[0].length;j++){\n\t\t\t\tSystem.out.print(test[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "private Solution() {\n\n }", "public static void main(String[] args) {\n Solution s = new Solution();\n System.out.println(s.letterCombinations(\"67\").toString());\n\n }", "@Override\n public void handleSolution(String solution,long time) {\n \n }", "public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true)\n {\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int d = Integer.parseInt(str[1]);\n if(n == 0 && d == 0)\n return;\n /*\n else if(n == 1)\n System.out.println(1);\n */\n /*\n else if(d == 0)\n {\n System.out.println(n);\n }\n */\n else\n {\n josephus(n,d);\n }\n /*\n else\n {\n head = null;\n end = null;\n createList(n);\n func(n,d);\n }\n */\n }\n }" ]
[ "0.7480491", "0.7144402", "0.71346366", "0.7088926", "0.7065908", "0.7056964", "0.70365494", "0.7008505", "0.698203", "0.69500643", "0.6860463", "0.68571985", "0.6836215", "0.6793387", "0.6763109", "0.6737346", "0.67308205", "0.6706409", "0.6700606", "0.66883624", "0.66307694", "0.6603449", "0.65984774", "0.65755683", "0.6560859", "0.6554549", "0.6533818", "0.6502026", "0.6488154", "0.64750713", "0.64689684", "0.64570534", "0.64557445", "0.6453807", "0.64355516", "0.642665", "0.64232713", "0.63920563", "0.6391767", "0.6384798", "0.63655496", "0.63620174", "0.6356217", "0.63525724", "0.63477623", "0.6342308", "0.63409144", "0.6333421", "0.63299257", "0.6329237", "0.63137656", "0.63137656", "0.6303478", "0.63024557", "0.62874013", "0.6271195", "0.6249101", "0.6227649", "0.6214774", "0.62002504", "0.6197463", "0.61964643", "0.6188213", "0.6187779", "0.6186669", "0.61844254", "0.61809266", "0.6176468", "0.6168192", "0.616592", "0.61657363", "0.61445117", "0.6139662", "0.61305743", "0.61240095", "0.6121306", "0.6115013", "0.6110622", "0.6108284", "0.6104093", "0.60898614", "0.6084604", "0.6083428", "0.60669535", "0.60659903", "0.6064964", "0.60551184", "0.6052234", "0.60462964", "0.6045276", "0.60445017", "0.60439426", "0.6038105", "0.60296154", "0.60254806", "0.60150063", "0.6014126", "0.6000374", "0.5999153", "0.59989893", "0.59936696" ]
0.0
-1
TODO Autogenerated method stub
public WebDriver getDriver() { return this.driver; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
HomePage hs= new HomePage(); hs.tearDown();
public void closeWindow() throws Exception { this.driver.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HomePageTest(){\n\t\tsuper();\n\t}", "void tearDown();", "void tearDown();", "@Test\n public void testHomePage() throws Exception {\n }", "@Override\r\n protected void tearDown() {\r\n // nothing yet\r\n }", "@Override\n public void tearDown(){\n }", "public abstract void tearDown();", "public void tearDown() {\n }", "@Override\r\n public void tearDown() {\n\r\n }", "protected void tearDown() {\n // empty\n }", "protected void tearDown()\n {\n }", "protected void tearDown()\n {\n }", "@Override\n public void tearDown() {\n }", "@Override\n public void tearDown() {\n }", "@Override\n public void tearDown() {\n }", "@Override\n public void tearDown() {\n // No action required\n }", "@Override\n protected void tearDown() {\n }", "@BeforeMethod\n\tpublic void setUp(){\n\t\tinitialization();\n\t\tloginPage=new LoginPage();\n\t\thomePage=loginPage.login(props.getProperty(\"username\"), props.getProperty(\"password\"));\n\t}", "@Test\n\tpublic void homepage()\n\t{\n\t//WebDriver driver = null;\n\t\t//Welcome_MurcuryTours wt=PageFactory.initElements(driver,Welcome_MurcuryTours.class);\n\t\tWelcome_MurcuryTours wt=PageFactory.initElements(driver, Welcome_MurcuryTours.class);\n\twt.signOn();\n\tdriver.navigate().back();\n\twt.register();\n\t\n\t}", "protected void tearDown() throws Exception {\n }", "@Override\n\tpublic void tearDown() {\n\t}", "protected void tearDown() {\n\t}", "public void tearDown() {\n tearDown(true);\n }", "@AfterMethod\n\tpublic void tearDown() {\n\n\t\tlogger.info(\"Inside the tearDown() method for Index/Home page class...\");\n\n\t\tlogger.info(\"Logging out of the application...\");\n\t\tmainPageObj.clickLogoutLink();\n\n\t\tmainPageObj = null;\n\t\tloginPageObj = null;\n\n\t\tdriver.quit();\n\t\t\n\t\tlogger.info(\"Exiting the tearDown() method for Index/Home page class \\n\\n\");\n\t}", "abstract void tearDown() throws Exception;", "@Test\n public void validateHomePageTest() {\n HomePage homePage = new HomePage(getDriver());\n log.info(\"RUN AUTOTEST TO VALIDATE HOMEPAGE\");\n homePage\n .goToHomePage_method()\n .validateHomePage();\n }", "@Override\n protected void tearDown() throws Exception {\n\n }", "@After\r\n\tpublic void teardown() throws FindFailed {\r\n\t\t//TODO: check if not LoginPage is displayed > then\r\n\t\tnew HomePage(s).logOut();\r\n\t\tSystemActions.closeClient(app);\r\n\t}", "@Override\n public void tearDown() throws Exception {}", "@Override\n public void test_tearDown() throws Exception {\n UiBinderContext.disposeSharedGWTState();\n super.test_tearDown();\n }", "@AfterMethod //Test cases to be independenent with each other \n\tpublic void tearDown() {\n\t\tdriver.quit(); //after each test case---- close the browser\n\t}", "@After\n public void tearDown(){\n }", "@After\n public void tearDown(){\n }", "@After\n public void tearDown() {\n \n }", "@Override\n\tpublic void homeTestRun() {\n\t\t\n\t}", "@Test\n public void searchPageTest (){\n searchPage=new SearchPage();\n\n // loginPage.goToLoginPage();\n // loginPage.login();\n searchPage.searchKeysFromHeader(\"İphone\");\n searchPage.searchResultPage(\"İphone\");\n\n}", "@After\r\n public void tearDown()\r\n {\r\n }", "@After\r\n public void tearDown()\r\n {\r\n }", "@After\r\n public void tearDown()\r\n {\r\n }", "@After\r\n public void tearDown()\r\n {\r\n }", "@AfterTest\r\n public void tearDown() {\n }", "@After\n\tpublic void tearDown() {}", "@AfterMethod\n public void tearDown(){\n }", "public HomePage(){\r\n\tPageFactory.initElements(driver, this);\t\r\n\t}", "@After\r\n\tpublic void tearDown() {\n\t}", "@BeforeMethod\n\tpublic void setUp() {\n\t\tinitialization();\n\t\tloginPage = new LoginPage();\n\n\t\thomePage = loginPage.login(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\n\n\t\tSystem.out.println(\"Logged in successfully\");\n\n\t}", "@AfterClass\n\tpublic void teardown(){\n\t}", "public LoginPageTest()\n\t{\n\t\tsuper();\n\t}", "@After\n public void tearDown() {\n \n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n public void tearDown()\n {\n }", "@After\n\tpublic void tearDown() {\n\n\t}", "@AfterClass\n public static void tearDownClass() {\n }", "@AfterClass\n public static void tearDownClass() {\n }", "public LoginPageTest()\n\t{\n\t\tsuper(); // calling TestBase Constructor\n\t}", "@After\n public void tearDown() {\n }", "@After\n public void tearDown() {\n }", "@After\n public void tearDown() {\n }", "@After\n public void tearDown() {\n }", "@After\n public void tearDown() {\n }", "@After\n public void tearDown () {\n }", "@After\n public void tearDown() {\n }", "protected void tearDown() throws Exception {\r\n super.tearDown();\r\n }", "@After\n\t\t public void tearDown() throws Exception {\n\t\t\t testHelper.tearDown();\n\t\t }", "@Test\n public void check_Login_Success() {\n lPage = new LoginPage(webDriver);\n lPage.login(\"admin\",\"admin\");\n hPage = new HomePage(webDriver);\n String loginText = hPage.getHomePageText();\n assertEquals(\"Congratulations!\",loginText);\n }", "@BeforeMethod\n\tpublic void setUp()\n\t{\n\t\tdriver = utilities.WebDriverFactory.Open(\"chrome\");\n\t\tdriver.get(webUrl);\n\t\tdashboardPage = new DashboardPageObject(driver);\n\t\t\n\t}", "public CheckOutPageTest()\n\t{\n\t\tsuper();\n\t}", "@BeforeMethod\n\tpublic void setup()\n\t{\n\t\tinitialization();\n\t\tlogin_page=new Loginpage();\n\t\thome_page=login_page.verifylogin(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\t\n\t}", "@After\n public void tearDown() throws Exception{\n }", "@AfterClass\n\tpublic static void tearDown() throws Exception {\n\t\tCommon.removeCompany(driver,clientSetting.companyCode.getDatas().get(\"common\"));\n\t\tdriver.findElement(By.xpath(topPage.returnDashboard.xpath)).click();\n\t\tThread.sleep(3000);\n\t}", "@After\n public void tearDown() {\n GWTMockUtilities.restore();\n }", "@Test\n public void clickFaqLink() {\n homePage.clickAboutLink().clickFaqLink();\n }", "protected void tearDown() throws Exception {\n super.tearDown();\n }", "@BeforeClass\n public void beforeTest(){\n LoginRegistrationPage loginRegistrationPage = new LoginRegistrationPage(getDriver());\n homePage = loginRegistrationPage.loginFormFillAndSubmit(\"[email protected]\", \"edcvfr789\");\n Assert.assertTrue(homePage.isPageLoaded());\n }" ]
[ "0.79177046", "0.7425145", "0.7425145", "0.73681414", "0.73617655", "0.73108256", "0.73054916", "0.72892046", "0.7270408", "0.72546697", "0.7254145", "0.7254145", "0.72385144", "0.72385144", "0.72385144", "0.7235003", "0.7209404", "0.7208037", "0.7197447", "0.7163827", "0.7159914", "0.714344", "0.71278876", "0.7124335", "0.7011331", "0.6961616", "0.69573736", "0.69368523", "0.69344074", "0.6898157", "0.68584687", "0.6846437", "0.6846437", "0.6826119", "0.68246526", "0.680974", "0.6797009", "0.6797009", "0.6797009", "0.6797009", "0.6789484", "0.6777408", "0.6774904", "0.67605823", "0.6758472", "0.67489845", "0.67187697", "0.6718736", "0.6715262", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.6711987", "0.67089576", "0.6697141", "0.6697141", "0.6695231", "0.6690796", "0.6690796", "0.6690796", "0.6690796", "0.6690796", "0.6688816", "0.66618216", "0.6656831", "0.66522926", "0.6651054", "0.66456264", "0.6643336", "0.6638709", "0.66356546", "0.6634146", "0.66166556", "0.6614147", "0.66117316", "0.6607437" ]
0.0
-1
interfaccia definita per le classi che gestiscono la prenotazione
public interface Prenotazione<T extends Model> { /** * consente di prenotare un volo * @param listToAdd lista di elementi da prenotare * @param idVolo id del volo da prenotare * @return id gruppo / id pallet prenotati * @throws FlightNotFoundException volo non trovato * @throws SeatsSoldOutException volo pieno */ public abstract ObjectId[] prenota(List<T> listToAdd, ObjectId idVolo) throws FlightNotFoundException, SeatsSoldOutException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public void inizializza() {\n\n /* invoca il metodo sovrascritto della superclasse */\n super.inizializza();\n\n }", "public void consulterClassement() {\n\t\t\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "private UsineJoueur() {}", "private DittaAutonoleggio(){\n \n }", "protected FanisamBato(){\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "private ControleurAcceuil(){ }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public Final_parametre() {\r\n\t}", "public AntrianPasien() {\r\n\r\n }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public MijnKlasse()\r\n\t\t{\r\n\t\t\tmijnMethode();\r\n\t\t}", "public FiltroMicrorregiao() {\r\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "Petunia() {\r\n\t\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public DetArqueoRunt () {\r\n\r\n }", "@Override\n public void perish() {\n \n }", "public Cgg_jur_anticipo(){}", "@Override\n\tpublic void verkaufen() {\n\t}", "protected Asignatura()\r\n\t{}", "private void procedureBasePrDessin(){\n if(courante == null){\n reset();\n courante = new Tortue(simpleLogo.getFeuille(), true);\n simpleLogo.setBarreOutilsVisible(true);\n }\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "public VotacaoSegundoDia() {\n\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tpublic void recreo() {\n\n\t}", "void berechneFlaeche() {\n\t}", "@Override\r\n\tprotected void initVentajas() {\n\r\n\t}", "public Clade() {}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public OOP_207(){\n\n }", "public final void nonRedefinissableParEnfant(){\n\n }", "@Override\r\n\tpublic void loeschen() {\r\n//\t\tsuper.leuchterAbmelden(this);\r\n\t\tsuper.loeschen();\r\n\t}", "@Override // opcional\n public void init(){\n\n }", "protected Doodler() {\n\t}", "public SlanjePoruke() {\n }", "public Empfänger() {\t\t\t\t\t// std. Konstruktor\r\n\t\t}", "public CapteurEffetHall() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "public AfiliadoVista() {\r\n }", "private TMCourse() {\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public Sobre() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "@Override\n protected void getExras() {\n }", "@SuppressWarnings(\"unused\")\n private RundenZielSpeicher() {\n Log.d(TAG, \"RundenzielSpeicher unused.\");\n }", "public Caso_de_uso () {\n }", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "public MnjMfgFabinsProdLEOImpl() {\n }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "public TipoPrestamo() {\n\t\tsuper();\n\t}", "public Destruir() {\r\n }", "public void init() {\r\n\t\t// to override\r\n\t}", "private GestionTour() {}", "private Infer() {\n\n }", "@Override\r\n public void salir() {\n }", "private stendhal() {\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public Pila () {\n raiz=null; //Instanciar un objeto tipo nodo;\n }", "@Override\n\tvoid geraDados() {\n\n\t}", "public cola_de_un_banco(){// se crea nuestro metodo costructor \r\n primero=null;//se crea el tipo de indicaciones con valor a null\r\n ultimo=null;\r\n}", "@Override\n public void memoria() {\n \n }", "@Override\n\tvoid desligar() {\n\t\tsuper.desligar();\n\t\tSystem.out.println(\"Automovel desligando\");\n\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "private zza.zza()\n\t\t{\n\t\t}", "@Override\n\tpublic void imprimir() {\n\t\t\n\t}", "public Alojamiento() {\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "public void Exterior() {\n\t\t\r\n\t}", "public SuperRodada(){\n this.pontos_em_disputa=0;\n this.truco=false;\n this.Desafiante=null;\n this.addPontosEmDisputa(2);\n Game game = Game.getGame();\n DonoDoBaralho=(DonoDoBaralho==null)?game.getDupla(1).getJogadorA():this.proximoAJogar(DonoDoBaralho);\n \n }", "@Override\n\tpublic void iniciar() {\n\t\t\n\t}", "public RptPotonganGaji() {\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "public Listas_simplemente_enlazada(){\r\n inicio=null; // este constructor me va servir para apuntar el elemento\r\n fin=null;\r\n }", "public Pitonyak_09_02() {\r\n }", "public Pasien() {\r\n }", "public Husdjurshotell(){}", "@Override\n\tpublic void detalhar() {\n\t\t\n\t}", "@Override\n\tpublic void desligar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n void init() {\n }", "ClaseColas() { // Constructor que inicializa el frente y el final de la Cola\r\n frente=0; fin=0;\r\n System.out.println(\"Cola inicializada !!!\");\r\n }", "public PregledPoruka() {\n preuzmiMape();\n preuzmiPoruke();\n }", "public ControllerProtagonista() {\n\t}", "public Supercar() {\r\n\t\t\r\n\t}", "protected void init() {\n // to override and use this method\n }", "@Override\n public void init() {\n\n super.init();\n\n }", "public MainDefragClass() {\n\tparameters = new Parameter_Provider_for_ILP();\n\tgurobi_defrag_Obj = new GurobiObj_for_defrag(parameters);\n\tilpTrue= gurobi_defrag_Obj.minimize_utilization_cost();\n maxSlotList= gurobi_defrag_Obj.getMaxIndexSlotForAllDemand();\n\treconfigure = new Reconfigure();\n reconfigure.setTheConnectionToNewLightpath(maxSlotList);\n // public boolean getIfILPcanReconfigure(){return ilpTrue;}\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autInitProcess() {\n\t\t\t\t\r\n\t\t\t}" ]
[ "0.73683953", "0.71363765", "0.7051481", "0.6936704", "0.69046956", "0.68797046", "0.683378", "0.6758708", "0.6685709", "0.66771966", "0.667643", "0.66500205", "0.66450226", "0.6623129", "0.6546136", "0.6546136", "0.6540814", "0.6534815", "0.6518603", "0.6506215", "0.650613", "0.6485174", "0.64626634", "0.6461133", "0.64584655", "0.6451452", "0.6448482", "0.64442676", "0.6444225", "0.6437536", "0.64336455", "0.6427543", "0.64247453", "0.64146394", "0.64110017", "0.6408917", "0.6399576", "0.6392369", "0.636949", "0.63592774", "0.6354102", "0.6339442", "0.6338286", "0.63341177", "0.63318455", "0.6307488", "0.63027114", "0.6300237", "0.6274671", "0.62679434", "0.6261292", "0.62601674", "0.6259324", "0.6256533", "0.625468", "0.62527937", "0.6252534", "0.62499154", "0.6248615", "0.6246275", "0.624179", "0.62412363", "0.6240396", "0.6236968", "0.6233967", "0.6230569", "0.62269187", "0.6211401", "0.62048656", "0.62022877", "0.6199176", "0.61986136", "0.6198591", "0.61953306", "0.6194573", "0.6189692", "0.61805063", "0.6175995", "0.6167225", "0.6162577", "0.6162577", "0.6162577", "0.61625206", "0.615502", "0.6148423", "0.614426", "0.6143215", "0.6142771", "0.61408836", "0.6137539", "0.6134805", "0.61322105", "0.6129207", "0.6123662", "0.6116923", "0.6116535", "0.61135143", "0.611329", "0.61092645", "0.61092645", "0.61092645" ]
0.0
-1
consente di prenotare un volo
public abstract ObjectId[] prenota(List<T> listToAdd, ObjectId idVolo) throws FlightNotFoundException, SeatsSoldOutException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di friggere un uovo\";\r\n }", "public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }", "@Override\r\n\tpublic void alterar(Telefone vo) throws Exception {\n\t\t\r\n\t}", "public void naplnVrcholy() {\r\n System.out.println(\"Zadajte pocet vrcholov: \");\r\n pocetVrcholov = skener.nextInt();\r\n for (int i=0; i < pocetVrcholov; i++) {\r\n nekonecno = (int)(Double.POSITIVE_INFINITY);\r\n if(i==0) { //pre prvy vrchol potrebujeme nastavit vzdialenost 0 \r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu, 0, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n } else { //ostatne budu mat nekonecno alebo v tomto pripade 9999 (lebo tuto hodnotu v mensich grafoch nepresiahnem)\r\n String menoVrcholu = Character.toString((char)(i+65)); //pretipovanie int na String, z i=0 dostanem A\r\n Vrchol vrchol = new Vrchol(menoVrcholu,nekonecno, \"\"); //vrcholu nastavim vzdialenost a vrcholPrichodu \r\n vrcholy.add(vrchol);\r\n }\r\n }\r\n }", "void novyVrchol(String klic){\n\t\tVrchol pom = new Vrchol(klic,'B');\n\t\t\n\t\tvrchP[pocet] = pom;\n\t\tpocet++;\n\t\n\t}", "public void pridejNovePivo ()\n\t{\n\t\n\t\tpivo = pivo + PRODUKCE;\n\t\t\n\t}", "public void backTrack (){\n LinkedList<Integer> v = new LinkedList<> (); //Lista de vecinos.\n boolean mover = false;\n int r = 0;\n while (!mover && v.size () < 4){\n r = rnd.nextInt (4);\n\t\t//Hay un vecino disponible.\n\t\t//Nos podemos mover.\n if (vecinoDisponible (r))\n\t\t mover = true;\n if (!v.contains (r))\n v.add (r);\n\t }\n\t if (mover){\n\t\t//Nos movemos a la siguiente dirección.\n\t\ttumbaMuros (r);\n\t\tmoverLaberinto (r);\n\t }else if (!p.empty ()){\n\t\t//Nos movemos a la celda previa\n\t\t//pues no hay vecnos a los que movernos\n\t\tCelda a = p.pop ();\n\t\tt.posY = a.celdaY;\n\t\tt.posX = a.celdaX; \n\t }\n \n terminado = p.isEmpty();\n\t}", "public ConversorVelocidad() {\n //setTemperaturaConvertida(0);\n }", "@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di cuocere il pollo\";\r\n }", "public void avvia() {\n /* variabili e costanti locali di lavoro */\n\n try { // prova ad eseguire il codice\n getModuloRisultati().avvia();\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n super.avvia();\n\n }", "public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}", "public void rodar(){\n\t\tmeuConjuntoDePneus.rodar();\r\n\t}", "private String nalozZvieraNaVozidlo() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz cislo zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Prepravitelny z = (Prepravitelny) zoo.getZvierataZOO(pozicia - 1);\r\n zoo.nalozZivocicha(z);\r\n zoo.odstranZivocicha(pozicia - 1);\r\n return \"Zviera \" + z + \"\\n\\tbolo nalozene na prepravne vozidlo\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nemozno prepravit\\n\\t\";\r\n } catch (NullPointerException exNP) {\r\n return \"Zviera c. \" + pozicia + \" nie je v ZOO\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }", "public void VaciarPila()\n {\n this.tope = 0;\n }", "@Override\n public void interagit() {\n super.interagit();\n ArrayList<EtreVivant> cibles = this.ciblesPotentiellesAdjacentes(this.getPosition(),this.nombreVoisins);\n cibles.stream().filter((vivants) -> (vivants.getEtat().equals(EtatEtreVivant.MALADE))).forEach((vivants) -> {\n this.soigne(vivants);\n });\n }", "public void somaVezes(){\n qtVezes++;\n }", "private void iniciarNovaVez() {\n this.terminouVez = false;\n }", "public void restarPunto ( ) {\n\t\tif ( vida > 0 )\n\t\t\tvida--;\n\t}", "@Override\n\tpublic void sortir() {\n\t\tif (!estVide()) {\n\t\t\tTC next = getProchain();\t\t\t\t//On recupere le prochain\n\t\t\tsalle.get(next.getPrio()).remove(next);\t//Antinomie de entrer\n\t\t}\n\t}", "public static void proveraServisa() {\n\t\tSystem.out.println(\"Unesite redni broj vozila za koje racunate vreme sledeceg servisa:\");\n\t\tUtillMethod.izlistavanjeVozila();\n\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\tif (redniBroj < Main.getVozilaAll().size()) {\n\t\t\tif (!Main.getVozilaAll().get(redniBroj).isVozObrisano()) {\n\t\t\t\tUtillMethod.proveraServisaVozila(Main.getVozilaAll().get(redniBroj));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Ovo vozilo je obrisano i ne moze da se koristi!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t}\n\t}", "@Override\n public void paso0() {\n n = graph.getNodeIndices().indexOf(actual);\n nodo = graph.getNodes().get(n);\n nodo.setEstado(Node.State.CURRENT);\n nodo.pintarNodo(g);\n // comprueba si es objetivo\n if (nodo.getEsObjetivo()) {\n // establece el objetivo encontrado\n miObjetivo = nodo.toString();\n // termina con exito\n Step = 4;\n } else {\n // se prepara para explorar los sucesores\n m = nodo.maxSucesores();\n j = 0;\n // siguiente paso\n Step = 1;\n }\n }", "@Override\r\n\tprotected void initVentajas() {\n\r\n\t}", "public void pretraziPoslovneKorisnike() throws BazaPodatakaException {\r\n\t\tString naziv = nazivTF.getText().toLowerCase();\r\n\t\tString web = webTF.getText().toLowerCase();\r\n\t\tString email = emailTF.getText().toLowerCase();\r\n\t\tString telefon = telefonTF.getText();\r\n\r\n\t\tList<PoslovniKorisnik> listaKorisnika = BazaPodataka.dohvatiPoslovnogKorisnikaPremaKriterijima(email, telefon,\r\n\t\t\t\tnaziv, web);\r\n\t\ttablicaPoslovnihKorisnika.setItems(FXCollections.observableArrayList(listaKorisnika));\r\n\r\n\t}", "private void procedureBasePrDessin(){\n if(courante == null){\n reset();\n courante = new Tortue(simpleLogo.getFeuille(), true);\n simpleLogo.setBarreOutilsVisible(true);\n }\n }", "public void moverArriba() {\n estado = EstadosPersonaje.QUIETO;\n mover(new Vector2(0, 1));\n }", "public PregledPoruka() {\n preuzmiMape();\n preuzmiPoruke();\n }", "private void moverJogadorDaVez(int dado1, int dado2) throws Exception {\n // System.out.println(\"moverJogadorDaVez\" + dado1 + \" , \" + dado2);\n\n print(\"\\ttirou nos dados: \" + dado1 + \" , \" + dado2);\n int valorDados = dado1 + dado2;\n\n int jogador = this.jogadorAtual();\n\n boolean ValoresIguais = false;\n\n\n //preciso saber se o jogador vai passar pela posição 40, o que significa\n //ganhar dinheiro\n this.completouVolta(jogador, valorDados);\n\n if (dado1 == dado2) {\n ValoresIguais = true;\n } else {\n ValoresIguais = false;\n }\n\n //movendo à posição\n this.moverJogadorAPosicao(jogador, valorDados, ValoresIguais);\n this.print(\"\\tAtual dinheiro antes de ver a compra:\" + this.listaJogadores.get(jogador).getDinheiro());\n this.print(\"\\tVai até a posição \" + this.posicoes[jogador]);\n\n //vendo se caiu na prisao\n if (this.posicoes[this.jogadorAtual()] == 30 && this.prisao == true) {\n adicionaNaPrisao(listaJogadores.get(jogadorAtual()));\n DeslocarJogador(jogador, 10);\n listaJogadores.get(jogadorAtual()).adicionarComandoPay();\n }\n\n\n\n Lugar lugar = this.tabuleiro.get(this.posicoes[jogador] - 1);//busca em -1, pois eh um vetor\n\n\n if (this.isCompraAutomatica()) {\n this.realizarCompra(jogador, lugar);\n }\n\n if (!this.posicaoCompravel(this.posicoes[jogador])) {\n this.print(\"\\t\" + lugar.getNome() + \" não está à venda!\");\n\n\n String nomeDono = (String) Donos.get(this.posicoes[jogador]);\n //não cobrar aluguel de si mesmo\n if (!nomeDono.equals(this.listaJogadores.get(this.jogadorAtual()).getNome())) {\n\n if (this.isUmJogador(nomeDono)) {\n Jogador possivelDono = this.getJogadorByName(nomeDono);\n\n if (this.isPosicaoFerrovia(this.posicoes[jogador])) {\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n if (!lugar.estaHipotecada()) {\n this.pagarFerrovia(possivelDono.getId(), jogador, 25, lugar.getNome());\n }\n } else {\n\n this.print(\"\\tO dono eh \" + possivelDono.getNome());\n int valorAluguel = 0;\n if (this.posicoes[this.jogadorAtual()] != 12 && this.posicoes[this.jogadorAtual()] != 28) {\n valorAluguel = this.tabuleiro.getLugarPrecoAluguel(this.posicoes[jogador]);\n\n } else {\n if (possivelDono.getQuantidadeCompanhias() == 1) {\n valorAluguel = 4 * valorDados;\n\n }\n if (possivelDono.getQuantidadeCompanhias() == 2) {\n valorAluguel = 10 * valorDados;\n\n }\n }\n if (!lugar.estaHipotecada()) {\n this.pagarAluguel(possivelDono.getId(), jogador, valorAluguel, lugar.getNome());\n }\n\n }\n\n }\n }\n\n }\n\n\n this.pagarEventuaisTaxas(jogador);\n\n if ((this.posicoes[this.jogadorAtual()] == 2 || this.posicoes[jogadorAtual()] == 17 || this.posicoes[jogadorAtual()] == 33) && cards == true) {\n realizaProcessamentoCartaoChest();\n }\n\n if ((this.posicoes[this.jogadorAtual()] == 7 || this.posicoes[jogadorAtual()] == 22 || this.posicoes[jogadorAtual()] == 36) && cards == true) {\n realizaProcessamentoCartaoChance();\n }\n\n\n\n\n this.print(\"\\tAtual dinheiro depois:\" + this.listaJogadores.get(jogador).getDinheiro());\n\n\n\n }", "@Override\r\n\tpublic void chocarOvos() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void chocarOvos() {\n\t\t\r\n\t}", "public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}", "public void venceuRodada () {\n this.pontuacaoPartida++;\n }", "public void iniciarNovaPartida(Integer posicao);", "public boolean foiChecado(Vertice v){\n int i = v.label;\n return vertices[i];\n }", "public void prestamoLibro(libro lib1)\n {\n System.out.println(\"Bienvenido al sistema de prestamos\");\n System.out.println(\"El libro que desea prestar es: \");\n System.out.println(lib1);\n System.out.println(\"Realizaremos la transaccion!\");\n lib1.setDispoLibro(false);\n System.out.println(\"Transaccion realizada!! \");\n }", "public void vivir(){\r\n\t\r\n\tAtacable algo42tmp;\r\n\t\r\n\tif (!(this.muerto)){\r\n\t\tfor(int i = 0; i <= this.velY; i++){\r\n\t\t\tthis.mover();\r\n\t\t}\r\n\t\t\r\n\t\talgo42tmp = zonaDeCombate.comprobarColisionAlgo42(this);\r\n\t\tif (algo42tmp != null){\r\n\t\t\talgo42tmp.recibirDanio(20); /**hacer q se muera*/\r\n\t\t\tthis.muerto = true;\r\n\t\t}\r\n\t\t\r\n\r\n\t\t}\r\n\t}", "@Override\n\tpublic void pausaParaComer() {\n\n\t}", "public void reinicio() {\n iNumBloques = 54; // se reinicia la cantidad de bloques\n iNivel = 1; // vuelve al nivel 1\n iScore = 0; // se reinicia el score\n iVidas = 3; // se reinicia la cantidad de vidas\n // La direccion del proyectil sera para arriba\n bDireccionY = false;\n // la direccion del proyectil sera al contrario de donde iba\n bDireccionX = !bDireccionX;\n // Se reposiciona el proyectil\n objProyectil.reposiciona((objBarra.getX() + objBarra.getAncho() / 2\n - (objProyectil.getAncho() / 2)), (objBarra.getY()\n - objProyectil.getAlto()));\n // Se reincia la velocidad del proyectil\n objProyectil.setVelocidad(5);\n // Se reposiciona la barra\n objBarra.reposiciona(((getWidth() / 2)\n - (objProyectil.getAncho() / 2)), (getHeight()\n - objBarra.getAlto()));\n // se limpia la lista de bloques\n lnkBloques.clear();\n // se vuelve a llenar y se acomoda\n try {\n acomodaBloques();\n } catch (IOException ioeError) {\n System.out.println(\"Hubo un error al cargar el juego: \"\n + ioeError.toString());\n }\n }", "public void renovarBolsa() {\n\t\tSystem.out.println(\"Bolsa renovada com suceso!\");\n\t}", "@Override\n public void affiche(){\n System.out.println(\"Loup : \\n points de vie : \"+this.ptVie+\"\\n pourcentage d'attaque : \"+this.pourcentageAtt+\n \"\\n dégâts d'attaque : \"+this.degAtt+\"\\n pourcentage de parade :\"+this.pourcentagePar+\n \"\\n position : \"+this.pos.toString());\n\n }", "void agregarVotoPlayLIst(Voto voto) throws ExceptionDao;", "private Vertice<T> getHermano(Vertice<T> v){\n\tif(v.padre == null)\n\t return null;\n\tif(v.padre.derecho == v){\n\t if(v.padre.izquierdo == null)\n\t\treturn null;\n\t else\n\t\treturn v.padre.izquierdo;\n\t}else{\n\t if(v.padre.derecho == null)\n\t\treturn null;\n\t else\n\t\treturn v.padre.derecho;\n\t}\n }", "private void cazaFantasma(Vertice<T> v){\n\tif(v.padre == null){\n\t if(v == this.raiz){\n\t\tthis.raiz = null;\n\t\treturn;\n\t }\n\t return;\n\t}else{\n\t Vertice<T> padre = v.padre;\n\t if(v == padre.izquierdo){\n\t\tif(v.hayIzquierdo()){\n\t\t padre.izquierdo = v.izquierdo;\n\t\t v.izquierdo.padre = padre;\n\t\t}else if(v.hayDerecho()){\n\t\t padre.izquierdo = v.derecho;\n\t\t v.derecho.padre = padre;\n\t\t}else{\n\t\t padre.izquierdo = null;\n\t\t}\t\t\n\t }else{\n\t\tif(v.hayIzquierdo()){\n\t\t padre.derecho = v.izquierdo;\n\t\t v.izquierdo.padre = padre;\n\t\t}else if(v.hayDerecho()){\n\t\t padre.derecho = v.derecho;\n\t\t v.derecho.padre = padre;\n\t\t}else{\n\t\t padre.derecho = null;\n\t\t}\n\t }\n\t}\n }", "public HandlePiaoSvlt() {\n\t\tsuper();\n\t}", "private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = MojeMetody.vlozInt(\"Vloz index zvierata\");\r\n if (pozicia == null) return \"\";\r\n\r\n try {\r\n Zivocich ziv = zoo.vylozZivocicha(pozicia-1);\r\n if (ziv == null) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n }\r\n zoo.pridajZivocicha(ziv);\r\n return \"Zviera \" + ziv\r\n + \"\\n\\tbolo vylozene z prepravneho vozidla\";\r\n } catch (ClassCastException exCC) {\r\n return \"Zviera c. \" + pozicia + \" nie je na vozidle\\n\\t\";\r\n } catch (Exception ex) {\r\n return \"Neznama chyba:\\n\\t\" + ex;\r\n }\r\n }", "private void previsualizar(CtrlVista CV) {\n\t\tCV.cargarParaVerTablero(list.getSelectedValue());\n\t\tsetPrevisualizarTablero(CV,CV.getMapaActual());\n\t}", "private void remplirPrestaraireData() {\n\t}", "public void moverAbajo() {\n estado = EstadosPersonaje.QUIETO;\n mover(new Vector2(0, -1));\n }", "@Override // Métodos que fazem a anulação\n\tpublic void vota() {\n\t\t\n\t}", "@Override\n\tpublic void ingresarFicha(VideoJuego juego) {\n\t\t\n\t}", "public ListaBrojeva izdvojElmenteNaParnimPozicijama() {\n if (prvi != null) {\n ListaBrojeva parni = new ListaBrojeva();\n \n Element tek = prvi;\n Element preth = null;\n Element parniKraj = null;\n int br = 0;\n \n while (tek.veza != null) {\n preth = tek;\n tek = tek.veza;\n \n if (br % 2 != 0) {\n preth.veza = tek.veza;\n if (parni.prvi == null) {\n parni.prvi = tek;\n parniKraj = tek;\n tek.veza = null; \n } else {\n parniKraj.veza = tek;\n tek.veza = null;\n parniKraj = parniKraj.veza;\n }\n tek = preth;\n }\n br++;\n }\n /*prvi element iz liste je paran, ali je preskocen, \n tako da ga sad izbacujemo iz liste i dodajemo u novu*/\n Element pom = prvi;\n prvi = prvi.veza;\n pom.veza = parni.prvi;\n parni.prvi = pom;\n return parni;\n }\n return null;\n }", "private List<Vertice> pegaVerticesFolha() {\n List<Vertice> verticesFolha = new ArrayList<Vertice>();\n\n for (Vertice vertice : this.pegaTodosOsVerticesDoGrafo()) {\n if (this.getGrauDeSaida(vertice) == 0) {\n verticesFolha.add(vertice);\n }\n }\n\n return verticesFolha;\n }", "private String elaboraAvvisoScrittura() {\n String testo = VUOTA;\n\n if (usaHeadNonScrivere) {\n testo += TAG_NON_SCRIVERE;\n testo += A_CAPO;\n }// end of if cycle\n\n return testo;\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void vincula(){\n for (Nodo n : exps)\n n.vincula();\n }", "public KlijentPovezanaOsobaRs procitajSvePovezaneOsobePOVIJEST(KlijentPovezanaOsobaVo value) {\r\n return null;\r\n }", "@Override\r\n\tpublic void hacerSonido() {\n\t\tSystem.out.print(\"miau,miau -- o depende\");\r\n\t\t\r\n\t}", "private void priorizar() {\r\n if (ini == fin) {\r\n return;\r\n }\r\n\r\n int t1 = fin, t2 = fin - 1;\r\n TDAPrioridad aux = new TDAPrioridad(0, '0');\r\n while (t1 != ini) {\r\n if (datos[t1].getPrioridad() > datos[t2].getPrioridad()) {\r\n aux.setObjeto(datos[t1]);\r\n datos[t1].setObjeto(datos[t2]);\r\n datos[t2].setObjeto(aux);\r\n t2--;\r\n t1--;\r\n } else {\r\n break;\r\n }\r\n }\r\n }", "public PosicionVertice[] getVertices(PosicionVertice rpv[]) {\n \n // inicializacion\n rpv = (rpv == null) ? new PosicionVertice[2] : rpv;\n for (int i=0; i<rpv.length; i++) {\n rpv[i] = (rpv[i] == null) ? new PosicionVertice() : rpv[i];\n }\n normaliza();\n \n switch(getOrientacion()) {\n case Este:\n rpv[0].setPos(getX(), getY()-1);\n rpv[0].setOrientacion(OrientacionVertice.Sur);\n rpv[1].setPos(getX()+1, getY());\n rpv[1].setOrientacion(OrientacionVertice.Norte);\n break;\n case NorEste:\n rpv[0].setPos(getX(), getY());\n rpv[0].setOrientacion(OrientacionVertice.Norte);\n rpv[1].setPos(getX(), getY()-1);\n rpv[1].setOrientacion(OrientacionVertice.Sur);\n break; \n case NorOeste:\n rpv[0].setPos(getX(), getY());\n rpv[0].setOrientacion(OrientacionVertice.Norte);\n rpv[1].setPos(getX()-1, getY());\n rpv[1].setOrientacion(OrientacionVertice.Sur);\n break; \n }\n return rpv;\n }", "public Vertice GetExtremoInicial(){\r\n return this.Vi;\r\n }", "public void provocarEvolucion(Tribu tribuJugador, Tribu tribuDerrotada){\r\n System.out.println(\"\\n\");\r\n System.out.println(\"-------------------Fase de evolución ----------------------\");\r\n int indiceAtributo;\r\n int indiceAtributo2;\r\n double golpeViejo = determinarGolpe(tribuJugador);\r\n for(int i = 1; i <= 10 ; i++){\r\n System.out.println(\"Iteración número: \" + i);\r\n indiceAtributo = (int)(Math.random() * 8);\r\n indiceAtributo2 = (int)(Math.random() * 8);\r\n String nombreAtributo1 = determinarNombrePosicion(indiceAtributo);\r\n String nombreAtributo2 = determinarNombrePosicion(indiceAtributo2);\r\n if((tribuJugador.getArray()[indiceAtributo] < tribuDerrotada.getArray()[indiceAtributo] \r\n && (tribuJugador.getArray()[indiceAtributo2] < tribuDerrotada.getArray()[indiceAtributo2]))){\r\n System.out.println(\"Se cambió el atributo \" + nombreAtributo1 + \" de la tribu del jugador porque\"\r\n + \" el valor era \" + tribuJugador.getArray()[indiceAtributo] + \" y el de la tribu enemeiga era de \"\r\n + tribuDerrotada.getArray()[indiceAtributo] + \" esto permite hacer más fuerte la tribu del jugador.\");\r\n \r\n tribuJugador.getArray()[indiceAtributo] = tribuDerrotada.getArray()[indiceAtributo];\r\n \r\n System.out.println(\"Se cambió el atributo \" + nombreAtributo2 + \" de la tribu del jugador porque\"\r\n + \" el valor era \" + tribuJugador.getArray()[indiceAtributo2] + \" y el de la tribu enemeiga era de \"\r\n + tribuDerrotada.getArray()[indiceAtributo2] + \" esto permite hacer más fuerte la tribu del jugador.\");\r\n \r\n tribuJugador.getArray()[indiceAtributo2] = tribuDerrotada.getArray()[indiceAtributo2];\r\n }\r\n }\r\n double golpeNuevo = determinarGolpe(tribuJugador);\r\n if(golpeNuevo > golpeViejo){\r\n tribus.replace(tribuJugador.getNombre(), determinarGolpe(tribuJugador));\r\n System.out.println(\"\\nTribu evolucionada\");\r\n imprimirAtributos(tribuJugador);\r\n System.out.println(\"\\n\");\r\n System.out.println(tribus);\r\n }\r\n else{\r\n System.out.println(\"\\nTribu sin evolucionar\");\r\n System.out.println(\"La tribu no evolucionó porque no se encontraron atributos\"\r\n + \" que permitiesen crecer su golpe\");\r\n imprimirAtributos(tribuJugador);\r\n System.out.println(\"\\n\");\r\n System.out.println(tribus);\r\n }\r\n }", "public void mostrarConsola() {\n\t\tProceso aux = this.raiz;\n\t\t// int i=this.numProcesos;\n\t\twhile (aux.sig != this.raiz /* i>0 */) {\n\t\t\t// i--;\n\t\t\taux = aux.sig;\n\t\t\tSystem.out.println(aux.toString());\n\t\t}\n\t}", "public void urciStupneVrcholu(){\n\t\tfor(int i = 0;i < vrchP.length; i++){\n\t\t\tstupenVrcholu(vrchP[i].klic);\n\t\t}\n\t}", "private void MembentukListHuruf(){\n for(int i = 0; i < Panjang; i ++){\n Huruf Hrf = new Huruf();\n Hrf.CurrHrf = Kata.charAt(i);\n if(!IsVertikal){\n //horizontal\n Hrf.IdX = StartIdxX;\n Hrf.IdY = StartIdxY+i;\n }else{\n Hrf.IdX = StartIdxX+i;\n Hrf.IdY = StartIdxY;\n }\n // System.out.println(\"iniii \"+Hrf.IdX+\" \"+Hrf.IdY+\" \"+Hrf.CurrHrf+\" \"+NoSoal);\n TTS.Kolom[Hrf.IdX][Hrf.IdY].AddNoSoal(NoSoal);\n TTS.Kolom[Hrf.IdX][Hrf.IdY].Huruf=Hrf.CurrHrf;\n \n }\n }", "private void Mueve() {\n\t\tpaleta1.Mueve_paletas();\n\t\tpaleta2.Mueve_paletas();\n\t\tpelota.Mueve_pelota();\n\t}", "@Override\n public void movimiento_especial(){\n\n movesp=ataque/2;\n defensa+=5;\n PP= PP-4;\n }", "private void peliLoppuuUfojenTuhoamiseen() {\n if (tuhotut == Ufolkm) {\n ingame = false;\n Loppusanat = \"STEVE HOLT!\";\n }\n }", "private void BajarPiezaRapido() {\n if (!Mover(piezaActual, posicionX, posicionY - 1)) {\r\n BajarPieza1posicion();\r\n }\r\n }", "public void mostrarlistainicifin(){\n if(!estaVacia()){\n String datos = \"<=>\";\n NodoBus auxiliar = inicio;\n while(auxiliar!=null){\n datos = datos + \"(\" + auxiliar.dato +\")<=>\";\n auxiliar = auxiliar.sig;\n JOptionPane.showMessageDialog(null, datos, \"Mostrando lista de inicio a fin\", JOptionPane.INFORMATION_MESSAGE);\n }\n }\n }", "public void turnoSistema(){\r\n if(tipo_simulacion == 2){\r\n JOptionPane.showMessageDialog(this.vc,\"Simulando acciones. . .\", \"Turno Sistema\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n System.out.println(\"Turno: \"+ entrenador2.getNombre());\r\n if(evaluarAccion(this.pokemon_activo2, this.pokemon_activo1).equals(\"Cambiar\")){\r\n System.out.println(\"Sistema eligio Cambiar Pokemon\");\r\n pokemon_activo2.setConfuso(false);\r\n pokemon_activo2.setDormido(false);\r\n if(getEquipo2()[0].getDebilitado() == false && getEquipo2()[0]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[0]; \r\n }\r\n else if(getEquipo2()[1].getDebilitado() == false && getEquipo2()[1]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[1]; \r\n }\r\n else if(getEquipo2()[2].getDebilitado() == false && getEquipo2()[2]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[2]; \r\n }\r\n else if(getEquipo2()[3].getDebilitado() == false && getEquipo2()[3]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[3]; \r\n }\r\n else if(getEquipo2()[4].getDebilitado() == false && getEquipo2()[4]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[4]; \r\n }\r\n else if(getEquipo2()[5].getDebilitado() == false && getEquipo2()[5]!=pokemon_activo2){\r\n pokemon_activo2 = getEquipo2()[5]; \r\n }\r\n vc.setjL_especie2(pokemon_activo2.getNombre_especie());\r\n vc.setjL_nombrepokemon2(pokemon_activo2.getPseudonimo());\r\n vc.setjL_vida_actual2(pokemon_activo2.getVida_restante(), pokemon_activo2.getVida());\r\n vc.setjL_Nivel2(pokemon_activo2.getNivel());\r\n setLabelEstados(0);\r\n setLabelEstados(1);\r\n this.turno = 0;\r\n if(tipo_simulacion == 2){\r\n JOptionPane.showMessageDialog(this.vc, \"Turno\"+\" \"+entrenador1.getNombre(), \"Tu Turno\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n }\r\n else if(evaluarAccion(this.pokemon_activo2, this.pokemon_activo1).equals(\"Atacar\")){\r\n System.out.println(\"Sistema eligio Atacar\");\r\n inflingirDaño(pokemon_activo2.getMovimientos()[(int)(Math.random()*4)], pokemon_activo1, pokemon_activo2);\r\n if(pokemon_activo1.getVida_restante() <= 0){\r\n pokemon_activo1.setVida_restante(0);\r\n pokemon_activo1.setDebilitado(true);\r\n System.out.println(\"El Pokemon: \"+ pokemon_activo1.getPseudonimo()+\" se ha Debilitado\");\r\n JOptionPane.showMessageDialog(this.vc, \"El Pokemon: \"+ pokemon_activo1.getPseudonimo()+\" se ha Debilitado\", \"Debilitado\", JOptionPane.INFORMATION_MESSAGE);\r\n if(condicionVictoria(getEquipo1(), getEquipo2()) == true){\r\n JOptionPane.showMessageDialog(this.vc, \"El Ganador de este Combate es:\"+ entrenador2.getNombre(), \"Ganador\", JOptionPane.INFORMATION_MESSAGE);\r\n System.out.println(\"El Ganador de este Combate es:\"+ entrenador2.getNombre());\r\n System.out.println(equipo1[0].getVida_restante()+ \" \"+equipo1[1].getVida_restante()+ \" \"+equipo1[2].getVida_restante()+ \" \"+equipo1[3].getVida_restante()+ \" \"+equipo1[4].getVida_restante()+ \" \"+equipo1[5].getVida_restante());\r\n System.out.println(equipo2[0].getVida_restante()+ \" \"+equipo2[1].getVida_restante()+ \" \"+equipo2[2].getVida_restante()+ \" \"+equipo2[3].getVida_restante()+ \" \"+equipo2[4].getVida_restante()+ \" \"+equipo2[5].getVida_restante());\r\n JOptionPane.showMessageDialog(this.vc, equipo1[0].getVida_restante()+ \" \"+equipo1[1].getVida_restante()+ \" \"+equipo1[2].getVida_restante()+ \" \"+equipo1[3].getVida_restante()+ \" \"+equipo1[4].getVida_restante()+ \" \"+equipo1[5].getVida_restante()+\"\\n\"+ equipo2[0].getVida_restante()+ \" \"+equipo2[1].getVida_restante()+ \" \"+equipo2[2].getVida_restante()+ \" \"+equipo2[3].getVida_restante()+ \" \"+equipo2[4].getVida_restante()+ \" \"+equipo2[5].getVida_restante(), \"Estadisticas finales(vida)\", JOptionPane.INFORMATION_MESSAGE);\r\n vc.dispose();\r\n vpc.dispose();\r\n combate.setGanador(entrenador2);\r\n combate.setPerdedor(entrenador1);\r\n this.termino = true;\r\n }\r\n else if(getEquipo1()[0].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[0]; \r\n }\r\n else if(getEquipo1()[1].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[1]; \r\n }\r\n else if(getEquipo1()[2].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[2]; \r\n }\r\n else if(getEquipo1()[3].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[3]; \r\n }\r\n else if(getEquipo1()[4].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[4]; \r\n }\r\n else if(getEquipo1()[5].getDebilitado() == false){\r\n pokemon_activo1 = getEquipo1()[5]; \r\n } \r\n vc.setjL_nombrepokemon1(pokemon_activo1.getPseudonimo());\r\n vc.setjL_especie1(pokemon_activo1.getNombre_especie());\r\n }\r\n vc.setjL_especie1(pokemon_activo1.getNombre_especie());\r\n vc.setjL_nombrepokemon1(pokemon_activo1.getPseudonimo());\r\n vc.setjL_vida_actual1(pokemon_activo1.getVida_restante(), pokemon_activo1.getVida());\r\n vc.setjL_Nivel1(pokemon_activo1.getNivel());\r\n setLabelEstados(0);\r\n setLabelEstados(1);\r\n this.turno = 0;\r\n if(tipo_simulacion == 2){\r\n JOptionPane.showMessageDialog(this.vc, \"Turno\"+\" \"+entrenador1.getNombre(), \"Tu Turno\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n }\r\n \r\n }", "@Override\n\tpublic Livros verifica(Livros livro) {\n\t\treturn null;\n\t}", "private void balancearElimina(Vertice<T> v){\n\t//Caso 1 RAIZ\n\tif(v.padre == null){\n\t this.raiz = v;\n\t v.color = Color.NEGRO;\n\t return;\n\t}\n\t//Vertice<T> hermano = getHermano(v);\n\t//Caso 2 HERMANO ROJO\n\tif(getHermano(v).color == Color.ROJO){\n\t v.padre.color = Color.ROJO;\n\t getHermano(v).color = Color.NEGRO;\n\t if(v.padre.izquierdo == v)\n\t\tsuper.giraIzquierda(v.padre);\n\t else\n\t\tsuper.giraDerecha(v.padre);\n\t //Actualizar V\n\t // hermano = getHermano(v);\n\t \n\t}\n\t//Caso 3 TODOS SON NEGROS\n\tif(v.padre.color == Color.NEGRO && existeNegro(getHermano(v)) && existeNegro(getHermano(v).izquierdo) && existeNegro(getHermano(v).derecho)){\n\t getHermano(v).color = Color.ROJO;\n\t //Checar color\n\t //v.color = Color.ROJO; //POR H DE HERMANO 20:00\n\t\tbalancearElimina(v.padre);\n\t\treturn;\n\t}\n\t//Caso 4 HERMANO Y SOBRINOS NEGROS Y PADRE ROJO\n\tif(existeNegro(getHermano(v)) && v.padre.color == Color.ROJO && existeNegro(getHermano(v).izquierdo)\n\t && existeNegro(getHermano(v).derecho)){\n\t v.padre.color = Color.NEGRO;\n\t getHermano(v).color = Color.ROJO;\n\t return;\n\t \n\t}\n\t//Caso 5 HERMANO NEGRO Y SOBRINOS BICOLORES\n\tif(getHermano(v).color == Color.NEGRO && (!(existeNegro(getHermano(v).izquierdo) && existeNegro(getHermano(v).derecho)))){\n\t if(v.padre.derecho == v){\n\t if(!existeNegro(getHermano(v).derecho)){\n\t\t getHermano(v).color = Color.ROJO;\n\t\t getHermano(v).derecho.color = Color.NEGRO;\n\t\t super.giraIzquierda(getHermano(v));\n\t }else{\n\t\t if(!existeNegro(getHermano(v).izquierdo)){\n\t\t getHermano(v).color = Color.ROJO;\n\t\t getHermano(v).izquierdo.color = Color.NEGRO;\t \n\t\t super.giraDerecha(getHermano(v));\n\t\t }\n\t }\n\t }\n\t}\n\t//Caso 6 SOBRINO INVERSO DE V ES ROJO\n\tif(v.padre.izquierdo == v){\n\t if(!existeNegro(getHermano(v).derecho)){\n\t\tgetHermano(v).color = v.padre.color;\n\t\t v.padre.color = Color.NEGRO;\n\t\t getHermano(v).derecho.color = Color.NEGRO;\n\t\t super.giraIzquierda(v.padre);\n\t }\n\t}else{\n\t if(!existeNegro(getHermano(v).izquierdo)){\n\t\tgetHermano(v).color = v.padre.color;\n\t\t v.padre.color = Color.NEGRO;\n\t\t getHermano(v).izquierdo.color = Color.NEGRO;\n\t\t super.giraDerecha(v.padre);\n\t }\n\t}\t\n }", "public void primerPunto() {\n\t\tp = new PuntoAltaPrecision(this.xCoord, this.yCoord);\n\t\t// Indicamos la trayectoria por la que va la pelota\n\t\tt = new TrayectoriaRecta(1.7f, p, false);\n\t}", "public void spojElementeNaizmenicno(ListaBrojeva novaLista) {\n if (novaLista.prvi == null)\n return;\n else if (jePrazna())\n prvi = novaLista.prvi;\n else {\n Element tek = prvi.veza;\n Element novaListaTek = novaLista.prvi;\n Element pomocni = prvi;\n while (tek != null && novaListaTek != null) {\n pomocni.veza = novaListaTek;\n pomocni = pomocni.veza;\n novaListaTek = novaListaTek.veza;\n \n pomocni.veza = tek;\n pomocni = pomocni.veza;\n tek = tek.veza;\n \n }\n if (novaListaTek != null)\n pomocni.veza = novaListaTek;\n }\n }", "public void setLeaderBoard(HashMap<String,Integer> vp, Boolean lorenzo) {\r\n Pane p = (Pane) P1.getParent();\r\n int n = vp.size();\r\n\r\n for (int i = 0; i < n; i++) {\r\n String nickname = \"\";\r\n\r\n int max = -1;\r\n for(String s : vp.keySet()){\r\n if(vp.get(s)>max){\r\n nickname = s;\r\n max = vp.get(s);\r\n }\r\n }\r\n\r\n switch (i) {\r\n case 0 -> {\r\n P1.setText(nickname + \" - Punti vittoria: \" + vp.get(nickname));\r\n }\r\n case 1 -> {\r\n P2.setText(nickname + \" - Punti vittoria: \" + vp.get(nickname));\r\n }\r\n case 2 -> {\r\n P3.setText(nickname + \" - Punti vittoria: \" + vp.get(nickname));\r\n }\r\n case 3 -> {\r\n P4.setText(nickname + \" - Punti vittoria: \" + vp.get(nickname));\r\n }\r\n }\r\n vp.remove(nickname);\r\n }\r\n\r\n if(n==1){\r\n if(!lorenzo) {\r\n P2.setText(\"Lorenzo il magnifico\");\r\n }\r\n else{\r\n P2.setText(P1.getText());\r\n P1.setText(\"Lorenzo il magnifico\");\r\n }\r\n p.getChildren().remove(P3);\r\n p.getChildren().remove(P3_I);\r\n p.getChildren().remove(P4);\r\n p.getChildren().remove(P4_I);\r\n }\r\n else if(n==2){\r\n p.getChildren().remove(P3);\r\n p.getChildren().remove(P3_I);\r\n p.getChildren().remove(P4);\r\n p.getChildren().remove(P4_I);\r\n }\r\n else if(n==3){\r\n p.getChildren().remove(P4);\r\n p.getChildren().remove(P4_I);\r\n }\r\n }", "public void xuLyThemPhieuThanhToan(){\n //Ngat chuoi\n String strTongTien = txtTongTien.getText().trim();\n String[] tongTien = strTongTien.split(\"\\\\s\");\n String strTienPhaiTra = txtTienPhaiTra.getText().trim();\n String[] tienPhaiTra = strTienPhaiTra.split(\"\\\\s\");\n\n //xu ly them vao data base\n PhieuThanhToanSevice phieuThanhToanSevice = new PhieuThanhToanSevice();\n int x = phieuThanhToanSevice.themPhieuThanhToan(txtMaPTT.getText().trim(),\n cbbMaPDK.getSelectedItem().toString(),\n Integer.valueOf(txtSoThang.getText().trim()),\n txtNgayTT.getText().trim(), Float.valueOf(tongTien[0]), Float.valueOf(tienPhaiTra[0]));\n\n if (x > 0) {\n JOptionPane.showMessageDialog(null, \"Thanh toán thành công\");\n } else {\n JOptionPane.showMessageDialog(null, \"Thanh toán thất bại\");\n return;\n }\n\n }", "public void despegar(){\n if(this.posicion == 1){\n this.setPosicion(2);\n this.indicarEstado(\"Volando\");\n } else{\n System.out.println(\"No estoy preparado para el despegue\");\n }\n }", "public void carroNoAgregado(){\n System.out.println(\"No hay un parqueo para su automovil\");\n }", "public void livrosLidos(Livro livro){\n\n Boolean enviar = true;\n\n LivroLido livrol = new LivroLido();\n\n //setando o valor do id livro lid\n livrol.setIdLivro(livro.getId());\n\n //saber se o livro já foi enviado\n if(myBooksDb.daoLivrosLidos().idLivros(livro.getId()) == livro.getId()){\n enviar = false;\n Toast.makeText(getContext(),\"O livro já se encontra em livros lidos\", Toast.LENGTH_SHORT).show();\n }\n //verificar se o livro esta em outra tela\n else if(myBooksDb.daoLivroLer().idLivros(livro.getId()) == livro.getId()){\n enviar = false;\n tranferirLidos(livro.getId(),livrol);\n }\n\n if(enviar == true){\n myBooksDb.daoLivrosLidos().inserir(livrol);\n }\n\n }", "@Override\n\tpublic void devolucao(Livros livro) {\n\t\t\n\t}", "@Override\n\tpublic void preparar() {\n\t\tSystem.out.println(\"massa, presunto, queijo, calabreza e cebola\");\n\t\t\n\t}", "public Rettangolo(Punto p1, Punto p2) {\r\n // pre: p1!=null && p2!=null\r\n this.vbs = p1;\r\n this.vad = p2;\r\n }", "private void balancearAgrega(Vertice<T> v){\n\tif(v == this.raiz){\n\t v.color = Color.NEGRO;\n\t return;\n\t}else if(v.padre.getColor() == Color.NEGRO){\n\t return;\n\t}\n\tVertice<T> abuelo = v.padre.padre;\n\tif(v.padre == abuelo.derecho){\n\t if(abuelo.izquierdo != null &&\n\t abuelo.izquierdo.getColor() == Color.ROJO){\n\t\tv.padre.color = Color.NEGRO;\n\t\tabuelo.izquierdo.color = Color.NEGRO;\n\t\tabuelo.color = Color.ROJO;\n\t\tbalancearAgrega(abuelo);\n\t\treturn;\t \n\t }else if(v.padre.izquierdo == v){\n\t\tVertice<T> v2 = v.padre;\n\t\tsuper.giraDerecha(v.padre);\n\t\tbalancearAgrega(v2); \n\t }else if(v.padre.derecho == v){\n\t\tv.padre.color = Color.NEGRO;\n\t\tabuelo.color = Color.ROJO;\n\t\tsuper.giraIzquierda(abuelo);\n\t }\n\t}else if(v.padre == abuelo.izquierdo){\n\t if(abuelo.derecho != null &&\n\t abuelo.derecho.getColor() == Color.ROJO){\n\t\tv.padre.color = Color.NEGRO;\n\t\tabuelo.derecho.color = Color.NEGRO;\n\t\tabuelo.color = Color.ROJO;\n\t\tbalancearAgrega(abuelo);\n\t\treturn;\n\t }else if(v.padre.derecho == v){\n\t\tVertice<T> v2 = v.padre;\n\t\tsuper.giraIzquierda(v.padre);\n\t\tbalancearAgrega(v2); \n\t \n\t }else if(v.padre.izquierdo == v){\n\t\tv.padre.color = Color.NEGRO;\n\t\tabuelo.color = Color.ROJO;\n\t\tsuper.giraDerecha(abuelo);\n\t }\n\t} \t\n\t\n }", "public void moverIzquierda() {\n estado = EstadosPersonaje.IZQUIERDA;\n mover(new Vector2(-1, 0));\n }", "public void visualizarMensaje(Object pila);", "@Override\n\tpublic String getInformeVendedor() {\n\t\treturn \"Informe trimestre 3\";\n\t}", "public void volar() {\n }", "public void movimiento(Point inicio,Point llegada, String color, int nomFicha){\n \n /*if(this.tablero[inicio.x][inicio.y]==0){\n JOptionPane.showMessageDialog(null, \"no hay nada en esa posición\");\n }*/\n \n this.tablero[inicio.x][inicio.y]=0;\n this.tablero[llegada.x][llegada.y]=nomFicha;\n if (color==\"blanco\"){\n this.posiBlancas[inicio.x][inicio.y]=0;\n this.posiBlancas[llegada.x][llegada.y]=nomFicha;\n this.posiNegras[llegada.x][llegada.y]=0;\n }else{\n this.posiNegras[inicio.x][inicio.y]=0;\n this.posiNegras[llegada.x][llegada.y]=nomFicha;\n this.posiBlancas[llegada.x][llegada.y]=0;\n }\n\n }", "public static void trazenjeVozila(Iznajmljivac o) {\n\t\tLocalDate pocetniDatum = UtillMethod.unosDatum(\"pocetni\");\n\t\tLocalDate krajnjiDatum = UtillMethod.unosDatum(\"krajnji\");\n\t\tSystem.out.println(\"------------------------------------\");\n\t\tSystem.out.println(\"Provera dostupnosti vozila u toku...\\n\");\n\t\tArrayList<Vozilo> dostupnaVoz = new ArrayList<Vozilo>();\n\t\tint i = 0;\n\t\tfor (Vozilo v : Main.getVozilaAll()) {\n\t\t\tif (!postojiLiRezervacija(v, pocetniDatum, krajnjiDatum) && !v.isVozObrisano()) {\n\t\t\t\tSystem.out.println(i + \"-\" + v.getVrstaVozila() + \"-\" + \"Registarski broj\" + \"-\" + v.getRegBR()\n\t\t\t\t\t\t+ \"-Potrosnja na 100km-\" + v.getPotrosnja100() + \"litara\");\n\t\t\t\ti++;\n\t\t\t\tdostupnaVoz.add(v);\n\t\t\t}\n\t\t}\n\t\tif (i > 0) {\n\t\t\tSystem.out.println(\"------------------------------------------------\");\n\t\t\tSystem.out.println(\"Ukucajte kilometrazu koju planirate da predjete:\");\n\t\t\tdouble km = UtillMethod.unesiteBroj();\n\t\t\tint km1 = (int) km;\n\t\t\tporedjenjeVozila d1 = new poredjenjeVozila(km1);\n\t\t\tCollections.sort(dostupnaVoz,d1);\n\t\t\tint e = 0;\n\t\t\tfor(Vozilo v : dostupnaVoz) {\n\t\t\t\tdouble temp = cenaTroskaVoz(v, km, v.getGorivaVozila().get(0));\n\t\t\t\tSystem.out.println(e + \" - \" + v.getVrstaVozila()+ \"-Registarski broj: \"+ v.getRegBR()+\" | \"+ \"Cena na dan:\"+v.getCenaDan() +\" | Broj sedista:\"+ v.getBrSedist()+ \" | Broj vrata:\"+ v.getBrVrata() + \"| Cena troskova puta:\" + temp + \" Dinara\");\n\t\t\t\te++;\n\t\t\t}\n\t\t\tSystem.out.println(\"---------------------------------------\");\n\t\t\tSystem.out.println(\"Unesite redni broj vozila kojeg zelite:\");\n\t\t\tint redniBroj = UtillMethod.unesiteInt();\n\t\t\tif (redniBroj < dostupnaVoz.size()) {\n\t\t\t\tDateTimeFormatter formatters = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t\t\tString pocetni = pocetniDatum.format(formatters);\n\t\t\t\tString krajnji = krajnjiDatum.format(formatters);\n\t\t\t\tdouble cena = UtillMethod.cenaIznaj(pocetniDatum, krajnjiDatum, dostupnaVoz.get(redniBroj));\n\t\t\t\tRezervacija novaRez = new Rezervacija(dostupnaVoz.get(redniBroj), o, cena, false, pocetni, krajnji);\n\t\t\t\tMain.getRezervacijeAll().add(novaRez);\n\t\t\t\tSystem.out.println(\"Uspesno ste napravili rezervaciju!\");\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\tSystem.out.println(novaRez);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Uneli ste pogresan redni broj!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Nema dostupnih vozila za rezervaaciju.\");\n\t\t}\n\t}", "@Override\n\tpublic void chocoContraPared() {}", "public void enfoncerEgal() {\n\t\tthis.pile.push(this.valC);\n\t\tthis.raz = true;\n\t}", "private NodoGrafo Vert2Nodo(int v) {\n\t\tNodoGrafo aux = origen;\n\t\twhile (aux != null && aux.nodo != v)\n\t\t\taux = aux.sigNodo;\t\t\n\t\treturn aux;\n\t}", "public void VaciarPila() {\r\n while (!PilaVacia()) {\r\n EliminarNodo();\r\n }\r\n }", "private static PohonAVL seimbangkanKembaliKanan(PohonAVL p) {\n //...\n // Write your codes in here\n }", "private void actualizaPremio(){\n\t\tif(botonAp1.isSelected()){\n\t\t\ttipo = 1;\n\t\t\tcoef = modelo.getPartidoApuesta().getCoefLocal();\n\t\t\tpremio.set(apostado.get()*coef);\n\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t}else{\n\t\t\tif(botonApX.isSelected()){\n\t\t\t\ttipo = 0;\n\t\t\t\tcoef = modelo.getPartidoApuesta().getCoefEmpate();\n\t\t\t\tpremio.set(apostado.get()*coef);\n\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t}else{\n\t\t\t\tif(botonAp2.isSelected()){\n\t\t\t\t\ttipo = 2;\n\t\t\t\t\tcoef = modelo.getPartidoApuesta().getCoefVisitante();\n\t\t\t\t\tpremio.set(apostado.get()*coef);\n\t\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t\t}else{\n\t\t\t\t\ttipo = -1;\n\t\t\t\t\tcoef = 0.0;\n\t\t\t\t\tpremio.set(0.0);\n\t\t\t\t\tpremioLabel.setText(String.format(\"%.2f\", premio.get()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void accederpro() {\n\t\tVprosesor prof= new Vprosesor ();\n\t\t\n\t\tControladorprofesor b = new Controladorprofesor(prof);\n\t\tprof.setControladorprofesor(b);\n\t\tprof.setVisible(true);\n\t\tvb.dispose();\n\t\t\n\t}", "public Voluntario() {\n super();\n this.livre = true;\n this.raio = 0;\n this.avaliacao = 0;\n this.numreviews = 0;\n\n //this.historico = new ArrayList<>() ;\n }", "public void setPreco(Float preco) { this.preco = preco; }", "public void turnoUsuario(){\r\n System.out.println(\"Turno: \"+ entrenador1.getNombre());\r\n if(evaluarAccion(this.pokemon_activo1, this.pokemon_activo2).equals(\"Cambiar\")){\r\n System.out.println(\"Usuario eligio Cambiar Pokemon\");\r\n pokemon_activo1.setConfuso(false);\r\n pokemon_activo1.setDormido(false);\r\n if(getEquipo1()[0].getDebilitado() == false && getEquipo1()[0]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[0]; \r\n }\r\n else if(getEquipo1()[1].getDebilitado() == false && getEquipo1()[1]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[1]; \r\n }\r\n else if(getEquipo1()[2].getDebilitado() == false && getEquipo1()[2]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[2]; \r\n }\r\n else if(getEquipo1()[3].getDebilitado() == false && getEquipo1()[3]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[3]; \r\n }\r\n else if(getEquipo1()[4].getDebilitado() == false && getEquipo1()[4]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[4]; \r\n }\r\n else if(getEquipo1()[5].getDebilitado() == false && getEquipo1()[5]!=pokemon_activo1){\r\n pokemon_activo1 = getEquipo1()[5]; \r\n }\r\n vc.setjL_especie1(pokemon_activo1.getNombre_especie());\r\n vc.setjL_nombrepokemon1(pokemon_activo1.getPseudonimo());\r\n vc.setjL_vida_actual1(pokemon_activo1.getVida_restante(), pokemon_activo1.getVida());\r\n setLabelEstados(0);\r\n setLabelEstados(1);\r\n this.turno = 1;\r\n }\r\n else if(evaluarAccion(this.pokemon_activo1, this.pokemon_activo2).equals(\"Atacar\")){\r\n System.out.println(\"Usuario eligio Atacar\");\r\n inflingirDaño(pokemon_activo1.getMovimientos()[(int)(Math.random()*4)], pokemon_activo2, pokemon_activo1);\r\n if(pokemon_activo2.getVida_restante() <= 0){\r\n pokemon_activo2.setVida_restante(0);\r\n pokemon_activo2.setDebilitado(true);\r\n System.out.println(\"El Pokemon: \"+ pokemon_activo2.getPseudonimo()+\" se ha Debilitado\");\r\n JOptionPane.showMessageDialog(this.vc, \"El Pokemon: \"+ pokemon_activo2.getPseudonimo()+\" se ha Debilitado\", \"Debilitado\", JOptionPane.INFORMATION_MESSAGE);\r\n if(condicionVictoria(getEquipo1(), getEquipo2()) == true){\r\n JOptionPane.showMessageDialog(this.vc, \"El Ganador de este Combate es:\"+ entrenador1.getNombre(), \"Ganador\", JOptionPane.INFORMATION_MESSAGE);\r\n System.out.println(\"El Ganador de este Combate es:\"+ entrenador1.getNombre());\r\n System.out.println(equipo1[0].getVida_restante()+ \" \"+equipo1[1].getVida_restante()+ \" \"+equipo1[2].getVida_restante()+ \" \"+equipo1[3].getVida_restante()+ \" \"+equipo1[4].getVida_restante()+ \" \"+equipo1[5].getVida_restante());\r\n System.out.println(equipo2[0].getVida_restante()+ \" \"+equipo2[1].getVida_restante()+ \" \"+equipo2[2].getVida_restante()+ \" \"+equipo2[3].getVida_restante()+ \" \"+equipo2[4].getVida_restante()+ \" \"+equipo2[5].getVida_restante());\r\n JOptionPane.showMessageDialog(this.vc, equipo1[0].getVida_restante()+ \" \"+equipo1[1].getVida_restante()+ \" \"+equipo1[2].getVida_restante()+ \" \"+equipo1[3].getVida_restante()+ \" \"+equipo1[4].getVida_restante()+ \" \"+equipo1[5].getVida_restante()+\"\\n\"+ equipo2[0].getVida_restante()+ \" \"+equipo2[1].getVida_restante()+ \" \"+equipo2[2].getVida_restante()+ \" \"+equipo2[3].getVida_restante()+ \" \"+equipo2[4].getVida_restante()+ \" \"+equipo2[5].getVida_restante(), \"Estadisticas finales(vida)\", JOptionPane.INFORMATION_MESSAGE);\r\n vc.dispose();\r\n vpc.dispose();\r\n combate.setGanador(entrenador1);\r\n combate.setPerdedor(entrenador2);\r\n this.termino = true;\r\n }\r\n else if(getEquipo1()[0].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[0]; \r\n }\r\n else if(getEquipo1()[1].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[1]; \r\n }\r\n else if(getEquipo1()[2].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[2]; \r\n }\r\n else if(getEquipo1()[3].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[3]; \r\n }\r\n else if(getEquipo1()[4].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[4]; \r\n }\r\n else if(getEquipo1()[5].getDebilitado() == false){\r\n pokemon_activo2 = getEquipo2()[5]; \r\n } \r\n vc.setjL_nombrepokemon1(pokemon_activo2.getPseudonimo());\r\n vc.setjL_especie1(pokemon_activo2.getNombre_especie());\r\n }\r\n vc.setjL_especie2(pokemon_activo2.getNombre_especie());\r\n vc.setjL_nombrepokemon2(pokemon_activo2.getPseudonimo());\r\n vc.setjL_vida_actual2(pokemon_activo2.getVida_restante(), pokemon_activo2.getVida());\r\n setLabelEstados(0);\r\n setLabelEstados(1);\r\n this.turno = 1;\r\n }\r\n \r\n }", "public void sincronizza() {\n boolean abilita;\n\n super.sincronizza();\n\n try { // prova ad eseguire il codice\n\n /* abilitazione bottone Esegui */\n abilita = false;\n if (!Lib.Data.isVuota(this.getDataInizio())) {\n if (!Lib.Data.isVuota(this.getDataFine())) {\n if (Lib.Data.isSequenza(this.getDataInizio(), this.getDataFine())) {\n abilita = true;\n }// fine del blocco if\n }// fine del blocco if\n }// fine del blocco if\n this.getBottoneEsegui().setEnabled(abilita);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "@Override\n public void pulsarRaton(MouseEvent e) {\n pararCancion();\n //CAMBIAMOS LA PANTALLA\n PantallaNivel1 pantallaJuego = new PantallaNivel1(p);\n pantallaJuego.inicializarPantalla();\n p.cambiarPantalla(pantallaJuego);\n \n }" ]
[ "0.6572056", "0.61615264", "0.6154787", "0.61152035", "0.60688347", "0.60574615", "0.6044642", "0.6019038", "0.60113823", "0.6000948", "0.5859145", "0.5830259", "0.5824547", "0.581316", "0.5812924", "0.57721657", "0.5767827", "0.5764832", "0.5761421", "0.5757561", "0.5742015", "0.57250285", "0.57204455", "0.57112193", "0.5709171", "0.5696399", "0.5696183", "0.5692185", "0.5690531", "0.5690531", "0.56884027", "0.56780225", "0.5677493", "0.5673837", "0.56672704", "0.5663331", "0.5657284", "0.563608", "0.56351054", "0.56315744", "0.56273466", "0.5621096", "0.5617353", "0.5600585", "0.5598203", "0.55965817", "0.5582011", "0.5578929", "0.55735195", "0.5568973", "0.55619264", "0.5559747", "0.5554564", "0.55501395", "0.5538952", "0.5536306", "0.5529981", "0.5526123", "0.55225533", "0.55184674", "0.551843", "0.5516728", "0.5513783", "0.5510376", "0.55079603", "0.55004454", "0.5500443", "0.5499644", "0.5492531", "0.5490443", "0.5490384", "0.5490211", "0.5490137", "0.5489336", "0.54880875", "0.5481139", "0.54781735", "0.5475304", "0.5474161", "0.5473941", "0.5472201", "0.54701656", "0.54650176", "0.54640275", "0.5463754", "0.5457532", "0.5448521", "0.54445106", "0.5441435", "0.5440443", "0.54320633", "0.5431918", "0.5426922", "0.54234415", "0.54222006", "0.5420929", "0.5420774", "0.5418865", "0.5418072", "0.5416506", "0.54160196" ]
0.0
-1
get the description of the CellState, used to differentiate between different states in a humanreadable manner
public String getStateDescription() { return myID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DISPID(94)\r\n\t// = 0x5e. The runtime will prefer the VTID if present\r\n\t@VTID(92)\r\n\tjava.lang.String stateDescription();", "public String getStateDescription() {\n return (String)getAttributeInternal(STATEDESCRIPTION);\n }", "java.lang.String getState();", "public String getState() {\n\t\treturn state.toString();\n\t}", "@Nullable\n public StringProp getStateDescription() {\n if (mImpl.hasStateDescription()) {\n return StringProp.fromProto(mImpl.getStateDescription());\n } else {\n return null;\n }\n }", "@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\treturn state.toString();\r\n\t}", "@Override\n public String toString()\n {\n return state.toString();\n }", "public String getState() {\n\t\treturn this.state_rep;\n\t}", "String getState();", "String getState();", "String getState();", "public String getStateString()\r\n\t{\r\n\t\treturn stateString;\r\n\t}", "public String getStateString()\n {\n return stateString;\n }", "public String getState() {\r\n StringBuilder builder = new StringBuilder();\r\n builder.append(mLastLarge);\r\n builder.append(',');\r\n builder.append(mLastSmall);\r\n builder.append(',');\r\n for (int large = 0; large < 9; large++) {\r\n for (int small = 0; small < 9; small++) {\r\n builder.append(mSmallTiles[large][small].getOwner().name());\r\n builder.append(',');\r\n }\r\n }\r\n return builder.toString();\r\n }", "java.lang.String getStateReason();", "public String getStateOfBoard()\n {\n // This function is used to print state of the board. such as number of coins present on the board\n String str=\"\";\n str += \"Black_Coins Count:\"+this.gameController.getCoinsCount(CoinType.BLACK) +\" Red_Coins Count:\"+this.gameController.getCoinsCount(CoinType.RED);\n return str;\n }", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getState() != null)\n sb.append(\"State: \").append(getState()).append(\",\");\n if (getStateReason() != null)\n sb.append(\"StateReason: \").append(getStateReason()).append(\",\");\n if (getStateReasonCode() != null)\n sb.append(\"StateReasonCode: \").append(getStateReasonCode());\n sb.append(\"}\");\n return sb.toString();\n }", "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "public String getState()\r\n\t{\r\n\t\treturn state.getModelObjectAsString();\r\n\t}", "public String state() {\n return this.state;\n }", "public String state() {\n return this.state;\n }", "@Override\n\tpublic String getState() {\n\t\treturn this.state;\n\t}", "public String getState() { return state; }", "public String getState() {\n return this.state;\n }", "public String getState() {\n return this.state;\n }", "public String getState() {\n return this.state;\n }", "public String getState() {\n return this.state;\n }", "public String getState() \n\t{\n\t\treturn state;\n\t}", "public java.lang.String getState() {\r\n return state;\r\n }", "public String state() {\n\treturn state(points, temperature, currentStateEnergy);\n }", "public String getState() {\n return this.State;\n }", "public String stateToString(int row, int col) {\r\n if (!isValid(row, col)) {\r\n return INDEX_ERROR_MESSAGE;\r\n } else if (!isFree(row, col)) {\r\n return \"P\" + getState(row, col);\r\n }\r\n return \"**\";\r\n }", "public java.lang.String getState() {\n return state;\n }", "public java.lang.String getState() {\n return state;\n }", "public String getState() {\r\n\t\treturn state;\r\n\t}", "public String getState() {\r\n\t\treturn state;\r\n\t}", "public String getState() {\r\n\t\treturn state;\r\n\t}", "public String getState()\n\t{\n\t\treturn state;\n\t}", "public String toString() {\r\n\t\treturn (\"State: \" + this.key + \", Value: \" + this.val);\r\n\t}", "public String getState() {\r\n\t\treturn state;\t\t\r\n\t}", "public String getState() {\n return this.state;\n }", "public String getState() {\n return this.state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState() {\n return state;\n }", "public String getState()\n {\n \treturn state;\n }", "public String getState() {\n\t\treturn state;\n\t}", "public java.lang.String getState () {\n\t\treturn state;\n\t}", "public String getState() {\n return state;\n }", "public String toString() {\r\n\t\treturn gameState;\r\n\t}", "public Signal stateDescription();", "public String getState()\n\t{\n\t\treturn State;\n\t\t\n\t}", "public java.lang.String getState() {\n return State;\n }", "@Override\n public String getState()\n {\n return state;\n }", "public java.lang.String getState() {\n java.lang.Object ref = state_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n state_ = s;\n }\n return s;\n }\n }", "public java.lang.String getState() {\n java.lang.Object ref = state_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n state_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Output\n public String getState() {\n return state;\n }", "public String getState() {\n\t\treturn State;\n\t}", "public String getState(){\n return state;\n }", "@AutoEscape\n\tpublic String getState();", "public String toString() {\n\t\treturn \"PushObstacleState\";\n\t}", "public AeBpelState getState();", "public abstract String getState();", "public String getState() {\n StringBuilder builder = new StringBuilder();\n //builder.append(muteMusic.getBackground().getLevel());\n //builder.append(',');\n builder.append(muteClicked);\n builder.append(',');\n builder.append(gameOver);\n builder.append(',');\n builder.append(wordsDetectedByUser.size());\n builder.append(',');\n for(int i =0;i<wordsDetectedByUser.size();i++)\n { builder.append(wordsDetectedByUser.get(i));\n builder.append(',');}\n builder.append(notValidWord);\n builder.append(',');\n // m1Handler.removeCallbacks(m1Runnable);\n mHandler.removeCallbacks(mRunnable);\n builder.append(phaseTwo);\n builder.append(',');\n builder.append(currentScore); //storing current score\n builder.append(',');\n builder.append(t); //storing timer state\n builder.append(',');\n Object a[] = DoneTiles.toArray();\n builder.append(a.length);\n builder.append(',');\n for(int i=0;i<a.length;i++) {\n builder.append(a[i].toString());\n builder.append(',');\n }\n builder.append(mLastLarge);\n builder.append(',');\n builder.append(mLastSmall);\n builder.append(',');\n for (int large = 0; large < 9; large++) {\n for (int small = 0; small < 9; small++) {\n builder.append(mSmallTiles[large][small].getOwner().name());\n builder.append(',');\n builder.append((((Button)mSmallTiles[large][small].getView()).getText()).toString());\n builder.append(',');\n //Log.d(DoneTiles);\n }\n }\n return builder.toString();\n }", "public String toString() {\n\tStringBuffer buffer = new StringBuffer();\n\t//\tbuffer.append(\" 6 5 4 3 2 1 \\n\");\n\tbuffer.append(\"+---------------------------------------+\\n\");\n\t\n\tbuffer.append(\"| |\");\n\tfor (int i = 12; i >= 7; --i) {\n\t buffer.append(toString(state[i]));\n\t}\n\tbuffer.append(\" |\\n\");\n\t\n\tbuffer.append(\"|\");\n\tbuffer.append(toString(state[13]));\n\tbuffer.append(\"-----------------------------|\");\n\tbuffer.append(toString(state[6]));\n\tbuffer.append(\"\\n\");\n\t\n\tbuffer.append(\"| |\");\n\tfor (int i = 0; i <= 5; ++i) {\n\t buffer.append(toString(state[i]));\n\t}\n\tbuffer.append(\" |\\n\");\n\t\n\tbuffer.append(\"+---------------------------------------+\\n\");\n\tbuffer.append(\" 0 1 2 3 4 5 \\n\");\n\t\n\treturn buffer.toString();\n }", "public String getStateReason() {\n return this.stateReason;\n }", "public String printState(){\n if (this.state.equals(\"unstarted\")) return \"unstarted 0\";\n\n else if (this.state.equals(\"terminated\")) return \"terminated 0\";\n else if (this.state.equals(\"blocked\")) {\n return String.format(\"blocked %d\", ioBurstTime);\n }\n else if (this.state.equals(\"ready\")) {\n if (remainingCPUBurstTime !=null){\n return String.format(\"ready %d\", remainingCPUBurstTime);\n }\n return \"ready 0\";\n }\n\n else if (this.state.equals(\"running\")){\n return String.format(\"running %d\", cpuBurstTime);\n }\n\n else return \"Something went wrong.\";\n }", "@Override\n\tpublic java.lang.String getStateName() {\n\t\treturn _state.getStateName();\n\t}", "public String getState()\n {\n return null;\n }", "public String toString(){\n \tif(state){\n\t\treturn (\"1\");\n\t }\n\t else{\n\t\t return(\"0\");\n\t }\n }", "@Override\n\tpublic String getStateString() {\n\t\treturn null;\n\t}", "public java.lang.String getStateMessage() {\n java.lang.Object ref = stateMessage_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n stateMessage_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public static interface StateInfo {\n\t\tpublic int row();\n\t\tpublic int col();\n\t\tpublic Type type();\n\t}", "public String get_state() throws Exception {\n\t\treturn this.state;\n\t}", "public String get_state() throws Exception {\n\t\treturn this.state;\n\t}", "@java.lang.Override\n public java.lang.String getStateMessage() {\n java.lang.Object ref = stateMessage_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n stateMessage_ = s;\n return s;\n }\n }", "com.google.protobuf.ByteString\n getStateBytes();", "public String getStateCd() {\n\t\treturn stateCd;\n\t}", "@Override\n public String getState() {\n StringBuilder builder = new StringBuilder();\n StringBuilder listPitches = listAllPitches(this.getFinalBeat());\n int length = this.getFinalBeat();\n\n builder.append(listPitches);\n\n for (int i = 0; i < length; i++) {\n builder.append(\"\\n\" + padded(i, length) + notesToString(getNotesPlayingAtBeat(i), i));\n }\n return builder.toString();\n }", "public String getStateName() {\n return name;\n }", "public com.google.cloud.recommender.v1.RecommendationStateInfo getStateInfo() {\n if (stateInfoBuilder_ == null) {\n return stateInfo_ == null\n ? com.google.cloud.recommender.v1.RecommendationStateInfo.getDefaultInstance()\n : stateInfo_;\n } else {\n return stateInfoBuilder_.getMessage();\n }\n }", "public java.lang.CharSequence getState() {\n return state;\n }", "public String getDataState() {\n int state = mTelephonyManager.getDataState();\n String display = \"unknown\";\n\n switch (state) {\n case TelephonyManager.DATA_CONNECTED:\n display = \"Connected\";\n break;\n case TelephonyManager.DATA_SUSPENDED:\n display = \"Suspended\";\n break;\n case TelephonyManager.DATA_CONNECTING:\n display = \"Connecting\";\n break;\n case TelephonyManager.DATA_DISCONNECTED:\n display = \"Disconnected\";\n break;\n }\n\n return display;\n }", "public java.lang.CharSequence getState() {\n return state;\n }", "public String getState( )\r\n {\r\n if (isEating)\r\n return \"Eating\"; // Exit method w/ current state\r\n\r\n if (isSleeping)\r\n return \"Sleeping\";\r\n\r\n return \"Error in State\";\r\n }", "@Override\n public String toString ()\n {\n StringBuffer buffer = new StringBuffer();\n for (State value : stateMap.values()) {\n buffer.append(value.toString());\n buffer.append(\"\\n\");\n }\n return buffer.toString();\n }", "public String toString()\n\t{\n\t\treturn \"tag = \" + Integer.toHexString (myTag) + \" MesiState = \" + myMesiState;\n\n\t}", "public String getStateAsString() {\n return storeStateIntoString();\n }", "public String getState()\r\n\t{\r\n\t\treturn this.etat;\r\n\t}" ]
[ "0.7590749", "0.741607", "0.7172582", "0.7043193", "0.7031565", "0.70100343", "0.69463176", "0.6935452", "0.6883424", "0.6883424", "0.6883424", "0.6872956", "0.6870117", "0.6856296", "0.6818766", "0.6808877", "0.6744717", "0.67377996", "0.67377996", "0.67342365", "0.67221767", "0.67221767", "0.6714439", "0.6705375", "0.6704493", "0.6704493", "0.6704493", "0.6704493", "0.6697185", "0.66906625", "0.6690219", "0.6686283", "0.668614", "0.6678639", "0.6678639", "0.66522086", "0.66522086", "0.66522086", "0.6649573", "0.6645906", "0.66271377", "0.6624717", "0.6624717", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.66166663", "0.6613954", "0.6595715", "0.65914303", "0.65907454", "0.65855163", "0.65847826", "0.6550139", "0.65409046", "0.65300655", "0.65094197", "0.65011644", "0.6495609", "0.6464002", "0.64588994", "0.6445586", "0.64290494", "0.6423392", "0.6361367", "0.63592654", "0.635329", "0.6350877", "0.63384265", "0.63060147", "0.62965536", "0.6294939", "0.6283508", "0.6280993", "0.6269401", "0.62618524", "0.62618524", "0.6256671", "0.6229419", "0.6227401", "0.62155664", "0.6207553", "0.6196784", "0.6196148", "0.6189115", "0.6174429", "0.6166628", "0.61621875", "0.615651", "0.6151402", "0.61282057" ]
0.62926346
81
return the Node representing this state so that it can be rendered on the Grid
public abstract Node getNode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Node getNode (){\n if (_node == null){\n Label label = new Label(_value);\n label.setFont(DEFAULT_FONT);\n _node = label;\n }\n return _node;\n }", "INodeState getCurrentNode();", "public String getNode() {\n return node;\n }", "public String getNode()\n {\n return node;\n }", "public String getNode() {\n return node;\n }", "public int Node() { return this.Node; }", "@Override\n public IGridNode getActionableNode() {\n if (FMLCommonHandler.instance().getEffectiveSide().isClient()) {\n return null;\n }\n if (this.node == null) {\n this.node = AEApi.instance().createGridNode(this.gridBlock);\n }\n return this.node;\n }", "public Node getNode() {\n\t\tif(piece != null)\n\t\t\troot.getChildren().addAll(piece.getImage(),rectangle);\n\t\telse\n\t\t\troot.getChildren().add(rectangle);\n\t\treturn root;\n\t}", "public NodeState getState() {\n return state;\n }", "public Node getNode() {\n return node;\n }", "public Node getNode() {\n return node;\n }", "protected Node getComponentNode() {\n return componentNode;\n }", "public SortableDefaultMutableTreeNode getNode() {\n return node;\n }", "Node getNode();", "public Node getNode();", "public DefaultMutableTreeNode getNode(){\n\t\t\n\t\treturn this.node;\n\t\t\n\t}", "@JsOverlay\n\tpublic final ChartNode getNode() {\n\t\t// gets native chart\n\t\tChart nativeChart = getNativeChart();\n\t\t// gets chart\n\t\tIsChart chart = nativeChart.getChart();\n\t\t// creates and returns a char node\n\t\treturn new ChartNode(chart.getId(), nativeChart);\n\t}", "public TMNode getNode() {\n return node;\n }", "public Node<?> getNode() {\n return observedNode;\n }", "Node getNode() {\n return new Group(body.getPolygon(), head.getPolygon());\n }", "public NodeStateElements getNodeStateAccess() {\r\n\t\treturn pNodeState;\r\n\t}", "@Override\n public Cluster.Node getNode() {\n return node;\n }", "public SqlNode asNode() {\n return node;\n }", "public BPM getNode() {\n return BPMNode;\n }", "TreeNode getTreeNode();", "public final IRNode getNode() {\r\n return f_node;\r\n }", "private JPanel getNodePanel() {\r\n if (nodePanel == null) {\r\n nodePanel = new JPanel(new GridBagLayout());\r\n \r\n // Sub-panels\r\n int row = 0;\r\n nodePanel.add( \r\n getDeletePanel(),\r\n new GridBagConstraints(0, row, 1, 1, 1, 1,\r\n GridBagConstraints.WEST, GridBagConstraints.BOTH,\r\n new Insets(2, 2, 2, 2), 0, 0));\r\n nodePanel.add(\r\n getStatsPanel(),\r\n new GridBagConstraints(1, row++, 4, 1, 1, 1,\r\n GridBagConstraints.WEST, GridBagConstraints.BOTH,\r\n new Insets(2, 2, 2, 2), 0, 0));\r\n \r\n nodePanel.add(\r\n getDataPanel(),\r\n new GridBagConstraints(0, row++, 5, 1, 1, 1,\r\n GridBagConstraints.WEST, GridBagConstraints.BOTH,\r\n new Insets(2, 2, 2, 2), 0, 0));\r\n \r\n nodePanel.add(\r\n getNewChildPanel(),\r\n new GridBagConstraints(0, row++, 5, 1, 1, 1,\r\n GridBagConstraints.WEST, GridBagConstraints.BOTH,\r\n new Insets(2, 2, 2, 2), 0, 0));\r\n }\r\n return nodePanel;\r\n }", "public Node getBoardNode() {\r\n return tilesNode;\r\n }", "public Node getNode() {\n\t\treturn null;\n\t}", "public BaseRenderNode getCurrentNodeRenderer() {\n BaseRenderNode object = null;\n if (currentNode instanceof BlackNode) {\n object = blackNode;\n }\n else if (currentNode instanceof RedNode) {\n object = redNode;\n }\n return object;\n }", "@Override\n public String toString() {\n return \"GraphModelNode: \" + getText(); //$NON-NLS-1$\n }", "public Node getNode()\n\t{\n\t\treturn root;\n\t}", "public TreeNode getTreeNode() {\n return treeNode;\n }", "private Node getLobby() {//大廳節點\n\n Node base = new Node();\n\n base.setRenderable(arrowRenderable);\n\n return base;\n\n }", "@Override\n\tpublic GridsterLayoutState getState() {\n\t\treturn (GridsterLayoutState) super.getState();\n\t}", "Node getNode(ProgramPoint programPoint, @Nullable ProgramState programState) {\n Node result = new Node(programPoint, programState);\n Node cached = nodes.get(result);\n if (cached != null) {\n cached.isNew = false;\n return cached;\n }\n result.isNew = true;\n nodes.put(result, result);\n return result;\n }", "public Node getNode() {\r\n return channel.attr(NetworkConstants.ATTRIBUTE_NODE).get();\r\n }", "public String getNodeInstanceState() {\n\t\treturn nodeInstanceState;\n\t}", "public DefaultMutableTreeNode getRequestedNode()\n {\n // Reset node to be displayed\n displayNode = root;\n \n // Iterate trough the path array\n for (int i = 0; i < pathArray.length; i++)\n {\n if (displayNode.getDepth() > 1)\n {\n displayNode = (DefaultMutableTreeNode)\n displayNode.getChildAt(pathArray[i]);\n }\n }\n \n // Return node to be displayed\n return displayNode;\n }", "public short getNode() {\n return node;\n }", "protected ARXNode getSelectedNode() {\n return this.selectedNode;\n }", "public IIOMetadataNode getNativeNode() {\n return getNativeNodeForSimpleBox();\n }", "public DEPNode getNode()\n\t{\n\t\treturn node;\n\t}", "OperationNode getNode();", "@Override\n public Node getFullNode() {\n return getBasicNode();\n }", "public entities.Torrent.NodeId.Builder getNodeBuilder() {\n\n onChanged();\n return getNodeFieldBuilder().getBuilder();\n }", "public entities.Torrent.NodeId.Builder getNodeBuilder() {\n\n onChanged();\n return getNodeFieldBuilder().getBuilder();\n }", "@Override\n public String toString() {\n return \"Node [id=\" + id + \", data=\" + data + \", red=\" + red + \"]\";\n }", "public Node getNode() {\n return thread;\n }", "public FlowNode getFlowNode() {\n\t\treturn this.getHasInstanceRelationship().getNode();\n\t}", "public String getNodeValue ();", "public Node getL2pNode() {\n\t\treturn myNode;\n\t}", "@ApiModelProperty(required = true, value = \"The node on which the operation was performed.\")\n public BigDecimal getNode() {\n return node;\n }", "protected OtTreeNodeWidget getNode(Point location) {\n TreePath treePath = tree.getPathForLocation(location.x, location.y);\n if (treePath == null) {\n return null;\n }\n\n return (OtTreeNodeWidget) treePath.getLastPathComponent();\n }", "public String getNodeName()\n {\n return displayNode.toString();\n }", "public int getNodeLabel ();", "RenderedOp getNode(Long id) throws RemoteException;", "public GraphicsNode getGraphicsNode() {\n/* 87 */ return this.node;\n/* */ }", "protected SceneGraphObject createNode( Class state ) {\n\tSceneGraphObject ret;\n\n\ttry {\n\t ret = (SceneGraphObject)state.newInstance();\n\n\t //System.err.println(\"Created J3D node for \"+className );\n\t} catch( IllegalAccessException exce ) {\n\t throw new SGIORuntimeException( \"Broken State class for \"+\n\t\t\t\t\t\tstate.getClass().getName()+\" - IllegalAccess\" );\n\t} catch( InstantiationException excep ) {\n\t throw new SGIORuntimeException( \"Broken State class for \"+\n\t\t\t\t\t\tstate.getClass().getName() );\n\t}\n\n\treturn ret;\n }", "public NodeStateTypeElements getNodeStateTypeAccess() {\r\n\t\treturn eNodeStateType;\r\n\t}", "@AutoEscape\n\tpublic String getNode_3();", "@Override\n public Node getNode() throws ItemNotFoundException, ValueFormatException,\n RepositoryException {\n return null;\n }", "@Override\n public ClassNode getClassNode() {\n return this.classNode;\n }", "@AutoEscape\n\tpublic String getNode_1();", "public static VISNode get() {\n if (instance == null) {\n instance = new VISNode();\n }\n return instance;\n }", "public int bcNode() {\n return bcIndex;\n }", "abstract protected UiElementNode getRootNode();", "public int getNode() {\r\n\t\t\treturn data;\r\n\t\t}", "public TtreeNode() {\n\t numberOfNodes++;\n\t }", "private static TreeNode getNode() {\n TreeNode treeNode = new TreeNode(1);\n TreeNode left = new TreeNode(2);\n TreeNode right = new TreeNode(3);\n treeNode.left = left;\n treeNode.right = right;\n\n left.left = new TreeNode(4);\n right.left = new TreeNode(5);\n right.right = new TreeNode(6);\n return treeNode;\n }", "@Override\n public Node getBasicNode() {\n if (basicNode != null) {\n return basicNode;\n }\n synchronized(this) {\n if (basicNode == null) {\n basicNode = new GlassFishCloudInstanceNode(this);\n }\n }\n return basicNode;\n }", "public Ball getDrawnNode(){\n\t\treturn drawnNode;\n\t}", "public String getSourceNode() {\n return sourceNode;\n }", "public Node source() {\n return source;\n }", "int getBaseNode();", "public Node source() {\n\t\treturn _source;\n\t}", "@AutoEscape\n\tpublic String getNode_2();", "public String getNode_id() {\r\n\t\treturn node_id;\r\n\t}", "public NodeType getNodeType();", "public abstract int getNodeType();", "public String getNodeDescription() {\n return nodeDescription;\n }", "private Node getAndy() {\n Node base = new Node();\n base.setRenderable(andyRenderable);\n Context c = this;\n base.setOnTapListener((v, event) -> {\n Toast.makeText(\n c, \"Andy touched.\", Toast.LENGTH_LONG)\n .show();\n });\n return base;\n }", "public LifeState lifeState() {\r\n return lifeStates().head();\r\n }", "public Node clone() {\n Node n = new Node((float) this.getSimPos().getX(), (float) this.getSimPos().getY(), radius*2, isStationary, this.renderColor);\n n.node_uuid = this.node_uuid;\n return n;\n }", "private Node createVlanNode() {\n\t\tint infNumber = 0;\n\t\tNodeController nodeController = NodeController.getNodeController();\n\n\t\t// Calculate the vertical height multiplier\n\t\tif (nodeController.getHubNodes().size() == 0) {\n\t\t\tinfNumber =1;\n\t\t} else {\n\t\t\tfor (HubNode hubNode : nodeController.getHubNodes()) {\n\t\t\t\tif (hubNode.getVmInterfaceNames().size() == 0) {\n\t\t\t\t\tinfNumber += 1;\n\t\t\t\t} else {\n\t\t\t\t\tinfNumber += hubNode.getVmInterfaceNames().size();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tint vlanHeight = ((infNumber * 100) + ((infNumber -1) * 50));\n\n\n\t\tImage routerImg = new Image(\"root/Images/ROUTER.png\"); //Selecting the Location of the router\n\t\t// each hub is represented by a blue rectangle\n\t\t//imageContainer.addAll(new Rectangle(64, 48, Color.CORNFLOWERBLUE), image); //new Rectangle(PatternConfig.nodeLength, PatternConfig.nodeWidth);\n\n\t\t//node.setFill(imagePattern);\n\n\t\tImageView imageView = new ImageView(routerImg);\n\t\tRectangle routerBox = new Rectangle(100 /* TODO: Make global constant*/, vlanHeight);\n\t\trouterBox.setFill(Color.FUCHSIA);\n\n\t\tStackPane nodeContainer = new StackPane();\n\t\tnodeContainer.getChildren().addAll(routerBox, imageView);\n\t\tnodeContainer.relocate(50, 50);\n\n\t\treturn nodeContainer;\n\t}", "@AutoEscape\n\tpublic String getNode_5();", "public Node getCurrent() {\n return current;\n }", "private Node getNodeById(int objId){\n return dungeonPane.lookup(\"#\" + Integer.toString(objId));\n }", "public NodeColorizer getNodeColorizer() {\n return nodeColorizer;\n }", "public String getNodeDescription() {\n return nodeDescription;\n }", "public int getNodeID() {\n return nodeID;\n }", "public Name getNodeTypeName() {\n return nodeTypeName;\n }", "public int getCurrentNode() {\n\t\treturn currentNode;\n\t}", "private NodeState getNodeState(String nodeStateId) {\n \t\tNodeState result = null;\n\n \t\tif (nodeStateId != null) {\n \t\t\t// if NodeState doesn't exist, create it\n \t\t\tif (!nodeStates.containsKey(nodeStateId)) {\n \t\t\t\tresult = new NodeState();\n \t\t\t\tresult.setNodeStateId(nodeStateId);\n \t\t\t\tnodeStates.put(nodeStateId, result);\n \t\t\t} else {\n \t\t\t\tresult = nodeStates.get(nodeStateId);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}", "public Node()\n {\n \n name = new String();\n type = new String(\"internal\"); //Initial Node type set to internal\n length = new Double(0); //Set initial branch length to zero\n children = new ArrayList<Node>();\n level = 0;\n treesize = new Double(0);\n depth = 0;\n newicklength = 0;\n startycoord = -1;\n startxcoord = -1;\n endxcoord = -1;\n endycoord = -1;\n standardy = -1;\n selected = false;\n xmultiplier = 0;\n ymultiplier = 0;\n }", "Node getSourceNode();", "public Node(State state) {\r\n\t\t\tthis.state=state;\r\n\t\t}", "public Node getNode(String name) {\n Node result = super.getNode(name);\n\n if (result == null) {\n byte type = gateClass.getPinType(name);\n int index = gateClass.getPinNumber(name);\n if (type == CompositeGateClass.INTERNAL_PIN_TYPE)\n result = internalPins[index];\n }\n\n return result;\n }", "public abstract Node getBoundingNode();", "public Node getNode(Reference ref, Presentation presentation);" ]
[ "0.6974291", "0.6672863", "0.6605027", "0.65877783", "0.65846616", "0.6542671", "0.6534832", "0.64794105", "0.64758086", "0.6439732", "0.6439732", "0.64001375", "0.63664174", "0.63658214", "0.63522005", "0.63497204", "0.62904066", "0.62822825", "0.6250494", "0.6235053", "0.62275696", "0.6203659", "0.6162079", "0.6138032", "0.6071237", "0.6061272", "0.60537875", "0.6049767", "0.6039644", "0.6038904", "0.60241354", "0.6008826", "0.5999008", "0.59845203", "0.59740174", "0.5967083", "0.5946696", "0.59435546", "0.5937877", "0.5926762", "0.5921817", "0.589988", "0.58761895", "0.5851385", "0.58480614", "0.58278257", "0.58278257", "0.5818153", "0.5817179", "0.5810537", "0.5802053", "0.5799342", "0.57752585", "0.5771043", "0.5760957", "0.5735196", "0.57342166", "0.57283956", "0.5728209", "0.57282", "0.5727183", "0.57218874", "0.5721082", "0.571939", "0.5713866", "0.5710112", "0.5704248", "0.57022655", "0.57005304", "0.5686139", "0.5675456", "0.5669035", "0.5667994", "0.5664278", "0.56581837", "0.5656121", "0.56472236", "0.56458694", "0.5635959", "0.5625546", "0.5623498", "0.56219685", "0.56218547", "0.5620178", "0.5614024", "0.5608807", "0.56086683", "0.5600961", "0.56001806", "0.5597539", "0.5596674", "0.55816054", "0.55800754", "0.5574229", "0.5571253", "0.5571075", "0.5570783", "0.5556686", "0.5555011", "0.555338" ]
0.61658424
22
string issuer = 1;
java.lang.String getIssuer();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.7024679
0
string issuer = 1;
com.google.protobuf.ByteString getIssuerBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.5216857
43
string serialNumber = 2;
java.lang.String getSerialNumber();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.72638416
2
string serialNumber = 2;
com.google.protobuf.ByteString getSerialNumberBytes();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.0
-1
Use QueryGetCertificateRequest.newBuilder() to construct.
private QueryGetCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private QueryGetCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryGetCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.concurrent.Future<GetCertificateResult> getCertificateAsync(\n GetCertificateRequest getCertificateRequest);", "private QueryAllCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "private QueryGetCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryGetRevokeCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public com.squareup.okhttp.Call recCertGetCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath = \"/recording/certificates\";\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n\n final String[] localVarAccepts = {\n \"application/json\"\n };\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) localVarHeaderParams.put(\"Accept\", localVarAccept);\n\n final String[] localVarContentTypes = {\n \"application/json\"\n };\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n if(progressListener != null) {\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\n @Override\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\n return originalResponse.newBuilder()\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\n .build();\n }\n });\n }\n\n String[] localVarAuthNames = new String[] { };\n return apiClient.buildCall(localVarPath, \"GET\", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\n }", "private QueryGetRevokeCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.concurrent.Future<GetCertificateResult> getCertificateAsync(\n GetCertificateRequest getCertificateRequest,\n com.amazonaws.handlers.AsyncHandler<GetCertificateRequest, GetCertificateResult> asyncHandler);", "private QueryAllRevokeCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "X509CertificateInfo()\n {\n }", "java.util.concurrent.Future<DescribeCertificateResult> describeCertificateAsync(\n DescribeCertificateRequest describeCertificateRequest);", "public X509Certificate getCertificate();", "com.google.protobuf.ByteString getCertificate(int index);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "@Nullable\n public static X509Certificate [] getRequestClientCertificates (@Nonnull final HttpServletRequest aHttpRequest)\n {\n return _getRequestAttr (aHttpRequest, SERVLET_ATTR_CLIENT_CERTIFICATE, X509Certificate [].class);\n }", "public String call_google_certificate() throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n // From https://www.washington.edu/itconnect/security/ca/load-der.crt\n InputStream caInput = getResources().openRawResource(R.raw.loadder);\n Certificate ca;\n try {\n ca = cf.generateCertificate(caInput);\n System.out.println(\"ca=\" + ((X509Certificate) ca).getSubjectDN());\n } finally {\n caInput.close();\n }\n // Create a KeyStore containing our trusted CAs\n String keyStoreType = KeyStore.getDefaultType();\n KeyStore keyStore = KeyStore.getInstance(keyStoreType);\n keyStore.load(null, null);\n keyStore.setCertificateEntry(\"ca\", ca);\n // Create a TrustManager that trusts the CAs in our KeyStore\n String tmfAlgorithm = TrustManagerFactory.getDefaultAlgorithm();\n TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlgorithm);\n tmf.init(keyStore);\n // Create an SSLContext that uses our TrustManager\n SSLContext context = SSLContext.getInstance(\"TLS\");\n context.init(null, tmf.getTrustManagers(), null);\n // Tell the URLConnection to use a SocketFactory from our SSLContext\n URL url = new URL(\"https://certs.cac.washington.edu/CAtest/\");\n HttpsURLConnection urlConnection =\n (HttpsURLConnection) url.openConnection();\n urlConnection.setSSLSocketFactory(context.getSocketFactory());\n InputStream in = urlConnection.getInputStream();\n return getStringFromInputStream(in);\n }", "private QueryAllRevokeCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest,\n com.amazonaws.handlers.AsyncHandler<RequestCertificateRequest, RequestCertificateResult> asyncHandler);", "String getCertificate();", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return instance.getCertificate(index);\n }", "public String getCertificationRequest() {\n if (signingRequest == null) return null;\n return signingRequest.getCertificationRequest().getContent();\n }", "public com.vodafone.global.er.decoupling.binding.request.GetServiceRequest createGetServiceRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.GetServiceRequestImpl();\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n if (certificateBuilder_ != null) {\n return certificateBuilder_.getMessageOrBuilder();\n } else {\n return certificate_ == null ?\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index); } else {\n return certificateBuilder_.getMessageOrBuilder(index);\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder(\n int index) {\n return getCertificateFieldBuilder().getBuilder(index);\n }", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "public Cancellable requestCertificate(final Identifier source,\n final I principal, final Continuation<X509Certificate, Exception> c,\n Map<String, Object> options) {\n return super.requestValue(source, principal, c, options);\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private OCSPRequest buildOcspRequest(X509Certificate cert)\n throws NoSuchAlgorithmException, X509ExtensionException,\n InvalidKeyException, OCSPException, CodingException {\n\n /* Construct the request */\n OCSPRequest req = new OCSPRequest();\n\n /* Construct the request list for the OCSP request */\n Request[] request_list = new Request[1];\n X509Certificate target_cert = cert;\n ReqCert req_cert = new ReqCert(ReqCert.pKCert, target_cert);\n request_list[0] = new Request(req_cert);\n\n /* OCSP request nonce */\n SecureRandom rng = new SecureRandom();\n byte[] ocsp_nonce_value = new byte[32];\n rng.nextBytes(ocsp_nonce_value);\n\n /* Setup the certificate request */\n req.setRequestList(request_list);\n req.addExtension(new Nonce(ocsp_nonce_value));\n\n Name subject_dn = (Name) this.client_cert_.getSubjectDN();\n req.setRequestorName(new GeneralName(GeneralName.directoryName, subject_dn));\n\n X509Certificate[] chain = new X509Certificate[1];\n chain[0] = cert;\n\n /* Set the signer certificates and sign the OCSP request */\n req.setCertificates(chain);\n req.sign(AlgorithmID.sha1WithRSAEncryption, this.client_key_);\n\n return req;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public GetEntityRequest(Query<?> query) throws Exception {\n\t\tsuper(query.getService(), query.getEntityClass(), Method.GET);\n\t\tthis.query = query;\n\t}", "public X509Certificate getCACertificate() throws DorianInternalException;", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;", "java.util.List<com.google.protobuf.ByteString> getCertificateList();", "public Builder clearCertificate() {\n if (certificateBuilder_ == null) {\n certificate_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n certificateBuilder_.clear();\n }\n return this;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "private @NonNull WpcCrtChn getChn() throws IOException, GeneralSecurityException {\n int siz = MAX_CRT; // Initialize the requested length for the GET_CERTIFICATE Request\n int ofs = 0; // Initialize the offset for the GET_CERTIFICATE Request\n int len = 0; // Initialize length of Certificate Chain\n ByteArrayOutputStream bas = new ByteArrayOutputStream(MAX_CRT); // Create stream for Certificate Chain\n do {\n ByteBuffer req = getMsg(REQ_CRT, 4); // Create GET_CERTIFICATE request message\n req.position(1); // Set buffer pointer to offset\n req.put((byte) (((ofs & 0x0300) >> 2) | SLOT_0)); // Add slot byte\n req.put((byte) ofs); // Add offset\n req.put((byte) siz); // Add Length\n ByteBuffer res = sndMsg(req, WpcAthRsp.RES_CRT); // Send GET_CERTIFICATE Request\n if (ofs == 0) { // First GET_CERTIFICATE Request?\n len = res.getShort(); // Get the total length of the Certificate Chain\n if (len < siz) { // Certificate Chain too small?\n WpcLog.logErr(\"Wrong WPC Certificate Chain length\"); // Log error\n throw new IOException(); // Abort authentication\n }\n }\n byte[] buf = res.array(); // Get CERTIFICATE Response\n if ((siz != (buf.length - 1))) { // Incorrect Certificate Chain fragment size?\n WpcLog.logErr(\"Invalid WPC Certificate Chain length\"); // Log error\n throw new IOException(); // Abort authentication\n }\n bas.write(buf, 1, siz); // Add Certificate fragment to the Certificate Chain\n len = len - siz; // Calculate remaining bytes in the Certificate Chain\n ofs = ofs + siz; // Calculate offset for the next GET_CERTIFICATE Request\n if (len > MAX_CRT) { // Remaining Certificate Chain does not fit into one GET_CERTIFICATE Request?\n siz = MAX_CRT; // Request the maximum fragment for the next GET_CERTIFICATE Request\n } else { // Remaining Certificate Chain fits into one GET_CERTIFICATE Request\n siz = len; // Request the remaining bytes of the Certificate Chain\n }\n } while (len > 0); // Repeat until whole Certificate Chain is received\n byte[] ba = bas.toByteArray(); // Convert WPC Certificate Chain into a byte array\n WpcCrtChn chn = new WpcCrtChn(ba); // Create the Certificate Chain\n chn.verify(); // Verify the Certificate Chain\n mCom.setChn(chn); // Announce used WPC Certificate Chain\n WpcLog.log(WpcLog.EvtTyp.CHN, ba); // Log the received WPC Certificate Chain\n return chn; // Return the Certificate Chain\n }", "List<Certificate> getCertificatesById(@NonNull String certificateId, String sha256Thumbprint);", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder getCertificatesBuilder() {\n \n onChanged();\n return getCertificatesFieldBuilder().getBuilder();\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder getCertificatesBuilder() {\n \n onChanged();\n return getCertificatesFieldBuilder().getBuilder();\n }", "public CertAuthClient queryAsync(Consumer<RSAKeyParameters> listener)\n\t\t{\n\t\t\tthis.queryAsync(listener, ex -> {\n\t\t\t\tU.e(\"Unable to query CA public key.\", ex);\n\t\t\t});\n\t\t\treturn this;\n\t\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic List<Certificate> getAllCertificate() {\n\n\t\tTransaction transaction = null;\n\t\tList<Certificate> listOfCertificate = null;\n\t\ttry (Session session = HibernateUtil.getSessionFactory().openSession()) {\n\t\t\t// start a transaction\n\t\t\ttransaction = session.beginTransaction();\n\t\t\t// get an certificate object\n\t\t\t\n\t\t\tlistOfCertificate = session.createQuery(\"from Certificate\").getResultList();\n\t\t\t\n\t\t\t// commit transaction\n\t\t\ttransaction.commit();\n\t\t} catch (Exception e) {\n\t\t\tif (transaction != null) {\n\t\t\t\ttransaction.rollback();\n\t\t\t}\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn listOfCertificate;\n\t}", "org.spin.grpc.util.ClientRequest getClientRequest();", "CertificationsResponse callCertificationGetRESTCall(String methodName,\n String urlTemplate,\n Object... params) throws PropertyServerException\n {\n return (CertificationsResponse)this.callGetRESTCall(methodName, CertificationsResponse.class, urlTemplate, params);\n }", "List<X509Cert> caCerts(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "org.spin.grpc.util.ClientRequestOrBuilder getClientRequestOrBuilder();", "private GetObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private GetCDKeyAwardReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "@RequestMapping(path = \"/v1/certificates\", method = RequestMethod.GET)\n public ResponseEntity<Object> getCertificates(@RequestParam(\"ag\") String assetGroup) {\n if (Strings.isNullOrEmpty(assetGroup)) {\n return ResponseUtils.buildFailureResponse(new Exception(ASSET_MANDATORY));\n }\n OutputDTO output = null;\n try {\n output = new OutputDTO(complianceService.getCertificates(assetGroup));\n } catch (ServiceException e) {\n return complianceService.formatException(e);\n }\n return ResponseUtils.buildSucessResponse(output);\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates() {\n if (certificatesBuilder_ == null) {\n return certificates_ == null ? liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n } else {\n return certificatesBuilder_.getMessage();\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates() {\n if (certificatesBuilder_ == null) {\n return certificates_ == null ? liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n } else {\n return certificatesBuilder_.getMessage();\n }\n }", "private OCSPReq generateOCSPRequest() throws OCSPException, IOException\n {\n Security.addProvider(SecurityProvider.getProvider());\n\n // Generate the ID for the certificate we are looking for\n CertificateID certId;\n try\n {\n certId = new CertificateID(new SHA1DigestCalculator(),\n new JcaX509CertificateHolder(issuerCertificate),\n certificateToCheck.getSerialNumber());\n }\n catch (CertificateEncodingException e)\n {\n throw new IOException(\"Error creating CertificateID with the Certificate encoding\", e);\n }\n\n // https://tools.ietf.org/html/rfc2560#section-4.1.2\n // Support for any specific extension is OPTIONAL. The critical flag\n // SHOULD NOT be set for any of them.\n\n Extension responseExtension = new Extension(OCSPObjectIdentifiers.id_pkix_ocsp_response,\n false, new DLSequence(OCSPObjectIdentifiers.id_pkix_ocsp_basic).getEncoded());\n\n encodedNonce = new DEROctetString(new DEROctetString(create16BytesNonce()));\n Extension nonceExtension = new Extension(OCSPObjectIdentifiers.id_pkix_ocsp_nonce, false,\n encodedNonce);\n\n OCSPReqBuilder builder = new OCSPReqBuilder();\n builder.setRequestExtensions(\n new Extensions(new Extension[] { responseExtension, nonceExtension }));\n builder.addRequest(certId);\n return builder.build();\n }", "public @Nullable\n Certificate getCertificate() throws GeneralSecurityException, IOException {\n KeyStoreManager keyStoreManager = KeyStoreManager.builder()\n .context(Config.getInstance().getContext()).build();\n return keyStoreManager.getCertificate(keyAlias);\n }", "public CloudServiceVaultCertificate() {\n }", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public static Response doGetRequest(String url) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException {\n try {\n Request request = new Request.Builder()\n .url(url).addHeader(\"Content-Type\", \"text/plain\")\n .build();\n Response response = client.newCall(request).execute();\n return response;\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "public List<Certificate> getCertificates(String searchValue, int resultSize, int timeOut) throws ServerNotAvailableException {\n try {\n //Setting headers for post Reqest\n String postData = CERT_PRE_STRING + URLEncoder.encode(searchValue, \"UTF-8\") + CERT_POST_STRING;\n //seding post\n URL regAdress = new URL(postData);\n HttpURLConnection regCon = (HttpURLConnection) regAdress.openConnection();\n timeOut = timeOut * 1000;\n regCon.setConnectTimeout(timeOut);\n regCon.setReadTimeout(timeOut);\n regCon.setRequestMethod(Headers.get(\"method.get\"));\n regCon.connect();\n //Getting response and build it to line\n String result = getResultString(regCon);\n //Parsing result\n Elements elements = getElements(result);\n return parse(elements, 1, resultSize);\n } catch (ServerNotAvailableException e) {\n log.info(\"Server is not avilable again\",e);\n throw new ServerNotAvailableException(\"KIRGIZ_CERT\");\n } catch (Exception e) {\n log.error(\"Error parsing resultpage from AM !!\",e);\n return new ArrayList<Certificate>();\n }\n }", "public interface CertificatePersistence extends BasePersistence<Certificate> {\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. Always use {@link CertificateUtil} to access the certificate persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.\n\t */\n\n\t/**\n\t* Returns all the certificates where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @return the matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassName(\n\t\tjava.lang.String className)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns a range of all the certificates where className = &#63;.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param className the class name\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @return the range of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassName(\n\t\tjava.lang.String className, int start, int end)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns an ordered range of all the certificates where className = &#63;.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param className the class name\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)\n\t* @return the ordered range of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassName(\n\t\tjava.lang.String className, int start, int end,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the first certificate in the ordered set where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the first matching certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate findByClassName_First(\n\t\tjava.lang.String className,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Returns the first certificate in the ordered set where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the first matching certificate, or <code>null</code> if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate fetchByClassName_First(\n\t\tjava.lang.String className,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the last certificate in the ordered set where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the last matching certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate findByClassName_Last(\n\t\tjava.lang.String className,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Returns the last certificate in the ordered set where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the last matching certificate, or <code>null</code> if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate fetchByClassName_Last(\n\t\tjava.lang.String className,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the certificates before and after the current certificate in the ordered set where className = &#63;.\n\t*\n\t* @param certificateId the primary key of the current certificate\n\t* @param className the class name\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the previous, current, and next certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a certificate with the primary key could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate[] findByClassName_PrevAndNext(\n\t\tlong certificateId, java.lang.String className,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Removes all the certificates where className = &#63; from the database.\n\t*\n\t* @param className the class name\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic void removeByClassName(java.lang.String className)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the number of certificates where className = &#63;.\n\t*\n\t* @param className the class name\n\t* @return the number of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic int countByClassName(java.lang.String className)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns all the certificates where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @return the matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassNameAndClassPK(\n\t\tjava.lang.String className, long classPK)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns a range of all the certificates where className = &#63; and classPK = &#63;.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @return the range of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassNameAndClassPK(\n\t\tjava.lang.String className, long classPK, int start, int end)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns an ordered range of all the certificates where className = &#63; and classPK = &#63;.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)\n\t* @return the ordered range of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findByClassNameAndClassPK(\n\t\tjava.lang.String className, long classPK, int start, int end,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the first certificate in the ordered set where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the first matching certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate findByClassNameAndClassPK_First(\n\t\tjava.lang.String className, long classPK,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Returns the first certificate in the ordered set where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the first matching certificate, or <code>null</code> if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate fetchByClassNameAndClassPK_First(\n\t\tjava.lang.String className, long classPK,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the last certificate in the ordered set where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the last matching certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate findByClassNameAndClassPK_Last(\n\t\tjava.lang.String className, long classPK,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Returns the last certificate in the ordered set where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the last matching certificate, or <code>null</code> if a matching certificate could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate fetchByClassNameAndClassPK_Last(\n\t\tjava.lang.String className, long classPK,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the certificates before and after the current certificate in the ordered set where className = &#63; and classPK = &#63;.\n\t*\n\t* @param certificateId the primary key of the current certificate\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)\n\t* @return the previous, current, and next certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a certificate with the primary key could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate[] findByClassNameAndClassPK_PrevAndNext(\n\t\tlong certificateId, java.lang.String className, long classPK,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Removes all the certificates where className = &#63; and classPK = &#63; from the database.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic void removeByClassNameAndClassPK(java.lang.String className,\n\t\tlong classPK)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the number of certificates where className = &#63; and classPK = &#63;.\n\t*\n\t* @param className the class name\n\t* @param classPK the class p k\n\t* @return the number of matching certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic int countByClassNameAndClassPK(java.lang.String className,\n\t\tlong classPK)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Caches the certificate in the entity cache if it is enabled.\n\t*\n\t* @param certificate the certificate\n\t*/\n\tpublic void cacheResult(\n\t\tvn.com.ecopharma.hrm.rc.model.Certificate certificate);\n\n\t/**\n\t* Caches the certificates in the entity cache if it is enabled.\n\t*\n\t* @param certificates the certificates\n\t*/\n\tpublic void cacheResult(\n\t\tjava.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> certificates);\n\n\t/**\n\t* Creates a new certificate with the primary key. Does not add the certificate to the database.\n\t*\n\t* @param certificateId the primary key for the new certificate\n\t* @return the new certificate\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);\n\n\t/**\n\t* Removes the certificate with the primary key from the database. Also notifies the appropriate model listeners.\n\t*\n\t* @param certificateId the primary key of the certificate\n\t* @return the certificate that was removed\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a certificate with the primary key could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate remove(long certificateId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate updateImpl(\n\t\tvn.com.ecopharma.hrm.rc.model.Certificate certificate)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the certificate with the primary key or throws a {@link vn.com.ecopharma.hrm.rc.NoSuchCertificateException} if it could not be found.\n\t*\n\t* @param certificateId the primary key of the certificate\n\t* @return the certificate\n\t* @throws vn.com.ecopharma.hrm.rc.NoSuchCertificateException if a certificate with the primary key could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate findByPrimaryKey(\n\t\tlong certificateId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException,\n\t\t\tvn.com.ecopharma.hrm.rc.NoSuchCertificateException;\n\n\t/**\n\t* Returns the certificate with the primary key or returns <code>null</code> if it could not be found.\n\t*\n\t* @param certificateId the primary key of the certificate\n\t* @return the certificate, or <code>null</code> if a certificate with the primary key could not be found\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic vn.com.ecopharma.hrm.rc.model.Certificate fetchByPrimaryKey(\n\t\tlong certificateId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns all the certificates.\n\t*\n\t* @return the certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns a range of all the certificates.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @return the range of certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findAll(\n\t\tint start, int end)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns an ordered range of all the certificates.\n\t*\n\t* <p>\n\t* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link vn.com.ecopharma.hrm.rc.model.impl.CertificateModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.\n\t* </p>\n\t*\n\t* @param start the lower bound of the range of certificates\n\t* @param end the upper bound of the range of certificates (not inclusive)\n\t* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)\n\t* @return the ordered range of certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic java.util.List<vn.com.ecopharma.hrm.rc.model.Certificate> findAll(\n\t\tint start, int end,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Removes all the certificates from the database.\n\t*\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic void removeAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n\n\t/**\n\t* Returns the number of certificates.\n\t*\n\t* @return the number of certificates\n\t* @throws SystemException if a system exception occurred\n\t*/\n\tpublic int countAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;\n}", "private com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificateOuterClass.Certificate, liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder, liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateFieldBuilder() {\n if (certificateBuilder_ == null) {\n certificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificateOuterClass.Certificate, liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder, liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder>(\n getCertificate(),\n getParentForChildren(),\n isClean());\n certificate_ = null;\n }\n return certificateBuilder_;\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder(\n int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index); } else {\n return certificatesBuilder_.getMessageOrBuilder(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder(\n int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index); } else {\n return certificatesBuilder_.getMessageOrBuilder(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder() {\n if (certificatesBuilder_ != null) {\n return certificatesBuilder_.getMessageOrBuilder();\n } else {\n return certificates_ == null ?\n liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder() {\n if (certificatesBuilder_ != null) {\n return certificatesBuilder_.getMessageOrBuilder();\n } else {\n return certificates_ == null ?\n liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n }\n }", "@Nonnull\n public CloudPcProvisioningPolicyRequest buildRequest(@Nonnull final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.CloudPcProvisioningPolicyRequest(getRequestUrl(), getClient(), requestOptions);\n }", "java.util.concurrent.Future<ListCertificatesResult> listCertificatesAsync(\n ListCertificatesRequest listCertificatesRequest);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "List<TdxNoticeCertificate> selectByExample(TdxNoticeCertificateExample example);", "com.google.protobuf.ByteString\n getQueryBytes();", "public Builder clearCertificate() {\n copyOnWrite();\n instance.clearCertificate();\n return this;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate fetchByPrimaryKey(\n\t\tlong certificateId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\r\n\tpublic List<CertificateRequest> findByCondition() {\n\t\treturn null;\r\n\t}", "public com.vodafone.global.er.decoupling.binding.request.GetServicesRequest createGetServicesRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.GetServicesRequestImpl();\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index);\n } else {\n return certificatesBuilder_.getMessage(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index);\n } else {\n return certificatesBuilder_.getMessage(index);\n }\n }", "public com.vodafone.global.er.decoupling.binding.request.GetPackageRequest createGetPackageRequest()\n throws javax.xml.bind.JAXBException\n {\n return new com.vodafone.global.er.decoupling.binding.request.impl.GetPackageRequestImpl();\n }", "public Certificate getCertificate(String alias) throws CryptoException {\n\t\ttry {\n\t\t\treturn keystore.getCertificate(alias);\n\t\t} catch (KeyStoreException e) {\n\t\t\tlogger.error(\"error accessing the keystore\", e);\n\t\t\tthrow new CryptoException(\"error accessing the keystore\", e);\t\t\t\n\t\t}\n\t}", "public X509Certificate getCertificate(int token, String pin)\n throws SignedDocException;", "@Override\n public GetWirelessGatewayCertificateResult getWirelessGatewayCertificate(GetWirelessGatewayCertificateRequest request) {\n request = beforeClientExecution(request);\n return executeGetWirelessGatewayCertificate(request);\n }", "public com.squareup.okhttp.Call recCertCheckCall(File certificateFile, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath = \"/recording/certificates/check\";\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n if (certificateFile != null)\n localVarFormParams.put(\"certificate_file\", certificateFile);\n\n final String[] localVarAccepts = {\n \"application/json\"\n };\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) localVarHeaderParams.put(\"Accept\", localVarAccept);\n\n final String[] localVarContentTypes = {\n \"multipart/form-data\"\n };\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n if(progressListener != null) {\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\n @Override\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\n return originalResponse.newBuilder()\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\n .build();\n }\n });\n }\n\n String[] localVarAuthNames = new String[] { };\n return apiClient.buildCall(localVarPath, \"POST\", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\n }", "public String requestCert(String serialNumber){\n Certificate cert = keyStoreReader.readCertificate(keystoreFile, keystorePassword, serialNumber);\n return cert.toString();\n }", "public IAccessPackageSubjectRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.AccessPackageSubjectRequest(getRequestUrl(), getClient(), requestOptions);\n }" ]
[ "0.700501", "0.67932147", "0.67844063", "0.63401693", "0.6204655", "0.61585253", "0.6043261", "0.60209817", "0.5848506", "0.5677969", "0.55137134", "0.5492593", "0.5411418", "0.540347", "0.5361925", "0.5239939", "0.51787853", "0.51746154", "0.5158673", "0.51518077", "0.51178235", "0.5071443", "0.50601226", "0.5013673", "0.50046325", "0.49871483", "0.49370474", "0.49280676", "0.4927368", "0.4917123", "0.48923925", "0.48777205", "0.48710227", "0.48661327", "0.48502678", "0.48321432", "0.48244512", "0.48018157", "0.48016477", "0.47883648", "0.47846982", "0.47776535", "0.4775811", "0.4775811", "0.47651213", "0.47488663", "0.47319266", "0.47195393", "0.47023043", "0.46960074", "0.4659014", "0.46561474", "0.46561474", "0.46419474", "0.46291894", "0.46085912", "0.46085867", "0.45988902", "0.45892775", "0.45892775", "0.4582111", "0.45744583", "0.45741367", "0.45719472", "0.45522505", "0.45495933", "0.45495933", "0.4544857", "0.45410416", "0.45243162", "0.45111266", "0.45009643", "0.44935367", "0.44881245", "0.44777265", "0.44761094", "0.44761094", "0.44604442", "0.44604442", "0.44580758", "0.4457126", "0.44440022", "0.4436603", "0.4436603", "0.44363004", "0.4436154", "0.4431909", "0.4427917", "0.44216385", "0.4417702", "0.44157264", "0.44095752", "0.44095752", "0.44019288", "0.4400863", "0.4389764", "0.43818313", "0.43813425", "0.4376762", "0.43762487" ]
0.7560857
0
string issuer = 1;
public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.6303887
5
string issuer = 1;
public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.57772315
13
string serialNumber = 2;
public java.lang.String getSerialNumber() { java.lang.Object ref = serialNumber_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serialNumber_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.6487284
17
string serialNumber = 2;
public com.google.protobuf.ByteString getSerialNumberBytes() { java.lang.Object ref = serialNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.5976332
43
string issuer = 1;
public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.63449156
3
string issuer = 1;
public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); issuer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.591487
12
string issuer = 1;
public Builder setIssuer( java.lang.String value) { if (value == null) { throw new NullPointerException(); } issuer_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.6256613
6
string issuer = 1;
public Builder clearIssuer() { issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "public Builder setIssuerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n issuer_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5218393", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.0
-1
string issuer = 1;
public Builder setIssuerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuer_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getIssuer();", "public int getExternalIssuer();", "private String issuer() {\n return \"spoqn.com\";\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Test\n public void issuerTest() {\n // TODO: test issuer\n }", "public java.lang.String getIssuer() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n issuer_ = s;\n return s;\n }\n }", "public Builder setIssuer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n issuer_ = value;\n onChanged();\n return this;\n }", "public String getIssuerId() {\r\n return issuerId;\r\n }", "IssuerInfo getIssuer(String issuerName);", "public void setExternalIssuer(int externalIssuer);", "public String getIssuerName() {\n return issuerName;\n }", "public String getIssuer() {\n return this.Issuer;\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getIssuerBytes() {\n java.lang.Object ref = issuer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n issuer_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Uri getIssuer();", "public String issuer() {\n return this.innerProperties() == null ? null : this.innerProperties().issuer();\n }", "public static String generateCardNumber(Issuer issuer) {\n // cardNumber = Visa start with 4400, AMex: 3715, MasterCard = 3507\n String number = \"\";\n switch(issuer){\n case VISA: number += \"4400\"; break;\n case MASTER_CARD: number += \"3507\"; break;\n case AMEX: number += \"3715\"; break;\n case DISCOVER: number += \"5555\"; break;\n }\n /*\n if(issuer.equalsIgnoreCase(\"Visa\")) {\n number += \"4400\";\n }\n else if(issuer.equalsIgnoreCase(\"MasterCard\")) {\n number += \"3507\";\n }\n else if(issuer.equalsIgnoreCase(\"American Express\") \n || issuer.equalsIgnoreCase(\"Amex\")) {\n number += \"3715\";\n }\n else { // for our program, a default starting number\n number += \"5555\"; \n }\n */\n // could make random 12 digit number to add on.\n // or a counter that would add on\n number += COUNTER; \n COUNTER++;\n\n return number;\n }", "public static String aPaymentId() {\n return \"123456\";\n }", "public void setIssuerInfo(IssuerInfo issuer) {\r\n\t\tthis.issuerInfo = issuer;\r\n\t}", "public CertificateIssuer(String name) {\r\n\tsuper();\r\n\t\tthis.name = name;\r\n\t\tthis.hascert = false;\r\n\t}", "public void setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "public void setIssuer(String Issuer) {\n this.Issuer = Issuer;\n }", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "@Test\n public void identifierTest() {\n assertEquals(\"ident1\", authResponse.getIdentifier());\n }", "@ApiModelProperty(value = \"Identifier for the issuer object.\")\n public String getId() {\n return id;\n }", "public void mo4509t(int i, String str) {\n }", "java.lang.String getSubjectKeyID();", "java.lang.String getSubjectKeyID();", "static String m9939c(String str) throws C2579j {\n if (str == null || str.isEmpty()) {\n throw new C2579j(\"Authorization response does not contain the signed_request\");\n }\n try {\n String[] split = str.split(\"\\\\.\");\n if (split.length == 2) {\n return new JSONObject(new String(Base64.decode(split[1], 0), C2793C.UTF8_NAME)).getString(\"user_id\");\n }\n } catch (UnsupportedEncodingException | JSONException unused) {\n }\n throw new C2579j(\"Failed to retrieve user_id from signed_request\");\n }", "String getSecId();", "public ByteArrayAttribute getAcIssuer() {\n return acIssuer;\n }", "public void setSubject(String s)\r\n {\r\n mySubject = s;\r\n }", "public void setIssuerId(String issuerId) {\r\n this.issuerId = issuerId == null ? null : issuerId.trim();\r\n }", "public String getMlIssuerId() {\r\n return mlIssuerId;\r\n }", "public String getParty()\n {\n return party;\n}", "static String a(NetLoginHandler var0)\n {\n return var0.loginKey;\n }", "public void setIdAuthority(String theString) {\n\t \r\n }", "@Test\n public void getEncryptedSummIDTest(){\n RiotApiHandler userTest=RiotApiHandler.getInstance();\n String testString=userTest.getEncryptedSummID(\"8f9zu86yj87xgh76\",\"eun1\");\n Assert.assertEquals(\"SOcIiFqhj5Qe7z8BhRygyYMJrNpr_M9ABs5seHddZ8n5K78\",testString);\n }", "public void setIssuerDn(String issuerDn) {\n\t\tthis.issuerDn = issuerDn;\n\t}", "public String getIssuerDn() {\n\t\treturn issuerDn;\n\t}", "public String getIssn() {\n\t\treturn issn;\n\t}", "public java.lang.String getAuthId(){\r\n return localAuthId;\r\n }", "com.google.protobuf.ByteString\n getIssuerBytes();", "String getSecret();", "protected abstract int[] setIssuerIdentificationNumber();", "java.lang.String getServerSecret();", "public interface Constants {\n String NA = \"NA\";\n String ARG_USERS=\"user\";\n String SENDER_ID =\"fro9SbG2Eic:APA91bHzUBA35xjcDP7TXu5uG3JetLMENHfJpfKnRjS02-y8W4n1ZonIn9HYNAwjV8F3uiOAV2gXparORINEEps3t0kCZHI2rutU33DaUlDeGJYrKDK_fG9HCdXAq1gNHtfmfqHGDBve\" ;\n}", "String getStudentJID()\n{\n return student_jid;\n}", "String getTheirPartyId();", "String getCertificate();", "public String getMerchantNo();", "public void setSnsubject(final String val) {\n snsubject = val;\n }", "String promptSecureString();", "public void setSubject (String s) {\n subject = s;\n }", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "java.lang.String getSID();", "public static ISigner GetSigner(String string) {\n\t\treturn null;\r\n\t}", "X500Principal getSubject();", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "java.lang.String getSecret();", "String getSubject();", "String getSubject();", "String getCCSID();", "private int getSSN (){\n return ssn;\n }", "String publisherIdentifier();", "void setIsbn(String isbn);", "protected String loginIdentifyString() {\r\n return \"hao\";\r\n }", "private IssuerData generateIssuerData(String signerName){\n String serial = myDatabase.getSerialByName(signerName);\n X509Certificate signerCert = (X509Certificate) keyStoreReader.readCertificate(keystoreFile, keystorePassword, serial);\n PrivateKey signerPrivateKey = keyStoreReader.readPrivateKey(keystoreFile, keystorePassword, serial, entriesPassword);\n\n String x500Principal = signerCert.getSubjectX500Principal().toString();\n String[] tokens = x500Principal.split(\", \");\n String uid = tokens[0].split(\"=\")[1];\n String email = tokens[1].split(\"=\")[1];\n String country = tokens[2].split(\"=\")[1];\n String organisation = tokens[3].split(\"=\")[1];\n String oUnit = tokens[4].split(\"=\")[1];\n String givenName = tokens[5].split(\"=\")[1];\n String sureName = tokens[6].split(\"=\")[1];\n String commonName = tokens[7].split(\"=\")[1];\n\n X500NameBuilder builder = new X500NameBuilder(BCStyle.INSTANCE);\n builder.addRDN(BCStyle.CN, commonName);\n builder.addRDN(BCStyle.SURNAME, sureName);\n builder.addRDN(BCStyle.GIVENNAME, givenName);\n builder.addRDN(BCStyle.O, organisation);\n builder.addRDN(BCStyle.OU, oUnit);\n builder.addRDN(BCStyle.C, country);\n builder.addRDN(BCStyle.E, email);\n builder.addRDN(BCStyle.UID, uid);\n X500Name x500Name = builder.build();\n\n IssuerData issuerData = new IssuerData(signerPrivateKey, x500Name);\n return issuerData;\n }", "public void obtenerID();", "@ApiModelProperty(required = true, value = \"ID of the character who issued this change\")\n public Integer getIssuerId() {\n return issuerId;\n }", "@Test\n public void atrnTest() {\n assertEquals(\"atrn1\", authResponse.getAtrn());\n }", "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "public String getSnsubject() {\n return snsubject;\n }", "public String getReliableURN() {\n/* 129 */ return this.urn;\n/* */ }", "String mo10312id();", "java.lang.String getSsn();", "public void setAccountId(String s) { accountId = s;}", "Subject getSubject(){\n\t\treturn subject;\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "java.lang.String getUserID();", "public void addSubject(String value) {\n/* 321 */ addStringToBag(\"subject\", value);\n/* */ }", "public String getSubject()\r\n {\r\n return subject;\r\n }", "String mo21078i();", "public abstract String getSecret();", "public static String createVerificationToken(String id, String issuer, String subject, long ttlMillis) {\n\t\tSignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;\n\t\tSystem.out.println(\"sign algo: \"+signatureAlgorithm);\n\t\tlong nowMillis = System.currentTimeMillis();\n\t\tDate now = new Date(nowMillis);\n\t\t// We will sign our JWT with our ApiKey secret\n\t\t// byte[] apiKeySecretBytes =\n\t\t// DatatypeConverter.parseBase64Binary(apiKey.getSecret());\n\t\t// Key signingKey = new SecretKeySpec(apiKeySecretBytes,\n\t\t// signatureAlgorithm.getJcaName());\n\n\t\t// Let's set the JWT Claims\n\t\tJwtBuilder builder = Jwts.builder().setId(id).setIssuedAt(now).setSubject(subject).setIssuer(issuer)\n\t\t\t\t.signWith(signatureAlgorithm, \"signingKey\");\n\n\t\t// if it has been specified, let's add the expiration\n\t\tif (ttlMillis >= 0) {\n\t\t\tlong expMillis = nowMillis + ttlMillis;\n\t\t\tDate exp = new Date(expMillis);\n\t\t\tbuilder.setExpiration(exp);\n\t\t}\n\t\t// Builds the JWT and serializes it to a compact, URL-safe string\n\t\treturn builder.compact();\n\n\t}", "@Test\r\n public void testCreateTheirDidAbbreviated() throws CryptoException {\r\n CryptoService instance = new CryptoService();\r\n String did = \"8wZcEriaNLNKtteJvx7f8i\";\r\n String verkey = \"~NcYxiDXkpYi6ov5FcYDi1e\";\r\n TheirDidInfo info = new TheirDidInfo(did, verkey);\r\n TheirDid result = instance.createTheirDid(info);\r\n assertEquals(result.did, did);\r\n assertEquals(result.verkey, \"5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp\");\r\n }", "@Test\n public void testGetMyPartyKey() {\n System.out.println(\"getMyPartyKey\");\n String expResult = MY_PARTY_KEY;\n String result = instance.getMyPartyKey();\n assertEquals(expResult, result);\n }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "dkk mo4509g();", "org.hl7.fhir.ResourceReference getSubject();" ]
[ "0.7024679", "0.6743843", "0.6626735", "0.63449156", "0.6333295", "0.6303887", "0.6256613", "0.6245991", "0.6183762", "0.6137228", "0.6027284", "0.59360313", "0.591487", "0.57772315", "0.57501674", "0.5737276", "0.5731122", "0.5635174", "0.5619547", "0.5614435", "0.5462219", "0.5443301", "0.54279804", "0.5399966", "0.5383037", "0.5367014", "0.53651303", "0.53651303", "0.53631973", "0.5358857", "0.53467625", "0.5339448", "0.5308678", "0.52945715", "0.52882755", "0.5288122", "0.52559817", "0.5249282", "0.52463746", "0.5241669", "0.5238525", "0.52344793", "0.5216857", "0.5192912", "0.5180922", "0.5180736", "0.5172045", "0.51705164", "0.5168566", "0.51611245", "0.5147885", "0.5141588", "0.51396644", "0.5136196", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.51324606", "0.5122381", "0.5121542", "0.5112734", "0.5110895", "0.510981", "0.510981", "0.50985163", "0.50928247", "0.50885", "0.50841945", "0.50787693", "0.50729", "0.5070282", "0.50548327", "0.5051519", "0.50475216", "0.5030699", "0.5021938", "0.50208616", "0.5013234", "0.49935508", "0.4990186", "0.49829024", "0.4975771", "0.49683213", "0.49683213", "0.49683213", "0.49578455", "0.49539906", "0.49470052", "0.494689", "0.4936068", "0.4935133", "0.49242336", "0.49220726", "0.49220726", "0.49220726", "0.4914964", "0.4910444" ]
0.5218393
42
string serialNumber = 2;
public java.lang.String getSerialNumber() { java.lang.Object ref = serialNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serialNumber_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.65189946
15
string serialNumber = 2;
public com.google.protobuf.ByteString getSerialNumberBytes() { java.lang.Object ref = serialNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.604481
34
string serialNumber = 2;
public Builder setSerialNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serialNumber_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.6137607
26
string serialNumber = 2;
public Builder clearSerialNumber() { serialNumber_ = getDefaultInstance().getSerialNumber(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.0
-1
string serialNumber = 2;
public Builder setSerialNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serialNumber_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSerial();", "java.lang.String getSerialNumber();", "java.lang.String getSerialNumber();", "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "java.lang.String getSerial();", "public int nextSerialNumber(){\n serialNumber++;\n return serialNumber;\n }", "public int getSerialNum()\r\n\t{\r\n\t\treturn(serialNum);\r\n\t}", "public String getSerialNumber()\n {\n return serialNumber;\n }", "public int getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public void setSerialNum(String serialNum)\r\n\t{\r\n\t\tthis.serialNum = serialNum;\r\n\t}", "@Override\n public void setSerialNumber(String value) {\n this.serialNumber = value;\n }", "public String getSerialNumber()\n {\n return _serialNumber;\n }", "public String getSerialNumber() {\n\t\treturn serialNumber;\n\t}", "public String getSerialNo() {\n\t\treturn serialNo;\n\t}", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "public java.lang.String getSerialNumber() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n serialNumber_ = s;\n return s;\n }\n }", "@Override\n public String getSerialNumber() {\n return serialNumber;\n }", "public String getSerial() {\n return serial;\n }", "public void setSerial(String serial) {\n this.serial = serial;\n }", "public String getReceivedSerialNumber() ;", "public long getSerial() {\n\t\treturn this.serialNumber;\n\t}", "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "private long getNewSerialNumber() {\n\t\tSystem.out.print(\"Please enter the correct serial number: \");\n\t\ttry {\n\t\t\treturn sc.nextLong();\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.out.println(\"----->Invalid input. A number was expected.<-----\");\n\t\t\tsc.nextLine();\n\t\t\treturn this.getNewSerialNumber();\n\t\t}\n\t}", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public Builder setSerialNumber(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serialNumber_ = value;\n onChanged();\n return this;\n }", "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "public void setReceivedSerialNumber(String receivedSerialNumber) ;", "String getIdNumber();", "public AtomicInteger getSerialNo() {\n return serialNo;\n }", "public void setSerialNumber(String serialNumber) {\n\t\tthis.serialNumber = serialNumber;\n\t}", "public void setSerialNo(String serialNo) {\n\t\tthis.serialNo = serialNo;\n\t}", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public void setSerialNo(String serialNo) {\n inputParameters.Serial_No = serialNo;\n\n }", "public java.math.BigInteger getSerialNumber() {\r\n return serialNumber;\r\n }", "public String getSerialNumber() {\n\t\treturn null;\n\t}", "String billingPartNumber();", "private String genrateOrderTrakingnumber() {\n return UUID.randomUUID().toString();\n }", "public static String createPID()\r\n\t{\r\n\t\tunique_count++;\r\n\t\tif(unique_count >= 100) unique_count = 0;\r\n\t\tString str_num = String.format(\"%02d\", unique_count);\r\n\t\t\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyMMddHHmmss\");\r\n\t\tString pid = dateFormat.format(new Date()) + str_num;\r\n\t\treturn pid;\r\n\t}", "public void setTransmittedSerialNumber(String transmittedSerialNumber) ;", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSerialNumberBytes() {\n java.lang.Object ref = serialNumber_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n serialNumber_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getSerial() {\n Object ref = serial_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n }\n }", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "long getSeqnum();", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public BigDecimal getSERIAL_NO() {\r\n return SERIAL_NO;\r\n }", "public String getSerial() {\n Object ref = serial_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n serial_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public static void saveSerialNo(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_SERIAL_NO, type);\n editor.apply();\n }", "public String getTransmittedSerialNumber() ;", "public Builder setSerial(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n serial_ = value;\n onChanged();\n return this;\n }", "private void setAccountNumber() // setare numar de cont\n {\n int random = ThreadLocalRandom.current().nextInt(1, 100 + 1);\n accountNumber = ID + \"\" + random + SSN.substring(0,2);\n System.out.println(\"Your account number is: \" + accountNumber);\n }", "public static String getappno(){\n\t\t String result = \"123456\";\r\n\t\treturn result;\r\n\t}", "String mo10312id();", "public ByteArrayAttribute getSerialNumber() {\n return serialNumber;\n }", "@Nullable\n public Integer getSerialNumber() {\n return serialNumber;\n }", "public int findGameTypeBySerialNo(String serialNo) throws ApplicationException;", "public int getSeqNo();", "public int getSeqNo();", "public static String aPaymentId() {\n return \"123456\";\n }", "String createUniqueID(String n){\n String uniqueID =UUID.randomUUID().toString();\n return n + uniqueID;\n }", "int getSequenceNumber();", "public String getUserSerial() {\n return userSerial;\n }", "public String getCpuSerialNo()\n\t{\n\t\treturn cpuSerialNo;\n\t}", "public String getDevSerialNumber() {\n return devSerialNumber;\n }", "public String getNumber(){return number;}", "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "void setIdNumber(String idNumber);", "public void addPartNumber(String partNumber){partNumbers.add(partNumber);}", "String slotOfCar(String regNumber);", "String askingOrderNumber();", "public int getSno() {\n return sno;\n }", "private static String GetNewID() {\n DBConnect db = new DBConnect(); // Create a database connection\n String id = db.SqlSelectSingle(\"SELECT vendor_id FROM vendor ORDER BY vendor_id DESC LIMIT 1\"); // First try to get the top ID.\n if (id.equals(\"\")) // This is incase there are no registered vendors in the software\n id = \"001\";\n else\n id = String.format(\"%03d\", Integer.parseInt(id) + 1); // This will increment the top ID by one then format it to have three digits \n db.Dispose(); // This will close our database connection for us\n return id;\n }", "public interface SerialNumbered {\n long getSerialNumber();\n}", "public String getDeviceId() {\n //TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);\n String number = Build.SERIAL;\n return number;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public String getPartNo(){\n\t\treturn partNo;\n\t}", "public void setreceiptnum(String value) {\n setAttributeInternal(RECEIPTNUM, value);\n }", "public String getPartNumber()\r\n {\r\n return partNumber; // should validate\r\n }", "public static String getSerialNo(byte[] edid) {\n // Bytes 12-15 are Serial number (last 4 characters)\n if (Logger.get().isDebug()) {\n Logger.debug(\"Serial number: {}\", Arrays.toString(Arrays.copyOfRange(edid, 12, Normal._16)));\n }\n return String.format(\"%s%s%s%s\", getAlphaNumericOrHex(edid[15]), getAlphaNumericOrHex(edid[14]),\n getAlphaNumericOrHex(edid[13]), getAlphaNumericOrHex(edid[12]));\n }", "public static String generateSaleID() {\n\tsaleID++;\n\treturn String.valueOf(saleID);\n }", "@Override\n public String generateRackID() {\n String newRackID = generateRandomCharacter() +\"\"+\n generateRandomCharacter() +\".\"+\n rackCounter +\".\"+ getCopyrightYear();\n this.rackCounter++;\n return newRackID;\n }", "public static String generateProductID() {\n\tproductID++;\n\treturn String.valueOf(productID);\n }", "public byte getISerialNumber() {\r\n\t\treturn iSerialNumber;\r\n\t}", "long getSequenceNumber();", "void setSequenceNumber(int sequenceNumber);", "public String serialNumber() {\n return this.innerProperties() == null ? null : this.innerProperties().serialNumber();\n }", "public static String simSerialNumber() {\n\t\t// return sim serial number\n\t\treturn getTelephonyManager().getSimSerialNumber();\n\t}", "@Override\n public java.lang.String generateRackID() {\n String randomString = \"\";\n String rackId = \"\";\n for (int i = 0; i < 2; i++) {\n char[] arr = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n int select = new Random().nextInt(arr.length);\n randomString += arr[select];\n }\n\n rackId = randomString.toUpperCase() + \".\" + rackCounter + \".\" + copyrightYear;\n rackCounter++;\n return rackId;\n }", "public long getSequenceNo() {\n\treturn sequenceNo;\n }", "public final void setSerial(String serial){\n this.peripheralSerial = serial;\n }", "public java.lang.String getROOMNUMBER()\n {\n \n return __ROOMNUMBER;\n }", "public String get_integer_part();", "public Integer getCocSerialNo() {\n\t\treturn cocSerialNo;\n\t}" ]
[ "0.7283441", "0.72638416", "0.72638416", "0.709003", "0.70772856", "0.69768095", "0.67499286", "0.67275435", "0.6684219", "0.6673907", "0.66585624", "0.6579146", "0.65766865", "0.6567036", "0.65189946", "0.65189946", "0.6487284", "0.6487284", "0.6357336", "0.6336673", "0.6313595", "0.62964815", "0.62428236", "0.6227901", "0.61672366", "0.6137607", "0.6137607", "0.613507", "0.61313677", "0.6100004", "0.6096961", "0.6081759", "0.60541695", "0.604481", "0.604481", "0.60426354", "0.60354257", "0.60206604", "0.6001244", "0.59911525", "0.5987227", "0.59829694", "0.5976332", "0.5976332", "0.5914985", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5892647", "0.5881746", "0.5881746", "0.5866525", "0.5861548", "0.5843858", "0.5815957", "0.5806255", "0.57933897", "0.5780474", "0.57661283", "0.57650906", "0.5709859", "0.56998", "0.56998", "0.56940657", "0.56771064", "0.5625929", "0.56200117", "0.5617454", "0.5609083", "0.559281", "0.55909026", "0.5573312", "0.55693966", "0.55682826", "0.55563736", "0.555489", "0.55468404", "0.5539855", "0.55312103", "0.55289286", "0.55279803", "0.55164146", "0.5516362", "0.55112743", "0.54873556", "0.5485632", "0.54824257", "0.54820746", "0.54810274", "0.5478841", "0.5478474", "0.54783434", "0.5473406", "0.5472326", "0.5471447", "0.5469401", "0.5459469", "0.54562294" ]
0.0
-1
.liubaninc.m0.pki.Certificate Certificate = 1;
boolean hasCertificate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.5184336
51
.liubaninc.m0.pki.Certificate Certificate = 1;
liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.75187796
0
.liubaninc.m0.pki.Certificate Certificate = 1;
liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.6363538
7
Use QueryGetCertificateResponse.newBuilder() to construct.
private QueryGetCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private QueryGetCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryGetCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.concurrent.Future<GetCertificateResult> getCertificateAsync(\n GetCertificateRequest getCertificateRequest);", "private QueryGetCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryGetRevokeCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllRevokeCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "private QueryGetRevokeCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private QueryAllCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "X509CertificateInfo()\n {\n }", "com.google.protobuf.ByteString getCertificate(int index);", "java.util.concurrent.Future<GetCertificateResult> getCertificateAsync(\n GetCertificateRequest getCertificateRequest,\n com.amazonaws.handlers.AsyncHandler<GetCertificateRequest, GetCertificateResult> asyncHandler);", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return instance.getCertificate(index);\n }", "java.util.concurrent.Future<DescribeCertificateResult> describeCertificateAsync(\n DescribeCertificateRequest describeCertificateRequest);", "public com.squareup.okhttp.Call recCertGetCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath = \"/recording/certificates\";\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n\n final String[] localVarAccepts = {\n \"application/json\"\n };\n final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) localVarHeaderParams.put(\"Accept\", localVarAccept);\n\n final String[] localVarContentTypes = {\n \"application/json\"\n };\n final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n if(progressListener != null) {\n apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {\n @Override\n public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {\n com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());\n return originalResponse.newBuilder()\n .body(new ProgressResponseBody(originalResponse.body(), progressListener))\n .build();\n }\n });\n }\n\n String[] localVarAuthNames = new String[] { };\n return apiClient.buildCall(localVarPath, \"GET\", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "public X509Certificate getCertificate();", "@RequestMapping(path = \"/v1/certificates\", method = RequestMethod.GET)\n public ResponseEntity<Object> getCertificates(@RequestParam(\"ag\") String assetGroup) {\n if (Strings.isNullOrEmpty(assetGroup)) {\n return ResponseUtils.buildFailureResponse(new Exception(ASSET_MANDATORY));\n }\n OutputDTO output = null;\n try {\n output = new OutputDTO(complianceService.getCertificates(assetGroup));\n } catch (ServiceException e) {\n return complianceService.formatException(e);\n }\n return ResponseUtils.buildSucessResponse(output);\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n if (certificateBuilder_ != null) {\n return certificateBuilder_.getMessageOrBuilder();\n } else {\n return certificate_ == null ?\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }\n }", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "java.util.List<com.google.protobuf.ByteString> getCertificateList();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "CertificationsResponse callCertificationGetRESTCall(String methodName,\n String urlTemplate,\n Object... params) throws PropertyServerException\n {\n return (CertificationsResponse)this.callGetRESTCall(methodName, CertificationsResponse.class, urlTemplate, params);\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "private QueryAllRevokeCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "String getCertificate();", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index); } else {\n return certificateBuilder_.getMessageOrBuilder(index);\n }\n }", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "public X509Certificate getCACertificate() throws DorianInternalException;", "private @NonNull WpcCrtChn getChn() throws IOException, GeneralSecurityException {\n int siz = MAX_CRT; // Initialize the requested length for the GET_CERTIFICATE Request\n int ofs = 0; // Initialize the offset for the GET_CERTIFICATE Request\n int len = 0; // Initialize length of Certificate Chain\n ByteArrayOutputStream bas = new ByteArrayOutputStream(MAX_CRT); // Create stream for Certificate Chain\n do {\n ByteBuffer req = getMsg(REQ_CRT, 4); // Create GET_CERTIFICATE request message\n req.position(1); // Set buffer pointer to offset\n req.put((byte) (((ofs & 0x0300) >> 2) | SLOT_0)); // Add slot byte\n req.put((byte) ofs); // Add offset\n req.put((byte) siz); // Add Length\n ByteBuffer res = sndMsg(req, WpcAthRsp.RES_CRT); // Send GET_CERTIFICATE Request\n if (ofs == 0) { // First GET_CERTIFICATE Request?\n len = res.getShort(); // Get the total length of the Certificate Chain\n if (len < siz) { // Certificate Chain too small?\n WpcLog.logErr(\"Wrong WPC Certificate Chain length\"); // Log error\n throw new IOException(); // Abort authentication\n }\n }\n byte[] buf = res.array(); // Get CERTIFICATE Response\n if ((siz != (buf.length - 1))) { // Incorrect Certificate Chain fragment size?\n WpcLog.logErr(\"Invalid WPC Certificate Chain length\"); // Log error\n throw new IOException(); // Abort authentication\n }\n bas.write(buf, 1, siz); // Add Certificate fragment to the Certificate Chain\n len = len - siz; // Calculate remaining bytes in the Certificate Chain\n ofs = ofs + siz; // Calculate offset for the next GET_CERTIFICATE Request\n if (len > MAX_CRT) { // Remaining Certificate Chain does not fit into one GET_CERTIFICATE Request?\n siz = MAX_CRT; // Request the maximum fragment for the next GET_CERTIFICATE Request\n } else { // Remaining Certificate Chain fits into one GET_CERTIFICATE Request\n siz = len; // Request the remaining bytes of the Certificate Chain\n }\n } while (len > 0); // Repeat until whole Certificate Chain is received\n byte[] ba = bas.toByteArray(); // Convert WPC Certificate Chain into a byte array\n WpcCrtChn chn = new WpcCrtChn(ba); // Create the Certificate Chain\n chn.verify(); // Verify the Certificate Chain\n mCom.setChn(chn); // Announce used WPC Certificate Chain\n WpcLog.log(WpcLog.EvtTyp.CHN, ba); // Log the received WPC Certificate Chain\n return chn; // Return the Certificate Chain\n }", "public String call_google_certificate() throws CertificateException, IOException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n // From https://www.washington.edu/itconnect/security/ca/load-der.crt\n InputStream caInput = getResources().openRawResource(R.raw.loadder);\n Certificate ca;\n try {\n ca = cf.generateCertificate(caInput);\n System.out.println(\"ca=\" + ((X509Certificate) ca).getSubjectDN());\n } finally {\n caInput.close();\n }\n // Create a KeyStore containing our trusted CAs\n String keyStoreType = KeyStore.getDefaultType();\n KeyStore keyStore = KeyStore.getInstance(keyStoreType);\n keyStore.load(null, null);\n keyStore.setCertificateEntry(\"ca\", ca);\n // Create a TrustManager that trusts the CAs in our KeyStore\n String tmfAlgorithm = TrustManagerFactory.getDefaultAlgorithm();\n TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlgorithm);\n tmf.init(keyStore);\n // Create an SSLContext that uses our TrustManager\n SSLContext context = SSLContext.getInstance(\"TLS\");\n context.init(null, tmf.getTrustManagers(), null);\n // Tell the URLConnection to use a SocketFactory from our SSLContext\n URL url = new URL(\"https://certs.cac.washington.edu/CAtest/\");\n HttpsURLConnection urlConnection =\n (HttpsURLConnection) url.openConnection();\n urlConnection.setSSLSocketFactory(context.getSocketFactory());\n InputStream in = urlConnection.getInputStream();\n return getStringFromInputStream(in);\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder(\n int index) {\n return getCertificateFieldBuilder().getBuilder(index);\n }", "public List<Certificate> getCertificates(String searchValue, int resultSize, int timeOut) throws ServerNotAvailableException {\n try {\n //Setting headers for post Reqest\n String postData = CERT_PRE_STRING + URLEncoder.encode(searchValue, \"UTF-8\") + CERT_POST_STRING;\n //seding post\n URL regAdress = new URL(postData);\n HttpURLConnection regCon = (HttpURLConnection) regAdress.openConnection();\n timeOut = timeOut * 1000;\n regCon.setConnectTimeout(timeOut);\n regCon.setReadTimeout(timeOut);\n regCon.setRequestMethod(Headers.get(\"method.get\"));\n regCon.connect();\n //Getting response and build it to line\n String result = getResultString(regCon);\n //Parsing result\n Elements elements = getElements(result);\n return parse(elements, 1, resultSize);\n } catch (ServerNotAvailableException e) {\n log.info(\"Server is not avilable again\",e);\n throw new ServerNotAvailableException(\"KIRGIZ_CERT\");\n } catch (Exception e) {\n log.error(\"Error parsing resultpage from AM !!\",e);\n return new ArrayList<Certificate>();\n }\n }", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "public Builder clearCertificate() {\n if (certificateBuilder_ == null) {\n certificate_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n certificateBuilder_.clear();\n }\n return this;\n }", "public QueryResponse(Query q) {\n this.q = q;\n this.docIDs = new HashSet<>();\n }", "com.google.protobuf.ByteString\n getResponseBytes();", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates() {\n if (certificatesBuilder_ == null) {\n return certificates_ == null ? liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n } else {\n return certificatesBuilder_.getMessage();\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates() {\n if (certificatesBuilder_ == null) {\n return certificates_ == null ? liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n } else {\n return certificatesBuilder_.getMessage();\n }\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "com.google.protobuf.ByteString\n getResponseBytes();", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder getCertificatesBuilder() {\n \n onChanged();\n return getCertificatesFieldBuilder().getBuilder();\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder getCertificatesBuilder() {\n \n onChanged();\n return getCertificatesFieldBuilder().getBuilder();\n }", "private GetCDKeyAwardResp(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n if (certificateBuilder_ == null) {\n return java.util.Collections.unmodifiableList(certificate_);\n } else {\n return certificateBuilder_.getMessageList();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "List<Certificate> getCertificatesById(@NonNull String certificateId, String sha256Thumbprint);", "public X509CertificateInfo getCertificateInfo()\n {\n //SRS_X509RegistrationResultParser_25_009: [ This method shall return the parsed certificateInfo. ]\n return certificateInfo;\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificateOuterClass.Certificate, liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder, liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateFieldBuilder() {\n if (certificateBuilder_ == null) {\n certificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificateOuterClass.Certificate, liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder, liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder>(\n getCertificate(),\n getParentForChildren(),\n isClean());\n certificate_ = null;\n }\n return certificateBuilder_;\n }", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest,\n com.amazonaws.handlers.AsyncHandler<RequestCertificateRequest, RequestCertificateResult> asyncHandler);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "public vn.com.ecopharma.hrm.rc.model.Certificate fetchByPrimaryKey(\n\t\tlong certificateId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "java.util.concurrent.Future<ListCertificatesResult> listCertificatesAsync(\n ListCertificatesRequest listCertificatesRequest);", "public CloudServiceVaultCertificate() {\n }", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public Cancellable requestCertificate(final Identifier source,\n final I principal, final Continuation<X509Certificate, Exception> c,\n Map<String, Object> options) {\n return super.requestValue(source, principal, c, options);\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index);\n } else {\n return certificatesBuilder_.getMessage(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index);\n } else {\n return certificatesBuilder_.getMessage(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder() {\n if (certificatesBuilder_ != null) {\n return certificatesBuilder_.getMessageOrBuilder();\n } else {\n return certificates_ == null ?\n liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder() {\n if (certificatesBuilder_ != null) {\n return certificatesBuilder_.getMessageOrBuilder();\n } else {\n return certificates_ == null ?\n liubaninc.m0.pki.CertificatesOuterClass.Certificates.getDefaultInstance() : certificates_;\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "List<X509Cert> caCerts(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "private QueryProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public com.github.yeriomin.playstoreapi.ResponseWrapper.Builder getResponseBuilder() {\n bitField0_ |= 0x00000002;\n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }", "@Nullable\n public static X509Certificate [] getRequestClientCertificates (@Nonnull final HttpServletRequest aHttpRequest)\n {\n return _getRequestAttr (aHttpRequest, SERVLET_ATTR_CLIENT_CERTIFICATE, X509Certificate [].class);\n }", "public BtcRpcGetAddressInfoEmbeddedResponse() {\n super();\n }", "List<X509Cert> getDhPopPeerCertificates() throws CmpClientException;", "private GetReturnUrlC(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n if (certificateBuilder_ != null) {\n return certificateBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(certificate_);\n }\n }", "@java.lang.Override\n public java.util.List<com.google.protobuf.ByteString>\n getCertificateList() {\n return certificate_;\n }", "public com.czht.face.recognition.Czhtdev.Response.Builder getResponseBuilder() {\n bitField0_ |= 0x00000004;\n onChanged();\n return getResponseFieldBuilder().getBuilder();\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder(\n int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index); } else {\n return certificatesBuilder_.getMessageOrBuilder(index);\n }\n }", "public liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder(\n int index) {\n if (certificatesBuilder_ == null) {\n return certificates_.get(index); } else {\n return certificatesBuilder_.getMessageOrBuilder(index);\n }\n }", "@Nullable\n public AndroidWorkProfileCertificateProfileBase get() throws ClientException {\n return send(HttpMethod.GET, null);\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic List<Certificate> getAllCertificate() {\n\n\t\tTransaction transaction = null;\n\t\tList<Certificate> listOfCertificate = null;\n\t\ttry (Session session = HibernateUtil.getSessionFactory().openSession()) {\n\t\t\t// start a transaction\n\t\t\ttransaction = session.beginTransaction();\n\t\t\t// get an certificate object\n\t\t\t\n\t\t\tlistOfCertificate = session.createQuery(\"from Certificate\").getResultList();\n\t\t\t\n\t\t\t// commit transaction\n\t\t\ttransaction.commit();\n\t\t} catch (Exception e) {\n\t\t\tif (transaction != null) {\n\t\t\t\ttransaction.rollback();\n\t\t\t}\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn listOfCertificate;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "private ResponseGetPrototype(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "public Builder setCertificate(liubaninc.m0.pki.CertificateOuterClass.Certificate value) {\n if (certificateBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n certificate_ = value;\n onChanged();\n } else {\n certificateBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder clearCertificate() {\n copyOnWrite();\n instance.clearCertificate();\n return this;\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private CalResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificatesOuterClass.Certificates, liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder, liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesFieldBuilder() {\n if (certificatesBuilder_ == null) {\n certificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n liubaninc.m0.pki.CertificatesOuterClass.Certificates, liubaninc.m0.pki.CertificatesOuterClass.Certificates.Builder, liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder>(\n getCertificates(),\n getParentForChildren(),\n isClean());\n certificates_ = null;\n }\n return certificatesBuilder_;\n }" ]
[ "0.7092833", "0.6866343", "0.66749156", "0.6600296", "0.64003175", "0.63826", "0.6359262", "0.5933904", "0.5826958", "0.5815141", "0.5651536", "0.5544682", "0.55008745", "0.54719967", "0.54657465", "0.5381693", "0.5347753", "0.53203595", "0.5314753", "0.5311902", "0.52126443", "0.51314247", "0.5122638", "0.50789386", "0.507219", "0.5071945", "0.5065863", "0.50494057", "0.5042816", "0.5034081", "0.5025545", "0.5001003", "0.49919277", "0.49827245", "0.49735644", "0.49630615", "0.4946592", "0.49432093", "0.493278", "0.49159303", "0.49115998", "0.49027812", "0.48939046", "0.48880234", "0.48880234", "0.4882187", "0.48669422", "0.48590538", "0.48570788", "0.48570788", "0.4855399", "0.4853899", "0.48341227", "0.48341227", "0.4832583", "0.48007965", "0.47966224", "0.47757033", "0.4745213", "0.47422773", "0.47172368", "0.47113577", "0.47113577", "0.4689845", "0.4689845", "0.46833518", "0.46823627", "0.46764758", "0.46678373", "0.46675578", "0.4667536", "0.4667536", "0.4660313", "0.4660313", "0.46515658", "0.46324682", "0.46263844", "0.46243796", "0.46231747", "0.46124983", "0.45851228", "0.4584457", "0.45817742", "0.45759013", "0.45759013", "0.45654923", "0.45636535", "0.45515576", "0.4547368", "0.4547368", "0.45443165", "0.45377758", "0.45325667", "0.45312932", "0.4530837", "0.4529963", "0.4518998", "0.45129222", "0.4512539", "0.45122838" ]
0.7645026
0
.liubaninc.m0.pki.Certificate Certificate = 1;
public boolean hasCertificate() { return certificate_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.0
-1
.liubaninc.m0.pki.Certificate Certificate = 1;
public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() { return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.52934074
38
.liubaninc.m0.pki.Certificate Certificate = 1;
public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() { return getCertificate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.5347331
33
.liubaninc.m0.pki.Certificate Certificate = 1;
public boolean hasCertificate() { return certificateBuilder_ != null || certificate_ != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n if (certificateBuilder_ == null) {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n } else {\n return certificateBuilder_.getMessage();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51515317", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.0
-1
.liubaninc.m0.pki.Certificate Certificate = 1;
public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() { if (certificateBuilder_ == null) { return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_; } else { return certificateBuilder_.getMessage(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates();", "liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "liubaninc.m0.pki.CertificatesOuterClass.Certificates getCertificates(int index);", "public CloudServiceVaultCertificate() {\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder();", "String getCertificate();", "dkk mo4509g();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder getCertificatesOrBuilder();", "abstract X509Certificate mo6705a(X509Certificate x509Certificate);", "X509CertificateInfo()\n {\n }", "public Certificate[] getLocalCertificates() {\n/* 185 */ return this.delegate.getLocalCertificates();\n/* */ }", "public void setCertificateNo(Integer aCertificateNo) {\n certificateNo = aCertificateNo;\n }", "public X509Certificate getCertificate();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificateList();", "public SingleCertificateResolver(X509Certificate paramX509Certificate) {\n/* 45 */ this.certificate = paramX509Certificate;\n/* */ }", "DelegatingX509Certificate(java.security.cert.X509Certificate r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: in method: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.<init>(java.security.cert.X509Certificate):void\");\n }", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "java.util.List<liubaninc.m0.pki.CertificatesOuterClass.Certificates> \n getCertificatesList();", "public X509Certificate getCertificate()\n {\n return this.cert;\n }", "public CertPath getCertPath() {\n/* 99 */ return this.certPath;\n/* */ }", "public void addCert(String certificate) throws ERMgmtException{\n try{\n CertificateFactory certificateFactory = CertificateFactory.getInstance(\"X.509\");\n InputStream certificateInputStream = new ByteArrayInputStream(certificate.getBytes());\n X509Certificate toadd = (X509Certificate) certificateFactory.generateCertificate(certificateInputStream);\n certificateInputStream.close();\n mCertList.add(toadd); \n loadTM(); \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error: \", e);\n } \n \n\n }", "public static void main(String[] args) throws Exception {\n KeyPairGenerator kpGen = KeyPairGenerator.getInstance(\"RSA\"); //create RSA KeyPairGenerator \n kpGen.initialize(2048, new SecureRandom()); //Choose key strength\n KeyPair keyPair = kpGen.generateKeyPair(); //Generate private and public keys\n PublicKey RSAPubKey = keyPair.getPublic();\n PrivateKey RSAPrivateKey = keyPair.getPrivate();\n\n //Information for Certificate\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\"); \n X500Name issuer = new X500Name(\"CN=\" + \"ExampleIssuer\"); // Issuer/Common Name\n X500Name subject = new X500Name(\"CN=\" + \"Client\"); //Subject\n Date notBefore = new Date(); //The date which the certificate becomes effective. \n long expiryDate = 1672437600000L; // expires 31 December 2022\n Date notAfter = new Date(expiryDate); //The date the certificate expires. \n BigInteger serialNumber = BigInteger.valueOf(Math.abs(random.nextInt())); //Cert Serial Number\n\n //Define the generator\n X509v3CertificateBuilder certGenerator \n = new JcaX509v3CertificateBuilder(\n issuer, \n serialNumber, \n notBefore,\n notAfter,\n subject,\n RSAPubKey\n );\n\n //Define how the certificate will be signed.\n //Usually with a hash algorithm and the Certificate Authority's private key. \n //Change argument x in .build(x) to not self-sign the cert.\n final ContentSigner contentSigner = new JcaContentSignerBuilder(\"SHA1WithRSAEncryption\").build(keyPair.getPrivate());\n\n //Generate a X.509 cert.\n X509CertificateHolder certificate = certGenerator.build(contentSigner);\n\n //Encode the certificate and write to a file. On Mac, you can open it with KeyChain Access\n //to confirm that it worked. \n byte[] encodedCert = certificate.getEncoded();\n FileOutputStream fos = new FileOutputStream(\"Example.cert\"); //Filename\n fos.write(encodedCert);\n fos.close();\n\n }", "OpenSSLKey mo134201a();", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "private void setCertificate(\n int index, com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.set(index, value);\n }", "public void setCertiNo(java.lang.String certiNo) {\n this.certiNo = certiNo;\n }", "private void addCertificate(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n ensureCertificateIsMutable();\n certificate_.add(value);\n }", "public Integer getCertificateNo() {\n return certificateNo;\n }", "public InternalIterator(X509Certificate param1X509Certificate) {\n/* 70 */ this.certificate = param1X509Certificate;\n/* */ }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder() {\n return getCertificate();\n }", "public interface X509Credential\n{\n\t/**\n\t * Returns the credential in a keystore.\n\t * @return the KeyStore\n\t */\n\tpublic KeyStore getKeyStore();\n\t\n\t/**\n\t * Returns a KeyManager which accompanies the KeyStore. \n\t * @return the KeyManager\n\t */\n\tpublic X509ExtendedKeyManager getKeyManager();\n\t\n\t/**\n\t * Returns a password which can be used to obtain PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method, \n\t * with the alias returned by the {@link #getKeyAlias()} method.\n\t * @return key password\n\t */\n\tpublic char[] getKeyPassword();\n\t\n\t/**\n\t * Returns an alias which can be used to obtain the PrivateKey entry\n\t * from the KeyStore returned by the {@link #getKeyStore()} method.\n\t * @return key alias\n\t */\n\tpublic String getKeyAlias();\n\t\n\t/**\n\t * Helper method to get private key from the underlying keystore\n\t * @return private key\n\t */\n\tpublic PrivateKey getKey();\n\n\t/**\n\t * Helper method to get certificate from the underlying keystore\n\t * @return certificate\n\t */\n\tpublic X509Certificate getCertificate();\n\n\t/**\n \t * Helper method to get certificate chain from the underlying keystore\n\t * @return certificate chain\n\t */\n\tpublic X509Certificate[] getCertificateChain();\n\t\n\t/**\n\t * @return RFC 2253 distinguished name of the certificate subject\n\t * @since 1.1.0\n\t */\n\tpublic String getSubjectName();\n}", "public String getCertification() {\n return certification;\n }", "X509Cert caCert(String caName, ReqRespDebug debug) throws CmpClientException, PkiErrorException;", "public interface CertService {\n\n /**\n * Retrieves the root certificate.\n * \n * @return\n * @throws CertException\n */\n public X509Certificate getRootCertificate() throws CertException;\n\n /**\n * Sets up a root service to be used for CA-related services like certificate request signing and certificate\n * revocation.\n * \n * @param keystore\n * @throws CertException\n */\n public void setRootService(RootService rootService) throws CertException;\n\n /**\n * Retrieves a KeyStore object from a supplied InputStream. Requires a keystore password.\n * \n * @param userId\n * @return\n */\n public KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException;\n\n /**\n * Retrieves existing private and public key from a KeyStore.\n * \n * @param userId\n * @return\n */\n public KeyPair getKeyPair(KeyStore ks, String keyAlias, String certificateAlias, String keyPassword)\n throws CertException;\n\n /**\n * Retrieves an existing certificate from a keystore using keystore's certificate alias.\n * \n * @param userId\n * @return\n */\n public X509Certificate getCertificate(KeyStore keystore, String certificateAlias) throws CertException;\n\n /**\n * Generates a private key and a public certificate for a user whose X.509 field information was enclosed in a\n * UserInfo parameter. Stores those artifacts in a password protected keystore. This is the principal method for\n * activating a new certificate and signing it with a root certificate.\n * \n * @param userId\n * @return KeyStore based on the provided userInfo\n */\n\n public KeyStore initializeUser(UserInfo userInfo, String keyPassword) throws CertException;\n\n /**\n * Wraps a certificate object into an OutputStream object secured by a keystore password\n * \n * @param keystore\n * @param os\n * @param keystorePassword\n * @throws CertException\n */\n public void storeCertificate(KeyStore keystore, OutputStream os, String keystorePassword) throws CertException;\n\n /**\n * Extracts the email address from a certificate\n * \n * @param certificate\n * @return\n * @throws CertException\n */\n public String getCertificateEmail(X509Certificate certificate) throws CertException;\n\n}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate() {\n return certificate_ == null ? liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance() : certificate_;\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder addCertificateBuilder() {\n return getCertificateFieldBuilder().addBuilder(\n liubaninc.m0.pki.CertificateOuterClass.Certificate.getDefaultInstance());\n }", "com.google.protobuf.ByteString getCertificate(int index);", "public void importCA(File certfile){\n try {\n File keystoreFile = new File(archivo);\n \n //copia .cer -> formato manipulacion\n FileInputStream fis = new FileInputStream(certfile);\n DataInputStream dis = new DataInputStream(fis);\n byte[] bytes = new byte[dis.available()];\n dis.readFully(bytes);\n ByteArrayInputStream bais = new ByteArrayInputStream(bytes);\n bais.close();\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n Certificate certs = cf.generateCertificate(bais);\n //System.out.println(certs.toString());\n //inic keystore\n FileInputStream newib = new FileInputStream(keystoreFile);\n KeyStore keystore = KeyStore.getInstance(INSTANCE);\n keystore.load(newib,ksPass );\n String alias = (String)keystore.aliases().nextElement();\n newib.close();\n \n //recupero el array de certificado del keystore generado para CA\n Certificate[] certChain = keystore.getCertificateChain(alias);\n certChain[0]= certs; //inserto el certificado entregado por CA\n //LOG.info(\"Inserto certifica CA: \"+certChain[0].toString());\n //recupero la clave privada para generar la nueva entrada\n Key pk = (PrivateKey)keystore.getKey(alias, ksPass); \n keystore.setKeyEntry(alias, pk, ksPass, certChain);\n LOG.info(\"Keystore actualizado: [OK]\");\n \n FileOutputStream fos = new FileOutputStream(keystoreFile);\n keystore.store(fos,ksPass);\n fos.close(); \n \n } catch (FileNotFoundException ex) {\n LOG.error(\"Error - no se encuentra el archivo\",ex);\n } catch (IOException | NoSuchAlgorithmException | CertificateException | KeyStoreException ex) {\n LOG.error(\"Error con el certificado\",ex);\n } catch (UnrecoverableKeyException ex) {\n LOG.error(ex);\n }\n }", "java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList();", "@Override\r\n\tpublic Integer[] getCertificate() {\n\t\treturn null;\r\n\t}", "public interface CertificationRequestWrapper {\n\n /**\n * Gets the subject name of this certificate.\n * @return subject name\n */\n X500Principal getSubject();\n \n /**\n * Gets the content of this certification request in a suitable string \n * encoding (typically PEM).\n * @return certification request content\n * @throws IOException\n */\n String getContent() throws IOException;\n \n}", "public void setCertificate(java.nio.ByteBuffer certificate) {\n this.certificate = certificate;\n }", "public ConsumedCertificateCredentialModel()\n\t{\n\t\tsuper();\n\t}", "@Test\n public void test02ConfRespSignedByDefaultCA() throws Exception {\n log.trace(\">test02ConfRespSignedByDefaultCA\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, this.testx509ca.getSubjectDN());\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n // the parameter 'null' is to generate a confirm request for a recipient that does not exist\n PKIMessage confirm = genCertConfirm(userDN, null, nonce, transid, hash, 0, PKCSObjectIdentifiers.sha1WithRSAEncryption);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test02ConfRespSignedByDefaultCA\");\n }", "public X509V1CertificateGenerator() {\n /*\n // Can't load method instructions: Load method exception: null in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.<init>():void\");\n }", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n return certificate_.get(index);\n }", "@Test\n public void certificateFileTest() {\n // TODO: test certificateFile\n }", "boolean hasCertificate();", "public byte[] certificate() {\n return this.certificate;\n }", "@VisibleForTesting\n IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) {\n super(IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, AUTH_DIRECTION_REMOTE);\n if (caCert == null) {\n mTrustAnchor = null;\n } else {\n // The name constraints extension, defined in RFC 5280, indicates a name space\n // within which all subject names in subsequent certificates in a certification path\n // MUST be located.\n mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/);\n\n // TODO: Investigate if we need to support the name constraints extension.\n }\n }", "public interface AbstractC14725a {\n void lookCertificate();\n }", "public X509Certificate getRootCertificate() throws CertException;", "public static void httpClientGetServerCertificate() {\n HttpResponseInterceptor certificateInterceptor = (httpResponse, context) -> {\n ManagedHttpClientConnection routedConnection = (ManagedHttpClientConnection) context.getAttribute(HttpCoreContext.HTTP_CONNECTION);\n SSLSession sslSession = routedConnection.getSSLSession();\n if (sslSession != null) {\n\n // get the server certificates from the {@Link SSLSession}\n Certificate[] certificates = sslSession.getPeerCertificates();\n\n // add the certificates to the context, where we can later grab it from\n context.setAttribute(HttpClientConstants.PEER_CERTIFICATES, certificates);\n }\n };\n try (\n // create closable http client and assign the certificate interceptor\n CloseableHttpClient httpClient = HttpClients.custom().addInterceptorLast(certificateInterceptor).build()) {\n\n // make HTTP GET request to resource server\n HttpGet httpget = new HttpGet(\"https://www.baidu.com\");\n System.out.println(\"Executing request \" + httpget.getRequestLine());\n\n // create http context where the certificate will be added\n HttpContext context = new BasicHttpContext();\n httpClient.execute(httpget, context);\n\n // obtain the server certificates from the context\n Certificate[] peerCertificates = (Certificate[]) context.getAttribute(HttpClientConstants.PEER_CERTIFICATES);\n\n // loop over certificates and print meta-data\n for (Certificate certificate : peerCertificates) {\n X509Certificate real = (X509Certificate) certificate;\n System.out.println(\"----------------------------------------\");\n System.out.println(\"Type: \" + real.getType());\n System.out.println(\"Signing Algorithm: \" + real.getSigAlgName());\n System.out.println(\"IssuerDN Principal: \" + real.getIssuerX500Principal());\n System.out.println(\"SubjectDN Principal: \" + real.getSubjectX500Principal());\n System.out.println(\"Not After: \" + DateUtils.formatDate(real.getNotAfter(), \"dd-MM-yyyy\"));\n System.out.println(\"Not Before: \" + DateUtils.formatDate(real.getNotBefore(), \"dd-MM-yyyy\"));\n System.out.println(\"----------------------------------------\");\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public CertificateData() {\n \t\t// TODO Auto-generated constructor stub\n \t\taCertStrings = new HashMap<TreeNodeDescriptor.TreeNodeType, String[]>(15);\n \t\t// now init the certificate with dummy data\n \t\t// for every string meant for the multi fixed text display\n \t\t// devise a method to change the character font strike\n \t\t// the first character in the string marks the stroke type\n \t\t// (see function: it.plio.ext.oxsit.ooo.ui.TreeNodeDescriptor.EnableDisplay(boolean) for\n \t\t// for information on how they are interpreted):\n \t\t// b\tthe string will be in bold\n \t\t// B\n \t\t// r\n \t\t// s the string will striken out regular\n \t\t// S the string will striken out bold\n \t\t//\t\n \t\t{\n \t\t\tString[] saDummy = new String[m_nMAXIMUM_FIELDS];\t\t\t\n \n \t\t\tsaDummy[m_nTITLE] = \"bInformazioni sul certificato\";\n \t\t\tsaDummy[m_nEMPTY_FIELD_01] = \"\";\n \t\t\tsaDummy[m_nINFO_LINE1] = \"rIl certificato è adatto per la firma digitale.\";\n \t\t\tsaDummy[m_nINFO_LINE2] = \"r(non ripudio attivato)\";\n \t\t\tsaDummy[m_nTITLE_SCOPE] = \"bIl certificato è stato rilasciato per i seguenti scopi:\";\n \t\t\tsaDummy[m_nSCOPE_LINE1] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE2] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE3] = \"...\";\n \t\t\tsaDummy[m_nSCOPE_LINE4] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_STATE] = \"bCertificato verificato con CRL\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_ERROR] = \"\";\n \t\t\tsaDummy[m_nCERT_VALIDITY_VERIFICATION_CONDITIONS] = \"\";\n \t\t\tsaDummy[m_nDATE_VALID_FROM] = \"bValido dal 10/04/2006 16:06:04\";\n \t\t\tsaDummy[m_nDATE_VALID_TO] = \"bal 10/04/2009 16:06:04\";\n \t\t\tsetCertString(TreeNodeType.CERTIFICATE, saDummy);\n \t\t}\n \t\t//subject TreeNodeType.SUBJECT inserted by the derived classes\n \t\t{\n \t\t\tString[] saDummy = {\"V3\"};\n \t\t\tsetCertString(TreeNodeType.VERSION, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\"15 BA 35\"};\n \t\t\tsetCertString(TreeNodeType.SERIAL_NUMBER, saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"CN=The Certification Authority\\nOU=The Certification Authority\\nserialNumber=02313821007\\nO=The Certification Wizards\\nC=IT\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.ISSUER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2006 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_FROM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"10/04/2009 16:06:04\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.VALID_TO,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"dnQualifier=2006111605A1528\\nSN=GIACOMO\\ngivenName=VERDI\\[email protected]\\nserialNumber=GCMVRD01D12210Y\\nCN=\\\"GCMVRD01D12210Y/7420091000049623.fmIW78mgkUVdmdQuXCrZbDsW9oQ=\\\"\\nOU=C.C.I.A.A. DI TORINO\\nO=Non Dichiarato\\nC=IT\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 RSA Encryption (rsaEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SUBJECT_ALGORITHM,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"30 82 01 0A 02 82 01 01 00 C4 1C 77 1D AD 89 18\\nB1 6E 88 20 49 61 E9 AD 1E 3F 7B 9B 2B 39 A3 D8\\nBF F1 42 E0 81 F0 03 E8 16 26 33 1A B1 DC 99 97\\n4C 5D E2 A6 9A B8 D4 9A 68 DF 87 79 0A 98 75 F8\\n33 54 61 71 40 9E 49 00 00 06 51 42 13 33 5C 6C\\n34 AA FD 6C FA C2 7C 93 43 DD 8D 6F 75 0D 51 99\\n83 F2 8F 4E 86 3A 42 22 05 36 3F 3C B6 D5 4A 8E\\nDE A5 DC 2E CA 7B 90 F0 2B E9 3B 1E 02 94 7C 00\\n8C 11 A9 B6 92 21 99 B6 3A 0B E6 82 71 E1 7E C2\\nF5 1C BD D9 06 65 0E 69 42 C5 00 5E 3F 34 3D 33\\n2F 20 DD FF 3C 51 48 6B F6 74 F3 A5 62 48 C9 A8\\nC9 73 1C 8D 40 85 D4 78 AF 5F 87 49 4B CD 42 08\\n5B C7 A4 D1 80 03 83 01 A9 AD C2 E3 63 87 62 09\\nFE 98 CC D9 82 1A CB AD 41 72 48 02 D5 8A 76 C0\\nD5 59 A9 FF CA 3C B5 0C 1E 04 F9 16 DB AB DE 01\\nF7 A0 BE CF 94 2A 53 A4 DD C8 67 0C A9 AF 60 5F\\n53 3A E1 F0 71 7C D7 36 AB 02 03 01 00 01\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.PUBLIC_KEY,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\"PKCS #1 SHA-1 With RSA Encryption (sha1WithRSAEncryption)\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeDescriptor.TreeNodeType.SIGNATURE_ALGORITHM,saDummy);\n \t\t}\t\t\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F 59 05 59 E6 FB 45 8F D4 C3 2D CB 8C 4C 55 02\\nDB 5A 42 39 \",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_SHA1,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\t\"6F B2 8C 96 83 3C 65 26 6F 7D CF 74 3F E7 E4 AD\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.THUMBPRINT_MD5,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\t\"Non Repudiation\",\n \t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_KEY_USAGE,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Certificato qualificato (O.I.D. 0.4.0.1862.1.1)\\nPeriodo conservazione informazioni relative alla emissione del cerificato qualificato: 20 anni (O.I.D. 0.4.0.1862.1.3)\\nDispositivo sicuro (O.I.D. 0.4.0.1862.1.4)\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.QC_STATEMENTS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"OCSP - URI:http://ocsp.infocert.it/OCSPServer_ICE/OCSPServlet\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.AUTHORITY_INFORMATION_ACCESS,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"Policy: 1.3.76.14.1.1.1\\nCPS: http://www.card.infocamere.it/firma/cps/cps.htm\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CERTIFICATE_POLICIES,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"19560415000000Z\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_DIRECTORY_ATTRIBUTES,saDummy);\n \t\t}\n \n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?cacertificate, email:firma\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_ISSUER_ALTERNATIVE_NAME,saDummy);\n \t\t}\n \t\t\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"keyid:9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_AUTHORITY_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"URI:ldap://ldap.infocamere.it/cn%3DInfoCamere%20Firma%20Digitale%2Cou%3DCertificati%20di%20Firma%2Co%3DInfoCamere%20SCpA%2Cc%3DIT?certificaterevocationlist\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_CRL_DISTRIBUTION_POINTS,saDummy);\n \t\t}\n \t\t{\n \t\t\tString[] saDummy = {\n \t\t\t\t\t\"9C:6F:E1:76:68:27:42:9C:C0:80:40:70:A0:0F:08:E9:D1:12:FF:A4\"\n \t\t\t\t\t};\n \t\t\tsetCertString(TreeNodeType.X509V3_SUBJECT_KEY_IDENTIFIER,saDummy);\n \t\t}\n \t}", "public void verifyServerCertificates(boolean yesno);", "public java.util.List<? extends liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder> \n getCertificateOrBuilderList() {\n return certificate_;\n }", "public void setSubjectDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(javax.security.auth.x500.X500Principal):void\");\n }", "int insert(TdxNoticeCertificate record);", "public liubaninc.m0.pki.CertificateOuterClass.Certificate getCertificate(int index) {\n if (certificateBuilder_ == null) {\n return certificate_.get(index);\n } else {\n return certificateBuilder_.getMessage(index);\n }\n }", "public java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> getCertificateList() {\n return certificate_;\n }", "X509Certificate getCertificateToCheck()\n {\n return certificateToCheck;\n }", "public vn.com.ecopharma.hrm.rc.model.Certificate create(long certificateId);", "public MEKeyTool() {\n keystore = new PublicKeyStoreBuilderBase();\n }", "public void setCertification(String certification) {\r\n\t\tthis.certification = certification;\r\n\t}", "public CertificateDescription certificate() {\n return this.certificate;\n }", "public liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index) {\n return certificate_.get(index);\n }", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.List<? extends liubaninc.m0.pki.CertificatesOuterClass.CertificatesOrBuilder> \n getCertificatesOrBuilderList();", "java.util.concurrent.Future<RequestCertificateResult> requestCertificateAsync(\n RequestCertificateRequest requestCertificateRequest);", "void setCertificateIssuer(javax.security.auth.x500.X500Principal r1, javax.security.auth.x500.X500Principal r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.setCertificateIssuer(javax.security.auth.x500.X500Principal, javax.security.auth.x500.X500Principal):void\");\n }", "public void updateCertificateEnter(String certificateId) throws ClassNotFoundException, SQLException;", "public CertificatePinner certificatePinner() {\n return certificatePinner;\n }", "@Test\n public void testPreSignDocumentIn() throws IOException, GeneralSecurityException\n {\n try ( InputStream resource = getClass().getResourceAsStream(\"document_in.pdf\");\n FileOutputStream os = new FileOutputStream(new File(RESULT_FOLDER, \"document_in-presigned.pdf\")) )\n {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\n Certificate maincertificate = cf.generateCertificate(getClass().getResourceAsStream(\"Samson_aut.cer\"));\n Certificate[] chain = new Certificate[] { maincertificate };\n String hashAlgorithm = \"SHA-256\";\n\n PdfReader reader = new PdfReader(resource);\n PdfSigner signer = new PdfSigner(reader, os, new StampingProperties());\n signer.setFieldName(\"certification\"); // this field already exists\n signer.setCertificationLevel(PdfSigner.CERTIFIED_FORM_FILLING);\n PdfSignatureAppearance sap = signer.getSignatureAppearance();\n sap.setReason(\"Certification of the document\");\n sap.setLocation(\"On server\");\n sap.setCertificate(maincertificate);\n BouncyCastleDigest digest = new BouncyCastleDigest();\n PdfPKCS7 sgn = new PdfPKCS7(null, chain, hashAlgorithm, null, digest,false);\n PreSignatureContainer external = new PreSignatureContainer(PdfName.Adobe_PPKLite,PdfName.Adbe_pkcs7_detached);\n signer.signExternalContainer(external, 8192);\n byte[] hash=external.getHash();\n sgn.getAuthenticatedAttributeBytes(hash, PdfSigner.CryptoStandard.CMS, null, null);\n }\n }", "@Test\n public void test01ConfRespSignedByRecepient() throws Exception {\n log.trace(\">test01ConfRespSignedByRecepient\");\n\n this.cmpConfiguration.setResponseProtection(cmpAlias, \"signature\");\n this.cmpConfiguration.setCMPDefaultCA(cmpAlias, \"\");\n this.globalConfigurationSession.saveConfiguration(ADMIN, this.cmpConfiguration);\n\n byte[] nonce = CmpMessageHelper.createSenderNonce();\n byte[] transid = CmpMessageHelper.createSenderNonce();\n\n // Send a confirm message to the CA\n String hash = \"foo123\";\n PKIMessage confirm = genCertConfirm(userDN, this.cacert, nonce, transid, hash, 0, null);\n assertNotNull(confirm);\n ByteArrayOutputStream bao = new ByteArrayOutputStream();\n ASN1OutputStream dOut = ASN1OutputStream.create(bao, ASN1Encoding.DER);\n dOut.writeObject(confirm);\n byte[] ba = bao.toByteArray();\n // Send request and receive response\n byte[] resp = sendCmpHttp(ba, 200, cmpAlias);\n checkCmpResponseGeneral(resp, this.testx509ca.getSubjectDN(), userDN, this.cacert, nonce, transid, true, null, PKCSObjectIdentifiers.sha256WithRSAEncryption.getId());\n checkCmpPKIConfirmMessage(userDN, this.cacert, resp);\n\n log.trace(\"<test01ConfRespSignedByRecepient\");\n }", "liubaninc.m0.pki.CertificateOuterClass.CertificateOrBuilder getCertificateOrBuilder(\n int index);", "private void loadTM() throws ERMgmtException{\n try{\n KeyStore ts = KeyStore.getInstance(KeyStore.getDefaultType());\n //random number generate to generated aliases for the new keystore\n Random generator = new Random();\n \n ts.load(null, null);\n \n if(mCertList.size() > 0){\n for(int i=0; i<mCertList.size(); i++){\n int randomInt = generator.nextInt();\n while(ts.containsAlias(\"certificate\"+randomInt)){\n randomInt = generator.nextInt();\n }\n ts.setCertificateEntry(\"certificate\"+randomInt, (X509Certificate) mCertList.get(i));\n } \n mTrustManagerFactory.init(ts); \n } else { \n mTrustManagerFactory.init((KeyStore) null);\n }\n \n TrustManager[] tm = mTrustManagerFactory.getTrustManagers();\n for(int i=0; i<tm.length; i++){\n if (tm[i] instanceof X509TrustManager) {\n mTrustManager = (X509TrustManager)tm[i]; \n break;\n }\n }\n \n } catch (Exception e){ \n throw new ERMgmtException(\"Trust Manager Error\", e);\n }\n \n }", "public void setUserCertificatesPath(String path);", "public static void main(String[] args) {\n\t\ttry{\r\n\t\t\tInputStreamReader Flujo = new InputStreamReader(System.in);\r\n\r\n\t\t\tBufferedReader teclado = new BufferedReader(Flujo);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado: \" );\r\n\t\t\tString NameFile=teclado.readLine();\r\n\t\t\tSystem.out.println(\"Nombre fichero:\"+NameFile );\r\n\t\t\tFileInputStream fr = new FileInputStream(NameFile);\r\n\r\n\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c = (X509Certificate) cf.generateCertificate(fr);\r\n\r\n\t\t\tSystem.out.println(\"Certificado Leido \\n\");\r\n\r\n\r\n\r\n\t\t\t//lectura certificado CA\r\n\t\t\tInputStreamReader Flujo3 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado3 = new BufferedReader(Flujo3);\r\n\t\t\tSystem.out.print(\"Introducir Nombre Certificado CA(*.pem): \" );\r\n\t\t\tString NameFile3=teclado3.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero CA:\"+NameFile3 );\r\n\r\n\r\n\t\t\tFileInputStream fr3 = new FileInputStream(NameFile3);\r\n\r\n\t\t\tCertificateFactory cf3 = CertificateFactory.getInstance(\"X509\");\r\n\t\t\tX509Certificate c3 = (X509Certificate) cf3.generateCertificate(fr3);\r\n\r\n\t\t\tPublicKey publicKeyCA=c3.getPublicKey();\r\n\t\t\tfr3.close();\r\n\t\t\tc.verify(publicKeyCA);\r\n\r\n\t\t\t//lectura del fichero crl.pem\r\n\r\n\t\t\tInputStreamReader Flujo2 = new InputStreamReader(System.in);\r\n\t\t\tBufferedReader teclado2 = new BufferedReader(Flujo2);\r\n\t\t\tSystem.out.print(\"Introducir Nombre fichero certificados revocados(*.pem): \" );\r\n\t\t\tString NameFile2=teclado2.readLine();\r\n\t\t\tSystem.out.println(\"Leido nombre fichero crl:\"+NameFile2);\r\n\r\n\t\t\tFileInputStream inStream = new FileInputStream(NameFile2);\r\n\r\n\t\t\tCertificateFactory cf1 = CertificateFactory.getInstance(\"X.509\");\r\n\r\n\t\t\tX509CRL crl = (X509CRL) cf1.generateCRL(inStream);\r\n\r\n\t\t\t//Imprime los campos del certificado en forma de string\r\n\r\n\t\t\tinStream.close();\r\n\r\n\t\t\tFileWriter fichSalida = new FileWriter(\"log.txt\");\r\n\t\t\tBufferedWriter fs= new BufferedWriter(fichSalida);\r\n\r\n\t\t\tif(crl.isRevoked(c)){\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" Revocado\");\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t\tfs.write(\"\\n Certificado \"+NameFile+\" NO revocado\");\r\n\t\t\t}\t\r\n\t\t\tcrl.verify(publicKeyCA);\t\t\t\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\tfs.write(\"\\n Fichero CRL \"+NameFile2+\" HA SIDO FIRMADO POR LA CA\");\r\n\t\t\t\r\n\t\t\tSet setEntries=crl.getRevokedCertificates();\r\n\t\t\tif(setEntries!=null && setEntries.isEmpty()==false){\r\n\t\t\t\tfor(Iterator iterator = setEntries.iterator(); iterator.hasNext();){\r\n\t\t\t\t\tX509CRLEntry x509crlentry = (X509CRLEntry) iterator.next();\r\n\t\t\t\t\tSystem.out.println(\"serial number=\"+x509crlentry.getSerialNumber());\r\n\t\t\t\t\tSystem.out.println(\"revocacion date=\"+x509crlentry.getRevocationDate());\r\n\t\t\t\t\tSystem.out.println(\"extensions=\"+x509crlentry.hasExtensions());\r\n\t\t\t\t}\r\n\t\t\t}\t\t\r\n\r\n\t\t\tfs.close();\r\n\r\n\t\t}catch (Exception e) {\r\n\t\t\te.printStackTrace( );\r\n\t\t}\r\n\t}", "public void setIssuerDN(javax.security.auth.x500.X500Principal r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setIssuerDN(javax.security.auth.x500.X500Principal):void\");\n }", "public void setRootService(RootService rootService) throws CertException;", "@Override\r\n\tpublic CertificateResSO getCertificate(Integer certificateId) {\n\t\treturn null;\r\n\t}", "public interface CSRCreator {\n byte[] createCSR(CertificateInfo certificateInfo);\n}", "public java.security.cert.X509Certificate generateX509Certificate(java.security.PrivateKey r1) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(java.security.PrivateKey):java.security.cert.X509Certificate\");\n }", "private void obtenerCertificado() {\n\n\t\tcertificado = generarCertificado(lasLlaves);\n\n\t\ttry {\n\n\t\t\tString cert = in.readLine();\n\t\t\tbyte[] esto = parseBase64Binary(cert);\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n\t\t\tInputStream is = new ByteArrayInputStream(esto);\n\t\t\tX509Certificate certServer = (X509Certificate) cf.generateCertificate(is);\n\n\t\t\tllavePublica = certServer.getPublicKey(); \n\t\t\tSystem.out.println(\"Llave Publica obtenida\");\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "X509RegistrationResultParser()\n {\n }", "private void Initiat_Service(Object serviceAdm,Utilisateur user_en_cours) {\n\t\tlog.debug(\"user_en_cours.trustedApplication:\"+user_en_cours.trustedApplication);\n\t\t\t\tString filename =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication));\n\t\t\t\tlog.debug(\"filename:\"+filename);\n\t\t\t\t//System.out.println(\"my file \"+filename);\n\t\t\t\tFileInputStream is=null;\n\t\t\t\ttry {\n\t\t\t\t\tis = new FileInputStream(filename);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tKeyStore myKeyStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\tString password =propIdentification.getProperty(Long.toString(user_en_cours.trustedApplication)+\".password\");\n\n\t\t\t\ttry {\n\t\t\t\t\tmyKeyStore.load(is, password.toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (CertificateException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t} catch (IOException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tString filenameTrust =prop.getProperty(\"clienttrustore\");\n\t\t\t\tFileInputStream myKeys = null;\n\t\t\t\ttry {\n\t\t\t\t\tmyKeys = new FileInputStream(filenameTrust);\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t// Load your TrustedStore\n\t\t\t\tKeyStore myTrustedStore=null;\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore = KeyStore.getInstance(KeyStore.getDefaultType());\n\t\t\t\t} catch (KeyStoreException e2) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te2.printStackTrace();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tmyTrustedStore.load(myKeys, prop.getProperty(\"clienttrustore.password\").toCharArray());\n\t\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (CertificateException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tWSConnection.setupTLS(serviceAdm, myKeyStore, password, myTrustedStore);\n\t\t\t\t} catch (GeneralSecurityException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t}", "public String getCertification() {\r\n\t\treturn certification;\r\n\t}", "public String getTlsCert();", "public void newKeystore(String alias,String password, String bodyCert) {\n try {\n CertAndKeyGen keyGen = new CertAndKeyGen(\"RSA\", ALGORITHM, null);\n try {\n keyGen.generate(KEY_LEN);\n PrivateKey pk = keyGen.getPrivateKey();\n X509Certificate cert;\n cert = keyGen.getSelfCertificate(new X500Name(bodyCert), (long) EXPIRATION * 24 * 60 * 60);\n X509Certificate[] chain = new X509Certificate[1];\n chain[0]= cert;\n //creo el request PKCS10\n PKCS10 certreq = new PKCS10 (keyGen.getPublicKey());\n Signature signature = Signature.getInstance(ALGORITHM);\n signature.initSign(pk);\n certreq.encodeAndSign(new X500Name(bodyCert), signature);\n //-creo el archivo CSR-\n //FileOutputStream filereq = new FileOutputStream(\"C:\\\\test\\\\certreq.csr\");\n FileOutputStream filereq = new FileOutputStream(OUTPUTCERT_PATH);\n PrintStream ps = new PrintStream(filereq);\n certreq.print(ps);\n ps.close();\n filereq.close();\n \n this.ks = KeyStore.getInstance(INSTANCE);\n this.ksPass = password.toCharArray();\n try (FileOutputStream newkeystore = new FileOutputStream(archivo)) {\n ks.load(null,null);\n ks.setKeyEntry(alias, pk, ksPass, chain);\n ks.store(newkeystore, ksPass);\n }\n } catch (InvalidKeyException | IOException | CertificateException | SignatureException | KeyStoreException ex) {\n LOG.error(\"Error a manipular el archivo: \"+archivo,ex);\n }\n \n } \n catch (NoSuchAlgorithmException | NoSuchProviderException ex) {\n LOG.error(ex);\n }\n }", "public java.security.Principal getSubjectDN() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getSubjectDN():java.security.Principal\");\n }", "public void setIsCert(Integer isCert) {\n\t\tthis.isCert = isCert;\n\t}", "public liubaninc.m0.pki.CertificateOuterClass.Certificate.Builder getCertificateBuilder() {\n \n onChanged();\n return getCertificateFieldBuilder().getBuilder();\n }", "private String issuer() {\n return \"spoqn.com\";\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "public void setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.x509.X509V1CertificateGenerator.setSubjectDN(com.android.org.bouncycastle.asn1.x509.X509Name):void\");\n }", "int getCertificateCount();" ]
[ "0.75187796", "0.74023896", "0.74023896", "0.6761361", "0.650354", "0.650354", "0.64368993", "0.6363538", "0.63245296", "0.63014245", "0.6220435", "0.6220435", "0.61037284", "0.60805774", "0.5914961", "0.58821017", "0.5789164", "0.57772094", "0.5680732", "0.56629074", "0.56478107", "0.56478107", "0.5637799", "0.5590708", "0.5553794", "0.55096567", "0.5499753", "0.54823697", "0.5461449", "0.5460805", "0.54579175", "0.54513973", "0.54181683", "0.5347331", "0.5340261", "0.5325658", "0.53213435", "0.5305366", "0.52934074", "0.5289135", "0.5263788", "0.5259397", "0.5256068", "0.5238596", "0.5229099", "0.52236825", "0.51995504", "0.51955414", "0.5194238", "0.51929826", "0.5189226", "0.5184336", "0.5181149", "0.51794386", "0.51776785", "0.51632065", "0.51621747", "0.51500493", "0.5136844", "0.5129088", "0.5101184", "0.50870836", "0.5085484", "0.50839174", "0.5066886", "0.50586903", "0.5051658", "0.50500876", "0.5044259", "0.50421274", "0.5037973", "0.5037973", "0.50348806", "0.5030593", "0.50193626", "0.50121266", "0.5000612", "0.4996462", "0.4987074", "0.49860024", "0.49852937", "0.49763703", "0.49747056", "0.4972317", "0.49699792", "0.49675968", "0.49663857", "0.4964723", "0.4957756", "0.4951639", "0.4951363", "0.49481705", "0.49458686", "0.49412423", "0.49379465", "0.4934283", "0.49330428", "0.49325478", "0.49285406", "0.49197394" ]
0.51515317
57