query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
/ renamed from: e
public void mo8821e() { if (!((Activity) C3720a.this._context).getClass().getSimpleName().equalsIgnoreCase(LiveViewMoviePantilterCheckRangeActivity.class.getSimpleName())) { C2331d.m10114a((Activity) C3720a.this, C2328a.ON_PANTILTER_ERROR, (Bundle) null); } else { C3720a.this.finish(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: f
public void mo8822f() { if (C2274o.m9903i(C3720a.this.f12125b.mo8842J())) { if (!C2331d.m10125b((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION)) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { C2331d.m10114a((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION, (Bundle) null); } }); } } else if (C2274o.m9902h(C3720a.this.f12125b.mo8842J())) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { C3720a.this.f12125b.mo8868e(C3720a.this._context.getText(R.string.cmn_msg_just_a_moment).toString()); } }); } else { if (C2274o.m9917w(C3720a.this.f12125b.mo8842J()) && !C3720a.this._isStartPreset) { C3720a.this._isStartPreset = true; } if (C2331d.m10125b((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION)) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { C2331d.m10100a((Activity) C3720a.this); } }); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155...
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227...
0.0
-1
/ renamed from: g
public void mo8823g() { if (C3720a.this.f12125b != null) { C3720a.this.mo8808a(C3720a.this.f12125b.mo8839G()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: ...
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6105423", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356...
0.0
-1
/ renamed from: a
public void mo8814a(final String str) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { if (C3720a.this.f12125b == null) { return; } if (str.equalsIgnoreCase("ia")) { C3720a.this.f12125b.f12208ae.mo3216a(Boolean.valueOf(true)); C3720a.this.f12125b.f12209af.mo3216a(Integer.valueOf(R.drawable.recmode_ia_icon)); } else if (str.equalsIgnoreCase("manual")) { C3720a.this.f12125b.f12208ae.mo3216a(Boolean.valueOf(true)); C3720a.this.f12125b.f12209af.mo3216a(Integer.valueOf(R.drawable.recmode_manual_icon)); } else if (str.equalsIgnoreCase("4kphoto")) { C3720a.this.f12125b.f12208ae.mo3216a(Boolean.valueOf(true)); C3720a.this.f12125b.f12209af.mo3216a(Integer.valueOf(R.drawable.recmode_4kphoto_icon)); } else if (str.equalsIgnoreCase("slowzoom")) { C3720a.this.f12125b.f12208ae.mo3216a(Boolean.valueOf(true)); C3720a.this.f12125b.f12209af.mo3216a(Integer.valueOf(R.drawable.recmode_slow_zoom_icon)); } else { C3720a.this.f12125b.f12208ae.mo3216a(Boolean.valueOf(false)); C3720a.this.f12125b.f12209af.mo3216a(Integer.valueOf(0)); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void mo8815a(final String str, final String str2) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { if (C3720a.this.f12125b != null) { boolean z = false; if (str != null && str.equalsIgnoreCase("mp4_4k")) { C3720a.this.f12125b.f12308w.mo3216a("mp4_4kPhoto"); z = true; } if (!z) { C3720a.this.f12125b.f12308w.mo3216a(str2); } } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void mo8816a(final String str, final boolean z, final boolean z2) { C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() { public void run() { boolean z = true; C1892f a = C1712b.m6919c().mo4896a(); if (C3720a.this.f12125b == null) { return; } if (!C1879a.m7545b(a, "1.6") || !str.equalsIgnoreCase("mp4_4k") || !C3720a.this.f12125b.mo8884t()) { C3720a.this.f12125b.f12152A.mo3216a(Boolean.valueOf(true)); if (z2) { C1344c<Boolean> cVar = C3720a.this.f12125b.f12153B; if (C3720a.this.f12125b.mo8885u() || !C3720a.this.f12125b.mo8849Q() || C3720a.this.f12125b.mo8850R() || C3720a.this.f12125b.mo8851S()) { z = false; } cVar.mo3216a(Boolean.valueOf(z)); } else { C3720a.this.f12125b.f12153B.mo3216a(Boolean.valueOf(false)); } C3720a.this.f12125b.f12263bh.mo3216a(Boolean.valueOf(false)); return; } C3720a.this.f12125b.f12152A.mo3216a(Boolean.valueOf(false)); C3720a.this.f12125b.f12263bh.mo3216a(Boolean.valueOf(true)); if (C3720a.this.f12125b.mo8846N()) { return; } if (z) { C3720a.this.f12125b.f12262bg.mo3216a(Boolean.valueOf(true)); } else { C3720a.this.f12125b.f12262bg.mo3216a(Boolean.valueOf(false)); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void mo6081a() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public void mo6082b() { if (m14898d()) { C3720a.this.StartBrowser(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: d
private boolean m14898d() { if (C3720a.this.f12125b.mo8884t()) { C2331d.m10114a((Activity) C3720a.this, C2328a.ON_ERROR_NOW_MOVIE_RECORDING, (Bundle) null); return false; } else if (C3720a.this.f12125b.mo8885u() || C3720a.this.f12125b.mo8886v()) { C2331d.m10114a((Activity) C3720a.this, C2328a.ON_ERROR_NOW_PIC_CAPTURE, (Bundle) null); return false; } else if (C3720a.this.f12125b.mo8887w()) { return true; } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: c
public void mo6083c() { Intent intent = new Intent(C3720a.this._context, GuidanceMenuActivity.class); C3720a.this.finish(); C3720a.this.startActivity(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public abstract String mo8770a();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void ...
[ "0.75464964", "0.73093235", "0.71735907", "0.692263", "0.68435764", "0.6787232", "0.67364866", "0.6659923", "0.6635336", "0.6635336", "0.65571475", "0.65408033", "0.65371394", "0.6500136", "0.6494878", "0.6494545", "0.6485399", "0.6476603", "0.64670885", "0.6403744", "0.63941...
0.0
-1
/ access modifiers changed from: protected / renamed from: b
public boolean mo8810b() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "@Override\n\tpublic void b() {\n\n\t}", "public abstract void mo70713b();", "@Override\n protected void prot() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "@Ov...
[ "0.7265121", "0.7075299", "0.6953316", "0.6844512", "0.6816989", "0.6797015", "0.67873454", "0.67873454", "0.6723842", "0.66859716", "0.6652532", "0.66338354", "0.65748096", "0.65464336", "0.6536778", "0.65149367", "0.65149367", "0.6452143", "0.64504886", "0.64404196", "0.641...
0.0
-1
/ access modifiers changed from: protected
public void SetLiveViewMode(int i, boolean z) { this._lastLiveViewMode = i; this._isPictureRecMode = z; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public void mo8809a(int i, boolean z, String str) { this._lastLiveViewMode = i; this._isPictureRecMode = z; C1347a.m5304a(this._lastLiveViewMode); getWindow().addFlags(128); this._context = this; this._handler = new Handler(); this.f12124a = new Bundle(); this.f12127d = new C3722a(); this.f12125b = (C3733b) C2316j.m10030a("LiveViewMoviePantilterBaseViewModel"); if (this.f12125b == null) { this.f12125b = new C3733b(this._context, this._handler); this.f12125b.mo8853a(this._context, this._handler, (C3787a) this.f12127d); C2316j.m10032a("LiveViewMoviePantilterBaseViewModel", this.f12125b); this.f12125b.mo8859b(this._lastLiveViewMode); } else { this.f12125b.mo8853a(this._context, this._handler, (C3787a) this.f12127d); } C2028e a = C2253z.m9680a((Context) null, false); if (a != null) { C1846e i2 = a.mo5285i(); this.f12129f = str; if (i2 != null && i2.mo4656E() != null && i2.mo4656E().equalsIgnoreCase("manual") && str.equalsIgnoreCase("manual")) { Intent intent = new Intent(this._context, LiveViewMoviePantilterManualMovieActivity.class); Activity activity = (Activity) this._context; activity.finish(); activity.startActivity(intent); activity.overridePendingTransition(0, 0); } else if (!(i2 == null || i2.mo4656E() == null || ((!C2274o.m9901g(i2.mo4656E()) && !C2274o.m9904j(i2.mo4656E()) && !C2274o.m9911q(i2.mo4656E()) && !C2274o.m9918x(i2.mo4656E()) && !C2274o.m9881E(i2.mo4656E()) && !C2274o.m9882F(i2.mo4656E()) && !C2274o.m9903i(i2.mo4656E())) || !str.equalsIgnoreCase("manual")))) { Intent intent2 = new Intent(this._context, LiveViewMoviePantilterPresetActivity.class); Activity activity2 = (Activity) this._context; activity2.finish(); activity2.startActivity(intent2); activity2.overridePendingTransition(0, 0); } } this._optionMenuUtil = new C2308e(); this._optionMenuUtil.mo6072a(this, this._handler, this); this._tabMenuUtil = new C2311f(); this.f12128e = new C3732b(); this._tabMenuUtil.mo6085a(1, this); this._tabMenuUtil.mo6078a(this.f12128e); SetupCameraWatching(false, C2328a.DMS_FILEUPLOADED_NOTIFY, C2328a.DMS_FILEUPLOADING_ERROR, C2328a.ON_SUBSCRIBE_UPDATE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void ...
[ "0.75464964", "0.73093235", "0.71735907", "0.692263", "0.68435764", "0.6787232", "0.67364866", "0.6659923", "0.6635336", "0.6635336", "0.65571475", "0.65408033", "0.65371394", "0.6500136", "0.6494878", "0.6494545", "0.6485399", "0.6476603", "0.64670885", "0.6403744", "0.63941...
0.0
-1
/ access modifiers changed from: protected
public void onDestroy() { if ((getChangingConfigurations() & 128) == 128 && this.f12125b != null) { this.f12125b.mo6021b(true); } super.onDestroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void onResume() { super.onResume(); if (this.f12125b != null) { if (this.f12126c != null) { this.f12126c.mo8947b(); } if (this.f12125b.mo6024f()) { this.f12125b.mo6021b(false); if (this.f12129f.equalsIgnoreCase("check")) { this.f12125b.mo8864c(this._isPictureRecMode); return; } return; } this.f12125b.mo8864c(this._isPictureRecMode); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void onPause() { super.onPause(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void onSaveInstanceState(Bundle bundle) { super.onSaveInstanceState(bundle); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void onActivityResult(int i, int i2, Intent intent) { C1846e eVar; Bundle extras = intent.getExtras(); if (!CheckActivityResult(i, i2, intent)) { this._isCheck = extras.getBoolean("PantilterCheckRange"); String string = extras.getString("PantilterMode"); C2028e a = C2253z.m9680a((Context) null, false); if (a != null) { eVar = a.mo5285i(); if (eVar != null && this._isCheck) { string = eVar.mo4656E(); } } else { eVar = null; } if (string != null && !string.equalsIgnoreCase("")) { if (string.equalsIgnoreCase("manual")) { Intent intent2 = new Intent(this._context, LiveViewMoviePantilterManualMovieActivity.class); Activity activity = (Activity) this._context; activity.finish(); activity.startActivity(intent2); activity.overridePendingTransition(0, 0); } else if (string.equalsIgnoreCase("preset") || string.equalsIgnoreCase("presethome") || string.equalsIgnoreCase("presetpausehome")) { Intent intent3 = new Intent(this._context, LiveViewMoviePantilterPresetActivity.class); Activity activity2 = (Activity) this._context; activity2.finish(); activity2.startActivity(intent3); activity2.overridePendingTransition(0, 0); } else if (string.equalsIgnoreCase("party") || string.equalsIgnoreCase("partypause") || string.equalsIgnoreCase("movingobj") || string.equalsIgnoreCase("mvobj") || string.equalsIgnoreCase("movingobjpause")) { Intent intent4 = new Intent(this._context, LiveViewMoviePantilterAutoMovieActivity.class); Activity activity3 = (Activity) this._context; activity3.finish(); activity3.startActivity(intent4); activity3.overridePendingTransition(0, 0); } else if (eVar == null || eVar.mo4656E().equalsIgnoreCase("") || !eVar.mo4656E().equalsIgnoreCase("noconnect")) { if (eVar != null && !eVar.mo4656E().equalsIgnoreCase("") && eVar.mo4656E().equalsIgnoreCase("error") && this._isCheck) { C2331d.m10114a((Activity) this, C2328a.ON_PANTILTER_ERROR, (Bundle) null); } } else if (this._isCheck) { C2331d.m10114a((Activity) this, C2328a.ON_PANTILTER_NO_CONNECT, (Bundle) null); } } if (this.f12125b != null) { this.f12125b.mo8864c(this._isPictureRecMode); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void OnFinishActiviy() { super.OnFinishActiviy(); C2316j.m10034b("LiveViewMoviePantilterBaseViewModel"); if (this.f12126c != null) { this.f12126c.mo8945a(); } if (this.f12125b != null) { this.f12125b.mo3205a(); this.f12125b = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public boolean IsEnableOptionMenu() { if (this.f12125b.mo8885u()) { C2331d.m10114a((Activity) this, C2328a.ON_ERROR_NOW_PIC_CAPTURE, (Bundle) null); return false; } else if (!this.f12125b.mo8871g()) { return false; } else { if (!((Boolean) this.f12125b.f12207ad.mo3217b()).booleanValue()) { return false; } if (!C2274o.m9889M(this.f12125b.mo8842J()) && !C2274o.m9890N(this.f12125b.mo8842J())) { return true; } C2331d.m10114a((Activity) this, C2328a.ON_CANNOT_CHANGE_SETUP, (Bundle) null); return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public void OnSetupBrowser(Intent intent) { this.f12125b.mo8854a(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected
public C2291c GetViewModel() { return this.f12125b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public void mo8808a(int i) { if (this.f12125b != null) { this.f12125b.mo8862c(i); } if (i == 1) { if (this.f12130g != null) { this.f12130g.setVisibility(0); } if (this.f12131h != null) { this.f12131h.setVisibility(4); } if (this.f12133j != null) { this.f12133j.setVisibility(4); } if (this.f12132i != null) { this.f12132i.setVisibility(4); } } else if (i == 2) { if (this.f12131h != null) { this.f12131h.setVisibility(0); } if (this.f12130g != null) { this.f12130g.setVisibility(4); } if (this.f12133j != null) { this.f12133j.setVisibility(4); } if (this.f12132i != null) { this.f12132i.setVisibility(4); } } else if (i == 3) { if (this.f12133j != null) { this.f12133j.setVisibility(0); } if (this.f12130g != null) { this.f12130g.setVisibility(4); } if (this.f12131h != null) { this.f12131h.setVisibility(4); } if (this.f12132i != null) { this.f12132i.setVisibility(4); } } else if (i == 4) { if (this.f12132i != null) { this.f12132i.setVisibility(0); } if (this.f12130g != null) { this.f12130g.setVisibility(4); } if (this.f12131h != null) { this.f12131h.setVisibility(4); } if (this.f12133j != null) { this.f12133j.setVisibility(4); } } else { if (this.f12130g != null) { this.f12130g.setVisibility(0); } if (this.f12131h != null) { this.f12131h.setVisibility(4); } if (this.f12133j != null) { this.f12133j.setVisibility(4); } if (this.f12132i != null) { this.f12132i.setVisibility(4); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void ...
[ "0.75482184", "0.73110867", "0.71752286", "0.6923019", "0.6844372", "0.6787214", "0.67374206", "0.6661343", "0.6636236", "0.6636236", "0.6556949", "0.6541325", "0.6537825", "0.65008605", "0.649674", "0.64957714", "0.64868635", "0.64772385", "0.64669675", "0.6403976", "0.63945...
0.0
-1
TODO: save history stack here
public void preCommitChanges() { if (onEditListener != null) onEditListener.onPreEdit(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private History() {}", "void writeStackToRecentsBlocking() {\n final ContentResolver resolver = getContentResolver();\n final ContentValues values = new ContentValues();\n\n final byte[] rawStack = DurableUtils.writeToArrayOrNull(mState.stack);\n\n // Remember location for next app la...
[ "0.66590047", "0.6593928", "0.6432448", "0.63175243", "0.62784815", "0.62652975", "0.62652975", "0.62603354", "0.62490225", "0.62368774", "0.62336576", "0.61786574", "0.6168931", "0.61261714", "0.61247015", "0.60499454", "0.60451406", "0.6020046", "0.59740555", "0.5961896", "...
0.0
-1
////////////////////////////////////////////////////////////////////// View impl //////////////////////////////////////////////////////////////////////
@Override public boolean onTouchEvent(@NonNull MotionEvent event) { scaleGestureDetector.onTouchEvent(event); gestureDetector.onTouchEvent(event); if (event.getPointerCount() == 1) { int action = event.getActionMasked(), pointerIndex = event.getActionIndex(); MotionEvent.PointerCoords coords; int width = getWidth(), height = getHeight(); float rWidth = modifiedSize.width(), rHeight = modifiedSize.height(); int ex, ey; switch (action) { case MotionEvent.ACTION_DOWN: { isDrawing = true; coords = new MotionEvent.PointerCoords(); event.getPointerCoords(pointerIndex, coords); targetRenderer.createEditCache(editingFrame); ex = (int)((coords.x - (width - rWidth) / 2 - modifiedOffset.x) / (zoom * scaleFactor)); ey = (int)((coords.y - (height - rHeight) / 2 - modifiedOffset.y) / (zoom * scaleFactor)); brush.touchStart(new Point(ex, ey)); invalidate(); } break; case MotionEvent.ACTION_MOVE: { if (isDrawing && !brush.isCanceled()) { coords = new MotionEvent.PointerCoords(); event.getPointerCoords(pointerIndex, coords); ex = (int) ((coords.x - (width - rWidth) / 2 - modifiedOffset.x) / (zoom * scaleFactor)); ey = (int) ((coords.y - (height - rHeight) / 2 - modifiedOffset.y) / (zoom * scaleFactor)); brush.touchDelta(new Point(ex, ey)); invalidate(); } else { brush.cancel(); } } break; case MotionEvent.ACTION_UP: { if (isDrawing && !brush.isCanceled()) { coords = new MotionEvent.PointerCoords(); event.getPointerCoords(pointerIndex, coords); ex = (int) ((coords.x - (width - rWidth) / 2 - modifiedOffset.x) / (zoom * scaleFactor)); ey = (int) ((coords.y - (height - rHeight) / 2 - modifiedOffset.y) / (zoom * scaleFactor)); brush.touchEnd(new Point(ex, ey)); isDrawing = false; invalidate(); } } break; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void view() {\n\t\t\n\t}", "public abstract String getView();", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "private View() {}", "void view();", "StableView view();", "View mo73990a(View view);", "public interface...
[ "0.79268503", "0.73391426", "0.7279614", "0.7279614", "0.7237854", "0.7205291", "0.720124", "0.72001845", "0.7192455", "0.7165331", "0.7158269", "0.7158269", "0.7146037", "0.7146037", "0.7128039", "0.7128039", "0.7121517", "0.7110498", "0.7031584", "0.7031584", "0.7031021", ...
0.0
-1
////////////////////////////////////////////////////////////////////// ScaleGestureDetector.OnScaleGestureListener impl //////////////////////////////////////////////////////////////////////
@Override public boolean onScale(ScaleGestureDetector scaleGestureDetector) { zoom *= scaleGestureDetector.getScaleFactor(); recalculateView(); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void onScaleEnd(ScaleGestureDetector detector) {\n\t}", "@Override\n\tpublic void onScaleEnd(ScaleGestureDetector detector) {\n\t}", "@Override\n public void onScaleEnd(ScaleGestureDetector detector) {\n }", "private class <init> extends android.view.ScaleGestureListener\n...
[ "0.75386494", "0.7469598", "0.73553205", "0.7241531", "0.6945962", "0.6945962", "0.6945962", "0.69226885", "0.6911964", "0.6787455", "0.6787455", "0.6787455", "0.6639282", "0.65243906", "0.6295962", "0.6246675", "0.61506206", "0.6103163", "0.6080111", "0.6024774", "0.6001399"...
0.7214348
4
////////////////////////////////////////////////////////////////////// GestureDetector.OnGestureListener impl //////////////////////////////////////////////////////////////////////
@Override public boolean onDown(MotionEvent motionEvent) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addGestureHandler(GestureEventListener listener);", "public interface GestureListener {\n\t/**\n\t * Invoked when the {@link Gesture} has just started (i.e. it passed from state POSSIBLE_DETECTION to state IN_PROGRESS).\n\t * This callback is invoked only for live gestures.\n\t * @param gesture The data ass...
[ "0.77869856", "0.74477303", "0.7303115", "0.72864187", "0.72662526", "0.7123929", "0.70787543", "0.6857345", "0.68232036", "0.6642094", "0.6635181", "0.66263264", "0.65921956", "0.659196", "0.6548168", "0.6508557", "0.6480855", "0.64591277", "0.64207184", "0.64164937", "0.638...
0.0
-1
private String textGrammer, textPunct, textSpell;
public CustomSelectionsPagerAdapter(Context context, FragmentManager fm){//String textGrammer, String textPunct, String textSpell) { super(fm); this.context = context; this.context = context; //this.textGrammer = textGrammer; //this.textPunct = textPunct; //this.textSpell = textSpell; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getWord(){\n return this.word;\n }", "public String getWord(){\r\n\t\t return word;\r\n\t }", "private void addCustomWords() {\r\n\r\n }", "@Override\n public String getWord(){\n return word;\n }", "public Athlete()\r\n{\r\n this.def = \"An athlete is said to be r...
[ "0.63907814", "0.6375359", "0.617512", "0.6122733", "0.608389", "0.60555774", "0.6038784", "0.5982274", "0.5980534", "0.5980465", "0.59712505", "0.59702766", "0.59700984", "0.5947606", "0.59430504", "0.58978283", "0.589458", "0.58726424", "0.58428586", "0.5841193", "0.5828616...
0.0
-1
Get the instance name.
public String getName() { return m_name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getName() {\n\t\treturn name + instanceName;\n\t}", "@Override\n\tpublic String getInstanceName() {\n\t\treturn instanceName;\n\t}", "public String getName() {\n return instance.getName();\n }", "public String getInstanceName() {\n return this.mInstanceName;\n ...
[ "0.8368315", "0.8250052", "0.8058744", "0.80170304", "0.7992931", "0.7992931", "0.7992931", "0.7977898", "0.74686575", "0.74686575", "0.7328434", "0.7144274", "0.71351534", "0.7069427", "0.7069427", "0.7069427", "0.70673704", "0.70650524", "0.7062352", "0.70386285", "0.702776...
0.0
-1
Get the list of object created by the described instance.
public String[] getCreatedObjects() { return m_createdObjects; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<T> getList() {\r\n\t\tgetEntityManager().flush();\r\n\t\treturn getEntityManager().createQuery(\r\n\t\t\t\t\"select OBJECT(o) from \" + getClassType().getSimpleName() + \" o order by o.id\")\r\n\t\t\t\t.getResultList();\r\n\t}", "List<SoftObjectRef...
[ "0.70608085", "0.67258805", "0.65590906", "0.65047765", "0.6441355", "0.6420093", "0.6397176", "0.62915015", "0.626626", "0.622109", "0.62061185", "0.6197611", "0.6158046", "0.61495227", "0.6132931", "0.61321163", "0.61030585", "0.6073462", "0.6073422", "0.60640126", "0.60526...
0.6220102
10
Set the array of objects created by the described instance.
public void setCreatedObjects(String[] objects) { m_createdObjects = objects; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void set(Object[] objects) {\r\n this.objects = objects;\r\n }", "protected void setArray(Object[] array){\r\n\t \tthis.array = array;\r\n\t }", "public ZYArraySet(){\n elements = (ElementType[])new Object[DEFAULT_INIT_LENGTH];\n }", "public static void setInstance(GameObjectList game...
[ "0.70344055", "0.6294958", "0.6031354", "0.5994978", "0.5823617", "0.5595322", "0.55799335", "0.5578921", "0.55634785", "0.55603015", "0.5527839", "0.5506616", "0.5504601", "0.5472562", "0.54605937", "0.5438352", "0.5437212", "0.5432332", "0.54252124", "0.53796047", "0.536522...
0.6181667
2
Get the component type description of the described instance.
public ComponentTypeDescription getComponentDescription() { return m_type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String componentTypeName();", "@Override\n\tpublic String getType() {\n\t\treturn this.description.getType();\n\t}", "public static org.apache.axis.description.TypeDesc getTypeDesc() {\r\n return typeDesc;\r\n }", "public static org.apache.axis.description.TypeDesc getTypeDesc() {\r\n return...
[ "0.7327212", "0.6967048", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "0.6839606", "...
0.79368186
0
Get the plugged handler list.
public HandlerDescription[] getHandlers() { return m_handlers; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static HandlerList getHandlerList() {\n return handlers;\n }", "public static HandlerList getHandlerList() {\n return handlers;\n }", "public final static HandlerList getHandlerList(){\n return handlers;\n }", "@Override\n public final HandlerList getHandlers(){\n return ha...
[ "0.8038699", "0.8038699", "0.7997195", "0.76912344", "0.74999255", "0.74999255", "0.7420918", "0.71063024", "0.7078629", "0.6947107", "0.6922612", "0.6623886", "0.66209906", "0.6479527", "0.63534904", "0.6298387", "0.6289736", "0.62674844", "0.6246816", "0.62295085", "0.61875...
0.7635028
4
Add an handler description to the list.
public void addHandler(HandlerDescription desc) { // Verify that the dependency description is not already in the array. for (int i = 0; i < m_handlers.length; i++) { if (m_handlers[i] == desc) { return; // NOTHING TO DO, the description is already in the // array } } // The component Description is not in the array, add it HandlerDescription[] newHd = new HandlerDescription[m_handlers.length + 1]; System.arraycopy(m_handlers, 0, newHd, 0, m_handlers.length); newHd[m_handlers.length] = desc; m_handlers = newHd; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addDetailsHander(DetailsPmHandler detailsHandlers);", "public void addDescription(String description) {\n\t\tthis.description = description;\n\t}", "void addDetailsHanders(DetailsPmHandler... detailsHandlers);", "public void addHandler(EventHandler handler);", "public void addDescription(String descri...
[ "0.63396907", "0.61720544", "0.604897", "0.59837526", "0.5964927", "0.58938926", "0.5698042", "0.5630976", "0.5599729", "0.55843836", "0.55637896", "0.5513497", "0.5510804", "0.5490231", "0.54728013", "0.5410598", "0.5408767", "0.53743", "0.53741395", "0.5357223", "0.5356635"...
0.7599185
0
Add an instance description to the contained instance list.
public void addInstance(InstanceDescription inst) { // Verify that the dependency description is not already in the array. for (int i = 0; i < m_containedInstances.length; i++) { if (m_containedInstances[i].getName().equals(inst.getName())) { return; // NOTHING TO DO, the description is already in the array } } // The component Description is not in the array, add it InstanceDescription[] newCi = new InstanceDescription[m_containedInstances.length + 1]; System.arraycopy(m_containedInstances, 0, newCi, 0, m_containedInstances.length); newCi[m_containedInstances.length] = inst; m_containedInstances = newCi; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addInstance(Instance instance);", "public void addDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void add(Map<Variable, Object> instance) {\n\t\tthis.listInstance.add(instance);\n\t}", "public void addDescription(String description) {\n String desc = getDesc...
[ "0.6684182", "0.638069", "0.60797477", "0.60562885", "0.59660083", "0.58393437", "0.57979184", "0.5785381", "0.5772208", "0.57304126", "0.5711367", "0.57084906", "0.56897014", "0.56893176", "0.5667163", "0.56647444", "0.56519896", "0.55737627", "0.55084485", "0.5488408", "0.5...
0.69680446
0
Set the state of the component.
public void setState(int state) { m_state = state; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setState(State state) { model.setState(state); }", "void setState(int state);", "public void setState(int state);", "public void setState(int state);", "void setState(Object state);", "void setState(State state);", "public void setState(final State state);", "public void setComponentState...
[ "0.74178433", "0.7387019", "0.7332385", "0.7332385", "0.7295377", "0.7290158", "0.7287992", "0.71999705", "0.7143486", "0.7143486", "0.7131445", "0.7096951", "0.7059045", "0.700781", "0.6987059", "0.6987059", "0.6982251", "0.6939933", "0.69262266", "0.69262266", "0.69262266",...
0.6997384
14
Get the state of the described instance.
public int getState() { return m_state; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public State getState() {\n return state.get();\n }", "public State getState();", "public State getState();", "public State state() {\n return state;\n }", "public State GetState()\n {\n return this.state;\n }", "public T getState() {\r\n\t\treturn state;\r\n\t}", "publ...
[ "0.7799891", "0.76080203", "0.76080203", "0.75777465", "0.75774276", "0.75673074", "0.7552952", "0.7552952", "0.7552952", "0.7552952", "0.7552952", "0.74993116", "0.7496209", "0.7479023", "0.7448512", "0.7447859", "0.74380684", "0.7433076", "0.7415784", "0.7415784", "0.741140...
0.70848674
62
Get the bundle id of the bundle containing the described instance.
public long getBundleId() { return m_bundleId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBundleId() {\n return this.bundleId;\n }", "public String getId() {\n return mBundle.getString(KEY_ID);\n }", "public long getBundleID(){\n return localBundleID;\n }", "public String getBundleId() {\n\t ...
[ "0.74695873", "0.70451146", "0.6723863", "0.6350649", "0.6288362", "0.6268641", "0.62220746", "0.6171428", "0.6171428", "0.6171428", "0.6171428", "0.6171428", "0.6171428", "0.6171428", "0.60294646", "0.5966642", "0.59610456", "0.59278214", "0.5885509", "0.58812594", "0.587045...
0.7328095
1
Get the list of contained instance in the describe instance. This list contains only instances who exposed their architecture.
public InstanceDescription[] getContainedInstances() { return m_containedInstances; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Collection<Instance> getInstances();", "public List<ServiceInstance> getAllInstances();", "public static ArrayList<InstanceEntity> getInstances() {\n ILifeCycleServiceRest resourceserviceproxy =\n ConsumerFactory.createConsumer(MsbUtil.getNsocLifecycleBaseUrl(),\n ILifeCycleServiceRest.cla...
[ "0.73898137", "0.7038304", "0.6745967", "0.66692334", "0.64015615", "0.6315873", "0.6279606", "0.6219004", "0.61234885", "0.60927427", "0.60732716", "0.6070413", "0.5951471", "0.59193194", "0.59177345", "0.5854487", "0.5849709", "0.5710603", "0.57020503", "0.5670706", "0.5652...
0.74165004
0
Get the instance description.
public Element getDescription() { Element instance = new Element("Instance", ""); instance.addAttribute(new Attribute("name", getName())); // Name // State if (m_state == ComponentInstance.STOPPED) { instance.addAttribute(new Attribute("state", "stopped")); } if (m_state == ComponentInstance.VALID) { instance.addAttribute(new Attribute("state", "valid")); } if (m_state == ComponentInstance.INVALID) { instance.addAttribute(new Attribute("state", "invalid")); } if (m_state == ComponentInstance.DISPOSED) { instance.addAttribute(new Attribute("state", "disposed")); } // Bundle instance.addAttribute(new Attribute("bundle", Long.toString(m_bundleId))); // Component Type instance.addAttribute(new Attribute("component.type", m_type.getName())); // Handlers for (int i = 0; i < m_handlers.length; i++) { instance.addElement(m_handlers[i].getHandlerInfo()); } // Created Object (empty is composite) for (int i = 0; i < m_createdObjects.length; i++) { Element obj = new Element("Object", ""); obj.addAttribute(new Attribute("name", ((Object) m_createdObjects[i]).toString())); instance.addElement(obj); } // Contained instance (exposing architecture) (empty if primitive) if (m_containedInstances.length > 0) { Element inst = new Element("ContainedInstances", ""); for (int i = 0; i < m_containedInstances.length; i++) { inst.addElement(m_containedInstances[i].getDescription()); instance.addElement(inst); } } return instance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.Object getDescription() {\n return description;\n }", "public String getDescription() {\n if (description == null) {\n description = Description.getDescription(this);\n }\n return description;\n }", "public String getDescription() {\n re...
[ "0.79736316", "0.7912372", "0.77597404", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786", "0.77352786",...
0.0
-1
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof ItemCotizacion)) { return false; } ItemCotizacion other = (ItemCotizacion) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6896886", "0.6838461", "0.67056817", "0.66419715", "0.66419715", "0.6592331", "0.6579151", "0.6579151", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.6574321", "0.65624106", "0.65624106", "0.65441847", "0.65243006", "0.65154546", "0.6487427", "0.64778...
0.0
-1
Returns the prompt counts in each campaign_prompt_group
@Override public List<?> execute() { try { return _jdbcTemplate.query(_sql, new RowMapper() { public Object mapRow(ResultSet rs, int rowNum) throws SQLException { int campaignId = rs.getInt(1); int groupId = rs.getInt(2); int count = rs.getInt(3); return new CampaignPromptGroupItemCount(campaignId, groupId, count); } }); } catch (org.springframework.dao.DataAccessException dae) { _logger.error("an exception occurred running the sql '" + _sql + "' " + dae.getMessage()); throw new DataAccessException(dae); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int promptNumPlayers() {\r\n Object[] options = {1, 2, 3, 4};\r\n int numPlr = (int) JOptionPane.showInputDialog(\r\n null,\r\n \"How many people are playing?\",\r\n \"Welcome!\",\r\n JOptionPane.PLAIN_MESSAGE,\r\n null,\r\n op...
[ "0.5348707", "0.5089634", "0.5079494", "0.50379044", "0.50372314", "0.50372314", "0.5030014", "0.50033116", "0.49929088", "0.49395594", "0.48944572", "0.48409274", "0.4816939", "0.48106852", "0.47497305", "0.47346532", "0.47333437", "0.47155574", "0.4678383", "0.46755156", "0...
0.0
-1
Needs to be overridden to be used as a key
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CustomPair c = (CustomPair)o; if (c.a == a && c.b == b) return true; return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n default String getKey(){\n return key();\n }", "abstract public String getKey();", "@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic String getKey() {\n\t\treturn null;\n\t}",...
[ "0.7249212", "0.7060323", "0.70323616", "0.70323616", "0.69939965", "0.69879174", "0.69565445", "0.6887688", "0.66760963", "0.66551125", "0.66140103", "0.6596695", "0.65329635", "0.6497596", "0.638905", "0.63607115", "0.6355972", "0.63454276", "0.6339114", "0.6333256", "0.631...
0.0
-1
Needs to be overridden to be used as a key. I used a tutorial to come up with this
@Override public int hashCode() { int result = (int) (a ^ (a >>> 32)); result = 31 * result + (b != null ? b.hashCode() : 0); result = 31 * result + (a != null ? a.hashCode() : 0); result = 31 * result + (b != null ? b.hashCode() : 0); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n default String getKey(){\n return key();\n }", "abstract public String getKey();", "private void setKey() {\n\t\t \n\t}", "String newKey();", "@Override\n public void key() {\n \n }", "@Override\n public String getKey() {\n return key;\n }", "@Override\r\n\tpu...
[ "0.70007443", "0.6788944", "0.67846835", "0.66283447", "0.6542637", "0.6530388", "0.6526644", "0.6526644", "0.64968854", "0.6322872", "0.6289384", "0.62783456", "0.6255026", "0.6235916", "0.6235733", "0.6175737", "0.61631817", "0.6160104", "0.6160104", "0.6160104", "0.6160104...
0.0
-1
Checks the number for being a prime number
private static boolean isPrime(int n) { if (n == 2) return true; if (n <= 1 || n % 2 == 0) return false; for (int i = 3; i <= Math.sqrt(n); i+=2) { if (n % i == 0) return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean isPrime(int number){\n for(int divisor = 2; divisor <= number / 2; divisor++){\n if(number % divisor == 0){ // If true. number is not prime\n return false;\n }\n }\n return true; // Number is prime\n }", "private static boole...
[ "0.81174225", "0.811161", "0.80594605", "0.80132645", "0.8002805", "0.79299325", "0.7915492", "0.7891341", "0.78613335", "0.78314775", "0.78282493", "0.7767527", "0.7763246", "0.77612245", "0.775088", "0.77484137", "0.7740494", "0.7710587", "0.7710073", "0.7619709", "0.761880...
0.7250085
68
map would not have been necessary but I used it to keep track of iterated places. Not good to keep here but due to time I will just keep it.
public static void main(String[] args) { int[][] map = new int[N][N]; // 1D to 2D index map CustomPair[] indToVal = new CustomPair[(N * N) + 1]; // 2D to value map Map<CustomPair, Integer> gridToValue = new HashMap<>(); // Direction to start Direction dir = Direction.RIGHT; int j = 1; int y = N / 2; // shift left for even n's int x = (N % 2 == 0) ? y - 1 : y; /** * We use y, x here because the grid is sort of turned around. * */ while(j <= ((N * N))) { CustomPair currentIndex = new CustomPair(y, x); // if the number is not prime it is traversable if (!isPrime(j)) { map[y][x] = 1; gridToValue.put(currentIndex, j); } else { map[y][x] = -1; } // add the value to 1d to 2d index values indToVal[j] = currentIndex; switch(dir){ case RIGHT: if(x <= (N - 1) && map[y - 1][x] == 0 && j > 1) dir = Direction.UP; break; case UP: if(map[y][x - 1] == 0) dir = Direction.LEFT; break; case LEFT: if(x == 0 || map[y + 1][x] == 0) dir = Direction.DOWN; break; case DOWN: if(map[y][x + 1] == 0) dir = Direction.RIGHT; break; } // update the grid index switch(dir){ case RIGHT: x++; break; case UP: y--; break; case LEFT: x--; break; case DOWN: y++; break; } // update 1D index j++; } Scanner sc = new Scanner(System.in); int caseNum = 1; while (sc.hasNextInt()) { int start = sc.nextInt(); int goal = sc.nextInt(); // find the shortest path Queue<CustomPair> q = new LinkedList<>(); // 2D grid to distance values Map<CustomPair, Integer> distMap = new HashMap<>(); // start is 0 distMap.put(indToVal[start], 0); q.add(indToVal[start]); while (!q.isEmpty()) { CustomPair cur = q.remove(); // for each neighbour (4 potential moves) for (int i = 0; i < 4; i++) { int nx = cur.a + X_NEIG_INDEX[i]; int ny = cur.b + Y_NEIG_INDEX[i]; CustomPair neighP = new CustomPair(nx, ny); // if the value is not in the grid if (!gridToValue.containsKey(neighP)) continue; // if the value is already visited if (distMap.containsKey(neighP)) continue; distMap.put(neighP, distMap.get(cur) + 1); q.add(neighP); } } // print for Kattis reasons String msg = "Case " + caseNum + ": "; if (!distMap.containsKey(indToVal[goal]) || distMap.getOrDefault(indToVal[goal], -1) == -1 && start != goal) System.out.println(msg + " impossible"); else System.out.println(msg + "" + distMap.get(indToVal[goal])); caseNum++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void processTilesetMap() {\r\n for (int t = 0; t < this.getTileSetCount(); t++) {\r\n TileSet tileSet = this.getTileSet(t);\r\n this.tilesetNameToIDMap.put(tileSet.name, t);\r\n }\r\n }", "private void placesInit()\n {\n\n for(Map.Entry<String,Place> place...
[ "0.5798012", "0.57339734", "0.5634272", "0.56222796", "0.55476487", "0.5545402", "0.5426086", "0.53940314", "0.53908134", "0.5365846", "0.53395545", "0.53329146", "0.5316962", "0.5302704", "0.52953035", "0.5289144", "0.52871436", "0.52737355", "0.52731067", "0.5256809", "0.52...
0.0
-1
This function is responsible to display a string array to the out stream
public void displayData(String[] str);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void writearray(String[]array) {\n\t\t for (int i = 0; i < array.length; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}", "public static void showStringArray(String[] arr)\n {\n System.out.println(\"...........................................\");\n\n for (int i = 0; i < arr.lengt...
[ "0.73077", "0.7027714", "0.6682315", "0.64938843", "0.64582264", "0.6447932", "0.64463556", "0.64133894", "0.6407089", "0.63579124", "0.6350905", "0.63245964", "0.6317407", "0.62700963", "0.62465084", "0.6245697", "0.6215244", "0.6215244", "0.6209983", "0.6206571", "0.6198197...
0.67888176
2
This function is responsible to display a string to the out stream
public void displayData(String str);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void display(String s)\r\n\t{\r\n\t\t//Use to write a string to a line in the output stream without moving the cursor\r\n\t\t//to the next line.\r\n\t\toutStream.print(s);\r\n\t}", "private void printOut(String s)\n {\n outVideo.println(s);\n outVideo.flush();\n }", "public vo...
[ "0.7685223", "0.7282721", "0.693309", "0.6690836", "0.6589915", "0.65164435", "0.6486417", "0.6425449", "0.6409507", "0.6358205", "0.6338979", "0.63277096", "0.6294504", "0.6287549", "0.6262403", "0.6254749", "0.6246486", "0.6246026", "0.6232917", "0.62066716", "0.6201512", ...
0.6028558
43
This function is responsible to display a 3d maze to the out stream
public void displayData(Maze3d maze);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showGenerate3dMaze(String message);", "Maze3d generate(int x, int y, int z) throws Exception;", "public void displayMaze(){\n System.out.println(\"---- SOLUTION------\");\n for(int j = 0; j < maze.length; j++){\n for(int k = 0; k < maze[0].length; k++){\n Sys...
[ "0.72297454", "0.6357432", "0.6194989", "0.61074454", "0.59898835", "0.59888065", "0.59225994", "0.5762759", "0.5752902", "0.5730204", "0.5702785", "0.56917125", "0.56724745", "0.56446356", "0.5628586", "0.56066763", "0.5584579", "0.55794317", "0.5530535", "0.55162245", "0.55...
0.7715988
0
This function is responsible to display a 2d maze to the out stream
public void displayData(int[][] arr);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void draw() {\t\n \t\t// Draw the centre of the maze\n \t\tPoint2D.Double centrePoint = GetCentrePoint();\n \t\t// if size is a factor of 10, this will be a multiple of 2\n \t\tint centreSize = getCentreSize();\n \t\tStdDraw.setPenColor(StdDraw.BOOK_LIGHT_BLUE);\n \t\tStdDraw.filledSquare(centrePoint.getX()...
[ "0.6997694", "0.68787634", "0.6809773", "0.6709176", "0.6702724", "0.66335064", "0.66265064", "0.6529234", "0.6519984", "0.64250296", "0.62989444", "0.6287873", "0.6245923", "0.6218585", "0.6149942", "0.61402804", "0.61338973", "0.60088843", "0.60062355", "0.60040414", "0.599...
0.0
-1
This function is responsible to display a solution to a 3d maze
public void displayData(Solution solution);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showGenerate3dMaze(String message);", "public void displayData(Maze3d maze);", "public void showSolveMaze(String message);", "public void showDisplaySolution(Solution<Position> solution);", "public void displayMaze(){\n System.out.println(\"---- SOLUTION------\");\n for(int j = 0;...
[ "0.75429755", "0.7153322", "0.70552945", "0.6549965", "0.64789796", "0.624753", "0.6208674", "0.6203087", "0.60738504", "0.6037304", "0.60267013", "0.60099304", "0.5993315", "0.59579587", "0.59332794", "0.59134084", "0.5855112", "0.57968616", "0.5788144", "0.5774432", "0.5770...
0.0
-1
This function start cli start method
public void start() throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startCommandLine() {\r\n Object[] messageArguments = { System.getProperty(\"app.name.display\"), //$NON-NLS-1$\r\n System.getProperty(\"app.version\") }; //$NON-NLS-1$\r\n MessageFormat formatter = new MessageFormat(\"\"); //$NON-NLS-1$\r\n formatter.applyPattern(Mes...
[ "0.67378193", "0.66738206", "0.66738206", "0.6641625", "0.66270405", "0.6624879", "0.660719", "0.6597221", "0.6567576", "0.6549685", "0.6535571", "0.65308756", "0.6478965", "0.6473847", "0.64499277", "0.64477396", "0.6409068", "0.6409068", "0.6409068", "0.6409068", "0.6409068...
0.0
-1
TODO Autogenerated method stub
@Override public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { tanggal.set(Calendar.YEAR, year); tanggal.set(Calendar.MONTH, monthOfYear); tanggal.set(Calendar.DAY_OF_MONTH, dayOfMonth); myCalendar.set(Calendar.YEAR, year); myCalendar.set(Calendar.MONTH, monthOfYear); myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth); updateLabel(); }
{ "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 getExr...
[ "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.608016...
0.0
-1
Viene creato un frame che si occupa di controllare se l'utente abbia cliccato per sbaglio sul tasto back; ci sono 2 opzioni disponibili. Viene settata la misura e gli viene associato un ContentPane.
public void actionPerformed(ActionEvent evento){ JFrame controllo = new JFrame(); controllo.setSize(400,200); Container cont = controllo.getContentPane(); /** * Viene creato un pannello che viene aggiunto al ContentPane e ne vengono settati sfondo e layout. */ JPanel center = new JPanel(); center.setBackground(MenuPrincipale.COLORE_SFONDO); center.setLayout(new GridLayout(1,1)); cont.add(center,BorderLayout.CENTER); /** * Viene aggiunta una JLabel al pannello centrale del frame. * Ne vengono settati font e colore. */ JLabel domanda = new JLabel("Vuoi tornare alla lista dei Tavoli?",SwingConstants.CENTER); domanda.setFont(new Font("Garamond", Font.BOLD, 20)); domanda.setForeground(Color.BLACK); center.add(domanda); /** * Viene creato un poi un secondo pannello,situato nella parte bassa del frame. * Ne vengono impostati layout e viene aggiunto al ContentPane. */ JPanel down = new JPanel(); down.setLayout(new GridLayout(1,2)); cont.add(down, BorderLayout.SOUTH); /** * Viene aggiunto il bottone "no" al pannello down, con le impostazioni grafiche settate. */ JButton no = new JButton("NO"); no.setFont(new Font("Garamond", Font.BOLD, 18)); no.setBackground(MenuPrincipale.COLORE_BOTTONI); no.setForeground(Color.BLACK); down.add(no); /** * Se si clicca il tasto "no", si chiude semplicemente questo frame di controllo e si rimane sul Menù. */ no.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent evento){ controllo.dispose(); } }); /** * Si crea poi anche un bottone "si" che viene aggiunto al pannello down, con le impostazioni grafiche settate. */ JButton si = new JButton("SI"); si.setFont(new Font("Garamond", Font.BOLD, 18)); si.setBackground(MenuPrincipale.COLORE_BOTTONI); si.setForeground(Color.BLACK); down.add(si); /** * Se si clicca il tasto "si", viene chiuso il frame di controllo, viene chiuso il menù e si torna all'elenco dei tavoli. */ si.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evento) { controllo.dispose(); ordinazione.dispose(); new ElencoTavoliCameriere(); } }); /** * Si rende visibile il frame editable_menu, si colloca al centro e si può chiudere con il tasto "X". */ controllo.setVisible(true); controllo.setLocationRelativeTo(null); controllo.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void makeFrame(){\n frame = new JFrame(\"Rebellion\");\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n frame.setSize(800,800);\n\n makeContent(frame);\n\n frame.setBackground(Color.getHSBColor(10,99,35));\n frame.pack();\n frame.setVisib...
[ "0.73186487", "0.68838143", "0.6829883", "0.682637", "0.68238014", "0.6773366", "0.67274594", "0.6727076", "0.6628015", "0.65428054", "0.6540571", "0.65257984", "0.651128", "0.64907277", "0.6480556", "0.6474829", "0.6452996", "0.64282537", "0.6427147", "0.6417509", "0.6412846...
0.60401446
93
Cliccando "", diminuisco l'attributo relativo alle quantita.
public void actionPerformed(ActionEvent evento) { String por = numpor.getText().trim(); if (Integer.parseInt(por)>0) { Integer count = quantita.getPiatto(indicecorrente).getNumcategory() - 1; quantita.getPiatto(indicecorrente).setNumcategory(count); String porz = count.toString(); numpor.setText(" " + porz); contatore_quantita=count; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void remove(int offs, int len) throws BadLocationException {\n super.remove(offs, len);\n String text = super.getText(0, super.getLength());\n if(text != null && !text.equals(\"\")){\n this.edge.setWeight(Integer.parseInt(text));\n } else {\n ...
[ "0.55562943", "0.5509628", "0.5406539", "0.5405707", "0.5248554", "0.5175436", "0.5094887", "0.5068813", "0.5025138", "0.5021612", "0.4979698", "0.49454105", "0.49262556", "0.49105185", "0.4901044", "0.4876361", "0.4874494", "0.48644555", "0.48358434", "0.4825945", "0.4813081...
0.0
-1
Cliccando "+", aumento l'attributo relativo alle quantita.
public void actionPerformed(ActionEvent evento) { Integer count = quantita.getPiatto(indicecorrente).getNumcategory() + 1; quantita.getPiatto(indicecorrente).setNumcategory(count); String por = count.toString(); numpor.setText(" " + por); contatore_quantita = count; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addTo(Point p){\n Point point = new Point(this.nbAttributes);\n float accu = 0;\n for (int i = 0; i < this.attributes.length; i++){\n accu = this.attributes[i] + p.attributes[i];\n this.attributes[i] = Math.round(accu) ;\n// System.out.print(accu +...
[ "0.54030585", "0.5206762", "0.52032155", "0.51187557", "0.51019007", "0.4974175", "0.49695483", "0.49663594", "0.49627763", "0.49621823", "0.4962048", "0.49426287", "0.49250078", "0.49024388", "0.48976338", "0.48972824", "0.48793274", "0.48658094", "0.48557326", "0.48553938", ...
0.0
-1
Il metodo aggiungiPiatto() permette di aggiungere un piatto sia graficamente che funzionalmente(sia backend che frontend).
public void aggiungiPiatto(String nome_piatto, double prezzo_piatto, int porzioni) { Piatto nuovo_piatto= new Piatto(nome_piatto,prezzo_piatto, porzioni); quantita.add(nuovo_piatto); quantita.sort(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String tiposervicio();", "private void aggiornamento()\n {\n\t gestoreTasti.aggiornamento();\n\t \n\t /*Se lo stato di gioco esiste eseguiamo il suo aggiornamento.*/\n if(Stato.getStato() != null)\n {\n \t Stato.getStato().aggiornamento();\n }\n }", "public void realiser...
[ "0.57298857", "0.5681494", "0.56222576", "0.5612691", "0.55681777", "0.5552755", "0.5545976", "0.554289", "0.5522668", "0.55222607", "0.548425", "0.5483224", "0.54685044", "0.5459028", "0.5441498", "0.54071254", "0.5397229", "0.53855145", "0.5379327", "0.53658694", "0.5359506...
0.58316416
0
Send to the server special kind of message that server see like service message means clientName successfully connected to server".
public void sendHelloMessage() { getSocketController().send(getMessageController().createHelloMessage("Сервер", getUser().getName())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendMessage2Client(String msg){\n\t\t\t\n\t\t\toutPrintStream.println(msg);\n\t\t\t\n\t\t}", "public void sendToClient(String message, boolean srvPrefix) {\r\n String send = ((srvPrefix)?(\":\" + ServerConfig.SERVER_NAME + \" \"):\"\")\r\n + message+\"\\r\\n\";\r\n ...
[ "0.66329604", "0.6591541", "0.6558616", "0.65168995", "0.651021", "0.6509765", "0.64859015", "0.6439479", "0.643496", "0.64072454", "0.6389759", "0.63788223", "0.63751656", "0.6350769", "0.6336947", "0.63363254", "0.63336056", "0.6329369", "0.63293004", "0.6318142", "0.631564...
0.66477007
0
Endless loop for receiving messages from client and put them into the message queue.
@Override public void run() { while(true) { String incomingMessage = getSocketController().receive(); getMessages().lock(); System.out.println(incomingMessage); getMessages().addElement(incomingMessage); getMessages().unlock(); try { Thread.sleep(10); }catch(InterruptedException e) { throw new RuntimeException(e); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n\t\twhile (!isFinished) {\n\t\t\tString msg;\n\t\t\ttry {\n\t\t\t\tmsg = messages.take();\n\t\t\t\tSystem.out.println(serverId + \" says: \" + msg);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void run()\n {\n wh...
[ "0.76715094", "0.7533908", "0.7510625", "0.7469392", "0.72948736", "0.7227836", "0.71647054", "0.71170384", "0.7095254", "0.7074084", "0.7032383", "0.70255494", "0.7003932", "0.6998472", "0.6984006", "0.69415057", "0.6932269", "0.6915395", "0.69027793", "0.6863408", "0.683843...
0.7424515
4
/ SETTERS AND GETTERS
private void setMessages(ArrayListLock messages) { this.messages = messages; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEqual...
[ "0.689382", "0.6525869", "0.6505284", "0.6288991", "0.6218757", "0.62061906", "0.6115496", "0.6105438", "0.6074384", "0.6015972", "0.59289795", "0.590857", "0.5906234", "0.58911026", "0.58804435", "0.58675665", "0.5859276", "0.5858964", "0.5831522", "0.5827811", "0.5823518", ...
0.0
-1
Untuk mengecek apakah ada koneksi internet
public boolean isNetworkAvailable() { boolean haveConnectedWifi = false; boolean haveConnectedMobile = false; ConnectivityManager cm = (ConnectivityManager) getActivity().getApplicationContext().getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo[] netInfo = cm.getAllNetworkInfo(); for (NetworkInfo ni : netInfo) { if (ni.getTypeName().equalsIgnoreCase("WIFI")) if (ni.isConnected()) haveConnectedWifi = true; if (ni.getTypeName().equalsIgnoreCase("MOBILE")) if (ni.isConnected()) haveConnectedMobile = true; } return haveConnectedWifi || haveConnectedMobile; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getInternetseite();", "public void internetConnectionProble()\n\t\t{\n\n\n\t\t}", "private void getinternet() {\n\t\talertDialogBuilder.setTitle(\"Internet services disabled\");\n alertDialogBuilder.setMessage(\"Nearby police station needs access to internet and gps. Please turn on internet & lo...
[ "0.6559449", "0.6524753", "0.6327992", "0.61873025", "0.61352503", "0.60133916", "0.5841682", "0.5830137", "0.58147985", "0.57825375", "0.5715675", "0.56574386", "0.56484234", "0.56475306", "0.56347215", "0.5631908", "0.56266385", "0.5619457", "0.5618019", "0.559326", "0.5589...
0.0
-1
Untuk mengunduh rekaman khotbah
public void DownloadFiles(String url, String deskripsi, String judul) { String urlWeb = url; DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlWeb.replace("https://", "http://"))); request.setDescription(deskripsi); request.setTitle(judul); request.allowScanningByMediaScanner(); request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); String namaFile = deskripsi + "_" + judul + ".mp3"; request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, namaFile); DownloadManager manager = (DownloadManager) getActivity().getSystemService(Context.DOWNLOAD_SERVICE); manager.enqueue(request); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void verarbeite() {\n\t\t\r\n\t}", "private void xoatrangactrtion() {\n\t\ttxtmakhhm.setText(\"\");\n\t\ttxtTinhtrang.setText(\"\");\n\t\ttxtGhichu.setText(\"\");\n\t\tjdcNgaytra.setToolTipText(\"\");\n\t\tckTra.setToolTipText(\"\");\n\t\t\n\t}", "private void ulangiEnkripsi() {\n this.tfieldP.se...
[ "0.62359446", "0.620327", "0.6152941", "0.61167735", "0.60537285", "0.6013601", "0.5908117", "0.58940876", "0.58727306", "0.5836862", "0.5822282", "0.5807381", "0.5806821", "0.5762078", "0.5759977", "0.5733849", "0.5730212", "0.5718472", "0.57151246", "0.56931216", "0.5688224...
0.0
-1
Hapus semua tampilan terlebih dahulu sebelum menampilkan hasil pencarian
@Override protected void onPostExecute(String result) { crk.removeAllViews(); if (arr.length() == 0 && isNetworkAvailable()){ Toast.makeText(getActivity().getApplicationContext(), "Rekaman khotbah yang Anda cari tidak ditemukan", Toast.LENGTH_SHORT).show(); } myLinearLayout = (LinearLayout) rootView.findViewById(R.id.container_rekamanKhotbah); myLinearLayout.setOrientation(LinearLayout.VERTICAL); // Add LayoutParams LinearLayout.LayoutParams params0 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); params0.setMargins(0, 0, 0, 0); LinearLayout.LayoutParams paramsJarakJudulDenganIsi = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); paramsJarakJudulDenganIsi.setMargins(0, 10, 0, 0); LinearLayout.LayoutParams paramsJarakAntarIsi = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); paramsJarakAntarIsi.setMargins(0, 0, 0, 0); rowLayout = new LinearLayout(getActivity()); rowLayout.setOrientation(LinearLayout.HORIZONTAL); // Buat linear layout vertical untuk menampung kata-kata colLayout = new LinearLayout(getActivity()); colLayout.setOrientation(LinearLayout.VERTICAL); colLayout.setPadding(0, 10, 10, 0); subRowLayout = new LinearLayout(getActivity()); subRowLayout.setOrientation(LinearLayout.HORIZONTAL); int dataLength = arr.length(); int defaultColor = getResources().getColor(R.color.defaultFontColor); String container, judul = null, isi = null, tanggal = null, pembicara = null; // Generate konten Khotbah dalam loop for for (int i = 0; i < dataLength; i++) { JSONObject jsonobj = null; judul = ""; try { jsonobj = arr.getJSONObject(i); judul = jsonobj.getString("judul"); isi = jsonobj.getString("isi"); tanggal = jsonobj.getString("tanggal"); pembicara = jsonobj.getString("pembicara"); } catch (JSONException e) { e.printStackTrace(); } // Add TextView titleJudulTV titleJudulTV = new TextView(getActivity()); titleJudulTV.setText("Judul: "); titleJudulTV.setTextColor(defaultColor); titleJudulTV.setLayoutParams(paramsJarakJudulDenganIsi); subRowLayout.addView(titleJudulTV); // Add TextView judulTV judulTV = new TextView(getActivity()); judulTV.setText(judul); judulTV.setTextColor(defaultColor); judulTV.setLayoutParams(paramsJarakJudulDenganIsi); subRowLayout.addView(judulTV); colLayout.addView(subRowLayout); subRowLayout = new LinearLayout(getActivity()); // Add TextView titleIsiTV titleIsiTV = new TextView(getActivity()); titleIsiTV.setText("Khotbah "); titleIsiTV.setTextColor(defaultColor); titleIsiTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(titleIsiTV); // Add TextView isiTV isiTV = new TextView(getActivity()); isiTV.setText(Html.fromHtml("<a href=\"" + Controller.urlaudio + isi + "\">" + "dapat di dengarkan di sini" + "</a>")); isiTV.setClickable(true); isiTV.setMovementMethod(LinkMovementMethod.getInstance()); isiTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(isiTV); colLayout.addView(subRowLayout); subRowLayout = new LinearLayout(getActivity()); // Add TextView titleTanggalTV titleTanggalTV = new TextView(getActivity()); titleTanggalTV.setText("Tanggal: "); titleTanggalTV.setTextColor(defaultColor); titleTanggalTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(titleTanggalTV); // Add TextView tanggalTV tanggalTV = new TextView(getActivity()); tanggalTV.setText(tanggal); tanggalTV.setTextColor(defaultColor); tanggalTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(tanggalTV); colLayout.addView(subRowLayout); subRowLayout = new LinearLayout(getActivity()); // Add TextView titlePembicaraTV titlePembicaraTV = new TextView(getActivity()); titlePembicaraTV.setText("Pembicara: "); titlePembicaraTV.setTextColor(defaultColor); titlePembicaraTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(titlePembicaraTV); // Add TextView pembicaraTV pembicaraTV = new TextView(getActivity()); pembicaraTV.setText(pembicara); pembicaraTV.setTextColor(defaultColor); pembicaraTV.setLayoutParams(paramsJarakAntarIsi); subRowLayout.addView(pembicaraTV); colLayout.addView(subRowLayout); subRowLayout = new LinearLayout(getActivity()); // Add button for download final String linkDownload = Controller.urlaudio + isi; final String finalTanggal = tanggal; final String finalJudul = judul; downloadButton = new Button(getActivity()); downloadButton.setText("Download"); downloadButton.setTextColor(getResources().getColor(R.color.white)); downloadButton.setBackgroundColor(getResources().getColor(R.color.header)); downloadButton.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View v) { DownloadFiles(linkDownload, finalTanggal, finalJudul); } } ); if (i != dataLength) { rowLayout.addView(colLayout); myLinearLayout.addView(rowLayout); rowLayout = new LinearLayout(getActivity()); colLayout = new LinearLayout(getActivity()); colLayout.setOrientation(LinearLayout.VERTICAL); subRowLayout = new LinearLayout(getActivity()); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static PohonAVL seimbangkanKembaliKiri (PohonAVL p) {\n\t// Write your codes in here\n //...\n // Write your codes in here\n if(tinggi(p.kiri) <= (tinggi(p.kanan)+1)) return p;\n else{\n PohonAVL ki = p.kiri;\n PohonAVL ka = p.kanan;\n PohonAVL k...
[ "0.6546631", "0.65265507", "0.6301868", "0.62648", "0.62377214", "0.6235219", "0.62246287", "0.6201804", "0.61745745", "0.6000722", "0.5892515", "0.58544695", "0.5844222", "0.58397347", "0.5833288", "0.58289295", "0.57832384", "0.5781622", "0.5780214", "0.57726276", "0.576398...
0.0
-1
Internal parser to separate the buffered objects in the respective query type list and start the operations.
public void start() { for (Object obj: bufferedQueries) { switch(obj.getClass().getName()) { case "uzh.tomdb.db.operations.Insert": if (inserts == null) { inserts = new ArrayList<>(); } inserts.add((Insert) obj); break; case "uzh.tomdb.db.operations.CreateTable": if (creates == null) { creates = new ArrayList<>(); } creates.add((CreateTable) obj); break; case "uzh.tomdb.db.operations.Update": if (updates == null) { updates = new ArrayList<>(); } updates.add((Update) obj); break; case "uzh.tomdb.db.operations.Delete": if (deletes == null) { deletes = new ArrayList<>(); } deletes.add((Delete) obj); break; } } if (inserts != null) { inserts(); } if (creates != null) { creates(); } if (updates != null) { updates(); } if (deletes != null) { deletes(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parse() {\n if (commandSeparate.length == 1) {\n parseTaskType();\n } else if (commandSeparate.length == 2) {\n parseTaskType();\n index = commandSeparate[1];\n taskName = commandSeparate[1];\n } else {\n parseTaskType();\n ...
[ "0.56608504", "0.5636923", "0.5452743", "0.5194541", "0.5167049", "0.5107402", "0.5103651", "0.5077222", "0.503239", "0.5013993", "0.5005659", "0.5005303", "0.5004884", "0.49995634", "0.49880818", "0.49649262", "0.49602678", "0.4954788", "0.49158293", "0.49061266", "0.4903811...
0.49884242
14
Execute INSERT queries. Actualize MetaData before and after the execution. For better performances, the table MetaData and FreeBlocksHandler are not actualized for every queries, but just at the end or when the insert happens in a different table.
private void inserts() { DBPeer.fetchTableRows(); DBPeer.fetchTableIndexes(); Map<Number160, Data> tabRows = DBPeer.getTabRows(); Map<Number160, Data> tabIndexes = DBPeer.getTabIndexes(); String tabName = null; Number160 tabKey = null; FreeBlocksHandler freeBlocks = null; Map<String, IndexHandler> indexHandlers = new HashMap<>(); TableRows tr = null; TableIndexes ti = null; logger.trace("INSERT-WHOLE", "BEGIN", Statement.experiment); for (Insert ins: inserts) { if (tabName == null) { tabName = ins.getTabName(); tabKey = Number160.createHash(tabName); freeBlocks = new FreeBlocksHandler(tabName); try { tr = (TableRows) tabRows.get(tabKey).getObject(); ti = (TableIndexes) tabIndexes.get(tabKey).getObject(); } catch (ClassNotFoundException | IOException e) { logger.error("Data error", e); } for (String index: ti.getIndexes()) { indexHandlers.put(index, new IndexHandler(ins.getPeer())); } for (String index: ti.getUnivocalIndexes()) { indexHandlers.put(index, new IndexHandler(ins.getPeer())); } } else if (!tabName.equals(ins.getTabName())) { try { tabRows.put(tabKey, new Data(tr)); tabIndexes.put(tabKey, new Data(ti)); tabName = ins.getTabName(); tabKey = Number160.createHash(tabName); tr = (TableRows) tabRows.get(tabKey).getObject(); ti = (TableIndexes) tabIndexes.get(tabKey).getObject(); freeBlocks.update(); freeBlocks = new FreeBlocksHandler(tabName); indexHandlers.clear(); for (String index: ti.getIndexes()) { indexHandlers.put(index, new IndexHandler(ins.getPeer())); } for (String index: ti.getUnivocalIndexes()) { indexHandlers.put(index, new IndexHandler(ins.getPeer())); } } catch (ClassNotFoundException | IOException e) { logger.error("Data error", e); } } ins.init(freeBlocks, indexHandlers, tr, ti); } boolean done = false; while (!done) { int countTrue = 0; for (Insert ins: inserts) { if (ins.getDone()) { countTrue++; } } if (countTrue == inserts.size()) { done = true; } } freeBlocks.update(); try { tabRows.put(tabKey, new Data(tr)); tabIndexes.put(tabKey, new Data(ti)); } catch (IOException e) { logger.error("Data error", e); } DBPeer.updateTableRows(); DBPeer.updateTableIndexes(); logger.trace("INSERT-WHOLE", "END", Statement.experiment); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void executeInsert()\n\t\t\tthrows TranslatorException {\n\n\t\tInsert icommand = (Insert) command;\t\t\n\t\t\n\t\tTable t = metadata.getTable(icommand.getTable().getMetadataObject().getFullName());\n\t\t\n\t\t// if the table has a foreign key, its must be a child (contained) object in the root\n\t\tif (t....
[ "0.5982296", "0.58857864", "0.58756536", "0.5817018", "0.5810675", "0.567895", "0.5672049", "0.56581306", "0.56271267", "0.5624816", "0.5542838", "0.55346423", "0.54581803", "0.54376537", "0.5433808", "0.5374772", "0.53744996", "0.5368042", "0.5365104", "0.5332846", "0.532848...
0.66092336
0
Execute CREATE TABLE queries. Actualize MetaData before and after the execution.
private void creates() { DBPeer.fetchTableColumns(); DBPeer.fetchTableRows(); DBPeer.fetchTableIndexes(); for (int i = 0; i < creates.size(); i++) { creates.get(i).init(); } DBPeer.updateTableColumns(); DBPeer.updateTableRows(); DBPeer.updateTableIndexes(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doCreateTable();", "private void createTables() throws SQLException\r\n {\r\n createTableMenuItems();\r\n createTableOrdersWaiting();\r\n }", "protected void createInitialTables() throws SQLException {\n\t\n\t\t// create one table per type with the corresponding attributes\n\t\t...
[ "0.7044383", "0.7040456", "0.6972282", "0.6933612", "0.6876912", "0.6861817", "0.68352115", "0.68315583", "0.6804327", "0.6791343", "0.6727136", "0.6702088", "0.6698037", "0.6679578", "0.6656548", "0.66261244", "0.65859836", "0.6499086", "0.6465229", "0.64602166", "0.6459803"...
0.6510774
17
Execute UPDATE queries. Actualize MetaData before the execution.
private void updates() { DBPeer.fetchTableRows(); DBPeer.fetchTableIndexes(); for (Update update: updates) { update.init(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void executeUpdate();", "void executeUpdate();", "private void executeUpdate()\n\t\t\tthrows TranslatorException {\n\t\tUpdate ucommand = (Update) command;\t\n\t\t\n\t\tTable t = metadata.getTable(ucommand.getTable().getMetadataObject().getFullName());\n//\t\tList<ForeignKey> fks = t.getForeignKeys();\n...
[ "0.70951647", "0.6876759", "0.66601926", "0.66417265", "0.6537335", "0.6446855", "0.64114475", "0.6384971", "0.63762945", "0.6358856", "0.63226455", "0.6317021", "0.6310392", "0.6291508", "0.62128055", "0.6201965", "0.6196232", "0.6187615", "0.61714524", "0.6168576", "0.61375...
0.6382537
8
Execute DELETE queries. Actualize MetaData before the execution.
private void deletes() { DBPeer.fetchTableRows(); DBPeer.fetchTableIndexes(); for (Delete delete: deletes) { delete.init(); } //DBPeer.updateTableIndexes(); //Set min max of indexes not implemented yet }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic long execute() {\n\t\treturn database.createCommand()\n\t\t\t\t.appendRaw(\"DELETE FROM \")\n\t\t\t\t.appendName(aspect.schemaName)\n\t\t\t\t.appendWhere(this.filter)\n\t\t\t\t.executeNonQuery();\n\t}", "@Override\r\n\tpublic void delete(TQssql sql) {\n\r\n\t}", "void doDelete(SnapshotMetad...
[ "0.71257585", "0.6717293", "0.6569221", "0.6455808", "0.6451983", "0.63775754", "0.634977", "0.6285288", "0.6217201", "0.62026316", "0.6144753", "0.61112547", "0.6093553", "0.60861665", "0.60792565", "0.607087", "0.60511565", "0.60387695", "0.60310346", "0.6013614", "0.600623...
0.66164225
2
onCreate begins from here set the spinners, pickers and EditText, store them whenever changed
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_edit); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar_create_edit); setSupportActionBar(toolbar); ArrayAdapter<CharSequence> adapter1; ArrayAdapter<CharSequence> adapter2; edit_reason = (EditText) findViewById(R.id.edit_reason); social_situation_spinner = (Spinner) findViewById(R.id.edit_social_situation_spinner); mood_state_spinner = (Spinner) findViewById(R.id.edit_mood_state_spinner); simpleDatePicker = (DatePicker) findViewById(R.id.datePicker); simpleTimePicker = (TimePicker) findViewById(R.id.timePicker); pic_preview = (ImageView) findViewById(R.id.pic_preview); current_time_checkbox = (CheckBox) findViewById(R.id.current_time); current_time_checkbox.setChecked(true); simpleTimePicker.setIs24HourView(true); currentLocationCheckbox = (CheckBox) findViewById(R.id.current_location); SharedPreferences sharedPreferences = getSharedPreferences("editMoodEvent", MODE_PRIVATE); Gson gson = new Gson(); String json = sharedPreferences.getString("moodevent", ""); edit_mood_event = gson.fromJson(json, MoodEvent.class); if (current_time_checkbox.isChecked()) { simpleDatePicker.setEnabled(false); simpleTimePicker.setEnabled(false); } adapter1 = ArrayAdapter.createFromResource(this, R.array.mood_states_array, android.R.layout.simple_spinner_item); adapter1.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); mood_state_spinner.setAdapter(adapter1); mood_state_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { if (i > 0) { edit_mood_state = adapterView.getItemAtPosition(i).toString(); Toast.makeText(getApplicationContext(), edit_mood_state + " is selected.", Toast.LENGTH_SHORT).show(); } else { edit_mood_state = null; } } @Override public void onNothingSelected(AdapterView<?> adapterView) { } }); adapter2 = ArrayAdapter.createFromResource(this, R.array.social_situation_array, android.R.layout.simple_spinner_item); adapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); social_situation_spinner.setAdapter(adapter2); social_situation_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { if (i > 0) { edit_social_situation = adapterView.getItemAtPosition(i).toString(); Toast.makeText(getApplicationContext(), edit_social_situation + " is selected.", Toast.LENGTH_SHORT).show(); } else { edit_social_situation = null; } } @Override public void onNothingSelected(AdapterView<?> adapterView) { } }); edit_reason.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { } @Override public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) { if (edit_reason.getText().toString().split("\\s+").length > 3) { edit_reason.setError("Only the first 3 words will be sent"); } else { edit_trigger = edit_reason.getText().toString(); } } @Override public void afterTextChanged(Editable editable) { } }); current_time_checkbox.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { simpleDatePicker.setEnabled(!current_time_checkbox.isChecked()); if(Build.VERSION.SDK_INT>=23) simpleTimePicker.setEnabled(!current_time_checkbox.isChecked()); } }); currentLocationCheckbox.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { InternetConnectionChecker checker = new InternetConnectionChecker(); Context context = getApplicationContext(); final boolean isOnline = checker.isOnline(context); if(!isOnline) { currentLocationCheckbox.setChecked(false); Toast.makeText(getApplicationContext(), "Location is not available when this device is offline.", Toast.LENGTH_LONG).show(); } if(isOnline) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { permissionLocationRequest(); } } add_location(); } }); Calendar calendar = edit_mood_event.getDateOfRecord(); simpleDatePicker.init(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH), new DatePicker.OnDateChangedListener() { @Override public void onDateChanged(DatePicker datePicker, int year, int month, int dayOfMonth) { set_year = simpleDatePicker.getYear(); set_month = simpleDatePicker.getMonth(); set_day = simpleDatePicker.getDayOfMonth(); } }); simpleTimePicker.setOnTimeChangedListener(new TimePicker.OnTimeChangedListener() { public void onTimeChanged(TimePicker view, int hourOfDay, int minute) { set_hour = simpleTimePicker.getHour(); set_minute = simpleTimePicker.getMinute(); } }); load_moodEvent(edit_mood_event); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void init(){\n\t\t\n\t\tpurchasePrice = (EditText)findViewById(R.id.purchasePrice);\n\t\tpurchasePrice.setFilters(new InputFilter[] { new CurrencyFormatInputFilter()});\n\t\t\n\t\tdownPaymentSpinner = (Spinner)findViewById(R.id.inputTypeSpinner);\n\t\tArrayAdapter<CharSequence> adapter = ArrayAdapter.creat...
[ "0.7203184", "0.7090392", "0.70818144", "0.6988962", "0.6891862", "0.6851285", "0.68304825", "0.67876965", "0.6784792", "0.67461675", "0.67387414", "0.6738696", "0.672153", "0.67097956", "0.66919106", "0.6685857", "0.66854924", "0.6673146", "0.6671064", "0.6661706", "0.665319...
0.0
-1
local functions that allow users to load the mood events
public void load_moodEvent(MoodEvent edit_mood_event) { edit_mood_state = edit_mood_event.getMoodState(); mood_state_spinner.setSelection(getIndex(mood_state_spinner, edit_mood_event.getMoodState())); if (edit_mood_event.getSocialSituation() != null) { social_situation_spinner.setSelection(getIndex(social_situation_spinner, edit_mood_event.getSocialSituation())); } if (edit_mood_event.getTriggerText() != null) { edit_reason.setText(edit_mood_event.getTriggerText()); } if (edit_mood_event.getLocation() != null) { currentLocationCheckbox.setChecked(true); } if (edit_mood_event.getPicId() != null) { Bitmap image = getImage(edit_mood_event); pic_preview.setImageBitmap(image); } else { pic_preview.setImageResource(R.drawable.umood); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void loadEvents() {\n\t\t\n\t}", "public void setMarioEvents() {\n\t\tCollisionEvent event1, event2, event4, event98, event6, event7, event8, event9;\n\t\tAdvancedCollisionEvent event_1LandsTop4, event_1Touches4NotTop, event5;\n\t\ttry {\n\t\t\t// player with block\n\t\t\tevent1 = new Collisi...
[ "0.66859645", "0.6083761", "0.59488493", "0.58067805", "0.57547826", "0.571676", "0.56984615", "0.56777966", "0.5618615", "0.556493", "0.5554367", "0.5542818", "0.5527741", "0.548524", "0.5479511", "0.5478389", "0.5477456", "0.54751945", "0.5472343", "0.54697675", "0.5467987"...
0.65082175
1
handle presses on the action bar items
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.action_add_tick: if (edit_mood_state == null) { Toast.makeText(getApplicationContext(), "Choose a mood state", Toast.LENGTH_SHORT).show(); break; } else { User user = new User(); SharedPreferences pref = getSharedPreferences("data", MODE_PRIVATE); current_user = pref.getString("currentUser", ""); // When the moodEvent has been edited, check for internet connection. // If online, sync to Elastic search and save locally. // If offline, save locally InternetConnectionChecker checker = new InternetConnectionChecker(); Context context = getApplicationContext(); final boolean isOnline = checker.isOnline(context); if (isOnline) { String query = current_user; ElasticsearchUserController.GetUserTask getUserTask = new ElasticsearchUserController.GetUserTask(); getUserTask.execute(current_user); try { user = getUserTask.get(); } catch (Exception e) { Log.i("Error", "Failed to get the User out of the async object"); } } else { LoadFile load = new LoadFile(); user = load.loadUser(context); SharedPreferences.Editor editor = getSharedPreferences("data", MODE_PRIVATE).edit(); editor.putBoolean("hasBeenOffline", true); editor.apply(); } MoodEventList moodEventList = user.getMoodEventList(); moodEventList.deleteMoodEvent(edit_mood_event); //TODO: delete offline //if online/offline if (edit_mood_event.getPicId() != null) { if (isOnline) { ElasticsearchImageController.DeleteImageTask deleteImageTask = new ElasticsearchImageController.DeleteImageTask(); deleteImageTask.execute(edit_mood_event.getPicId()); ElasticsearchImageOfflineController elasticsearchImageOfflineController = new ElasticsearchImageOfflineController(); elasticsearchImageOfflineController.DeleteImageTask(context,edit_mood_event.getPicId()); } else { ElasticsearchImageOfflineController elasticsearchImageOfflineController = new ElasticsearchImageOfflineController(); elasticsearchImageOfflineController.DeleteImageTask(context,edit_mood_event.getPicId()); } File file = context.getFileStreamPath(edit_mood_event.getPicId()); file.delete(); } user.setMoodEventList(moodEventList); if (isOnline) { ElasticsearchUserController.AddUserTask addUserTask = new ElasticsearchUserController.AddUserTask(); addUserTask.execute(user); SaveFile s = new SaveFile(context, user); } else { SaveFile s = new SaveFile(context, user); SharedPreferences.Editor editor = getSharedPreferences("data", MODE_PRIVATE).edit(); editor.putBoolean("hasBeenOffline", true); editor.apply(); } if (current_time_checkbox.isChecked()) { dateOfRecord = real_time(); } else { dateOfRecord = new GregorianCalendar(set_year, set_month + 1, set_day, set_hour, set_minute); } try { setMoodEvent(current_user, edit_mood_state, edit_social_situation, edit_trigger, imageForElasticSearch, currentLocation); } catch (MoodStateNotAvailableException e) { Log.i("Error", "Failed to get the Mood state"); } setResult(RESULT_OK); finish(); } return true; case R.id.expanded_menu_camera: if (Build.VERSION.SDK_INT >= 23) { if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) { requestPermissions(new String[]{Manifest.permission.CAMERA}, 12345); } else { takeAPhoto(); } } return true; case R.id.expanded_menu_gallery: if (ContextCompat.checkSelfPermission(EditActivity.this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) { ActivityCompat.requestPermissions(EditActivity.this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1); } else { openAlbum(); } return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@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 ret...
[ "0.720822", "0.70255446", "0.7014708", "0.7014708", "0.7014708", "0.7014708", "0.6999923", "0.6961275", "0.6873026", "0.6861946", "0.6860023", "0.6852557", "0.6836146", "0.6836146", "0.68187463", "0.6804077", "0.6800904", "0.67987263", "0.67964226", "0.6776975", "0.6776137", ...
0.0
-1
Grand the gps permission
private void permissionLocationRequest() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { int hasLocationPermission = checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION); if (hasLocationPermission != PackageManager.PERMISSION_GRANTED) { if (!shouldShowRequestPermissionRationale(Manifest.permission.ACCESS_FINE_LOCATION)) { showMessageOKCancel("You need to allow access to Location", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, REQUEST_CODE_ASK_PERMISSIONS); } }); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getLocationPermission(){\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED){\n locationAccess = true;\n } else {\n locationAccess = false;\n ActivityCompat.requestPermissions(this, ...
[ "0.7609357", "0.7563183", "0.73224956", "0.7317584", "0.73140574", "0.72216576", "0.7211065", "0.7204168", "0.7204168", "0.71905434", "0.71569747", "0.71555513", "0.7150625", "0.7121363", "0.71204096", "0.71026677", "0.70937467", "0.70937467", "0.7086778", "0.70862526", "0.70...
0.66116625
79
Using GPS to add current location.
public void add_location() { if (currentLocationCheckbox.isChecked()) { try { CurrentLocation locationListener = new CurrentLocation(); LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); Location location = locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); if (location != null) { int latitude = (int) (location.getLatitude() * 1E6); int longitude = (int) (location.getLongitude() * 1E6); currentLocation = new GeoPoint(latitude, longitude); } } catch (SecurityException e) { e.printStackTrace(); } } else { currentLocation = null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addLocation(View v){\n if(ContextCompat.checkSelfPermission(this, ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n //This may not work\n Location lastLocation = locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n double latitude =...
[ "0.744921", "0.72237664", "0.7125696", "0.71143544", "0.7087946", "0.7054032", "0.6994624", "0.6968811", "0.69300556", "0.69047374", "0.6845004", "0.68421745", "0.6800634", "0.67935777", "0.67889535", "0.6785597", "0.6776286", "0.6766423", "0.6764734", "0.67635477", "0.670865...
0.8360075
0
When the Location TextView is chosen, if it is online then change to the map, if it is offline then send the warning message
public void chooseLocation(View v) { InternetConnectionChecker checker = new InternetConnectionChecker(); Context context = getApplicationContext(); final boolean isOnline = checker.isOnline(context); if (isOnline) { if (currentLocationCheckbox.isChecked()) { Toast.makeText(getApplicationContext(), "Sorry, You have already chosen CURRENT LOCATION.", Toast.LENGTH_LONG).show(); } else { Intent child = new Intent(getApplicationContext(), ChooseLocationOnMapActivity.class); startActivityForResult(child, REQ_CODE_CHILD); } } else { Toast.makeText(getApplicationContext(), "Map is not available when this device is offline.", Toast.LENGTH_LONG).show(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onLocationChanged(final Location location) {\n // Lay vi tri hien tai cua minh\n myLocation = new LatLng(location.getLatitude(), location.getLongitude());\n if (firstLocation == true) {\n // Neu day la lan dau co tho...
[ "0.69321764", "0.6801323", "0.6782838", "0.6713242", "0.6685635", "0.6685635", "0.6685635", "0.66439277", "0.6631539", "0.6625186", "0.6612477", "0.6605727", "0.66023475", "0.6586086", "0.6574762", "0.65600824", "0.65293044", "0.65003216", "0.64944863", "0.6485342", "0.647940...
0.73783636
0
make a new tree rooted at a random number somewhere in the middle of the possible number range
@Override protected void setUpGame() { this.tree = this.generateTree(this.height); this.root = tree.getRoot(); this.displayedNodes = new ArrayList<>(); this.displayedNodes.add(root); this.currDisplayedNumber = this.chooseValueFromTree(); this.wrongClicks = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void populateTreeRandom(BinarySearchTree tree)\n {\n int currentNumber = 0;\n\n System.out.println(\"RANDOM NUMBERS PRE POPULATION: \" );\n\n for(int i = 1; i < 101; i++)\n {\n currentNumber = (int) (Math.random() * 100);\n\n System.out.printf(\"%3...
[ "0.69882536", "0.6985705", "0.69514716", "0.64878416", "0.62969077", "0.6277785", "0.6212211", "0.6176839", "0.61448246", "0.6032867", "0.60287213", "0.59885", "0.5975524", "0.5963884", "0.5957722", "0.59048074", "0.58186257", "0.57897896", "0.5784218", "0.5766616", "0.572669...
0.0
-1
sends back the newest node to display(or potentially the whole list) and the new node number this will have to be parsed again in the frontend
@Override public JsonObject getDataToDisplay() { JsonObject payload = new JsonObject(); String newNode; // if the tree is complete then the game is over. if (this.displayedNodes.isEmpty()) { newNode = "GAME IS OVER"; } else { newNode = GSON.toJson(this.displayedNodes.get(this.displayedNodes.size() - 1)); } payload.addProperty("currValue", this.currDisplayedNumber); payload.addProperty("newNodeToDisp", newNode); payload.addProperty("score", this.score); payload.addProperty("nextScoreVal", this.calculateScore("")); return payload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNewNodeID() {\n\t\tint newID = _minNodeID;\n\t\twhile (_nodeIdList.contains(newID)) newID++;\n\t\treturn newID;\n\t}", "private Value update(Node recentNode) {\n Node temp = recentNode.next;\n Value value = temp.val;\n recentNode.next = recentNode.next.next;\n Node node...
[ "0.5798877", "0.5789604", "0.57347465", "0.5660482", "0.5638694", "0.5631223", "0.56028664", "0.54930776", "0.5480183", "0.543423", "0.54206187", "0.5402811", "0.53869116", "0.5373897", "0.5366637", "0.5353528", "0.5319154", "0.52913874", "0.527479", "0.5256183", "0.5242073",...
0.51255685
29
just adds the node to the displayed nodes.
@Override protected void updateGameState(JsonObject move) { String id = move.get("id").getAsString(); BinaryTreeNode nodeAtID = tree.getNodeById(id); this.displayedNodes.add(nodeAtID); // make a new target number this.currDisplayedNumber = this.chooseValueFromTree(); this.score += this.calculateScore(""); // reset this to 0 when a correct node is found this.wrongClicks = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNode(NodeImpl node) {\n supervisedNodes.add(node);\n \n colorNodes();\n shortenNodeLabels();\n colorNodeLabels();\n colorNodeLabelBorders();\n }", "private void addNode() {\n // Add GUI node\n int nodeCount = mGraph.getNodeCount();\n ...
[ "0.7541915", "0.7415505", "0.7359862", "0.7325212", "0.72784907", "0.72560877", "0.712435", "0.71106106", "0.70646614", "0.69644064", "0.68842125", "0.686813", "0.68571705", "0.6740765", "0.6681672", "0.66270125", "0.6589433", "0.65231615", "0.6516756", "0.64702654", "0.64674...
0.0
-1
send back root node and the first value
@Override protected JsonObject startResponse() { JsonObject startResp = new JsonObject(); startResp.addProperty("rootValue", this.root.getValue()); startResp.addProperty("currValue", this.currDisplayedNumber); return startResp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getNodeValue ();", "public byte[] getFirstNode()\n {\n return this.firstNode;\n }", "public T getFirst()\n\t{\n\t\treturn getFirstNode().getData();\n\t}", "public Object getFirst()\n {\n return ((Node)nodes.elementAt(0)).data;\n }", "Node firstNode() {\r\n\t\treturn ...
[ "0.62126637", "0.6201158", "0.60745", "0.60328025", "0.595724", "0.59507895", "0.59195566", "0.5897775", "0.5894328", "0.58668286", "0.58401835", "0.58335125", "0.58138496", "0.5765509", "0.5751973", "0.57506484", "0.57468563", "0.57444996", "0.5743542", "0.5735224", "0.57006...
0.5438617
41
creates a complete tree of height h with random numbers
public BinaryTree generateTree(int height) { List<Double> randomNums = new ArrayList<>(); int numNodes = (int) (Math.pow(2, height)) - 1; for (int i = 0; i < numNodes; i++) { double randomNum = Math.round(Math.random() * 100 * 100) / 100; // no duplicate numbers while (randomNums.contains(randomNum)) { randomNum = Math.round(Math.random() * 100 * 100) / 100; } randomNums.add(randomNum); } return new BinaryTree(randomNums); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Node buildRandomTree() {\n\t\tNode root = createNode(15);\n\t\troot.leftChild = createNode(10);\n\t\troot.rightChild = createNode(4);\n\t\troot.leftChild.leftChild = createNode(25);\n\t\troot.leftChild.leftChild.rightChild = createNode(27);\n\t\troot.leftChild.leftChild.leftChild = createNode(13);\n\...
[ "0.65256655", "0.61055225", "0.6064049", "0.5951398", "0.59193337", "0.59046304", "0.5904099", "0.5885267", "0.58512175", "0.5850286", "0.58485204", "0.58350563", "0.5791151", "0.5770949", "0.57667774", "0.57606", "0.5749169", "0.5745015", "0.57413626", "0.572617", "0.5722492...
0.75419
0
generates a random number that will be presented to the user to put into the correct spot in the tree.
private double generateRandomValue(int min, int max) { double number = (Math.random() * max * 100) / 100 + min; return number; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int randomNum() {\r\n\t return((int)(Math.random() * 100));\r\n\t }", "public int drawpseudocard(){\n Random random = new Random();\n return random.nextInt(9)+1;\n }", "public int insert(){ // Wrapper insert function, passes random values to insert integer data in the tree.\n ...
[ "0.7000259", "0.6974828", "0.68785816", "0.6801886", "0.6745962", "0.671262", "0.6671855", "0.66640276", "0.6627928", "0.6548233", "0.6503755", "0.64350814", "0.64350605", "0.64330757", "0.64145434", "0.63953227", "0.63941264", "0.63414073", "0.63177216", "0.6303295", "0.6289...
0.0
-1
selects a node randomly from the tree given that the parent is already displayed
private double chooseValueFromTree() { // first add all available values to this list. // then choose one randomly List<Double> availableNumbers = new ArrayList<>(); // traverse all displayed nodes and add the values of their immediate // children for (BinaryTreeNode n : this.displayedNodes) { String id = n.getID(); if (id.length() < this.height) { BinaryTreeNode left = this.tree.getNodeById(id + "l"); // dont want to generate the number of a node that is both the child of a // displayed node but is also already displayed if (!this.displayedNodes.contains(left)) { double leftVal = left.getValue(); availableNumbers.add(leftVal); } // dont want to generate the number of a node that is both the child of a // displayed node but is also already displayed BinaryTreeNode right = this.tree.getNodeById(id + "r"); if (!this.displayedNodes.contains(right)) { double rightVal = right.getValue(); availableNumbers.add(rightVal); } } } // now choose a value randomly int randomIndex = (int) (Math.random() * availableNumbers.size()); return availableNumbers.get(randomIndex); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "treeNode selectNode(treeNode root, MTRandom clustererRandom){\n\t\t\n\t\t//random number between 0 and 1\n\t\tdouble random = clustererRandom.nextDouble();\n\t\t\n\t\twhile(!isLeaf(root)){\n\t\t\tif(root.lc.cost == 0 && root.rc.cost == 0){\n\t\t\t\tif(root.lc.n == 0){\n\t\t\t\t\troot = root.rc;\n\t\t\t\t} else if(...
[ "0.7070326", "0.6843693", "0.68064696", "0.67223805", "0.668857", "0.65845674", "0.6399905", "0.6388617", "0.63185006", "0.62233365", "0.60735625", "0.60718536", "0.6049248", "0.60378146", "0.5995859", "0.59067357", "0.59002346", "0.5865021", "0.58351225", "0.5830682", "0.578...
0.59904724
15
if you impletement interfaces you have to implement all methodstw
@Override public void engineStart(String engineType, boolean isKeyLess) { System.out.println("This is the implementation"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Pasticcere {\r\n //No attributes\r\n public void accendiForno();\r\n}", "public interface Zrada\n{\n void accuse();\n}", "public interface Tigari {\npublic void printDetalii();\n}", "public interface zzo\n extends IInterface\n{\n\n public abstract void zze(AdRequestParcel adre...
[ "0.71751946", "0.71154785", "0.7100564", "0.7095828", "0.7012511", "0.6965048", "0.69241863", "0.69193697", "0.690322", "0.6871455", "0.68582237", "0.6814034", "0.6800779", "0.67947376", "0.67818594", "0.6750723", "0.67412317", "0.6737642", "0.673284", "0.6726131", "0.6712112...
0.0
-1
/ NOTE FOR DEVELOPERS: Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class.
public static void clearCache() { getPersistence().clearCache(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface PaTaskItemPointViewService extends Service<PaTaskItemPointView> {\n\n}", "public interface SmartCultureFarmService extends Service<SmartCultureFarm> {\n\n}", "public interface SRiskCardNodeConditionService extends Service<SRiskCardNodeCondition> {\n\n}", "@Override \r\n public boolean nee...
[ "0.5909163", "0.5823901", "0.5810444", "0.57656497", "0.5738431", "0.5694753", "0.56761783", "0.5621604", "0.56056505", "0.5597553", "0.5591603", "0.5586397", "0.5577285", "0.5566433", "0.55652165", "0.5560494", "0.55442244", "0.55405724", "0.55267614", "0.5523465", "0.552197...
0.0
-1
Returns the gdf tender submission details where tenderReferenceNumber = &63; or throws a NoSuchGDFTenderSubmissionDetailsException if it could not be found.
public static GDFTenderSubmissionDetails findByGDF_Tender_Reference_Number( String tenderReferenceNumber) throws com.gdf.technical.bids.exception. NoSuchGDFTenderSubmissionDetailsException { return getPersistence().findByGDF_Tender_Reference_Number( tenderReferenceNumber); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number(\n\t\tString tenderReferenceNumber) {\n\n\t\treturn getPersistence().fetchByGDF_Tender_Reference_Number(\n\t\t\ttenderReferenceNumber);\n\t}", "public static GDFTenderSubmissionDetails\n\t\t\tremoveByGDF_Tender_Reference_Number(String te...
[ "0.7707685", "0.73532814", "0.72248966", "0.7024509", "0.64994705", "0.64500946", "0.63582474", "0.62262946", "0.6177138", "0.6049266", "0.59516716", "0.5532311", "0.54394066", "0.51395893", "0.49489927", "0.4708277", "0.47048706", "0.46772116", "0.45953256", "0.44861454", "0...
0.7703364
1
Returns the gdf tender submission details where tenderReferenceNumber = &63; or returns null if it could not be found. Uses the finder cache.
public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number( String tenderReferenceNumber) { return getPersistence().fetchByGDF_Tender_Reference_Number( tenderReferenceNumber); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number(\n\t\tString tenderReferenceNumber, boolean useFinderCache) {\n\n\t\treturn getPersistence().fetchByGDF_Tender_Reference_Number(\n\t\t\ttenderReferenceNumber, useFinderCache);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDFTe...
[ "0.778188", "0.67633057", "0.6465242", "0.6314669", "0.6150741", "0.5802052", "0.546757", "0.5444579", "0.528051", "0.52329445", "0.5169953", "0.48965874", "0.48404577", "0.4836855", "0.4791259", "0.45657638", "0.45250875", "0.44806308", "0.4395797", "0.43502414", "0.4297324"...
0.7464197
1
Returns the gdf tender submission details where tenderReferenceNumber = &63; or returns null if it could not be found, optionally using the finder cache.
public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number( String tenderReferenceNumber, boolean useFinderCache) { return getPersistence().fetchByGDF_Tender_Reference_Number( tenderReferenceNumber, useFinderCache); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number(\n\t\tString tenderReferenceNumber) {\n\n\t\treturn getPersistence().fetchByGDF_Tender_Reference_Number(\n\t\t\ttenderReferenceNumber);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderRe...
[ "0.73136824", "0.68286914", "0.64160126", "0.6171252", "0.5987347", "0.57187897", "0.5384493", "0.538303", "0.51614517", "0.5081119", "0.50762963", "0.4888435", "0.4739882", "0.46916324", "0.4652659", "0.4512056", "0.4449921", "0.4363675", "0.43183878", "0.4277665", "0.426789...
0.7802712
0
Removes the gdf tender submission details where tenderReferenceNumber = &63; from the database.
public static GDFTenderSubmissionDetails removeByGDF_Tender_Reference_Number(String tenderReferenceNumber) throws com.gdf.technical.bids.exception. NoSuchGDFTenderSubmissionDetailsException { return getPersistence().removeByGDF_Tender_Reference_Number( tenderReferenceNumber); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails removeByGDFTenderRefeNoByUserId(\n\t\t\tString tenderReferenceNumber, long supplierId)\n\t\tthrows com.gdf.technical.bids.exception.\n\t\t\tNoSuchGDFTenderSubmissionDetailsException {\n\n\t\treturn getPersistence().removeByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumb...
[ "0.6254274", "0.6187174", "0.543087", "0.50963736", "0.5057926", "0.5011935", "0.5010041", "0.48165923", "0.47493982", "0.47320604", "0.47286034", "0.4704556", "0.46648455", "0.46365425", "0.46352294", "0.46279287", "0.4606665", "0.4604103", "0.45875335", "0.45819306", "0.457...
0.66750324
0
Returns the number of gdf tender submission detailses where tenderReferenceNumber = &63;.
public static int countByGDF_Tender_Reference_Number( String tenderReferenceNumber) { return getPersistence().countByGDF_Tender_Reference_Number( tenderReferenceNumber); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int countByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().countByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Number(\n\t\tString tender...
[ "0.6529362", "0.5876645", "0.57346475", "0.5624255", "0.543258", "0.53291494", "0.513682", "0.5132287", "0.5116904", "0.5114691", "0.50983137", "0.50515336", "0.50488985", "0.50191814", "0.49822575", "0.49672118", "0.48854294", "0.48808986", "0.4862509", "0.4859808", "0.48449...
0.7331717
0
Returns the gdf tender submission details where tenderReferenceNumber = &63; and supplierId = &63; or throws a NoSuchGDFTenderSubmissionDetailsException if it could not be found.
public static GDFTenderSubmissionDetails findByGDFTenderRefeNoByUserId( String tenderReferenceNumber, long supplierId) throws com.gdf.technical.bids.exception. NoSuchGDFTenderSubmissionDetailsException { return getPersistence().findByGDFTenderRefeNoByUserId( tenderReferenceNumber, supplierId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId);\n\t}", "public static GDFTenderSubmissionDetails findByGDF_Tender_Reference_Numb...
[ "0.7656397", "0.72548676", "0.7182607", "0.7169304", "0.702853", "0.69146526", "0.6743881", "0.6578075", "0.65184504", "0.63909835", "0.624964", "0.61910117", "0.60125136", "0.59480304", "0.5940514", "0.5651857", "0.56043684", "0.5600567", "0.52861685", "0.5026725", "0.502461...
0.74519885
1
Returns the gdf tender submission details where tenderReferenceNumber = &63; and supplierId = &63; or returns null if it could not be found. Uses the finder cache.
public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId( String tenderReferenceNumber, long supplierId) { return getPersistence().fetchByGDFTenderRefeNoByUserId( tenderReferenceNumber, supplierId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId, boolean useFinderCache) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId, useFinderCache);\n\t}", "public static GDFTenderSubmissio...
[ "0.7829407", "0.71441907", "0.69220024", "0.662973", "0.6273137", "0.6049054", "0.6013798", "0.5967622", "0.5895011", "0.5762354", "0.5580839", "0.55778694", "0.5547441", "0.5522818", "0.54735297", "0.52969605", "0.52902496", "0.5093962", "0.50759953", "0.503742", "0.50185806...
0.78109145
1
Returns the gdf tender submission details where tenderReferenceNumber = &63; and supplierId = &63; or returns null if it could not be found, optionally using the finder cache.
public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId( String tenderReferenceNumber, long supplierId, boolean useFinderCache) { return getPersistence().fetchByGDFTenderRefeNoByUserId( tenderReferenceNumber, supplierId, useFinderCache); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDF_Tender_Reference_Num...
[ "0.77327484", "0.71336377", "0.68114376", "0.65315586", "0.6226583", "0.59862995", "0.5961841", "0.5922088", "0.5797127", "0.564744", "0.5563447", "0.5504623", "0.5495185", "0.54576546", "0.53973", "0.5284352", "0.52536774", "0.50577235", "0.5033144", "0.49980488", "0.4992214...
0.782215
0
Removes the gdf tender submission details where tenderReferenceNumber = &63; and supplierId = &63; from the database.
public static GDFTenderSubmissionDetails removeByGDFTenderRefeNoByUserId( String tenderReferenceNumber, long supplierId) throws com.gdf.technical.bids.exception. NoSuchGDFTenderSubmissionDetailsException { return getPersistence().removeByGDFTenderRefeNoByUserId( tenderReferenceNumber, supplierId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void removeByGDFTendersByUserId(long supplierId) {\n\t\tgetPersistence().removeByGDFTendersByUserId(supplierId);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefe...
[ "0.64777386", "0.61897093", "0.60989356", "0.57711643", "0.5756496", "0.5474804", "0.5149506", "0.51072556", "0.500886", "0.48839635", "0.48798433", "0.48675296", "0.4866644", "0.4804395", "0.47973564", "0.47936785", "0.47727677", "0.47539625", "0.47511867", "0.47491926", "0....
0.71629226
0
Returns the number of gdf tender submission detailses where tenderReferenceNumber = &63; and supplierId = &63;.
public static int countByGDFTenderRefeNoByUserId( String tenderReferenceNumber, long supplierId) { return getPersistence().countByGDFTenderRefeNoByUserId( tenderReferenceNumber, supplierId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int countByGDF_Tender_Reference_Number(\n\t\tString tenderReferenceNumber) {\n\n\t\treturn getPersistence().countByGDF_Tender_Reference_Number(\n\t\t\ttenderReferenceNumber);\n\t}", "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long sup...
[ "0.68265224", "0.65537393", "0.6365976", "0.62393963", "0.6096539", "0.5834549", "0.5725542", "0.5722586", "0.54204035", "0.538925", "0.53540313", "0.5203225", "0.51318735", "0.51050055", "0.5087125", "0.50629324", "0.50490713", "0.50069237", "0.5002655", "0.49433088", "0.490...
0.7576979
0
Returns all the gdf tender submission detailses where supplierId = &63;.
public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId( long supplierId) { return getPersistence().findByGDFTendersByUserId(supplierId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId);\n\t}", "public Opportunities[] findBySubmissionForm(int supplierId) throws Oppor...
[ "0.7120793", "0.69285566", "0.6645818", "0.6479074", "0.6226737", "0.6174141", "0.60621077", "0.59568346", "0.5884918", "0.58474004", "0.5825544", "0.5770474", "0.57497805", "0.5740408", "0.56597054", "0.5588177", "0.5579488", "0.55629456", "0.5559862", "0.55592823", "0.55495...
0.7332463
0
Returns a range of all the gdf tender submission detailses where supplierId = &63;. Useful when paginating results. Returns a maximum of end start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtilALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GDFTenderSubmissionDetailsModelImpl.
public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId( long supplierId, int start, int end) { return getPersistence().findByGDFTendersByUserId( supplierId, start, end); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId(\n\t\tlong supplierId, int start, int end,\n\t\tOrderByComparator<GDFTenderSubmissionDetails> orderByComparator) {\n\n\t\treturn getPersistence().findByGDFTendersByUserId(\n\t\t\tsupplierId, start, end, orderByComparator);\n\t}", "public sta...
[ "0.81129897", "0.7755532", "0.76589185", "0.72528315", "0.6586802", "0.6071328", "0.5879447", "0.5829739", "0.5745274", "0.5243409", "0.51304346", "0.5089428", "0.48587984", "0.4792279", "0.47022912", "0.45758012", "0.45660034", "0.45138314", "0.44686323", "0.44642773", "0.42...
0.73605186
3
Returns an ordered range of all the gdf tender submission detailses where supplierId = &63;. Useful when paginating results. Returns a maximum of end start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtilALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GDFTenderSubmissionDetailsModelImpl.
public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId( long supplierId, int start, int end, OrderByComparator<GDFTenderSubmissionDetails> orderByComparator) { return getPersistence().findByGDFTendersByUserId( supplierId, start, end, orderByComparator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId(\n\t\tlong supplierId, int start, int end,\n\t\tOrderByComparator<GDFTenderSubmissionDetails> orderByComparator,\n\t\tboolean useFinderCache) {\n\n\t\treturn getPersistence().findByGDFTendersByUserId(\n\t\t\tsupplierId, start, end, orderByComp...
[ "0.7756839", "0.76631236", "0.7210795", "0.6715175", "0.5934529", "0.58176017", "0.56742096", "0.5581377", "0.51789445", "0.49147862", "0.49019077", "0.48562413", "0.47536686", "0.46396455", "0.46369344", "0.45404765", "0.45107603", "0.44964036", "0.44922197", "0.44694406", "...
0.81412894
0
Returns an ordered range of all the gdf tender submission detailses where supplierId = &63;. Useful when paginating results. Returns a maximum of end start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtilALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GDFTenderSubmissionDetailsModelImpl.
public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId( long supplierId, int start, int end, OrderByComparator<GDFTenderSubmissionDetails> orderByComparator, boolean useFinderCache) { return getPersistence().findByGDFTendersByUserId( supplierId, start, end, orderByComparator, useFinderCache); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<GDFTenderSubmissionDetails> findByGDFTendersByUserId(\n\t\tlong supplierId, int start, int end,\n\t\tOrderByComparator<GDFTenderSubmissionDetails> orderByComparator) {\n\n\t\treturn getPersistence().findByGDFTendersByUserId(\n\t\t\tsupplierId, start, end, orderByComparator);\n\t}", "public sta...
[ "0.814064", "0.7661712", "0.7208798", "0.67147946", "0.59333277", "0.58165175", "0.5673764", "0.5580035", "0.51778966", "0.4915338", "0.49024326", "0.48565373", "0.4754301", "0.46405235", "0.46364874", "0.45408303", "0.45123634", "0.4493952", "0.44923276", "0.44694307", "0.44...
0.7755826
1
Returns the first gdf tender submission details in the ordered set where supplierId = &63;.
public static GDFTenderSubmissionDetails findByGDFTendersByUserId_First( long supplierId, OrderByComparator<GDFTenderSubmissionDetails> orderByComparator) throws com.gdf.technical.bids.exception. NoSuchGDFTenderSubmissionDetailsException { return getPersistence().findByGDFTendersByUserId_First( supplierId, orderByComparator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTendersByUserId_First(\n\t\tlong supplierId,\n\t\tOrderByComparator<GDFTenderSubmissionDetails> orderByComparator) {\n\n\t\treturn getPersistence().fetchByGDFTendersByUserId_First(\n\t\t\tsupplierId, orderByComparator);\n\t}", "public static GDFTenderSubmissionD...
[ "0.6931434", "0.6418394", "0.5978506", "0.5781895", "0.57725745", "0.5659731", "0.5633758", "0.5626124", "0.5625947", "0.5617413", "0.5590402", "0.5574314", "0.5557924", "0.5499116", "0.5466408", "0.54460347", "0.53386724", "0.5299185", "0.5290159", "0.5241042", "0.5227094", ...
0.60216606
2
Returns the first gdf tender submission details in the ordered set where supplierId = &63;.
public static GDFTenderSubmissionDetails fetchByGDFTendersByUserId_First( long supplierId, OrderByComparator<GDFTenderSubmissionDetails> orderByComparator) { return getPersistence().fetchByGDFTendersByUserId_First( supplierId, orderByComparator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static GDFTenderSubmissionDetails fetchByGDFTenderRefeNoByUserId(\n\t\tString tenderReferenceNumber, long supplierId) {\n\n\t\treturn getPersistence().fetchByGDFTenderRefeNoByUserId(\n\t\t\ttenderReferenceNumber, supplierId);\n\t}", "public static GDFTenderSubmissionDetails findByGDFTendersByUserId_First(...
[ "0.64219964", "0.6025004", "0.5980941", "0.57847035", "0.577601", "0.5662271", "0.56363666", "0.56301844", "0.56284136", "0.56201804", "0.55909956", "0.55746275", "0.5561343", "0.5501417", "0.54676026", "0.5447673", "0.5341878", "0.5301356", "0.5294478", "0.52418995", "0.5231...
0.6933584
0