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
Posting parameters to login url
@Override protected Map<String, String> getParams() { Map<String, String> params = new HashMap<>(); params.put("email", email); params.put("password", password); return params; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void postLoginPage() {\n post(\"/login\", \"application/json\", (req, res) -> {\n HomerAccount loggedInAccount = homerAuth.login(req.body());\n if(loggedInAccount != null) {\n req.session().attribute(\"account\", loggedInAccount);\n res.redi...
[ "0.713196", "0.6724636", "0.66864365", "0.6660524", "0.6596039", "0.6498359", "0.6412473", "0.6291899", "0.6263617", "0.6234136", "0.6226955", "0.6219553", "0.6196751", "0.61942387", "0.6141643", "0.61344206", "0.6127119", "0.60918045", "0.608945", "0.6077584", "0.60701054", ...
0.0
-1
Constructs a new track.
public Track(Long id, Short number, String name, Short length, Long albumId) { this.id = id; this.number = number; this.name = name; this.length = length; this.albumId = albumId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Track() {\r\n }", "public Track(){\n\t\tthis.trk = trackGenerator();\n\n\t}", "public TrackStat() {\r\n }", "public Track() {\n locations = new ArrayList<>();\n cars = new ArrayList<>();\n }", "public static Track generateTrack() {\n List<Position> positions = new Array...
[ "0.8092744", "0.78872687", "0.72383404", "0.7121039", "0.7100102", "0.6946366", "0.69116324", "0.68802047", "0.68772566", "0.663207", "0.6522584", "0.6418161", "0.63545054", "0.6343164", "0.6307821", "0.6300843", "0.62717015", "0.6200352", "0.6193028", "0.6176246", "0.6142201...
0.6480747
11
Gets track length, formatted as hours (if applicable), minutes and seconds separated by a ":".
public String getFormattedLength() { NumberFormat formatter = new DecimalFormat(LENGTH_FORMAT); int hours = length / (60 * 60); int minutes = (length % (60 * 60)) / 60; int seconds = length % 60; StringBuilder sb = new StringBuilder(); if (hours > 0) { sb.append(formatter.format(hours) + ':'); } sb.append(formatter.format(minutes) + ':'); sb.append(formatter.format(seconds)); return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String formatTime(long length) {\n\t\tString hms = \"\";\n\t\tif(length < 3600000) {\n\t\t\thms = String.format(\"%02d:%02d\",\n\t\t\t\t\tTimeUnit.MILLISECONDS.toMinutes(length) - TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS.toHours(length)),\n\t\t\t\t\tTimeUnit.MILLISECONDS.toSeconds(length) - TimeUnit....
[ "0.66949123", "0.6641876", "0.6106508", "0.6061078", "0.60103846", "0.60058373", "0.59482586", "0.5805576", "0.58002406", "0.57582355", "0.5755348", "0.57077724", "0.5701102", "0.56776345", "0.56454676", "0.56267446", "0.5623073", "0.56131065", "0.5588295", "0.55812824", "0.5...
0.73716116
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.DAY
public Date getDay() { return day; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@java.lang.Override public app.onepass.apis.DayOfWeek getDay() {\n @SuppressWarnings(\"deprecation\")\n app.onepass.apis.DayOfWeek result = app.onepass.apis.DayOfWeek.valueOf(day_);\n return result == null ? app.onepass.apis.DayOfWeek.UNRECOGNIZED : result;\n }", "@java.lang.Override\n public app.on...
[ "0.6464711", "0.6405233", "0.62588525", "0.62203294", "0.6218275", "0.6204364", "0.61347014", "0.61339104", "0.6111151", "0.6107239", "0.60917217", "0.60898036", "0.60898036", "0.6038457", "0.6038457", "0.6038457", "0.5971196", "0.5971062", "0.59262633", "0.592089", "0.591880...
0.59553885
22
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.DAY
public void setDay(Date day) { this.day = day; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDay(int day) {\r\n this.day = day;\r\n }", "public void setDay(int day)\n {\n this.day = day;\n }", "public void setDay(int day) {\n\t\tthis.day = day;\n\t}", "public void setDay(int day) {\n\t\tthis.day = day;\n\t}", "public void setDay(Date day) {\n this.day = day;\n ...
[ "0.62186754", "0.6171598", "0.6169868", "0.6169868", "0.61531883", "0.6117353", "0.5985611", "0.5921334", "0.58848864", "0.58725846", "0.5838232", "0.5728586", "0.57080203", "0.5675526", "0.5644883", "0.5644883", "0.5644883", "0.5637409", "0.5625471", "0.5625471", "0.56044936...
0.61970407
5
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.REGION
public String getRegion() { return region; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getREGION()\n {\n \n return __REGION;\n }", "public String getRegionNo() {\n return regionNo;\n }", "public String getRegion() {\n return this.region;\n }", "public String getRegionno() {\n return regionno;\n }", "public String getRe...
[ "0.75035554", "0.6786083", "0.6725835", "0.6698339", "0.66781396", "0.66182584", "0.66182584", "0.6609518", "0.66024256", "0.65906703", "0.65906703", "0.65906703", "0.6568093", "0.65645796", "0.655078", "0.655078", "0.655078", "0.655078", "0.655078", "0.65444475", "0.65182483...
0.6531873
22
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.REGION
public void setRegion(String region) { this.region = region; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setREGION(java.lang.String value)\n {\n if ((__REGION == null) != (value == null) || (value != null && ! value.equals(__REGION)))\n {\n _isDirty = true;\n }\n __REGION = value;\n }", "public void setC_Region_ID (int C_Region_ID);", "public void setRegion...
[ "0.65011066", "0.6269537", "0.6071792", "0.59836155", "0.5973749", "0.59645355", "0.59147644", "0.5897774", "0.5838212", "0.5838212", "0.5838212", "0.5825046", "0.5815249", "0.57671005", "0.576613", "0.5762172", "0.5741845", "0.5738119", "0.5732348", "0.5716405", "0.57005453"...
0.59046304
9
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.MSCID
public String getMscid() { return mscid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getMscid() {\n return mscid;\n }", "String getRouteID();", "public java.lang.String getMSCD() {\n return MSCD;\n }", "public Long getRouteid() {\n return routeid;\n }", "public String getRouteid() {\r\n return routeid;\r\n }", "public String getWmoId(...
[ "0.6074105", "0.59552485", "0.5828574", "0.57225716", "0.5704592", "0.55239934", "0.5490908", "0.5412172", "0.5362637", "0.535167", "0.5341614", "0.5328171", "0.53188545", "0.53113437", "0.5273387", "0.52711594", "0.5179002", "0.5162984", "0.515801", "0.51456606", "0.5143065"...
0.6115859
3
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.MSCID
public void setMscid(String mscid) { this.mscid = mscid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setRoute(String routeID);", "public void setMscid(String mscid) {\n this.mscid = mscid;\n }", "public void setMSCD(java.lang.String MSCD) {\n this.MSCD = MSCD;\n }", "public void setRoutingNo (String RoutingNo);", "public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);", "...
[ "0.61512494", "0.5845098", "0.57169026", "0.5520598", "0.54782385", "0.5476602", "0.53367525", "0.53367525", "0.53367525", "0.53367525", "0.5258821", "0.5221135", "0.5201544", "0.50974107", "0.5076337", "0.5062642", "0.505596", "0.5023938", "0.5015678", "0.5003998", "0.500182...
0.59165746
4
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.ROUTEID
public String getRouteid() { return routeid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getRouteID();", "public Long getRouteid() {\n return routeid;\n }", "public int getRouteId() {\n return routeId;\n }", "public Integer getRoutingId() {\n return routingId;\n }", "RouteBean findRouteId(String routeID);", "public String getRoutingNo();", "public int g...
[ "0.7306297", "0.7197513", "0.7122132", "0.6351891", "0.6194145", "0.61213285", "0.5926291", "0.5909822", "0.57622474", "0.57447624", "0.57416177", "0.5740586", "0.5696318", "0.56644046", "0.5624369", "0.5597882", "0.557682", "0.55704594", "0.55681306", "0.55428815", "0.553226...
0.7103456
3
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.ROUTEID
public void setRouteid(String routeid) { this.routeid = routeid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setRoute(String routeID);", "public void setRouteId(int routeId) {\n this.routeId = routeId;\n }", "public void setRouteid(Long routeid) {\n this.routeid = routeid;\n }", "public String getRouteid() {\r\n return routeid;\r\n }", "public Long getRouteid() {\n return...
[ "0.73746276", "0.66372633", "0.64659315", "0.6374197", "0.63156474", "0.6072357", "0.595521", "0.5919734", "0.5918333", "0.5781896", "0.5512816", "0.55027884", "0.5459243", "0.54506314", "0.5436191", "0.54254067", "0.53453267", "0.5342972", "0.52525055", "0.5251348", "0.52500...
0.6520531
2
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.ROUTENAME
public String getRoutename() { return routename; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRouteName() {\n return routeName;\n }", "public String getRlName() {\n return (String) getAttributeInternal(RLNAME);\n }", "public void setRoutename(String routename) {\r\n this.routename = routename;\r\n }", "public String getRoutingNo();", "public String getName()...
[ "0.6455259", "0.57472795", "0.5734757", "0.5733035", "0.57065004", "0.5648059", "0.5474865", "0.5439446", "0.54279155", "0.5342594", "0.5312827", "0.51629156", "0.5152143", "0.5129792", "0.5116239", "0.5115338", "0.50941336", "0.508819", "0.50516623", "0.50473946", "0.5027096...
0.7138893
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.ROUTENAME
public void setRoutename(String routename) { this.routename = routename; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRoutename() {\r\n return routename;\r\n }", "public void setRoutingNo (String RoutingNo);", "public String getRouteName() {\n return routeName;\n }", "void setRoute(String routeID);", "public RouteInterface setName(String name);", "public void setResourcename(java.lan...
[ "0.62552404", "0.5773068", "0.5400062", "0.53835446", "0.53433925", "0.5310301", "0.50416076", "0.50316244", "0.50277895", "0.49029317", "0.48965123", "0.48423052", "0.4796289", "0.47335187", "0.47317046", "0.47305718", "0.47254148", "0.46964", "0.46870488", "0.46794477", "0....
0.6806975
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.DEVICES
public Integer getDevices() { return devices; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<com.mwr.jdiesel.api.Protobuf.Message.Device> \n getDevicesList();", "public List getDevices() {\n return devices;\n }", "List<DeviceDetails> getDevices();", "public List<ProductModel> getAllDevices() {\n\t\tSystem.out.println(\"\\nNetworkDevServ-getAllDev()\");\r\n\t\treturn...
[ "0.6383009", "0.6168189", "0.58853596", "0.5866482", "0.57320243", "0.5719217", "0.56631744", "0.55982757", "0.559365", "0.5589538", "0.55872923", "0.5577417", "0.55374104", "0.5519232", "0.55131036", "0.5493269", "0.54208565", "0.53805375", "0.5359153", "0.5353797", "0.53433...
0.6147089
2
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.DEVICES
public void setDevices(Integer devices) { this.devices = devices; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDevices(Peripheral[] devices) {\r\n\tthis.deviceList.clear();\r\n\tif (devices != null) {\r\n\t int numEl = devices.length;\r\n\t for (int i = 0; i < numEl; i++) {\r\n\t\tthis.deviceList.add(devices[i]);\r\n\t }\r\n\t}\r\n }", "public Config setSubDevices(Set<DeviceCredential> subDevic...
[ "0.55844355", "0.51087207", "0.50793415", "0.5071979", "0.5062204", "0.5051631", "0.5019705", "0.5016368", "0.49883068", "0.49597815", "0.49597815", "0.49489596", "0.49291307", "0.49129677", "0.48978654", "0.4886157", "0.4880688", "0.4866417", "0.4841906", "0.47700015", "0.47...
0.5819421
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.E1
public Float getE1() { return e1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRoutingNo();", "public java.lang.String getRoute () {\n\t\treturn route;\n\t}", "public String getAdr1() {\n return adr1;\n }", "public String getAdr2() {\n return adr2;\n }", "public com.vmware.converter.HostIpRouteEntry getRoute() {\r\n return route;\r\n }", "String g...
[ "0.5871489", "0.5639647", "0.5543593", "0.54798216", "0.5456257", "0.5365619", "0.52869946", "0.5219397", "0.5189297", "0.51848197", "0.5183246", "0.5142865", "0.5132844", "0.5127264", "0.510231", "0.51001734", "0.5088217", "0.5048868", "0.5045852", "0.5037709", "0.50131905",...
0.0
-1
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.E1
public void setE1(Float e1) { this.e1 = e1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAdr1(String adr1) {\n this.adr1 = adr1;\n }", "void setRoute(String routeID);", "public void setRoutingNo (String RoutingNo);", "public void setAdr2(String adr2) {\n this.adr2 = adr2;\n }", "public void setAddr1(String addr1) {\r\n this.addr1 = addr1;\r\n }", "public void...
[ "0.581332", "0.57594144", "0.56927085", "0.5392346", "0.5260624", "0.52413166", "0.5201904", "0.5022088", "0.5016204", "0.4966355", "0.49558228", "0.49433962", "0.4941574", "0.49201784", "0.48580235", "0.4827901", "0.48217157", "0.48103684", "0.48095757", "0.47929838", "0.476...
0.0
-1
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.OTRAFFIC
public Float getOtraffic() { return otraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTraffic() {\n return traffic;\n }", "public Long getTraffic() {\n\t\treturn traffic;\n\t}", "public Number getTramo() {\n return (Number) getAttributeInternal(TRAMO);\n }", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n...
[ "0.53703076", "0.5362903", "0.51918083", "0.51601356", "0.51601356", "0.5105155", "0.499696", "0.4976982", "0.491198", "0.48643583", "0.4848205", "0.47997057", "0.4744952", "0.47394222", "0.4732364", "0.47223297", "0.46952462", "0.46781304", "0.46774998", "0.46213374", "0.461...
0.4961844
8
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.OTRAFFIC
public void setOtraffic(Float otraffic) { this.otraffic = otraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setTrafficControl(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl);", "public native void setRTOConstant (int RTOconstant);", "public native void setRTOFactor (double RTOfactor);", "private void setupTurnRoadCharacteristic() {\n turnRoadCharacteristic =\n ...
[ "0.47700822", "0.46750966", "0.45614854", "0.45536757", "0.44148046", "0.4384614", "0.43806523", "0.43517596", "0.43407032", "0.43326503", "0.4306909", "0.4289145", "0.42813665", "0.42732665", "0.4268847", "0.42655668", "0.42619744", "0.42410496", "0.42410135", "0.42230347", ...
0.449748
4
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.ITRAFFIC
public Float getItraffic() { return itraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setItraffic(Float itraffic) {\r\n this.itraffic = itraffic;\r\n }", "public TerminalRule getINTRule() {\r\n\t\treturn gaTerminals.getINTRule();\r\n\t}", "public TerminalRule getINTRule() {\r\n\t\treturn gaTerminals.getINTRule();\r\n\t}", "public TerminalRule getINTRule() {\r\n\t\treturn...
[ "0.53609145", "0.5298407", "0.5298407", "0.5298407", "0.5298407", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.52720267", "0.5252252", "...
0.6102294
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.ITRAFFIC
public void setItraffic(Float itraffic) { this.itraffic = itraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIraT(IRAT iraT) {\n\t\tthis.iraT = iraT;\n\t}", "public void setRoadwayPI(double roadwayPI)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org...
[ "0.53489107", "0.5130349", "0.49921387", "0.4936571", "0.48291007", "0.47533885", "0.47237858", "0.471734", "0.4691978", "0.4688167", "0.4633963", "0.46275187", "0.46275187", "0.4600702", "0.45079532", "0.44767612", "0.44502026", "0.44443217", "0.444013", "0.44155645", "0.437...
0.62245995
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.TRAFFIC
public Float getTraffic() { return traffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTraffic() {\n return traffic;\n }", "public Long getTraffic() {\n\t\treturn traffic;\n\t}", "public jkt.hrms.masters.business.EtrTravelreq getTrv () {\n\t\treturn trv;\n\t}", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n ...
[ "0.576284", "0.5758834", "0.5702602", "0.5508333", "0.5508333", "0.54011476", "0.5301843", "0.5217439", "0.520052", "0.51505476", "0.50691324", "0.5051789", "0.5024907", "0.5022847", "0.5018244", "0.4987884", "0.49811217", "0.49656916", "0.49528584", "0.49172908", "0.48862633...
0.51904595
9
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.TRAFFIC
public void setTraffic(Float traffic) { this.traffic = traffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setTrafficControl(org.landxml.schema.landXML11.TrafficControlDocument.TrafficControl trafficControl);", "public void setTrv (jkt.hrms.masters.business.EtrTravelreq trv) {\n\t\tthis.trv = trv;\n\t}", "public void setAlternateRoute(short trainId, TrainRoute r) {\n\t\ttrainRoutes.put(trainId, r);\n\t}", "p...
[ "0.49345422", "0.49333933", "0.47313514", "0.47183588", "0.46696287", "0.46688667", "0.46400157", "0.46344182", "0.46074754", "0.45480216", "0.45453274", "0.45445126", "0.45445126", "0.4537744", "0.45273083", "0.4517241", "0.450209", "0.44859225", "0.44738406", "0.4462761", "...
0.43557146
33
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.CALLS
public Long getCalls() { return calls; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Call[] getCalls();", "public Set getCalls() { return calls; }", "public String getAllCallsStatement() {\n\t\treturn \"SELECT * FROM CALLS\";\n\t}", "@Override\n public Collection<PhoneCall> getPhoneCalls() {\n return this.calls;\n }", "public List<CallItem> findAllCalls() {\n\t\tString ...
[ "0.5808728", "0.569489", "0.568722", "0.5636787", "0.5528218", "0.5389262", "0.52462953", "0.516466", "0.5122512", "0.5107297", "0.49856475", "0.49572727", "0.49387643", "0.49174535", "0.4905532", "0.48134992", "0.47845462", "0.47397816", "0.4690405", "0.46828946", "0.4681013...
0.59283847
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.CALLS
public void setCalls(Long calls) { this.calls = calls; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set getCalls() { return calls; }", "public void setRateBookCalcRoutines(entity.RateBookCalcRoutine[] value);", "public void setCallName(String callName) {\n\n\t}", "public void setCallId(String callId) throws ParseException,NullPointerException;", "protected void setCallFromStatement() {\n //...
[ "0.5926443", "0.53174233", "0.4914482", "0.48711964", "0.48089817", "0.4762164", "0.47477093", "0.47347003", "0.4731827", "0.470257", "0.46843183", "0.46408486", "0.46025628", "0.45979312", "0.4593642", "0.4555425", "0.453347", "0.4525334", "0.44863573", "0.44554037", "0.4441...
0.58538675
1
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.ANSWDS
public Long getAnswds() { return answds; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRoutingNo();", "public String getSNDR() {\n return SNDR;\n }", "int getDSTSavings();", "public int getSWDES() {\r\n return localSWDES;\r\n }", "public int getNumberOutboundStops(){\n\t \treturn 0;\n\t \t\n\t \t\n\t }", "int getWayCount();", "publ...
[ "0.5256779", "0.5136557", "0.51255596", "0.50479627", "0.48573703", "0.48309782", "0.47881928", "0.4770875", "0.4763866", "0.47421527", "0.47034076", "0.46764275", "0.4665202", "0.46542165", "0.46315324", "0.46193954", "0.46082264", "0.4606755", "0.45937023", "0.45858955", "0...
0.44718564
37
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.ANSWDS
public void setAnswds(Long answds) { this.answds = answds; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSNDR(String SNDR) {\n this.SNDR = SNDR;\n }", "public void toggleWardenAS(AvoidMode avoidMode, ReversePoisonMode rpMode) {\n this.wardenAS = true;\n this.avoidMode = avoidMode;\n this.poisonMode = rpMode;\n this.routeStatusMap = new TIntIntHashMap();\n ...
[ "0.5287075", "0.5198491", "0.51905143", "0.49593312", "0.49184078", "0.47105733", "0.46232456", "0.46011555", "0.45880246", "0.45748028", "0.45582622", "0.45251825", "0.44964308", "0.4489502", "0.44731405", "0.4463677", "0.4456938", "0.44540522", "0.4435341", "0.44295058", "0...
0.40904006
65
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.ANSWR
public Float getAnswr() { return answr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TerminalRule getWSRule() {\n\t\treturn gaTerminals.getWSRule();\n\t}", "public TerminalRule getWSRule() {\n\t\treturn gaTerminals.getWSRule();\n\t}", "public TerminalRule getWSRule() {\n\t\treturn gaTerminals.getWSRule();\n\t}", "public TerminalRule getWSRule() {\n\t\treturn gaTerminals.getWSRule();\n...
[ "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.523442", "0.521612", "0.521612", "0.521612", "0.521612", "0.51837415", "0.51837415", "0.5168184", "0.49071014", "...
0.5253177
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.ANSWR
public void setAnswr(Float answr) { this.answr = answr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void toggleWardenAS(AvoidMode avoidMode, ReversePoisonMode rpMode) {\n this.wardenAS = true;\n this.avoidMode = avoidMode;\n this.poisonMode = rpMode;\n this.routeStatusMap = new TIntIntHashMap();\n if (this.avoidMode == AS.AvoidMode.LEGACY) {\n this.mplsRoutes ...
[ "0.48229232", "0.47181866", "0.45217732", "0.45001027", "0.44305032", "0.44296598", "0.44292995", "0.441622", "0.43870762", "0.43736276", "0.43573427", "0.4354536", "0.43358132", "0.4328316", "0.4315323", "0.4289468", "0.4280235", "0.42599434", "0.42573223", "0.4255118", "0.4...
0.5199445
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.IANSWR
public Float getIanswr() { return ianswr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public org.landxml.schema.landXML11.Station xgetRoadwayPI()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.Station target = null;\r\n target = (org.landxml.schema.landXML11.Station)get_store()...
[ "0.54880136", "0.5415857", "0.5303217", "0.52769965", "0.51551294", "0.5110444", "0.5110444", "0.5110444", "0.5110444", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", "0.5104523", ...
0.0
-1
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.IANSWR
public void setIanswr(Float ianswr) { this.ianswr = ianswr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void xsetRoadwayPI(org.landxml.schema.landXML11.Station roadwayPI)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.Station target = null;\r\n target = (org.landxml.schema.landXML11.Stati...
[ "0.5498627", "0.54201883", "0.53046805", "0.51552546", "0.5119275", "0.51089203", "0.49074847", "0.48989943", "0.48487887", "0.47899708", "0.4781558", "0.47368076", "0.4715708", "0.47001466", "0.4698001", "0.46829915", "0.4672347", "0.46720096", "0.46226615", "0.4616791", "0....
0.4479596
39
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.OANSWR
public Float getOanswr() { return oanswr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROADWAYRE...
[ "0.5391832", "0.53298485", "0.53161365", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.51876175", "0.5180393", "0.5180393", "0.5180393", ...
0.4699476
41
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.OANSWR
public void setOanswr(Float oanswr) { this.oanswr = oanswr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRoutingNo (String RoutingNo);", "public void xsetRoadwayPI(org.landxml.schema.landXML11.Station roadwayPI)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.Station target = null;\r\n ...
[ "0.50699157", "0.50021154", "0.49932596", "0.49862102", "0.4930055", "0.49049067", "0.4862402", "0.48302647", "0.47313973", "0.47237724", "0.4699891", "0.46351954", "0.46152118", "0.460445", "0.4555592", "0.454585", "0.45239744", "0.4520332", "0.4515361", "0.4515333", "0.4499...
0.43833742
30
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.BH
public Integer getBh() { return bh; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static com.services.model.BusRoute fetchByPrimaryKey(long brId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().fetchByPrimaryKey(brId);\n\t}", "public java.lang.String getBLH() {\r\n return localBLH;\r\n }", "public String getRoutingNo();...
[ "0.5625825", "0.551156", "0.549202", "0.5277645", "0.51742816", "0.50287247", "0.5025604", "0.5024775", "0.50182277", "0.4930126", "0.49187678", "0.49015954", "0.48470855", "0.4811792", "0.48067188", "0.47769755", "0.4766887", "0.4764898", "0.4764898", "0.47202012", "0.471262...
0.5098029
5
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.BH
public void setBh(Integer bh) { this.bh = bh; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRoutingNo (String RoutingNo);", "public void setBLH(java.lang.String param) {\r\n localBLHTracker = param != null;\r\n\r\n this.localBLH = param;\r\n }", "public void setBp_hr(Integer bp_hr) {\r\n this.bp_hr = bp_hr;\r\n }", "void setRoute(String routeID)...
[ "0.53934515", "0.51868904", "0.51376396", "0.5116747", "0.50499904", "0.50037", "0.4980528", "0.49427223", "0.4896175", "0.48757604", "0.48744848", "0.48357472", "0.48017067", "0.47745422", "0.47644147", "0.47452044", "0.47437322", "0.47428071", "0.4724734", "0.4702902", "0.4...
0.49902076
6
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.BH_TRAFFIC
public Float getBhTraffic() { return bhTraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTraffic() {\n return traffic;\n }", "public Long getTraffic() {\n\t\treturn traffic;\n\t}", "public Integer getTraffic() {\n return traffic;\n }", "public Integer getTraffic() {\n return traffic;\n }", "public Float getTraffic() {\r\n return traffic;\r\...
[ "0.5613694", "0.5557203", "0.5359057", "0.5359057", "0.526598", "0.51228404", "0.50878686", "0.5072553", "0.5062201", "0.5051843", "0.5038738", "0.50328046", "0.5012131", "0.5005506", "0.49942133", "0.49920022", "0.49645048", "0.49390358", "0.4872657", "0.48724517", "0.484976...
0.62094164
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.BH_TRAFFIC
public void setBhTraffic(Float bhTraffic) { this.bhTraffic = bhTraffic; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Float getBhTraffic() {\r\n return bhTraffic;\r\n }", "private void setupTurnRoadCharacteristic() {\n turnRoadCharacteristic =\n new BluetoothGattCharacteristic(CHARACT_TURNROAD_UUID,\n BluetoothGattCharacteristic.PROPERTY_READ | BluetoothGattCharacter...
[ "0.5279568", "0.48914194", "0.479665", "0.47836143", "0.47277248", "0.4702075", "0.46445498", "0.45935333", "0.45887595", "0.458391", "0.45726055", "0.45564464", "0.45361808", "0.45161584", "0.4505756", "0.4486363", "0.44772083", "0.4465089", "0.44644672", "0.44637197", "0.44...
0.56120986
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.BH_UTIL
public Float getBhUtil() { return bhUtil; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getBLH() {\r\n return localBLH;\r\n }", "public BigDecimal getLBR_ICMSST_TaxBAmtWhd();", "java.lang.String getBunho();", "java.lang.String getBunho();", "public java.lang.String getBlh() {\r\n return localBlh;\r\n }", "public BigDecimal getLBR_D...
[ "0.5644566", "0.52792287", "0.5222447", "0.5222447", "0.5210908", "0.5145094", "0.50706315", "0.503444", "0.50283957", "0.5007748", "0.49852598", "0.4971478", "0.49644908", "0.49428037", "0.49394172", "0.4909315", "0.48642617", "0.48553884", "0.48347682", "0.48139656", "0.481...
0.61287075
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.BH_UTIL
public void setBhUtil(Float bhUtil) { this.bhUtil = bhUtil; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBLH(java.lang.String param) {\r\n localBLHTracker = param != null;\r\n\r\n this.localBLH = param;\r\n }", "void changeBTAddress() {\n\t\t\n\t\t// if ( this.beacon.getAppType() == AppType.APPLE_GOOGLE_CONTACT_TRACING ) {\n\t\tif ( this.useRandomAddr()) {\n\t\t\t// try t...
[ "0.5412002", "0.5142926", "0.51197433", "0.4936926", "0.4913945", "0.49127817", "0.48832503", "0.4859954", "0.4852124", "0.48058897", "0.47881472", "0.4746835", "0.47446817", "0.4740167", "0.4736594", "0.4723749", "0.4684541", "0.4660746", "0.46574563", "0.46551734", "0.46292...
0.6068474
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.BH_DEV_VAR
public Long getBhDevVar() { return bhDevVar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBhDevVar(Long bhDevVar) {\r\n this.bhDevVar = bhDevVar;\r\n }", "public static C6306b m24933b(C6531d dVar) {\n if (dVar == null) {\n throw new IllegalArgumentException(\"Parameters must not be null.\");\n }\n C6306b bVar = (C6306b) dVar.mo22751a(\"http.rou...
[ "0.54609954", "0.5185809", "0.517912", "0.49696296", "0.49631548", "0.48916447", "0.48916447", "0.4775368", "0.47569022", "0.4754328", "0.47337666", "0.4730721", "0.4720728", "0.46984714", "0.4691945", "0.46730274", "0.4666571", "0.46396193", "0.46103033", "0.4607356", "0.460...
0.6536251
0
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.BH_DEV_VAR
public void setBhDevVar(Long bhDevVar) { this.bhDevVar = bhDevVar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getBhDevVar() {\r\n return bhDevVar;\r\n }", "public void mo31899a(C7300a aVar) {\n this.dBv = aVar;\n }", "public final synchronized void mo39719a(C15630dn dnVar) {\n this.f40700A = dnVar;\n }", "public final synchronized void mo39718a(C15617da daVar) {\n thi...
[ "0.53290755", "0.50940233", "0.47658315", "0.47453", "0.46905792", "0.467622", "0.46758705", "0.46595076", "0.4650137", "0.46253273", "0.45798126", "0.45793185", "0.45575246", "0.45167062", "0.4509163", "0.44775024", "0.44732267", "0.44731376", "0.4470835", "0.44548336", "0.4...
0.6462439
0
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_DY_ROUTE.DATALOAD
public Float getDataload() { return dataload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getDYPT() {\r\n return localDYPT;\r\n }", "public java.lang.String getDYPT() {\r\n return localDYPT;\r\n }", "public DTODireccion obtenerDireccionPorOID(Long oidDireccion) throws MareException {\n UtilidadesLog.info(\"DAOMAEMaestroClientes.obte...
[ "0.5232227", "0.5232227", "0.5145065", "0.5035116", "0.4972689", "0.49726844", "0.49406305", "0.49096826", "0.4897744", "0.4855285", "0.48538995", "0.48505497", "0.48437652", "0.48264077", "0.48245606", "0.4797956", "0.47520813", "0.4725215", "0.47190127", "0.4713809", "0.471...
0.49982587
5
This method was generated by Apache iBATIS ibator. This method sets the value of the database column V_RP_DY_ROUTE.DATALOAD
public void setDataload(Float dataload) { this.dataload = dataload; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setRoute(String routeID);", "public void setDataCadastroCota(Date dataCadastroCota) {\n\t\tif(dataCadastroCota != null){\n\t\t\tthis.dataCadastroCota = new DateTimeDB(dataCadastroCota.getTime());\n\t\t} else{\n\t\t\tthis.dataCadastroCota = null;\t\n\t\t}\n\t}", "public void setDYPT(java.lang.String param)...
[ "0.5059855", "0.5005272", "0.49021572", "0.49021572", "0.48853692", "0.48580483", "0.48212788", "0.48163667", "0.47875413", "0.47370625", "0.47136548", "0.46987697", "0.46924156", "0.46685475", "0.4661958", "0.46428305", "0.46233296", "0.462314", "0.46221036", "0.46177003", "...
0.44526199
45
Push element x onto stack.
public void push(int x) { q1.push(x); if (q2.size() > 0){ q2.remove(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void push(int x) {\n stack.add(x);\n }", "public void push(int x) {\r\n inStack.push(x);\r\n }", "public void push(int x) {\n this.stack1.add(x);\n }", "public void push(int x) {\n pushStack.add(x);\n }", "public void push(int x) {\n\t\tstack.push(x);\n\t}", ...
[ "0.86726034", "0.85932225", "0.85570914", "0.8550038", "0.852482", "0.8498592", "0.8488227", "0.8461912", "0.8458076", "0.8428038", "0.8376653", "0.8370226", "0.8368897", "0.8343204", "0.83385926", "0.8335069", "0.8333074", "0.83219844", "0.83110696", "0.8299808", "0.82648236...
0.70509607
97
Removes the element on top of the stack and returns that element.
public int pop() { q1.pop(); q2.push(q1.pop()); return q1.pop(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public T pop() {\n\t\tif (isEmpty()) {\n\t\t\tthrow new EmptyStackException();\n\t\t}\n\t\t//remove top element from stack\n\t\t//and \"clear to let GC do its work\"\n\t\treturn elements.remove(elements.size() - 1);\n\t}", "@Override\r\n\tpublic T pop() {\r\n\t\tT top = stack[topIndex];\r\n\t\tstack[topIndex] = ...
[ "0.7831054", "0.78167725", "0.7808246", "0.7797564", "0.7689596", "0.7677747", "0.7633739", "0.76071864", "0.7598945", "0.7597015", "0.7577195", "0.75743157", "0.75456405", "0.75169796", "0.750027", "0.74873495", "0.74667877", "0.7460093", "0.74569875", "0.7456191", "0.744837...
0.0
-1
Get the top element.
public int top() { return q1.getFirst(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int top() {\n return topElem;\n }", "public E top() {\n return !isEmpty() ? head.item : null;\n }", "public int topElement() {\n\t\tif(isEmpty()){\n\t\t\tthrow new AssertionError();\n\t\t}\n\t\telse {\n\t\t\treturn heap.get(0).element;\n\t\t\n\t\t}\n\t}", "public T getTop( ...
[ "0.8335419", "0.79350287", "0.77536744", "0.7748599", "0.76948357", "0.76440716", "0.76287603", "0.76287603", "0.76210487", "0.761078", "0.75897783", "0.757352", "0.75697553", "0.75569373", "0.75336695", "0.74941546", "0.7478168", "0.7464024", "0.7455516", "0.744731", "0.7420...
0.7213566
35
Returns whether the stack is empty.
public boolean empty() { return q1.isEmpty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean emptyStack() {\n return (expStack.size() == 0);\n }", "public boolean isEmpty()\n {\n return stack.size() == 0;\n }", "public boolean isEmpty() {\n \treturn stack.size() == 0;\n }", "public boolean isEmpty()\n {\n return stack.isEmpty();\n }", "publi...
[ "0.9056883", "0.89877164", "0.8927279", "0.8913691", "0.88952327", "0.8861644", "0.8812663", "0.8803307", "0.8803307", "0.88012934", "0.8762096", "0.87552625", "0.8734233", "0.8733799", "0.8713177", "0.87054056", "0.869478", "0.8679571", "0.866394", "0.86360806", "0.8620381",...
0.0
-1
this is final and static
void hello();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "private Util() { }", "private Rekenhulp()\n\t{\n\t}", "public final void mo51373a() {\n }", "@Override\n public void func_104112_b() {\n \n }", "static void init() {}", "@Override\n public void perish() {\n \n }", "@Override\n void init()...
[ "0.68598664", "0.6483954", "0.6379178", "0.63361776", "0.62475646", "0.6201698", "0.6186343", "0.6185795", "0.6177839", "0.6159701", "0.6157001", "0.6157001", "0.6157001", "0.6157001", "0.6153516", "0.61497056", "0.6149085", "0.6110603", "0.61081624", "0.6089284", "0.60863936...
0.0
-1
Restart timer and prints time in ms
public void tac () { tac (""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void trackerTimer() {\n\n Thread timer;\n timer = new Thread() {\n\n @Override\n public void run() {\n while (true) {\n\n if (Var.timerStart) {\n try {\n Var.sec++;\n ...
[ "0.72712004", "0.69708663", "0.6891984", "0.6836799", "0.6808457", "0.680696", "0.67826074", "0.67217404", "0.67009455", "0.66859573", "0.6622295", "0.6612435", "0.65798414", "0.65784943", "0.65763676", "0.6574771", "0.65720516", "0.6541926", "0.6536474", "0.6509828", "0.6472...
0.0
-1
/ assume a complete input stream
private void debug(String s) { if (debug) System.out.println(s); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void processStreamInput() {\n }", "@Override\n\tpublic void read(InStream inStream) {\n\t}", "InputStream getDataStream();", "public abstract boolean canDecodeInput(BufferedInputStream stream) throws IOException;", "void read(final DataInputStream in) throws IOException {\n // This code is t...
[ "0.7290956", "0.7105609", "0.6629516", "0.6486352", "0.6452103", "0.6449522", "0.64197665", "0.63513905", "0.63070726", "0.63014543", "0.63014543", "0.63014543", "0.62597513", "0.62597513", "0.6255647", "0.62455684", "0.6211243", "0.620065", "0.61962104", "0.61876976", "0.617...
0.0
-1
TODO Autogenerated method stub
@Override public void run() { respond(); listen(); }
{ "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
NOTE for a discussion group followers are members
public Integer getFollowers() { if (getGroupType() == Group.DISCUSSION_KEY) { return getMemberCount(); } else { return followers; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void metFollower() {\n metFollowers++;\n }", "public Followers getFollowers() {\n return followers;\n }", "public void follow(int followerId, int followeeId) {\n\n }", "public void addToFollowedUsers(String followedUsers);", "public String getFollowers() {\n return followers;\n...
[ "0.677376", "0.6675716", "0.66304123", "0.6584495", "0.6582836", "0.6464789", "0.6350499", "0.63450587", "0.62966985", "0.6291083", "0.6286141", "0.6281229", "0.6263171", "0.6213689", "0.619528", "0.6136315", "0.6126873", "0.6121319", "0.61206007", "0.61084825", "0.610607", ...
0.6568427
5
NOTE for a discussion group followers are members
public Boolean isFollowing() { Integer groupType = getGroupType(); if (groupType != null && groupType == Group.DISCUSSION_KEY) { return isMember(); } else { return isFollowing; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void metFollower() {\n metFollowers++;\n }", "public Followers getFollowers() {\n return followers;\n }", "public void follow(int followerId, int followeeId) {\n\n }", "public void addToFollowedUsers(String followedUsers);", "public String getFollowers() {\n return followers;\n...
[ "0.677376", "0.6675716", "0.66304123", "0.6584495", "0.6582836", "0.6568427", "0.6464789", "0.6350499", "0.63450587", "0.62966985", "0.6291083", "0.6286141", "0.6281229", "0.6263171", "0.6213689", "0.619528", "0.6136315", "0.6126873", "0.6121319", "0.61206007", "0.61084825", ...
0.6099241
22
anim++; if (anim > 9999) anim = 0;
public void update() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateAnimation() {\n\t\tif (anim < 1000) {\n\t\t\tanim++;\n\t\t} else anim = 0;\n\t}", "private void idleAnimation(){\n timer++;\n if( timer > 4 ){\n setImage(loadTexture());\n animIndex++;\n timer= 0;\n if(animIndex > maxAnimIndex ){\n ...
[ "0.7608462", "0.7103758", "0.6625172", "0.6588189", "0.6558712", "0.65328205", "0.6382354", "0.6339463", "0.6332944", "0.630374", "0.6300714", "0.6255513", "0.625149", "0.6249328", "0.6235751", "0.6222183", "0.62019116", "0.61956376", "0.619547", "0.61928916", "0.6192335", ...
0.0
-1
DO NOT MODIFY THIS
public Player(String name) { this.name = name; // Maxnum = 0; special = 0; index = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void func_104112...
[ "0.6356579", "0.62645423", "0.62139237", "0.619229", "0.61598027", "0.61233497", "0.6116932", "0.6092031", "0.60851425", "0.6047324", "0.6047324", "0.59899783", "0.59500545", "0.5928273", "0.59234875", "0.58702064", "0.58558726", "0.58550787", "0.5853466", "0.58395135", "0.58...
0.0
-1
DO NOT MODIFY THIS
public String getName() { return this.name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void func_104112...
[ "0.6356579", "0.62645423", "0.62139237", "0.619229", "0.61598027", "0.61233497", "0.6116932", "0.6092031", "0.60851425", "0.6047324", "0.6047324", "0.59899783", "0.59500545", "0.5928273", "0.59234875", "0.58702064", "0.58558726", "0.58550787", "0.5853466", "0.58395135", "0.58...
0.0
-1
DO NOT MODIFY THIS
public void setCards(Card[] cards) { this.cards = cards; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void func_104112...
[ "0.6356579", "0.62645423", "0.62139237", "0.619229", "0.61598027", "0.61233497", "0.6116932", "0.6092031", "0.60851425", "0.6047324", "0.6047324", "0.59899783", "0.59500545", "0.5928273", "0.59234875", "0.58702064", "0.58558726", "0.58550787", "0.5853466", "0.58395135", "0.58...
0.0
-1
int pairnum = 0;
public void Pairs() { int pairsize = 0; int ind1 = 0; for(int i = 0; i < 5; i++){ // while(cards[i].getNumber() != pairnum){ for(int j = i+1; j < 5; j++) { if(cards[i].getFace().equals(cards[j].getFace())) { ind1 = i; if(pairsize < 3){ pairsize += 1; // paircounts += 1; } if(cards[i].compareTo(cards[ind1]) > 0){ // Maxpair = cards[i].getNumber(); index = i; } } } // } } if(pairsize == 1) Judge = 2; if(pairsize == 2) Judge = 3; if(pairsize == 3) Judge = 6; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumPairs()\n\t{\n\t\treturn pairs.size();\n\t}", "private int pairValue() {\n int pValue = 0;\n \n for (int i = 0; i < combos.length; i++) {\n if (combos[i].length == 2 && combos[i][0].charAt(0) == combos[i][1].charAt(0)) {\n pValue += 2;\n ...
[ "0.6878934", "0.62091553", "0.60927606", "0.5962648", "0.59573865", "0.5931112", "0.5928748", "0.591089", "0.5895358", "0.5888876", "0.58544844", "0.566908", "0.56407267", "0.562337", "0.5612619", "0.5596171", "0.5585961", "0.554624", "0.5519823", "0.55120313", "0.54950094", ...
0.6988908
0
Creates and returns a new Stopwatch object
public static Stopwatch getStopwatch(String id) { if (id == null) { logger.info("id is null"); throw new IllegalArgumentException("id is null"); } if (id.isEmpty()) { logger.info("id is empty"); throw new IllegalArgumentException("id is empty"); } if (stopwatchMap.containsKey(id)) { logger.info("id is already taken"); throw new IllegalArgumentException("id is already taken"); } synchronized (lock) { final Stopwatch stopwatch = new StopwatchImpl(id); stopwatchMap.put(id, stopwatch); logger.info("Created new stopwatch: " + id); return stopwatch; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StopWatch() {\n }", "public interface Stopwatch {\n\n /** Mark the start time. */\n void start();\n\n /** Mark the end time. */\n void stop();\n\n /** Reset the stopwatch so that it can be used again. */\n void reset();\n\n /** Returns the duration in the specified time unit. *...
[ "0.7248647", "0.67722905", "0.6726164", "0.65338844", "0.63577574", "0.6248568", "0.6152319", "0.59904665", "0.5950838", "0.5857835", "0.5855284", "0.58466107", "0.58055985", "0.57870936", "0.5775024", "0.574383", "0.573303", "0.5691167", "0.56903964", "0.5687201", "0.5682044...
0.6587541
3
Returns a list of all created stopwatches
public static List<Stopwatch> getStopwatches() { synchronized (lock) { final List<Stopwatch> stopwatchList = new ArrayList<Stopwatch>(stopwatchMap.values()); return stopwatchList; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NonNull\n public List<Swatch> getSwatches() {\n return Collections.unmodifiableList(mSwatches);\n }", "public List<WatchRecord> getWatchList() throws Exception {\r\n List<WatchRecord> watchList = new Vector<WatchRecord>();\r\n List<WatchRecordXML> chilluns = this.getChildren(\"watch\...
[ "0.64785606", "0.61937386", "0.61155885", "0.6008245", "0.5961535", "0.58428603", "0.575698", "0.55515206", "0.54817474", "0.5405839", "0.53684586", "0.5275579", "0.5242566", "0.5158634", "0.5158314", "0.51328135", "0.5115917", "0.5104432", "0.50998634", "0.5096551", "0.50859...
0.7940721
0
Creates new form rumahSakit
public rumahSakit() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }", "public tambahtoko() {\n initComponents();\n tampilkan();\n form_awal();\n }", "@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, ...
[ "0.63815135", "0.6344696", "0.63037866", "0.62579346", "0.61300397", "0.61088115", "0.6086701", "0.6080209", "0.6012039", "0.59935886", "0.599058", "0.5940737", "0.5929978", "0.5910936", "0.59040064", "0.58954", "0.5860694", "0.5859152", "0.5828531", "0.582043", "0.58188766",...
0.56738895
30
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { buttonGroup1 = new javax.swing.ButtonGroup(); jPanel1 = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jPanel4 = new javax.swing.JPanel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); txtTL = new javax.swing.JTextField(); txtNama = new javax.swing.JTextField(); txtUsia = new javax.swing.JTextField(); jRadioButton1 = new javax.swing.JRadioButton(); jRadioButton2 = new javax.swing.JRadioButton(); jLabel15 = new javax.swing.JLabel(); jLabel16 = new javax.swing.JLabel(); jLabel17 = new javax.swing.JLabel(); jLabel18 = new javax.swing.JLabel(); jScrollPane2 = new javax.swing.JScrollPane(); jLDiagnosa = new javax.swing.JList<>(); cmbRuangan = new javax.swing.JComboBox<>(); txtTglMasuk = new javax.swing.JTextField(); cmbDokter = new javax.swing.JComboBox<>(); jLabel2 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jLabel9 = new javax.swing.JLabel(); jPanel5 = new javax.swing.JPanel(); Keluar = new javax.swing.JButton(); jPanel6 = new javax.swing.JPanel(); Simpan = new javax.swing.JButton(); tambah = new javax.swing.JButton(); jScrollPane3 = new javax.swing.JScrollPane(); jtData = new javax.swing.JTable(); jPanel7 = new javax.swing.JPanel(); txtCari = new javax.swing.JTextField(); comboCari = new javax.swing.JComboBox<>(); jLabel8 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); addComponentListener(new java.awt.event.ComponentAdapter() { public void componentShown(java.awt.event.ComponentEvent evt) { formComponentShown(evt); } }); jPanel1.setBackground(new java.awt.Color(102, 153, 0)); jPanel2.setBackground(new java.awt.Color(255, 255, 255)); jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 0), 3)); jLabel1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N jLabel1.setForeground(new java.awt.Color(153, 204, 0)); jLabel1.setText("FORM PASIEN RUMAH SAKIT"); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel1) .addGap(179, 179, 179)) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel1) .addContainerGap()) ); jPanel4.setBackground(new java.awt.Color(255, 255, 255)); jPanel4.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 0), 3)); jLabel3.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel3.setText("Nama"); jLabel4.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel4.setText("Tgl Lahir"); jLabel5.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel5.setText("Usia"); jLabel6.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel6.setText("Jenis Kelamin"); txtTL.setBackground(new java.awt.Color(204, 255, 153)); txtTL.setToolTipText("format penulisan tanggal :\n2017-04-10"); txtTL.setEnabled(false); txtTL.addCaretListener(new javax.swing.event.CaretListener() { public void caretUpdate(javax.swing.event.CaretEvent evt) { txtTLCaretUpdate(evt); } }); txtNama.setBackground(new java.awt.Color(204, 255, 153)); txtNama.setEnabled(false); txtNama.addCaretListener(new javax.swing.event.CaretListener() { public void caretUpdate(javax.swing.event.CaretEvent evt) { txtNamaCaretUpdate(evt); } }); txtUsia.setBackground(new java.awt.Color(204, 255, 153)); txtUsia.setEnabled(false); txtUsia.addCaretListener(new javax.swing.event.CaretListener() { public void caretUpdate(javax.swing.event.CaretEvent evt) { txtUsiaCaretUpdate(evt); } }); txtUsia.addKeyListener(new java.awt.event.KeyAdapter() { public void keyTyped(java.awt.event.KeyEvent evt) { txtUsiaKeyTyped(evt); } }); buttonGroup1.add(jRadioButton1); jRadioButton1.setText("L"); jRadioButton1.setToolTipText("Laki-Laki"); jRadioButton1.setEnabled(false); buttonGroup1.add(jRadioButton2); jRadioButton2.setText("P"); jRadioButton2.setToolTipText("Perempuan\n"); jRadioButton2.setEnabled(false); jLabel15.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel15.setText("Diagnosa"); jLabel16.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel16.setText("Dokter"); jLabel17.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel17.setText("Ruangan"); jLabel18.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel18.setText("Tgl Masuk"); jLDiagnosa.setBackground(new java.awt.Color(204, 255, 153)); jLDiagnosa.setModel(new javax.swing.AbstractListModel<String>() { String[] strings = { "Kanker ", "TBC", "Alergi", "Tumor", "Miopi", "Diabetes Melitus", "Asam Urat", "Demam", "Diare", "Sakit Hati", "Galau", "Sakit Gigi" }; public int getSize() { return strings.length; } public String getElementAt(int i) { return strings[i]; } }); jLDiagnosa.setEnabled(false); jScrollPane2.setViewportView(jLDiagnosa); cmbRuangan.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Poly Pulmonary", "Poly Bedah", "Poly Fisioterapi", "Poly Kulit & Kelamin", "Poly Radiologi" })); cmbRuangan.setEnabled(false); txtTglMasuk.setBackground(new java.awt.Color(204, 255, 153)); txtTglMasuk.setToolTipText("format penulisan tanggal :\n2017-04-10"); txtTglMasuk.setEnabled(false); txtTglMasuk.addCaretListener(new javax.swing.event.CaretListener() { public void caretUpdate(javax.swing.event.CaretEvent evt) { txtTglMasukCaretUpdate(evt); } }); cmbDokter.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "dr. Gatot C. Sasmita, SpP ", "dr. Saharawati Mahmudin, SpP ", "dr. Satrio Tjondro, SpRM ", "dr. A. Kosasi, SpKK ", "dr. Ade Indrawan I, SpRad" })); cmbDokter.setEnabled(false); jLabel2.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N jLabel2.setForeground(new java.awt.Color(255, 0, 0)); jLabel2.setText("* Format YYYY-MM-DD"); jLabel7.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N jLabel7.setForeground(new java.awt.Color(255, 0, 0)); jLabel7.setText("* Format YYYY-MM-DD"); jLabel9.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N jLabel9.setText("Tahun"); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addGroup(jPanel4Layout.createSequentialGroup() .addComponent(jLabel6) .addGap(18, 18, 18) .addComponent(jRadioButton1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jRadioButton2)) .addGroup(jPanel4Layout.createSequentialGroup() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addComponent(jLabel3)) .addGap(39, 39, 39) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(jPanel4Layout.createSequentialGroup() .addComponent(txtUsia, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel9)) .addComponent(txtNama) .addComponent(txtTL, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addGap(18, 18, 18) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel15) .addComponent(jLabel17) .addComponent(jLabel18) .addComponent(jLabel16)) .addGap(33, 33, 33) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(cmbDokter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(txtTglMasuk) .addGroup(jPanel4Layout.createSequentialGroup() .addComponent(cmbRuangan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 119, Short.MAX_VALUE)) .addComponent(jScrollPane2)) .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(61, Short.MAX_VALUE)) ); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(txtNama, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(txtTL, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(4, 4, 4) .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel5) .addComponent(txtUsia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel9)) .addGap(18, 18, 18) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel6) .addComponent(jRadioButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jRadioButton2)) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(jPanel4Layout.createSequentialGroup() .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel15) .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel16) .addComponent(cmbDokter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(9, 9, 9) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel17) .addComponent(cmbRuangan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(15, 15, 15) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel18) .addComponent(txtTglMasuk, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel7))) .addContainerGap()) ); jPanel5.setBackground(new java.awt.Color(255, 255, 255)); jPanel5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 0), 3)); Keluar.setBackground(new java.awt.Color(153, 204, 0)); Keluar.setText("Keluar"); Keluar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { KeluarActionPerformed(evt); } }); javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(Keluar) .addContainerGap()) ); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(Keluar) .addContainerGap()) ); jPanel6.setBackground(new java.awt.Color(255, 255, 255)); jPanel6.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 0), 3)); Simpan.setBackground(new java.awt.Color(153, 204, 0)); Simpan.setText("Simpan"); Simpan.setEnabled(false); Simpan.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { SimpanActionPerformed(evt); } }); tambah.setBackground(new java.awt.Color(153, 204, 0)); tambah.setText("Tambah"); tambah.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { tambahActionPerformed(evt); } }); javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6); jPanel6.setLayout(jPanel6Layout); jPanel6Layout.setHorizontalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel6Layout.createSequentialGroup() .addGap(21, 21, 21) .addComponent(tambah) .addGap(18, 18, 18) .addComponent(Simpan) .addContainerGap(25, Short.MAX_VALUE)) ); jPanel6Layout.setVerticalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(Simpan) .addComponent(tambah)) .addContainerGap()) ); jtData.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null, null, null, null, null}, {null, null, null, null, null, null, null, null}, {null, null, null, null, null, null, null, null}, {null, null, null, null, null, null, null, null} }, new String [] { "Nama", "Tgl Lahir", "Usia", "Jenis Kelamin", "Diagnosa", "Dokter", "Ruangan", "Tgl Masuk" } )); jtData.setEnabled(false); jScrollPane3.setViewportView(jtData); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 255, 255), 3), "Pencarian", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14), new java.awt.Color(255, 255, 255))); // NOI18N jPanel7.setOpaque(false); txtCari.setBackground(new java.awt.Color(204, 255, 153)); txtCari.setToolTipText("Pencarian berdasarkan nama Pasien/Dokter"); txtCari.setEnabled(false); txtCari.addKeyListener(new java.awt.event.KeyAdapter() { public void keyTyped(java.awt.event.KeyEvent evt) { txtCariKeyTyped(evt); } }); comboCari.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "nama_pasien", "dokter" })); comboCari.setEnabled(false); jLabel8.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N jLabel8.setForeground(new java.awt.Color(255, 255, 255)); jLabel8.setText("by :"); javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup( jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup() .addComponent(txtCari, javax.swing.GroupLayout.PREFERRED_SIZE, 358, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jLabel8) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(comboCari, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel7Layout.setVerticalGroup( jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel7Layout.createSequentialGroup() .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(txtCari, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(comboCari, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel8)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane3) .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE) .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); pack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73195183", "0.7290407", "0.7290407", "0.7290407", "0.72855854", "0.7248445", "0.7213232", "0.72084314", "0.7195551", "0.71902007", "0.71835697", "0.7158979", "0.71473545", "0.70928645", "0.70807934", "0.70575565", "0.6987147", "0.6976941", "0.69544566", "0.69541115", "0.69...
0.0
-1
Check which request we're responding to
protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == GALLERY_INTETN && resultCode==RESULT_OK) { dialog.setMessage("Uploading"); dialog.show(); Uri uri= data.getData(); StorageReference filepath= mStorage.child("volunteer_aadhar_pic").child(uri.getLastPathSegment()); try { compressed = MediaStore.Images.Media.getBitmap(ApplyAsVolunteer.this.getContentResolver(), uri); } catch (IOException e) { e.printStackTrace(); } ByteArrayOutputStream baos = new ByteArrayOutputStream(); compressed.compress(Bitmap.CompressFormat.JPEG, 30, baos); byte[] cimg = baos.toByteArray(); filepath.putBytes(cimg).addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() { @Override public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) { path = taskSnapshot.getDownloadUrl(); //accountref = FirebaseDatabase.getInstance().getReference().child("user_details").child(auth.getUid()); //accountref.child("userImgUrl").setValue(String.valueOf(path)); Toast.makeText(ApplyAsVolunteer.this, "Document uploaded", Toast.LENGTH_LONG).show(); //finish(); //startActivity(getIntent()); afterText.setVisibility(View.VISIBLE); clicksubmit.setVisibility(View.GONE); dialog.dismiss(); } }); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isAppropriateRequest(Request request);", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "boolean hasRequest();", "bool...
[ "0.7172721", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.7070074", "0.6552328", "0.6549139", "0.6549139", "0.6549139", "0.65356266", "0.65148705", "0.65148705", "0.6458744", "0.6406288", "0.63191277",...
0.0
-1
Generates the kernel from the specified values
public static double[][] gaussianFunction(int size_x, int size_y, double sigma) { double[][] kernel; int center_x = size_x/2; int center_y = size_y/2; kernel = new double[size_y][size_x]; for (int y=0; y<size_y; y++) { for (int x=0; x<size_x; x++) { double tmp_x = (double)((x - center_x) * (x - center_x)) / (2 * sigma * sigma); double tmp_y = (double)((y - center_y) * (y - center_y)) / (2 * sigma * sigma); kernel[y][x] = 1.0 / (2 * Math.PI * sigma * sigma) * Math.exp(-(tmp_x + tmp_y)); } } return kernel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double Generate(double[] par);", "private void multiply(float... values) {\n buffer(() -> {\n try (Pooled<Matrix4F> mat = Matrix4F.of(values)) {\n kernel.get().multiply(mat.get());\n }\n trans.set(kernel.get().asArray());\n });\n }", "priv...
[ "0.5443299", "0.5392206", "0.5262114", "0.52487326", "0.5226256", "0.51882154", "0.50916815", "0.5063808", "0.5060561", "0.5030512", "0.5027551", "0.5011943", "0.5008703", "0.4982979", "0.4936276", "0.492294", "0.49006325", "0.48717177", "0.48670205", "0.4859909", "0.4846636"...
0.0
-1
/ Record for every new level
public void recordGameScores(String gold, String lives, String level) throws IOException{ String endpoint = "recordscore"; URL url = new URL(baseURL + endpoint); String json = "{\"gold\": \"" + gold + "\",\"lives\":\""+lives+"\",\"level\":\""+level+"\"}"; String response = executeRequest(url, json, true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addLevel()\r\n {\r\n tables.addFirst( new HashMap<String,T>() );\r\n counts.addFirst( 0 );\r\n }", "void createNewLevel(int level);", "private void increaseLevel(boolean list)\n\t{\n\t\tlevel++;\n\n\t\tif(hasData.length == level)\n\t\t{\n\t\t\t// Grow lists when needed\n\t\t\tha...
[ "0.72531426", "0.66599184", "0.6213527", "0.61827344", "0.6174899", "0.61246705", "0.6123786", "0.60333216", "0.6032266", "0.60009956", "0.59588474", "0.5914411", "0.5903081", "0.5898619", "0.58955765", "0.58955765", "0.5878987", "0.5873693", "0.5858218", "0.5858218", "0.5856...
0.0
-1
/ Record for every new level
public void logScore(String score) throws IOException{ String endpoint = "logScore"; URL url = new URL(baseURL + endpoint); String json = "{\"score\": \"" + score + "\"}"; String response = executeRequest(url, json, true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addLevel()\r\n {\r\n tables.addFirst( new HashMap<String,T>() );\r\n counts.addFirst( 0 );\r\n }", "void createNewLevel(int level);", "private void increaseLevel(boolean list)\n\t{\n\t\tlevel++;\n\n\t\tif(hasData.length == level)\n\t\t{\n\t\t\t// Grow lists when needed\n\t\t\tha...
[ "0.72531426", "0.66599184", "0.6213527", "0.61827344", "0.6174899", "0.61246705", "0.6123786", "0.60333216", "0.6032266", "0.60009956", "0.59588474", "0.5914411", "0.5903081", "0.5898619", "0.58955765", "0.58955765", "0.5878987", "0.5873693", "0.5858218", "0.5858218", "0.5856...
0.0
-1
/ Updated game score within the level
public void updateGameScores(String field, String level, String value) throws IOException{ //System.out.println("Update game scores: "+field+": "+value); String endpoint = "updatescore"; URL url = new URL(baseURL + endpoint); String json = "{\"updated_field\": \"" + field + "\",\"value\":\""+value+"\",\"level\":[\""+level+"\"]}"; //System.out.println("UPDATE JSON: "+json); String response = executeRequest(url, json, true); //System.out.println(response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateScore(int score){ bot.updateScore(score); }", "public void updateScore() {\n\n Main.rw.readFile();\n setScore(Main.rw.getStackInfo());\n\n\n }", "public void updatePlayerScore()\n\t{\n\t\tthis.score = (int)(getBalance() - 500) - (getNumberOfLoans()*500); \n\t}", "private vo...
[ "0.8227967", "0.7914071", "0.790967", "0.78044283", "0.76453084", "0.76396704", "0.7517743", "0.74484795", "0.740412", "0.7363208", "0.72864246", "0.7267524", "0.7253804", "0.7249709", "0.71885", "0.71729565", "0.71612316", "0.7141828", "0.7140618", "0.7139166", "0.7138487", ...
0.74763405
7
executeRequest executes the actual API call
private String executeRequest(URL url, String json, boolean post) throws IOException{ URLConnection urlConnection = url.openConnection(); urlConnection.setDoOutput(post); //false if post urlConnection.setRequestProperty("Content-Type", "application/json; charset=utf-8"); urlConnection.connect(); OutputStream outputStream = urlConnection.getOutputStream(); outputStream.write((json).getBytes("UTF-8")); outputStream.flush(); //Get Response InputStream in = urlConnection.getInputStream(); BufferedReader rd = new BufferedReader(new InputStreamReader(in)); String line; StringBuffer response = new StringBuffer(); while((line = rd.readLine()) != null) { response.append(line); response.append('\r'); } rd.close(); return response.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Api(1.1)\n public Response execute() throws HaloNetException {\n return mBuilder.mClient.request(mRequest);\n }", "ServiceResponse execute(RequestParameters request);", "public IOgcResponse executeRequest(Map<String, String> params);", "private synchronized String execute(final HttpUriRequest r...
[ "0.72849774", "0.7009365", "0.6921353", "0.66722125", "0.6566413", "0.65541214", "0.6331739", "0.6298758", "0.6295652", "0.6204661", "0.61688524", "0.61267596", "0.6084473", "0.60716516", "0.6023168", "0.6022222", "0.59865826", "0.5961529", "0.59587085", "0.5952305", "0.59451...
0.0
-1
Class implmentation comments go here ... package interface Constructor documentation comments go here ...
POMDPAssetDimensionModel( AssetTypeDimensionModel dim_model ) throws BelievabilityException { if ( dim_model == null ) throw new BelievabilityException ( "POMDPAssetDimensionModel.POMDPAssetDimensionModel()", "Asset model is NULL" ); this._asset_dim_model = dim_model; if ( _logger.isDetailEnabled() ) _logger.detail( "\tCreating POMDP model for dimension: " + _asset_dim_model.getStateDimensionName( ) ); createInitialBeliefState(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "public Implementor(){}", "public SgaexpedbultoImpl()\n {\n }", "public OOP_207(){\n\n }", "public ItsNatImpl()\r\n {\r\n }", "public PSRelation()\n {\n }", "public CyanSus() {\n\n }", "private Solution() {\n ...
[ "0.76188344", "0.74455243", "0.71884865", "0.7164969", "0.7114507", "0.70670193", "0.70219326", "0.6980237", "0.6884006", "0.6866421", "0.6846725", "0.6846212", "0.68450195", "0.6826579", "0.68149173", "0.68093354", "0.6788064", "0.6784218", "0.6775639", "0.6773358", "0.67701...
0.0
-1
constructor POMDPAssetDimensionModel Simple accessors
BeliefStateDimension getInitialBeliefState() { return _initial_belief; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Dimension_Dimension createDimension_Dimension();", "public ScaleRuleMetricDimension() {\n }", "Dimension createDimension();", "DimensionInner innerModel();", "public CwmDimensionedObject createCwmDimensionedObject();", "POMDPAssetDimensionModel( AssetTypeDimensionModel dim_model )\n throws ...
[ "0.68028563", "0.66163355", "0.6577008", "0.6400066", "0.6374505", "0.6279968", "0.6145853", "0.6090917", "0.6065678", "0.6037232", "0.5970412", "0.58524245", "0.5846802", "0.581927", "0.5798026", "0.57795644", "0.577007", "0.577007", "0.5735847", "0.571851", "0.56416744", ...
0.0
-1
Constructs the initial belief state for this asset type.
void createInitialBeliefState( ) throws BelievabilityException { if ( _asset_dim_model == null ) throw new BelievabilityException ( "POMDPAssetDimensionModel.createInitialBeliefState()", "Asset model is NULL" ); if ( _logger.isDetailEnabled() ) _logger.detail( "\tCreating POMDP iinitial belief for dimension: " + _asset_dim_model.getStateDimensionName( ) ); int num_vals = _asset_dim_model.getNumStateDimValues( ); if ( num_vals < 0 ) throw new BelievabilityException ( "POMDPAssetDimensionModel.createInitialBeliefState()", "Asset model returning zero values: " + _asset_dim_model.getStateDimensionName( ) ); double[] belief_prob = new double[num_vals]; int default_idx = _asset_dim_model.getDefaultStateIndex( ); if ( default_idx < 0 ) throw new BelievabilityException ( "POMDPAssetDimensionModel.createInitialBeliefState()", "Asset model returning invalid default value: " + _asset_dim_model.getStateDimensionName( ) ); // We assume that each asset state dimension starts off // deterministically in a single possible state value. // belief_prob[default_idx] = 1.0; _initial_belief = new BeliefStateDimension( _asset_dim_model, belief_prob, null ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BeliefStateDimension getInitialBeliefState() \n {\n return _initial_belief; \n }", "@Deprecated(\n since = \"forever\",\n forRemoval = false\n )\n public static void initStates() {\n Block.JUNGLE_STAIRS.addBlockAlternative(new BlockAlternative((short) 5568, \"facin...
[ "0.70375735", "0.5780741", "0.57237923", "0.5709971", "0.56793535", "0.565612", "0.5648655", "0.5606368", "0.55841625", "0.55668664", "0.5563021", "0.5553743", "0.553831", "0.55252045", "0.5520739", "0.5492917", "0.54547375", "0.54496", "0.54321194", "0.5417561", "0.535641", ...
0.7746904
0
method createInitialBeliefState Used to update the belief state using the given elapsed time. i.e., just factor in the state transitions due to threats over this time. This returns exact results if there are less than 4 threats and approximate results otherwise.
void updateBeliefStateThreatTrans( BeliefStateDimension prev_belief, long start_time, long end_time, BeliefStateDimension next_belief ) throws BelievabilityException { // The updating of the belief state due to threats is a // relatively complicated process. The complication comes // from the fact that we must allow multiple threats to cause // the same event, and even allow multiple events to affect // the state dimension of an asset. We have models for how // the threats and events act individually, but no models // about how they act in combination. Our job here is trying // to estimate what effect these threats and events could have // on the asset state dimension. (Note that threats cause // events in the techspec model. // // Note that making a simplifying asumption that only one // event will occur at a time does not help us in this // computation: we are not trying to adjust after the fact // when we *know* an event occurred; we are trying to deduce // which of any number of events might have occurred. Thus, // we really do need to reason about combinations of events. // // The prospect of having the techspec encode the full joint // probability distributions for a events is not something // that will be managable, so we must live with the individual // models and make some assumptions. At the heart of the // assumption sare that threats that can generate a given // event will do so independently, and among multiple events, // they too act independently. // // Details of the calculations and assumptions are found in // the parts of the code where the calculations occur. // // All the complications of handling multiple threats happens // in this method call. // double[][] trans_matrix = _asset_dim_model.getThreatTransitionMatrix ( prev_belief.getAssetID(), start_time, end_time ); if ( _logger.isDetailEnabled() ) _logger.detail( "Threat transition matrix: " + _asset_dim_model.getStateDimensionName() + "\n" + ProbabilityUtils.arrayToString( trans_matrix )); double[] prev_belief_prob = prev_belief.getProbabilityArray(); double[] next_belief_prob = new double[prev_belief_prob.length]; // The event transition matrix will model how the asset state // transitions occur. We now need to fold this into the // current belief sate to produce the next belief state. // for ( int cur_state = 0; cur_state < prev_belief_prob.length; cur_state++ ) { for ( int next_state = 0; next_state < prev_belief_prob.length; next_state++ ) { next_belief_prob[next_state] += prev_belief_prob[cur_state] * trans_matrix[cur_state][next_state]; } // for next_state } // for cur_state // We do this before the sanity check, but maybe this isn't // the right thing to do. For now, it allows me to more easily // convert it to a string in the case where there is a // problem. // next_belief.setProbabilityArray( next_belief_prob ); // Add a sanity check to prevent bogus belief from being // propogated to other computations. // double sum = 0.0; for ( int i = 0; i < next_belief_prob.length; i++ ) sum += next_belief_prob[i]; if( ! Precision.isZeroComputation( 1.0 - sum )) throw new BelievabilityException ( "updateBeliefStateThreatTrans()", "Resulting belief doesn't sum to 1.0 : " + next_belief.toString() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createInitialBeliefState( )\n throws BelievabilityException\n {\n if ( _asset_dim_model == null )\n throw new BelievabilityException\n ( \"POMDPAssetDimensionModel.createInitialBeliefState()\",\n \"Asset model is NULL\" );\n \n ...
[ "0.6240206", "0.55958843", "0.5431668", "0.5427341", "0.54044396", "0.52355814", "0.51751256", "0.5141828", "0.51067215", "0.509274", "0.5069529", "0.50115305", "0.49298108", "0.48487484", "0.48430207", "0.48339808", "0.48331496", "0.4827097", "0.48255253", "0.47980514", "0.4...
0.5331793
5
method updateBeliefStateThreatTrans Used to update the belief state using the given elapsed time. i.e., just factor in the state transitions over this time. Will use action and threat effects to determine new belief state.
void updateBeliefStateActionTrans( BeliefStateDimension prev_belief, BelievabilityAction action, BeliefStateDimension next_belief ) throws BelievabilityException { if (( prev_belief == null ) || ( action == null ) || ( next_belief == null )) throw new BelievabilityException ( "updateBeliefStateActionTrans()", "NULL parameter(s) sent in." ); // If the action does not pertain to this state dimension // (shouldn't happen), then we assume the state remains // unchanged (identiy matrix). Note that we copy the // probability values from prev_belief to next_belief, even // though the next_belief likely starts out as a clone of the // prev_belief. We do this because we were afraid of assuming // it starts out as a clone, as this would make this more // tightly coupled with the specific implmentation that calls // this method. Only if this becomes a performance problem // should this be revisited. // double[] prev_belief_prob = prev_belief.getProbabilityArray(); double[] next_belief_prob = new double[prev_belief_prob.length]; // The action transition matrix will model how the asset state // change will happen when the action is taken.. // double[][] action_trans = _asset_dim_model.getActionTransitionMatrix( action ); if ( _logger.isDetailEnabled() ) _logger.detail( "Action transition matrix: " + _asset_dim_model.getStateDimensionName() + "\n" + ProbabilityUtils.arrayToString( action_trans )); // We check this, but it really should never be null. // if ( action_trans == null ) throw new BelievabilityException ( "updateBeliefStateActionTrans()", "Could not find action transition matrix for: " + prev_belief.getAssetID().getName() ); // Start the probability calculation // for ( int cur_state = 0; cur_state < prev_belief_prob.length; cur_state++ ) { for ( int next_state = 0; next_state < prev_belief_prob.length; next_state++ ) { next_belief_prob[next_state] += prev_belief_prob[cur_state] * action_trans[cur_state][next_state]; } // for next_state } // for cur_state // We do this before the sanity check, but maybe this isn't // the right thing to do. For now, it allows me to more easily // convert it to a string in the case where there is a // problem. // next_belief.setProbabilityArray( next_belief_prob ); // Add a sanity check to prevent bogus belief from being // propogated to other computations. // double sum = 0.0; for ( int i = 0; i < next_belief_prob.length; i++ ) sum += next_belief_prob[i]; if( ! Precision.isZeroComputation( 1.0 - sum )) throw new BelievabilityException ( "updateBeliefStateActionTrans()", "Resulting belief doesn't sum to 1.0 : " + next_belief.toString() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateBeliefStateThreatTrans( BeliefStateDimension prev_belief,\n long start_time,\n long end_time,\n BeliefStateDimension next_belief )\n throws BelievabilityException\n {\n\n ...
[ "0.7454916", "0.54459643", "0.5242339", "0.51978403", "0.5176378", "0.51578265", "0.51499367", "0.5124286", "0.50910723", "0.50454724", "0.5006852", "0.4985377", "0.4948962", "0.49351317", "0.4912", "0.48886618", "0.48388675", "0.48291358", "0.4825638", "0.48230675", "0.48137...
0.5310558
2
method updateBeliefStateActionTrans Used to update the belief state using the given diagnosis value. i.e., just factor in the observation made.
void updateBeliefStateDiagnosisObs( BeliefStateDimension prev_belief, DiagnosisTrigger diagnosis, BeliefStateDimension next_belief ) throws BelievabilityException { if (( prev_belief == null ) || ( diagnosis == null ) || ( next_belief == null )) throw new BelievabilityException ( "updateBeliefStateDiagnosisObs()", "NULL parameter(s) sent in." ); double denom = 0.0; String diagnosis_value = diagnosis.getSensorValue(); double[] prev_belief_prob = prev_belief.getProbabilityArray(); double[] next_belief_prob = new double[prev_belief_prob.length]; if ( _logger.isDebugEnabled() ) _logger.debug( "Updating belief given sensor '" + diagnosis.getSensorName() + "' has sensed '" + diagnosis_value + "'"); SensorTypeModel sensor_model = _asset_dim_model.getSensorTypeModel ( diagnosis.getSensorName() ); if ( sensor_model == null ) throw new BelievabilityException ( "updateBeliefStateDiagnosisObs()", "Cannot find sensor model for: " + diagnosis.getSensorName() ); // This 'obs_prob' is a matrix of conditional probabilities of // an observation (i.e., diagnosis) given an asset state. The // first index is the observation and the second is the state. // double[][] obs_prob = sensor_model.getObservationProbabilityArray(); if ( _logger.isDetailEnabled() ) _logger.detail( "Observation probabilities: " + _asset_dim_model.getStateDimensionName() + "\n" + ProbabilityUtils.arrayToString( obs_prob )); int obs_idx = sensor_model.getObsNameIndex( diagnosis_value ); if ( obs_idx < 0 ) throw new BelievabilityException ( "updateBeliefStateDiagnosisObs()", "Diagnosis value '" + diagnosis_value + "' not found. " + diagnosis.toString() ); if ( _logger.isDetailEnabled() ) _logger.detail( "Pre-update: " + ProbabilityUtils.arrayToString( prev_belief_prob )); for ( int state = 0; state < prev_belief_prob.length; state++ ) { next_belief_prob[state] = prev_belief_prob[state] * obs_prob[state][obs_idx]; denom += next_belief_prob[state]; } // for state if ( _logger.isDetailEnabled() ) _logger.detail( "Pre-normalization: " + ProbabilityUtils.arrayToString( next_belief_prob )); // Here we choose to ignore impossible observations, though we // will give a warning. We do not want to completely abort // this operation, since the previous belief state will more // than likely have some threat transition information in it. // Thus, we choose to leave the belief state as is, which is // why we simply copy the arrays over. // if( Precision.isZeroComputation( denom )) { if ( _logger.isWarnEnabled() ) _logger.warn( "updateBeliefStateDiagnosisObs(): " + "Diagnosis is not possible. i.e., Pr(" + diagnosis_value + ") = 0.0. Ignoring diagnosis."); next_belief.setProbabilityArray ( prev_belief.getProbabilityArray()); return; } // if found an impossible observation for( int i = 0; i < next_belief_prob.length; i++ ) next_belief_prob[i] /= denom; if ( _logger.isDetailEnabled() ) _logger.detail( "Post-normalization: " + ProbabilityUtils.arrayToString( next_belief_prob )); next_belief.setProbabilityArray( next_belief_prob ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateBeliefStateActionTrans( BeliefStateDimension prev_belief,\n BelievabilityAction action,\n BeliefStateDimension next_belief )\n throws BelievabilityException\n {\n if (( prev_belief == null )\n || ...
[ "0.6457819", "0.55646473", "0.55393726", "0.55004853", "0.5469949", "0.54373395", "0.5432261", "0.53448623", "0.524697", "0.5206014", "0.51979446", "0.5185603", "0.514749", "0.51335067", "0.5123638", "0.50987315", "0.5043586", "0.501458", "0.49816215", "0.49684522", "0.495032...
0.61143136
1
method updateBeliefStateDiagnosisObs Used to update the belief state using the given diagnosis value. i.e., just factor in the observation made.
void updateBeliefStateTrigger( BeliefStateDimension prev_belief, BeliefUpdateTrigger trigger, BeliefStateDimension next_belief ) throws BelievabilityException { if (( prev_belief == null ) || ( trigger == null ) || ( next_belief == null )) throw new BelievabilityException ( "updateBeliefStateTrigger()", "NULL parameter(s) sent in." ); if ( trigger instanceof DiagnosisTrigger ) updateBeliefStateDiagnosisObs( prev_belief, (DiagnosisTrigger) trigger, next_belief ); else if ( trigger instanceof BelievabilityAction) updateBeliefStateActionTrans( prev_belief, (BelievabilityAction) trigger, next_belief ); else throw new BelievabilityException ( "updateBeliefStateTrigger()", "Unknown BeliefUpdateTrigger subclass: " + trigger.getClass().getName() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateBeliefStateDiagnosisObs( BeliefStateDimension prev_belief,\n DiagnosisTrigger diagnosis,\n BeliefStateDimension next_belief )\n throws BelievabilityException\n {\n if (( prev_belief == null )\n ...
[ "0.71097374", "0.5760754", "0.5375978", "0.53088075", "0.52562004", "0.5135327", "0.5064946", "0.5040757", "0.49489105", "0.4941933", "0.49397278", "0.4877017", "0.47775945", "0.47606477", "0.47546825", "0.47544283", "0.47410116", "0.4729744", "0.4717099", "0.47142333", "0.47...
0.4536134
41
method updateBeliefStateTrigger Constructs a random belief state for this asset type.
BeliefStateDimension getRandomBeliefState( ) throws BelievabilityException { if ( _asset_dim_model == null ) throw new BelievabilityException ( "POMDPAssetDimensionModel.getRandomBeliefState()", "Asset type dimension model is NULL" ); if ( _logger.isDetailEnabled() ) _logger.detail( "\tCreating POMDP random belief for dimension: " + _asset_dim_model.getStateDimensionName( ) ); int num_vals = _asset_dim_model.getNumStateDimValues( ); if ( num_vals < 0 ) throw new BelievabilityException ( "POMDPAssetDimensionModel.getRandomBeliefState()", "Asset dimension model returning zero values: " + _asset_dim_model.getStateDimensionName() ); double[] belief_prob = new double[num_vals]; ProbabilityUtils.setRandomDistribution( belief_prob ); return new BeliefStateDimension( _asset_dim_model, belief_prob, null ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createInitialBeliefState( )\n throws BelievabilityException\n {\n if ( _asset_dim_model == null )\n throw new BelievabilityException\n ( \"POMDPAssetDimensionModel.createInitialBeliefState()\",\n \"Asset model is NULL\" );\n \n ...
[ "0.61673534", "0.59112245", "0.5873403", "0.58066493", "0.5557976", "0.5358133", "0.5218199", "0.51951265", "0.5121934", "0.5099113", "0.49779728", "0.49403042", "0.49398005", "0.489551", "0.48603687", "0.48024076", "0.47855523", "0.4769851", "0.47695193", "0.4766658", "0.476...
0.6637009
0
method getRandomBeliefState Constructs a unifmrm probability s\distribution belief state for this asset type state dimension.
BeliefStateDimension getUniformBeliefState( ) throws BelievabilityException { if ( _asset_dim_model == null ) throw new BelievabilityException ( "POMDPAssetDimensionModel.getUniformBeliefState()", "Asset type dimension model is NULL" ); if ( _logger.isDetailEnabled() ) _logger.detail( "\tCreating POMDP uniform belief for dimension: " + _asset_dim_model.getStateDimensionName( ) ); int num_vals = _asset_dim_model.getNumStateDimValues( ); if ( num_vals < 0 ) throw new BelievabilityException ( "POMDPAssetDimensionModel.getUniformBeliefState()", "Asset dimension model returning zero values: " + _asset_dim_model.getStateDimensionName() ); double[] belief_prob = new double[num_vals]; ProbabilityUtils.setUniformDistribution( belief_prob ); return new BeliefStateDimension( _asset_dim_model, belief_prob, null ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BeliefStateDimension getRandomBeliefState( )\n throws BelievabilityException\n {\n if ( _asset_dim_model == null )\n throw new BelievabilityException\n ( \"POMDPAssetDimensionModel.getRandomBeliefState()\",\n \"Asset type dimension model is NU...
[ "0.84845376", "0.67763174", "0.65616745", "0.60800594", "0.5945209", "0.5934643", "0.54568636", "0.5432291", "0.541245", "0.5304952", "0.52944297", "0.52726686", "0.5170402", "0.51246744", "0.5105978", "0.5086798", "0.50718486", "0.506787", "0.50521386", "0.5010975", "0.49974...
0.69474846
1
TODO Autogenerated method stub
public static void main(String[] args) throws FileNotFoundException { File file = new File("Score.txt"); if(file.exists()) { System.out.println("File is already exist! "); System.exit(0); } PrintWriter output = new PrintWriter(file); output.print("John T Smith "); output.println(90); output.print("Eric asd asd: "); output.println(80); output.close(); }
{ "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
Constructor for objects of class PriorityQueue
public PriorityQueue() { // initialise instance variables heap = new PriorityCustomer[100]; size = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MyQueue() {\n queue = new PriorityQueue<>();\n }", "public PriorityQueue()\r\n\t{\r\n\t\tcurrentSize = 0;\r\n\t\tlowestCurrentPriority = Integer.MAX_VALUE;\r\n\t\tpq = new DLL[MAXIMUM_PRIORITY + 1];\r\n\t\tfor (int i = 0; i < pq.length; i++)\r\n\t\t{\r\n\t\t\tpq[i] = new DLL();\r\n\t\t}\r\n\t}",...
[ "0.84083366", "0.81752676", "0.79729533", "0.78989583", "0.7889983", "0.78844994", "0.7852321", "0.77582264", "0.7554085", "0.7550601", "0.7303752", "0.71631956", "0.71316993", "0.7126219", "0.71164685", "0.71125424", "0.71116066", "0.71087193", "0.71076244", "0.710162", "0.7...
0.82608604
1
An example of a method replace this comment with your own
public void AddToLine(PriorityCustomer newcustomer) { // put your code here int index = size + 1; //where we'll add the new value heap[index] = newcustomer; // add new customer to that position while (index > 3) //while customer has parents since we dont want to swap the current customer being served, it is index > 3 instead of index > 1 { int parentIndex = index/2; //get parent index if (heap[parentIndex].getPriority() < newcustomer.getPriority()) // if parent value is lower { heap[index] = heap[parentIndex]; //perform swap heap[parentIndex] = newcustomer; //sets parent to new customer index = parentIndex; //update index } else { break; //no swap needed } } size++; //increase size }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void comment() {\n\t\t\n\t}", "public void method_4270() {}", "public static void listing5_14() {\n }", "private stendhal() {\n\t}", "public void smell() {\n\t\t\n\t}", "public void mo38117a() {\n }", "public final void mo51373a() {\n }", "public void mo21792Q() {...
[ "0.68759596", "0.66260797", "0.6421029", "0.6364621", "0.6342968", "0.63355535", "0.63336974", "0.63282084", "0.63035333", "0.6301148", "0.6290248", "0.6279191", "0.62747794", "0.62733513", "0.6267824", "0.6241212", "0.6227418", "0.621996", "0.6211847", "0.6205021", "0.619571...
0.0
-1
Retrieves all of the jbdTravelPointLog2013s
public List getJbdTravelPointLog2013s(JbdTravelPointLog2013 jbdTravelPointLog2013);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JbdTravelPointLog2013 getJbdTravelPointLog2013(final String logId);", "public com.sybase.collections.GenericList<com.sybase.persistence.LogRecord> getLogRecords()\n {\n return ru.terralink.mvideo.sap.LogRecordImpl.findByEntity(\"Orders\", keyToString());\n }", "public List getJbdTravelPoint...
[ "0.6036988", "0.5896448", "0.5883995", "0.5879368", "0.5808547", "0.5602904", "0.55976355", "0.550443", "0.54038554", "0.53923774", "0.52660596", "0.5247169", "0.52465546", "0.52396363", "0.5155382", "0.5138232", "0.5127378", "0.50877464", "0.508401", "0.50749874", "0.5054953...
0.72603875
0
Gets jbdTravelPointLog2013's information based on logId.
public JbdTravelPointLog2013 getJbdTravelPointLog2013(final String logId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TrackerUserLocationLog getTrackerUserLocationLog(final Integer id);", "public List getJbdTravelPointLog2013s(JbdTravelPointLog2013 jbdTravelPointLog2013);", "TrackerUserLocationLog loadTrackerUserLocationLog(final Integer id);", "public String getLogId() {\r\n return logId;\r\n }", "public int ge...
[ "0.6356155", "0.61300045", "0.60948104", "0.6083379", "0.60278624", "0.59081346", "0.5874241", "0.586586", "0.58555084", "0.5663428", "0.5587695", "0.5363515", "0.5361308", "0.5359469", "0.5281506", "0.5256995", "0.5253802", "0.52395207", "0.5187621", "0.5181455", "0.51562375...
0.8135519
0
Saves a jbdTravelPointLog2013's information
public void saveJbdTravelPointLog2013(JbdTravelPointLog2013 jbdTravelPointLog2013);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void saveJbdTravelPoint2014(JbdTravelPoint2014 jbdTravelPoint2014);", "void saveTrip(Trip parTrip);", "void saveLog(LogInfo logText);", "public void saveJfiPayLog(JfiPayLog jfiPayLog);", "LogRecord saveLog(LogRecord logRecord);", "public void save(SystenLogInfo osInfo, String string) {\n\t\t\n\t}"...
[ "0.74333876", "0.6330505", "0.62523997", "0.6219928", "0.6194801", "0.6028772", "0.5934333", "0.5934333", "0.5934333", "0.59029156", "0.5899094", "0.5885735", "0.588562", "0.5868885", "0.5864167", "0.585823", "0.5824451", "0.5791983", "0.57918036", "0.57918036", "0.57918036",...
0.8317734
0
Removes a jbdTravelPointLog2013 from the database by logId
public void removeJbdTravelPointLog2013(final String logId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeJfiPayLog(final Long logId);", "void deleteTrackerUserLocationLog(final Integer id);", "public int removeLog(int logID) {\n\n int count = 0;\n LogDAO ldao = new LogDAO();\n ldao.connect();\n try {\n String query = \"DELETE FROM log_user WHERE log_id=(?);...
[ "0.71807164", "0.6522223", "0.6421567", "0.62926984", "0.62137526", "0.61158925", "0.5989459", "0.5953871", "0.58729243", "0.58555675", "0.5826477", "0.57705826", "0.57328403", "0.5702899", "0.56693363", "0.566886", "0.5667434", "0.56598884", "0.56510067", "0.56422544", "0.56...
0.8803687
0
Crear Objeto Producto y sus Observadores .
public static void main(String args[]) { Producto p = new Producto("123456", 1987.29f, 2123.10f); ObservadorCodigoBarras ObsCodigo = new ObservadorCodigoBarras(); ObservadorCosto ObsCosto = new ObservadorCosto(); // Agregando los Observadores para Producto! p.addObserver(ObsCodigo); p.addObserver(ObsCosto); // Crear y Manipular Cambios en el Producto. System.out.println("----Cambio de Codigo Barras---"); p.setCodigoBarra("654321"); System.out.println("----Cambio de Costo---"); p.setCosto(18879.6f); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Producto (){\n\n }", "public Producto() {\r\n }", "public ProductoDTO(){\r\n\t\t\r\n\t}", "public Producto() {\r\n\t\tsuper();\r\n\t\tID = getIDnuevoProducto();\r\n\t\tnombre = \"\";\r\n\t\tvendedor = \"\";\r\n\t\tprecio = 0;\r\n\t\tcantidad = 0;\r\n\t\tenVenta = false;\r\n\t\tdescripcion = \"\"...
[ "0.6852494", "0.67944497", "0.6664634", "0.66234374", "0.65831524", "0.65691733", "0.653848", "0.6535493", "0.65351194", "0.6497024", "0.6374693", "0.637027", "0.63653105", "0.633358", "0.6316306", "0.62830323", "0.6281466", "0.627327", "0.62654716", "0.62481695", "0.62424004...
0.6788687
2
Fires NUM_CANNONS projectiles, that spread out as they fall
public Projectile[] fire() { /* * Hint, to get a spread, second parameter to Projectile() should * be something like (i - (NUM_CANNONS / 2)) * SPREAD */ Projectile[] x = new Projectile[NUM_CANNONS]; Position p = new Position(pos.getX() + InvaderShip.SHIPS_Y / 2, pos.getY() - InvaderShip.SHIPS_X / 2); x[0] = new Projectile(p, (0 - (NUM_CANNONS / 2)) * SPREAD, -PROJECTILE_SPEED, -.01 ); return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fire() {\n\t\t// Has player waited cooldown before trying to fire again?\n\t\tif (System.currentTimeMillis() - this.lastFired > Config.WEAPON_COOLDOWN_TIME * 1000) {\n\t\t\t\n\t\t\t// Can this airship drop bombs?\n\t\t\tif (this.properties.FIRES_TNT) {\n\t\t\t\tBlock[] cannons = getCannons();\n\t\t\t\t...
[ "0.6044503", "0.57883734", "0.5766132", "0.5607854", "0.5555612", "0.5519187", "0.5511871", "0.54100174", "0.5397725", "0.538987", "0.5385225", "0.5370265", "0.53646857", "0.53514856", "0.53468186", "0.5343243", "0.53394324", "0.5336323", "0.53195786", "0.53188884", "0.531027...
0.56003016
4
Test of loadItems method, of class VendingMachineDaoFileImpl.
@Test public void testLoadItemsExceptions() throws Exception { boolean testFailed = false; try { fillInventoryFileWithTestData(VALID); } catch (VendingMachinePersistenceException ex) { } try { dao.loadItems(); } catch (VendingMachinePersistenceException ex) { fail(); } try { fillInventoryFileWithTestData(FORMAT); } catch (VendingMachinePersistenceException ex) { } try { testFailed = true; dao.loadItems(); } catch (VendingMachinePersistenceException ex) { testFailed = false; } finally { if (testFailed) { fail(); } } try { fillInventoryFileWithTestData(INCOMPLETE); } catch (VendingMachinePersistenceException ex) { } try { testFailed = true; dao.loadItems(); } catch (VendingMachinePersistenceException ex) { testFailed = false; } finally { if (testFailed) { fail(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void loadItemsInternal();", "@Test\r\n\tpublic void loaderTest() {\r\n\t\tItem item = new Item();\r\n\t\tassertNotSame(item.getId(), 1);\r\n\t\ttry {\r\n\t\t\titem.loadById(1);\r\n\t\t\tassertEquals(item.getId(), 1);\r\n\t\t} catch (Exception e) {\r\n\t\t\tfail(\"Failed to load item id 1: Exce...
[ "0.76241994", "0.7035351", "0.65337044", "0.65006894", "0.6418006", "0.6330032", "0.62791425", "0.6247184", "0.6224041", "0.61357147", "0.6116004", "0.61128217", "0.6097048", "0.60587513", "0.60389656", "0.6012398", "0.5979527", "0.5978032", "0.5972983", "0.5954138", "0.58364...
0.6577273
2
Test of decrementInventory method, of class VendingMachineDaoFileImpl.
@Test public void testDecrementInventory() throws Exception { int firstDecrement; int secondDecrement; List<VendingItem> items; VendingItem twix; try { fillInventoryFileWithTestData(VALID); dao.loadItems(); } catch (VendingMachinePersistenceException ex) { } items = dao.getItems(); assertEquals(1, items.size()); twix = items.get(0); // firstDecrement = 19 firstDecrement = twix.decrementStock(); // secondDecrement = 18 secondDecrement = twix.decrementStock(); assertEquals(1, firstDecrement - secondDecrement); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void testUpdateMilkInventory() throws InventoryException {\r\n coffeeMaker.addInventory(\"0\", \"5\", \"0\", \"0\");\r\n String updatedInventory = \"Coffee: 15\\nMilk: 20\\nSugar: 15\\nChocolate: 15\\n\";\r\n assertEquals(updatedInventory, coffeeMaker.checkInventory());\r\n...
[ "0.63836735", "0.6383155", "0.63801086", "0.6258338", "0.6193177", "0.61651", "0.615756", "0.6140261", "0.6111631", "0.61038125", "0.60855055", "0.5977778", "0.58889186", "0.5879702", "0.5870186", "0.586065", "0.58527356", "0.58490574", "0.5840498", "0.5816706", "0.572902", ...
0.8349475
0
Compute inhabitants of a node as sum of inhabitants in his subneighborhoods
private long census(ConstituentsAddressNode crt) throws P2PDDSQLException { if(DEBUG) System.err.println("ConstituentsModel:census: start"); if((crt==null)||(crt.n_data==null)){ if(DEBUG) System.err.println("ConstituentsModel:census: end no ID"); return 0; } long n_ID = crt.n_data.neighborhoodID; if(DEBUG) System.err.println("ConstituentsModel:census: start nID="+n_ID); if(n_ID <= 0){ if(DEBUG) System.err.println("ConstituentsModel:census: start nID="+n_ID+" abandon"); return 0; } long result = 0; int neighborhoods[] = {0}; if(crt.isColapsed()){ if(DEBUG) System.err.println("ConstituentsModel:census: this is colapsed"); result = censusColapsed(crt, neighborhoods); }else{ for(int k=0; k<crt.children.length; k++) { if(!running){ if(DEBUG) System.err.println("ConstituentsModel:census: start nID="+n_ID+" abandon request"); return 0; } ConstituentsNode child = crt.children[k]; if(child instanceof ConstituentsAddressNode) { result += census((ConstituentsAddressNode)child); neighborhoods[0]++; } if(child instanceof ConstituentsIDNode) result ++; } } crt.neighborhoods = neighborhoods[0]; crt.location.inhabitants = (int)result; crt.location.censusDone = true; announce(crt); if(DEBUG) System.err.println("ConstituentsModel:censusColapsed: start nID="+n_ID+" got="+result); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int infectNeighbours(Map map);", "private Map<String, Integer> getContinentEnrichment(PersonActivity in) {\n\t\tList<String> places = in.getCategoryKeys(CategoryType.PLACE);\n\t\tMap<String, Integer> continents = places.stream().map(place -> countryContinentRelation.get(place))\n\t\t\t\t.filter(x -> x != ...
[ "0.5913391", "0.5775547", "0.54763615", "0.5434122", "0.5391493", "0.53490627", "0.53199804", "0.5316212", "0.5292579", "0.52872556", "0.5285824", "0.526582", "0.52558553", "0.5245733", "0.52417916", "0.5239695", "0.5239644", "0.52381253", "0.5227155", "0.52231854", "0.521970...
0.0
-1
Compute the number of inhabitants and immediate neighborhoods in a visible but collapsed node
private long censusColapsed(ConstituentsAddressNode crt, int[]neighborhoods) throws P2PDDSQLException { if(DEBUG) System.err.println("ConstituentsModel:censusColapsed: start"); long result = 0; if((crt==null)||(crt.n_data==null)) return 0; long n_ID = crt.n_data.neighborhoodID; if(DEBUG) System.err.println("ConstituentsModel:censusColapsed: start nID="+n_ID); if(n_ID <= 0) return 0; String sql_c = "SELECT "+table.constituent.neighborhood_ID+ " FROM "+table.constituent.TNAME+ " WHERE "+table.constituent.neighborhood_ID+"=?;"; ArrayList<ArrayList<Object>> c = Application.db.select(sql_c, new String[]{n_ID+""}, DEBUG); result = c.size(); String sql_n = "SELECT "+table.neighborhood.neighborhood_ID+ " FROM "+table.neighborhood.TNAME+ " WHERE "+table.neighborhood.parent_nID+"=?;"; ArrayList<ArrayList<Object>> n = Application.db.select(sql_n, new String[]{n_ID+""}, DEBUG); neighborhoods[0] += n.size(); HashSet<String> visited = new HashSet<String>(); visited.add(""+n_ID); for(int k=0; k<n.size(); k++) { if(!running) return 0; result += censusHiddenNeighborhoods(Util.lval(n.get(k).get(0), -1), visited); } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int displayN(Node node)\r\n {\r\n return node.neighbors.size();\r\n }", "private void countCells() {\n\t\tvisitedCells = 0;\n\t\ttotalCells = 0;\n\t\tfor (int ix = 0; ix < maxCells_x; ix++) {\n\t\t\tfor (int iy = 0; iy < maxCells_y; iy++) {\n\t\t\t\ttotalCells++;\n\t\t\t\tif (cell[ix][iy] == ...
[ "0.6923833", "0.6598544", "0.6543282", "0.63783187", "0.63783187", "0.63515705", "0.63409114", "0.6336977", "0.63101095", "0.6309001", "0.6309001", "0.630057", "0.62999016", "0.62691855", "0.6262902", "0.62464136", "0.6243945", "0.6232834", "0.62178576", "0.6190552", "0.61591...
0.0
-1
announce census intermediary result only if it is still relevant
private void announce(ConstituentsAddressNode crt) { if(DEBUG) System.err.println("ConstituentsModel:announce: start"); if(DEBUG) if((crt!=null) && (crt.n_data!=null)) System.err.println("ConstituentsModel:announce: start nID="+crt.n_data.neighborhoodID); ConstituentsModel cm; Object[] path=null; synchronized(this) { if(!running || (model==null)){ if(DEBUG) System.err.println("ConstituentsModel:announce: irrelevant"); return; } cm = model; path = crt.getPath(); } try{ cm.fireTreeNodesChanged(new TreeModelEvent(this, path)); }catch(Exception e){ System.err.println("ConstituentsCensus: announce: "+e.getLocalizedMessage()); System.err.println("ConstituentsCensus: announce: path="+Util.concat(path, " ; ")); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void ackResult(boolean resultMatch);", "@Override\n\tpublic boolean isInterestedInSuccess() {\n\t\treturn false;\n\t}", "boolean hasCollectResult();", "private void checkResult() {\n if (parent != -1 && (numOfAck == (outgoingLinks.size() - 1))) {\n if (setOfAck.add(this.maxId)) {\n ...
[ "0.65733695", "0.5590564", "0.5543691", "0.55132604", "0.5457688", "0.5303366", "0.52621263", "0.52383506", "0.5234783", "0.52015895", "0.5143498", "0.5109321", "0.5102565", "0.50960207", "0.5093026", "0.50924087", "0.5088021", "0.5083733", "0.50828236", "0.5071075", "0.50704...
0.0
-1
Failed to read value
@Override public void onCancelled(DatabaseError error) { Toast.makeText(MainActivity.this, "error", Toast.LENGTH_SHORT).show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean shouldReadValue();", "Object readValue();", "private @NotNull ErrorValue finishReadingError()\n throws IOException, JsonFormatException {\n stepOver(JsonToken.VALUE_NUMBER_INT, \"integer value\");\n int errorCode;\n try { errorCode = currentValueAsInt(); } catch (JsonParseException ignore...
[ "0.6520245", "0.644224", "0.62601036", "0.6077715", "0.6027265", "0.59389204", "0.5928014", "0.5897478", "0.5892562", "0.5891626", "0.5821752", "0.5813256", "0.5813256", "0.58093756", "0.58006567", "0.5798476", "0.5776234", "0.5774579", "0.57361126", "0.5728217", "0.57143444"...
0.0
-1
Created by jing on 2017/6/20.
public interface ScientificResearchMapperCustom { void addScientificRearch(ScientificResearch scientificResearch); List<ScientificResearch> ScientificList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n...
[ "0.60178953", "0.5924875", "0.5753268", "0.57487655", "0.57241213", "0.57241213", "0.56683016", "0.5657303", "0.5641615", "0.5629565", "0.56122655", "0.5604059", "0.5585402", "0.5569011", "0.5553501", "0.550633", "0.5505787", "0.5501574", "0.55003947", "0.55003947", "0.550039...
0.0
-1
TODO support enums TODO support interfaces
@Override public SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name) { try { return foundTypes.get(name, () -> { SymbolReference<ResolvedReferenceTypeDeclaration> result = tryToSolveTypeUncached(name); if (result.isSolved()) { return SymbolReference.solved(result.getCorrespondingDeclaration()); } return result; }); } catch (ExecutionException e) { throw new RuntimeException(e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface BaseEnum {\n\n int getStatus();\n\n String getDesc();\n}", "public interface LMCPEnum {\n\n public long getSeriesNameAsLong();\n\n public String getSeriesName();\n\n public int getSeriesVersion();\n\n public String getName(long type);\n\n public long getT...
[ "0.6423574", "0.6379911", "0.63478005", "0.61830604", "0.61167914", "0.6026974", "0.6003322", "0.600283", "0.59774005", "0.5864978", "0.5778142", "0.5756904", "0.5751093", "0.57035995", "0.56878823", "0.56731844", "0.56545466", "0.56446844", "0.5626586", "0.5611425", "0.56114...
0.0
-1
/ JADX INFO: Can't fix incorrect switch cases order, some code will duplicate / JADX WARNING: Missing exception handler attribute for start block: B:63:0x0116 / Code decompiled incorrectly, please refer to instructions dump.
public void httpUrlFetch(ohos.miscservices.httpaccess.data.RequestData r10, ohos.miscservices.httpaccess.HttpProbe r11) { /* // Method dump skipped, instructions count: 376 */ throw new UnsupportedOperationException("Method not decompiled: ohos.miscservices.httpaccess.HttpFetchImpl.httpUrlFetch(ohos.miscservices.httpaccess.data.RequestData, ohos.miscservices.httpaccess.HttpProbe):void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.64855826", "0.6483132", "0.6401096", "0.63408256", "0.63189226", "0.63001037", "0.62381727", "0.6210813", "0.61889416", "0.6184843", "0.6156618", "0.60819614", "0.60459995", "0.60404", "0.6033794", "0.6018485", "0.5975837", "0.5930047", "0.5924787", "0.591991", "0.5915743"...
0.0
-1
/ JADX WARNING: Missing exception handler attribute for start block: B:22:0x0062 / Code decompiled incorrectly, please refer to instructions dump.
public java.net.HttpURLConnection buildConnectionWithStream(ohos.miscservices.httpaccess.data.RequestData r6) { /* // Method dump skipped, instructions count: 137 */ throw new UnsupportedOperationException("Method not decompiled: ohos.miscservices.httpaccess.HttpFetchImpl.buildConnectionWithStream(ohos.miscservices.httpaccess.data.RequestData):java.net.HttpURLConnection"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void m5770d() throws C0841b;", "void m5771e() throws C0841b;", "void m5768b() throws C0841b;", "private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRe...
[ "0.6622938", "0.65499234", "0.65286624", "0.65016764", "0.64930683", "0.6487903", "0.64740235", "0.6387663", "0.637852", "0.636549", "0.63542855", "0.6343996", "0.6342478", "0.63242215", "0.6269011", "0.6254493", "0.6233788", "0.6167304", "0.6162668", "0.61588717", "0.6153475...
0.0
-1
Initialize the page objects
public HomePage(){ PageFactory.initElements(driver, this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void init() {\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tpageLists.add(new Page(i));\n\t\t}\n\t}", "private void initPages() {\n\t\tloginPage = new LoginPage(driver);\n\t\tflipkart = new FlipkartPage(driver);\n\t\t\n\t}", "protected void init() {\n PageFactory.initElements(webDriver, this);\n }"...
[ "0.8037806", "0.80011", "0.7711023", "0.75793236", "0.73900175", "0.737596", "0.73641855", "0.73495543", "0.73357296", "0.7333177", "0.73097944", "0.71256375", "0.7107024", "0.70893973", "0.7086403", "0.707994", "0.70737773", "0.7066427", "0.7060488", "0.70514864", "0.7051486...
0.72531855
11
return the cell[row][col] along with its neighbours
private List<Cell> getNeighbours(int row,int col){ List<Cell> neighbours = new ArrayList<Cell>(); for(int i = row -1 ; i <= row+1 ; i++ ) for(int j = col -1 ; j <= col+1 ; j++) if(i>=0 && i<cells.length && j>=0 && j<cells[0].length) neighbours.add(cells[i][j]); return neighbours; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Cell[] getNeighbours() {\r\n\t\treturn this.neighbours;\r\n\t}", "private int getNeighbours(Cell cell) {\n\n //Get the X, Y co-ordinates of the cell\n int cellX = cell.getXCord();\n int cellY = cell.getYCord();\n\n // Helper variable initially set to check all neighbours.\n ...
[ "0.76063824", "0.7364697", "0.72480977", "0.71688825", "0.7163309", "0.7144989", "0.711227", "0.71026707", "0.70712346", "0.698697", "0.6935475", "0.6885562", "0.68752885", "0.6817891", "0.6813398", "0.6812131", "0.6789001", "0.67698866", "0.67624176", "0.67055696", "0.670540...
0.811916
0
This will be the main method for lab 3, which will call the toString method
public static void main(String[] args) { // create new Lab3 objects Lab3 lab = new Lab3(); Lab3 lab2 = new Lab3(24); Lab3 lab3 = new Lab3("James"); // Display lab 3 objects System.out.println(lab); System.out.println(lab2); System.out.println(lab3); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() ;", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();", "String toString();"...
[ "0.7337314", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "0.7332814", "...
0.0
-1
import the graph from file
@Test public void testDijkstra() throws Exception { String graphFileName = "algorithm/graph/shortestpath/weighted/weightedGraph.txt"; Graph graph = Graph.createGraphFromFile(WeightedShortestPath.class.getResource("/").getPath() + File.separator + graphFileName); System.out.println("==============Graph before weighted shortest path found=============="); graph.printGraph(); WeightedShortestPath.dijkstra(graph, graph.getVertex("v1")); System.out.println("======Graph after weighted shortest path found by Dijkstra's algorithm====="); graph.printGraph(); System.out.println("===================Print the path to each vertex===================="); for (Vertex v: graph.getVertexMap().values()) { graph.printPath(v); System.out.println(); } System.out.println(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Graph<V,E> load(String filename);", "void readGraphFromFile();", "public void createGraphFromFile() {\n\t\t//如果图未初始化\n\t\tif(graph==null)\n\t\t{\n\t\t\tFileGetter fileGetter= new FileGetter();\n\t\t\ttry(BufferedReader bufferedReader=new BufferedReader(new FileReader(fileGetter.readFileFromClasspath())))\n\t\t...
[ "0.8041179", "0.8038927", "0.7904926", "0.7202139", "0.717419", "0.69475275", "0.69416976", "0.68967694", "0.68954414", "0.6819828", "0.67837447", "0.6764178", "0.6754527", "0.6716968", "0.6693803", "0.6670498", "0.6646936", "0.66360635", "0.6585896", "0.6522019", "0.6512261"...
0.0
-1