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
Method to set a break
private void takeABreak(){ mIsBreak = false; mLytBreakLayout.setVisibility(View.VISIBLE); startTimer(_str_break); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBreak(boolean flag) {\n\tisBreaking = flag;\n}", "protected void setBreak() {\n shouldBreak = true;\n }", "public Break Break(){\n\t\treturn new Break();\r\n\t}", "Break createBreak();", "private void Perform_BREAK() throws RuntimeException\n {\n throw new RuntimeEx...
[ "0.79590064", "0.7893365", "0.7796468", "0.7624049", "0.72932696", "0.706801", "0.70496553", "0.6931823", "0.69266695", "0.6842456", "0.68073595", "0.67925465", "0.6701362", "0.66626906", "0.66450304", "0.6563177", "0.65035766", "0.6436509", "0.6398717", "0.6322205", "0.62440...
0.6428095
18
Method to play workout
public void playWorkouts(){ mFabPlay.setIcon(R.mipmap.ic_pause_white_24dp); mIsPlay = true; mCirclePageIndicator.setCurrentItem(mCurrentWorkout); if(mIsPause) { // re-play paused workout mCounter.cancel(); startTimer(mCurrentTime); } else { // Start ready timer mLytBreakLayout.setVisibility(View.VISIBLE); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { ttsGreater21(getString(R.string.beginning_workout)); } else { ttsUnder20(getString(R.string.beginning_workout)); } startTimer(_str_break); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"We played Snokker today\");\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void work() {\n\t\tSystem.out.println(\"看门!!!\");\n\t}", "@Override\r\n\tpublic void goWork() {\n\t\tSystem.out.println(\"骑自行去上班\");\r\n\t}", "public void howToPlay() {\r\n /...
[ "0.6974702", "0.6778096", "0.6726222", "0.6646484", "0.65989524", "0.6515336", "0.6504832", "0.6460995", "0.6432036", "0.6425088", "0.6415341", "0.6408125", "0.63541424", "0.63338166", "0.63251543", "0.6303897", "0.62938154", "0.62887555", "0.6269373", "0.6263122", "0.6226549...
0.762371
0
Method to pause workout
public void pauseWorkout(){ mStart = 0; mEnd = 0; mIsPlay = false; mIsPause = true; mFabPlay.setIcon(R.mipmap.ic_play_arrow_white_24dp); if(mCounter != null) { if (mCounter.timerCheck()) mCounter.cancel(); mCurrentTime = mCounter.timerPause(); } if(mIsFirstAppRun){ mTxtBreakTime.setText(mCurrentTime); }else { if (mIsBreak) { // If this is break, set mTimer to break time view and set sub title view // with initial time mTxtBreakTime.setText(mCurrentTime); mTxtSubTitle.setText(mCurrentTime); } else { mTxtSubTitle.setText(mCurrentTime); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pause() {}", "public void pause() {\r\n\t}", "public void pause();", "public void pause();", "public void pause();", "private void pause() {\n\t\t// TODO\n\t}", "public void pause() {\n }", "protected void pause(){}", "public void pause() {\n\t\t// TODO Auto-generated method stub\n\t...
[ "0.7778475", "0.7716986", "0.76543313", "0.76543313", "0.76543313", "0.76337135", "0.7626688", "0.7599554", "0.7512687", "0.747514", "0.74577665", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0.74230623", "0....
0.7746036
1
Method to handle physical back button with animation
@Override public void onBackPressed() { super.onBackPressed(); Write_data(); overridePendingTransition(R.anim.open_main, R.anim.close_next); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void backButton() {\n\t\t\r\n\t}", "void onGoBackButtonClick();", "@Override\n public void onBackPressed() {\n finish();\n overridePendingTransition(R.anim.slide_in_from_top, R.anim.slide_out_from_top);\n super.onBackPressed();\n }", "@Override\n\tpublic void ...
[ "0.8089176", "0.79827356", "0.7931882", "0.7916611", "0.78960466", "0.7883303", "0.78737295", "0.78518766", "0.7845751", "0.7841144", "0.7834204", "0.7829221", "0.78003156", "0.77813554", "0.77762425", "0.77754414", "0.77684385", "0.7753865", "0.7753617", "0.77535516", "0.774...
0.7388433
70
perform setOnZoomInClickListener event on ZoomControls
public void zoom_control() { simpleZoomControls.setOnZoomInClickListener(new View.OnClickListener() { @Override public void onClick(View v) { _cnt++; int ss = _cnt / 60; int ss1 = _cnt % 60; _str_break = get_string(ss, ss1); mTxtBreakTime.setText(_str_break); } }); // perform setOnZoomOutClickListener event on ZoomControls simpleZoomControls.setOnZoomOutClickListener(new View.OnClickListener() { @Override public void onClick(View v) { _cnt--; if(_cnt <= 0) _cnt = 0; int ss = _cnt / 60; int ss1 = _cnt % 60; _str_break = get_string(ss, ss1); mTxtBreakTime.setText(_str_break); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onZoom(View view){\n if(view.getId() == R.id.Bzoomin){\n mMap.animateCamera(CameraUpdateFactory.zoomIn());\n }\n if(view.getId()==R.id.Bzoomout){\n mMap.animateCamera(CameraUpdateFactory.zoomOut());\n }\n }", "public void onZoomIn(View view) {\n ...
[ "0.7337566", "0.73117065", "0.7255881", "0.7164605", "0.70877486", "0.7074802", "0.6752241", "0.6750142", "0.66705084", "0.66025126", "0.65611243", "0.65284073", "0.6508925", "0.65045965", "0.64914334", "0.64809316", "0.64492035", "0.639661", "0.63938165", "0.6390249", "0.636...
0.73240876
1
write text to file
public void Write_data() { // add-write text into file try { FileOutputStream fileout=openFileOutput("savedata11.txt", MODE_PRIVATE); OutputStreamWriter outputWriter=new OutputStreamWriter(fileout); outputWriter.write(Integer.toString(_cnt)); outputWriter.close(); } catch (Exception e) { e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void writeText(FsPath path, String text);", "public static void writeToFile(String path, String text) throws IOException {\n Charset charSet = Charset.forName(\"US-ASCII\");\n BufferedWriter writer = new BufferedWriter(new FileWriter(path));\n writer.write(text,0,text.length());\n wri...
[ "0.8027566", "0.78824747", "0.7844708", "0.76722455", "0.7672009", "0.76526666", "0.7649606", "0.75478655", "0.7472642", "0.7457067", "0.74527204", "0.744447", "0.74178547", "0.7345425", "0.73018116", "0.73010206", "0.72438896", "0.7233949", "0.72135156", "0.71350616", "0.712...
0.0
-1
player number can just be the 1 or 2
public void populateMap(int playerNumber){ int factor = 1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPlayerNumber(int num) {\n playerNum = num;\n }", "private int otherPlayer() {\n return (currentPlayer == 1 ? 2 : 1);\n }", "int otherPlayer(int player) {\n switch (player) {\n case 0: return 1;\n case 1: return 0;\n default: return 0;\n...
[ "0.7723641", "0.72547376", "0.7167539", "0.71470445", "0.7053499", "0.70457035", "0.6912643", "0.69113964", "0.69070804", "0.68688166", "0.6838746", "0.678182", "0.6720994", "0.6697404", "0.6682665", "0.6638753", "0.6638753", "0.6628521", "0.6603727", "0.6584585", "0.6579124"...
0.0
-1
Metodos de acesso ao banco
public void salvaProduto(Produto produto){ conecta = new Conecta(); conecta.iniciaConexao(); String sql = "INSERT INTO `JoalheriaJoia`.`Produto` (`codigo`, `nome`, `valorCusto`, `valorVenda`, `idTipoJoia` , `quantidadeEstoque`) VALUES (?, ?, ?, ?, ?, ?);"; try { PreparedStatement pstm; pstm = conecta.getConexao().prepareStatement(sql); pstm.setString(1, produto.getCodigo()); pstm.setString(2, produto.getNome()); pstm.setFloat(3, produto.getValorCusto()); pstm.setFloat(4, produto.getValorVenda()); pstm.setInt(5, produto.getTipoJoia().getIdTipoJoia()); pstm.setInt(6, produto.getQuantidadeEstoque()); pstm.execute(); } catch (SQLException ex) { Logger.getLogger(ProdutoDao.class.getName()).log(Level.SEVERE, null, ex); } conecta.fechaConexao(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @TransactionAttribute(TransactionAttributeType.REQUIRED)\n public synchronized Boleto procesarBoleto(Boleto b) throws CRUDException {\n Optional op;\n Aerolinea a = em.find(Aerolinea.class, b.getIdAerolinea().getIdAerolinea());\n Cliente c = em.find(Cliente.class, b.getIdClie...
[ "0.5799368", "0.5710364", "0.56895685", "0.5675779", "0.5674722", "0.5673965", "0.5651245", "0.55545515", "0.5498553", "0.5476998", "0.54601324", "0.54427075", "0.54373294", "0.5414587", "0.5395844", "0.5366957", "0.53210735", "0.53135616", "0.5280753", "0.52700126", "0.52549...
0.0
-1
Initializes the controller class.
@Override public void initialize(URL url, ResourceBundle rb) { // TODO // lignecommandeService = new LigneCommandeService(); nomfield.setText(FronteventController.obs.get(i).getNom()); descriptionfield.setText(FronteventController.obs.get(i).getDescription()); i++; // t = FronteventController.obs.get(i).getId_event(); //e=FronteventController.obs.get(i); //S=FrontEventController.obsl.get(i).getNomEvnet(); /* participer.setOnAction((event) -> { try { FXMLLoader loader = new FXMLLoader(getClass().getResource("ParticipVol.fxml")); Parent root = loader.load(); ParticipVolController rc = loader.getController(); participer.getScene().setRoot(root); } catch (IOException ex) { System.out.println(ex.getMessage()); } }); */ // TODO }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initialize() {\n\t\tcontroller = Controller.getInstance();\n\t}", "public MainController() {\n\t\tcontroller = new Controller(this);\n\t}", "public abstract void initController();", "public Controller() {\n super();\n }", "public Controller() {\n super();\n }", "public Co...
[ "0.8125658", "0.78537387", "0.78320265", "0.776199", "0.776199", "0.76010174", "0.74497247", "0.7437837", "0.7430714", "0.742303", "0.74057597", "0.7341963", "0.7327749", "0.72634363", "0.72230434", "0.7102504", "0.70575505", "0.69873077", "0.69721675", "0.6944077", "0.691256...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public GjDwzhExample() { oredCriteria = new ArrayList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6484319", "0.5776193", "0.5634516", "0.5498162", "0.5437937", "0.5411611", "0.5405846", "0.540177", "0.53746665", "0.53743577", "0.5348647", "0.5242002", "0.5222229", "0.52197707", "0.51874536", "0.5178697", "0.5157764", "0.51566625", "0.5145278", "0.51431715", "0.5127227"...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
protected GjDwzhExample(GjDwzhExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6480915", "0.57742274", "0.56352174", "0.5495881", "0.5437691", "0.541265", "0.5406009", "0.5404826", "0.5377005", "0.53728384", "0.5349225", "0.5242789", "0.52205193", "0.5216359", "0.5178912", "0.5155773", "0.5154204", "0.51431346", "0.5140767", "0.5127534", "0.512086", ...
0.5188769
14
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6481706", "0.57758325", "0.5635121", "0.5496639", "0.54377806", "0.541375", "0.5406609", "0.5405221", "0.53762364", "0.53735024", "0.5350587", "0.5240053", "0.5220679", "0.5216648", "0.51911825", "0.5179792", "0.5155832", "0.51544", "0.51431805", "0.5142387", "0.5127871", ...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public String getOrderByClause() { return orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.64830905", "0.5775395", "0.5635681", "0.54984516", "0.54376453", "0.5412311", "0.5406397", "0.54010046", "0.5375869", "0.5373265", "0.5348853", "0.5242525", "0.52222556", "0.5218497", "0.518797", "0.5178875", "0.51573867", "0.51564467", "0.51440006", "0.5142594", "0.512840...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public List getOredCriteria() { return oredCriteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6484319", "0.5776193", "0.5634516", "0.5498162", "0.5437937", "0.5411611", "0.5405846", "0.540177", "0.53746665", "0.53743577", "0.5348647", "0.5242002", "0.5222229", "0.52197707", "0.51874536", "0.5178697", "0.5157764", "0.51566625", "0.5145278", "0.51431715", "0.5127227"...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public void or(Criteria criteria) { oredCriteria.add(criteria); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6480915", "0.57742274", "0.56352174", "0.5495881", "0.5437691", "0.541265", "0.5406009", "0.5404826", "0.5377005", "0.53728384", "0.5349225", "0.5242789", "0.52205193", "0.5216359", "0.5188769", "0.5178912", "0.5155773", "0.5154204", "0.51431346", "0.5140767", "0.5127534",...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6481706", "0.57758325", "0.5635121", "0.5496639", "0.54377806", "0.541375", "0.5406609", "0.5405221", "0.53762364", "0.53735024", "0.5350587", "0.5240053", "0.5220679", "0.5216648", "0.51911825", "0.5179792", "0.5155832", "0.51544", "0.51431805", "0.5142387", "0.5127871", ...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.64830905", "0.5775395", "0.5635681", "0.54984516", "0.54376453", "0.5412311", "0.5406397", "0.54010046", "0.5375869", "0.5373265", "0.5348853", "0.5242525", "0.52222556", "0.5218497", "0.518797", "0.5178875", "0.51573867", "0.51564467", "0.51440006", "0.5142594", "0.512840...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table gj_dwzh
public void clear() { oredCriteria.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getTableName() {\n\t\treturn \"DMDB.GY_DM_ZJLX\";\n\t}", "static void jhsdb() {\n\n }", "SQLCaseWhens createSQLCaseWhens();", "@Test(timeout = 4000)\n public void test70() throws Throwable {\n SQLUtil.normalize(\"selectfwx.wrsyj>:+f-&9\", false);\n Random.setNextRan...
[ "0.6484319", "0.5776193", "0.5634516", "0.5498162", "0.5437937", "0.5411611", "0.5405846", "0.540177", "0.53746665", "0.53743577", "0.5348647", "0.5242002", "0.5222229", "0.52197707", "0.51874536", "0.5178697", "0.5157764", "0.51566625", "0.5145278", "0.51431715", "0.5127227"...
0.0
-1
/TODO: final long timestamp, final float entropyX, final float entropyY, final float entropyZ, final boolean isLogging, final boolean isSharing
@Override protected Void doInBackground(Void... params) { int entropyAccuracy = SensorDescInformation.entropyAccuracy; SensorQueriesAccelerometer accQuery = new SensorQueriesAccelerometer(SensorDescInformation.earliest, SensorDescInformation.latest, context.getFilesDir()); int count = accQuery.getCount(); if (accQuery.containsReadings()){ float min = accQuery.getMinValue().getAccX(); float max = accQuery.getMaxValue().getAccX(); float interval = max-min; List<SensorData> data = accQuery.list; int [][] counter = new int [entropyAccuracy][3]; for (SensorData temp : data) { int joX = (int) ((temp.getValueFloat(0)-min)*entropyAccuracy/interval); int joY = (int) ((temp.getValueFloat(1)-min)*entropyAccuracy/interval); int joZ = (int) ((temp.getValueFloat(2)-min)*entropyAccuracy/interval); counter [joX][0]++; counter [joY][1]++; counter [joZ][2]++; } float entroX = 0, entroY = 0, entroZ = 0; for (int i = 0; i < entropyAccuracy; i++ ){ entroX += (counter[i][0]/count)*Math.log10(counter[i][0]/count); entroY += (counter[i][1]/count)*Math.log10(counter[i][1]/count); entroZ += (counter[i][2]/count)*Math.log10(counter[i][2]/count); } float changeRateX = 0, changeRateY = 0, changeRateZ = 0; for (int i = 0; i< data.size(); i++){ changeRateX += (data.get(i+1).getValueFloat(0) - data.get(i).getValueFloat(0))/(data.get(i+1).getRecordTime()-data.get(i).getRecordTime()); changeRateY += (data.get(i+1).getValueFloat(1) - data.get(i).getValueFloat(1))/(data.get(i+1).getRecordTime()-data.get(i).getRecordTime()); changeRateZ += (data.get(i+1).getValueFloat(2) - data.get(i).getValueFloat(2))/(data.get(i+1).getRecordTime()-data.get(i).getRecordTime()); } changeRateX /= data.size(); changeRateY /= data.size(); changeRateZ /= data.size(); final SharedPreferences settings = context.getSharedPreferences(NervousStatics.SENSOR_PREFS, 0); float freq = (int)context.getSharedPreferences(NervousStatics.SENSOR_FREQ, 0).getInt(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_freqValue", 30) * 1000; boolean isLo = settings.getBoolean(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_doMeasure", true); boolean isSh = settings.getBoolean(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_doShare", true); dataReady(System.currentTimeMillis(), entroX, entroY, entroZ, freq, changeRateX, changeRateY, changeRateZ, isLo, isSh); } else{ final SharedPreferences settings = context.getSharedPreferences(NervousStatics.SENSOR_PREFS, 0); float freq = (int)context.getSharedPreferences(NervousStatics.SENSOR_FREQ, 0).getInt(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_freqValue", 30) * 1000; boolean isLo = settings.getBoolean(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_doMeasure", true); boolean isSh = settings.getBoolean(Long.toHexString(SensorDescInformation.targetSENSOR_ID) + "_doShare", true); dataReady(System.currentTimeMillis(), 0, 0, 0, freq, 0, 0, 0, isLo, isSh); }; return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEntropy(String entropy) {\n // String oldEntropy = entropy;\n _entropy = entropy;\n\n }", "private String getEntropy()\n\t{\n\n\t\t// Calculate a semi-useful value if this has not been set\n\t\tif (entropy == null)\n\t\t{\n\t\t\tentropy = this.toString();\n\t\t}\n\t\treturn entrop...
[ "0.555796", "0.54115397", "0.53263736", "0.5291085", "0.51818955", "0.51553494", "0.49032837", "0.48470202", "0.4815351", "0.47604063", "0.47315925", "0.47061437", "0.46925828", "0.4691164", "0.46854243", "0.4668459", "0.46558604", "0.46525505", "0.4645531", "0.46324176", "0....
0.45089734
34
(n + n + n = 3n) ~ O(n)
public static int[] mergeArray1(int[] mArr, int[] nArr){ int k = 0; int i, j; shiftAllElementsToEnd(mArr, nArr.length); for(i = (nArr.length), j = 0; i < mArr.length && j < nArr.length;){ System.out.println(i+"---"+j); if(mArr[i] < nArr[j]){ mArr[k++] = mArr[i]; i++; } else if(mArr[i] >= nArr[j]){ mArr[k++] = nArr[j]; j++; } } while(j < mArr.length && k < mArr.length){ mArr[k++] = nArr[j++]; } // ReadData rData = new ReadData(); // System.out.println(); // rData.printData(mArr); // System.out.println(); return mArr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f3(int N) {\n \n // O(1)\n if (N == 0) return 1;\n else{ \n \n int x = 0;\n // O(N)\n for(int i = 0; i < N; i++)\n x += f3(N-1);\n return x;\n }\n }", "public List<List<Integer>> three...
[ "0.7532595", "0.700721", "0.6920345", "0.6913825", "0.690991", "0.6689677", "0.66508085", "0.6649929", "0.6603531", "0.6597737", "0.6589762", "0.6579814", "0.6514652", "0.6452187", "0.6448218", "0.640298", "0.63931936", "0.63910097", "0.63816774", "0.6333443", "0.63202566", ...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { ReadData rData = new ReadData(); //int size = Integer.parseInt(args[0]); int[] in = new int[]{1,0,0,0,0 ,0 , 0, 0 ,0, 0,0}; int[] out = new int[]{1,3, 5, 5,7,9,14,16,18, 20}; long start = System.currentTimeMillis(); out = mergeArray1(in, out); rData.printData(out); long end = System.currentTimeMillis(); System.out.println("\n" + (end - start) / 1000.0 + " sec"); }
{ "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
The response is to POST the create username and last modified username.
@RequestMapping(value="/contributor", method= RequestMethod.POST) public ResponseEntity saveContributor(@RequestBody Contributor contributor){ try { iUserService.saveContributor(contributor); } catch (Exception ex) { logger.error("saveContributor", ex); return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); } return new ResponseEntity<>(HttpStatus.CREATED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCreateUsername() {\r\n\t\treturn createUsername;\r\n\t}", "public LoginMessageResponse getCreateUserResult() {\n return localCreateUserResult;\n }", "public String create() {\r\n\t\tuserService.create(userAdd);\r\n\t\tusers.setWrappedData(userService.list());\r\n\t\treturn \"...
[ "0.6492422", "0.6331133", "0.631783", "0.62603843", "0.62585956", "0.6190366", "0.6067426", "0.605212", "0.604999", "0.6045206", "0.60069686", "0.5997901", "0.59610426", "0.5942613", "0.5922255", "0.5888511", "0.58759236", "0.58697", "0.58493567", "0.5843097", "0.5843097", ...
0.0
-1
The response is to POST the entity columns.
@RequestMapping(value="/popularity", method= RequestMethod.POST) public ResponseEntity savePopularity(@RequestBody Popularity popularity){ try { iUserService.savePopularity(popularity); } catch (Exception ex) { logger.error("savePopularity", ex); return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); } return new ResponseEntity<>(HttpStatus.CREATED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ResponseEntity execute();", "@CommandDescription(name=\"createBulkSetorResponse\", kind=CommandKind.ResponseCommand, requestPrimitive=\"createBulkSetorResponse\")\npublic interface CreateBulkSetorResponse extends MessageHandler {\n\n\tvoid createBulkSetorResponse(CreateBulkSetorOutput response);\n\t\n\tvoid crea...
[ "0.5289326", "0.5287602", "0.52586246", "0.52272177", "0.5215662", "0.5183143", "0.51795995", "0.51097864", "0.5012044", "0.4977698", "0.49755332", "0.49718124", "0.491415", "0.48939294", "0.48838076", "0.48815817", "0.4877263", "0.48742858", "0.4871627", "0.48673573", "0.486...
0.0
-1
/ should be called in each activity's onResume function
public void setCurrentHandler(Handler handler){ currentHandler = handler; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onResume() {\n }", "@Override\r\n protected void onResume() {\n super.onResume();\r\n Log.i(TAG, \"onResume\");\r\n\r\n }", "@Override\n protected void onResume() {\n super.onResume();\n\n }", "@Override\n protected voi...
[ "0.8487172", "0.8463697", "0.84351546", "0.84351546", "0.84351546", "0.84286624", "0.84286624", "0.84286624", "0.84286624", "0.8422889", "0.841939", "0.84031665", "0.84031665", "0.83982635", "0.8363056", "0.8363056", "0.8363056", "0.8363056", "0.8363056", "0.8356179", "0.8355...
0.0
-1
Created by doido on 20/03/2017.
public interface ClickListener { void onClick(View view, int position); void onLongClick(View view, int position); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\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\r...
[ "0.614598", "0.5904443", "0.58945704", "0.587963", "0.5812678", "0.5812678", "0.57958275", "0.57837695", "0.57623714", "0.57597", "0.5739409", "0.5727884", "0.5685218", "0.5677743", "0.5669097", "0.5650261", "0.56342435", "0.56204504", "0.56192935", "0.5606614", "0.5606614", ...
0.0
-1
Called when the activity is first created.
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); if (!LibsChecker.checkVitamioLibs(this)) return; buffSizeView = (EditText) findViewById(R.id.buffEditText); buffSizeView.setText(Integer.toString(buffSize)); seekBarWidget = (SeekBar) findViewById(R.id.seekBar); toggleVideoButton = (ToggleButton) findViewById(R.id.toggleButton); throttleStatusView = (TextView) findViewById(R.id.throttleStatus); gyroStatusView = (TextView) findViewById(R.id.gyroStatus); seekBarWidget.setOnSeekBarChangeListener(new SeekbarHandler()); mVideoView = (VideoView) findViewById(R.id.videoView); mVideoView.setVideoPath(path); mVideoView.requestFocus(); mVideoView.setBufferSize(buffSize); mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { @Override public void onPrepared(MediaPlayer mediaPlayer) { // optional need Vitamio 4.0 mediaPlayer.setPlaybackSpeed(1.0f); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
optional need Vitamio 4.0
@Override public void onPrepared(MediaPlayer mediaPlayer) { mediaPlayer.setPlaybackSpeed(1.0f); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void initVentajas() {\n\r\n\t}", "@Override\n public int getVersion() {\n return 0;\n }", "@Override\n\tpublic Livros verifica(Livros livro) {\n\t\treturn null;\n\t}", "@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}", "@Override\r\n\tpublic void voar(...
[ "0.56451714", "0.5527415", "0.5497232", "0.5486237", "0.53774166", "0.52969927", "0.5264647", "0.5262428", "0.5260646", "0.5260171", "0.5222414", "0.5220875", "0.5215072", "0.5182663", "0.51653504", "0.51651794", "0.51617277", "0.51512563", "0.51497954", "0.51482636", "0.5146...
0.0
-1
Checks whether the gutter target elements in the given class resolve to the given names.
private void checkGutterTargetElements(@NonNls final String javaFile, final Function<PsiElement, String> nameResolveFunction, @NonNls final String... expectedNames) { final GutterMark renderer = myFixture.findGutter(javaFile); assertNotNull(renderer); AnnotatorTestUtils.checkGutterTargets(renderer, nameResolveFunction, expectedNames); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean refactorValid(@NotNull PsiClass _targetClass) {\r\n targetMethodCallExp = null;\r\n targetRefactorClass = null;\r\n targetClass = null;\r\n targetType = null;\r\n\r\n // PsiAssignmentExpression case\r\n List<PsiAssignmentExpression> aexpList = FindPsi...
[ "0.5735518", "0.5534739", "0.5482392", "0.52863944", "0.52189547", "0.5155203", "0.5106924", "0.5078267", "0.5069963", "0.50602823", "0.5018305", "0.49660525", "0.49447268", "0.49389768", "0.49362698", "0.49352264", "0.49056822", "0.48846176", "0.4855593", "0.4854899", "0.485...
0.6648891
0
this.id = this.getClass().getSimpleName() + id;
public void setId(int id) { this.id = String.valueOf(this.hashCode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();...
[ "0.7128593", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "0.7106352", "...
0.0
-1
return id; return String.valueOf(this.getClass().getSimpleName() + this.hashCode());
public String getId() { return this.getClass().getSimpleName() + "@" + this.hashCode(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getId()\r\n/* 14: */ {\r\n/* 15:14 */ return this.id;\r\n/* 16: */ }", "public String getId() {\n\t\treturn Integer.toString(this.hashCode());\n\t}", "public String toString(){\n\t\treturn \"\"+getId();\n\t}", "@Override\n public String toString() {\n return id.toString();\n }"...
[ "0.7899521", "0.7879469", "0.78191864", "0.7760122", "0.7683106", "0.7681396", "0.7679985", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", "0.7663224", ...
0.8023381
0
TODO Autogenerated method stub
private void setupGUI() { collapsingToolbarLayout = (CollapsingToolbarLayout) findViewById(R.id.collapsingToolbarLayout); logo = (SmartImageView) findViewById(R.id.logoo); nomePosto = (TextView) findViewById(R.id.nomeposto); descrizione = (TextView) findViewById(R.id.descrizioneposto); website = (TextView) findViewById(R.id.websiteposto); numtelefono = (TextView) findViewById(R.id.telefonoposto); citta = (TextView) findViewById(R.id.cittaposto); btnMappa = (FloatingActionButton) findViewById(R.id.fabbuttonmappa); gallery = (LinearLayout) findViewById(R.id.gallery); galleryContainer = (CardView) findViewById(R.id.cv1); // rvofferte = (RecyclerView) findViewById(R.id.rvofferte); // LinearLayoutManager llm = new // LinearLayoutManager(DetPlaActivity.this); // rvofferte.setLayoutManager(llm); // rvofferte.setSaveEnabled(false); }
{ "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
TODO Autogenerated method stub
private void getPlace(int idPlace2) { if (Tools.isNetworkEnabled(DetPlaActivity.this)) { client = new AsyncHttpClient(); client.get(Tools.GET_DETAIL_URL + idPlace, new JsonHttpResponseHandler() { @Override public void onSuccess(int statusCode, Header[] headers, JSONObject response) { // TODO Auto-generated method stub if (response != null) { place = Place.decodeJSON(response); place.id = idPlace; updateDetailGUI(); } else Toast.makeText(getApplicationContext(), "Errore", Toast.LENGTH_LONG).show(); } @Override public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) { Toast.makeText(DetPlaActivity.this, "Errore nel recupero dei dati", Toast.LENGTH_LONG).show(); super.onFailure(statusCode, headers, responseString, throwable); } @Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) { Toast.makeText(DetPlaActivity.this, "Errore nel recupero dei dati", Toast.LENGTH_LONG).show(); super.onFailure(statusCode, headers, throwable, errorResponse); } @Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) { Toast.makeText(DetPlaActivity.this, "Errore nel recupero dei dati", Toast.LENGTH_LONG).show(); super.onFailure(statusCode, headers, throwable, errorResponse); } private void updateDetailGUI() { // TODO Auto-generated method stub logo.setImageUrl(place.gallery.get(0)); nomePosto.setText(place.nome); descrizione.setText(place.description); numtelefono.setText(place.telefono); website.setText(place.website); citta.setText(place.cittą); SmartImageView image_detail; if (place.gallery.size() > 1) { LinearLayout.LayoutParams imagesLayout = new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); imagesLayout.setMargins(5, 0, 5, 0); for (int i = 1; i < place.gallery.size(); i++) { image_detail = new SmartImageView( DetPlaActivity.this); image_detail.setLayoutParams(imagesLayout); image_detail .setScaleType(ScaleType.CENTER_CROP); image_detail.getLayoutParams().width = 200; image_detail.setImageUrl(place.gallery .get(i)); final int index_id_dialog = i; image_detail .setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated // method stub DialogImage dialog = DialogImage .newInstance(place.gallery .get(index_id_dialog) .toString()); dialog.show( getFragmentManager(), Tools.TAG_DIALOG_IMAGE); } }); gallery.addView(image_detail); } } else { galleryContainer.setVisibility(View.GONE); gallery.setVisibility(View.GONE); } btnMappa.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub String url = "http://maps.google.com/maps?" + "daddr=" + place.lat + "," + place.longit; Intent mapIntent = new Intent( Intent.ACTION_VIEW, Uri.parse(url)); startActivity(mapIntent); } }); } }); Log.d("url offerta", Tools.OFFERS_BY_PLACE + idPlace); rvofferte = (RecyclerView) findViewById(R.id.rvofferte); LinearLayoutManager llm = new LinearLayoutManager( DetPlaActivity.this); rvofferte.setLayoutManager(llm); rvofferte.setSaveEnabled(false); client.get(Tools.OFFERS_BY_PLACE + idPlace, new JsonHttpResponseHandler() { @Override public void onSuccess(int statusCode, Header[] headers, JSONArray response) { // TODO Auto-generated method stub for (int i = 0; i < response.length(); i++) { Log.d("off", response.toString()); try { offerte.add(Offerta.decodeJSON(response .getJSONObject(i))); } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); } } adapter = new OffertaAdapterRV(DetPlaActivity.this, offerte); if (adapter != null) rvofferte.setAdapter(adapter); } @Override public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) { // TODO Auto-generated method stub super.onFailure(statusCode, headers, responseString, throwable); } @Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) { // TODO Auto-generated method stub super.onFailure(statusCode, headers, throwable, errorResponse); } @Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) { // TODO Auto-generated method stub super.onFailure(statusCode, headers, throwable, errorResponse); } }); } else Toast.makeText(DetPlaActivity.this, "Nessuna connessione disponibile!", Toast.LENGTH_LONG) .show(); }
{ "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
TODO Autogenerated method stub
@Override public void onSuccess(int statusCode, Header[] headers, JSONObject response) { if (response != null) { place = Place.decodeJSON(response); place.id = idPlace; updateDetailGUI(); } else Toast.makeText(getApplicationContext(), "Errore", Toast.LENGTH_LONG).show(); }
{ "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
TODO Autogenerated method stub
private void updateDetailGUI() { logo.setImageUrl(place.gallery.get(0)); nomePosto.setText(place.nome); descrizione.setText(place.description); numtelefono.setText(place.telefono); website.setText(place.website); citta.setText(place.cittą); SmartImageView image_detail; if (place.gallery.size() > 1) { LinearLayout.LayoutParams imagesLayout = new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); imagesLayout.setMargins(5, 0, 5, 0); for (int i = 1; i < place.gallery.size(); i++) { image_detail = new SmartImageView( DetPlaActivity.this); image_detail.setLayoutParams(imagesLayout); image_detail .setScaleType(ScaleType.CENTER_CROP); image_detail.getLayoutParams().width = 200; image_detail.setImageUrl(place.gallery .get(i)); final int index_id_dialog = i; image_detail .setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated // method stub DialogImage dialog = DialogImage .newInstance(place.gallery .get(index_id_dialog) .toString()); dialog.show( getFragmentManager(), Tools.TAG_DIALOG_IMAGE); } }); gallery.addView(image_detail); } } else { galleryContainer.setVisibility(View.GONE); gallery.setVisibility(View.GONE); } btnMappa.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub String url = "http://maps.google.com/maps?" + "daddr=" + place.lat + "," + place.longit; Intent mapIntent = new Intent( Intent.ACTION_VIEW, Uri.parse(url)); startActivity(mapIntent); } }); }
{ "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
TODO Autogenerated method stub
@Override public void onClick(View v) { DialogImage dialog = DialogImage .newInstance(place.gallery .get(index_id_dialog) .toString()); dialog.show( getFragmentManager(), Tools.TAG_DIALOG_IMAGE); }
{ "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
TODO Autogenerated method stub
@Override public void onClick(View v) { String url = "http://maps.google.com/maps?" + "daddr=" + place.lat + "," + place.longit; Intent mapIntent = new Intent( Intent.ACTION_VIEW, Uri.parse(url)); startActivity(mapIntent); }
{ "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
TODO Autogenerated method stub
@Override public void onSuccess(int statusCode, Header[] headers, JSONArray response) { for (int i = 0; i < response.length(); i++) { Log.d("off", response.toString()); try { offerte.add(Offerta.decodeJSON(response .getJSONObject(i))); } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); } } adapter = new OffertaAdapterRV(DetPlaActivity.this, offerte); if (adapter != null) rvofferte.setAdapter(adapter); }
{ "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
TODO Autogenerated method stub
@Override public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) { super.onFailure(statusCode, headers, responseString, throwable); }
{ "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
TODO Autogenerated method stub
@Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONArray errorResponse) { super.onFailure(statusCode, headers, throwable, errorResponse); }
{ "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
TODO Autogenerated method stub
@Override public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) { super.onFailure(statusCode, headers, throwable, errorResponse); }
{ "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
TODO Autogenerated method stub
@Resource public void setBaseDao(AdvTypeMapper baseDao) { super.setBaseDao(baseDao); }
{ "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
/ renamed from: a
public static int[] m22363a() { return (int[]) f17665d.clone(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: com.qiyukf.nim.uikit.common.ui.listview.AutoRefreshListView$b
public interface C5482b { /* renamed from: a */ void mo27575a(); /* renamed from: a */ void mo27576a(int i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void refreshList() {\n }", "@Override\n public void onRefresh(PullToRefreshBase<ListView> refreshView) {\n initListView();\n Toast.makeText(getContext(),\"刷新成功\",Toast.LENGTH_SHORT).show();\n\n }", "@Override\n\tpublic void refresh() ...
[ "0.73930013", "0.7377563", "0.73742956", "0.73496515", "0.73481816", "0.73227143", "0.7275441", "0.7240995", "0.7181403", "0.7180074", "0.71606", "0.7159392", "0.7142788", "0.71274126", "0.7121205", "0.710195", "0.70595306", "0.7037113", "0.7032876", "0.7024228", "0.70170575"...
0.0
-1
/ renamed from: a
void mo27575a();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
void mo27576a(int i);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public static int[] m22366a() { return (int[]) f17668c.clone(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
private void m22352a(Context context) { this.f17653j = (ViewGroup) View.inflate(context, C5961R.C5964layout.ysf_listview_refresh, null); addHeaderView(this.f17653j, null, false); this.f17654k = (ViewGroup) View.inflate(context, C5961R.C5964layout.ysf_listview_refresh, null); addFooterView(this.f17654k, null, false); super.setOnScrollListener(new OnScrollListener() { public final void onScroll(AbsListView absListView, int i, int i2, int i3) { for (OnScrollListener onScroll : AutoRefreshListView.this.f17647d) { onScroll.onScroll(absListView, i, i2, i3); } } public final void onScrollStateChanged(AbsListView absListView, int i) { for (OnScrollListener onScrollStateChanged : AutoRefreshListView.this.f17647d) { onScrollStateChanged.onScrollStateChanged(absListView, i); } } }); this.f17647d.add(new OnScrollListener() { public final void onScroll(AbsListView absListView, int i, int i2, int i3) { } public final void onScrollStateChanged(AbsListView absListView, int i) { if (i == 0 && AutoRefreshListView.this.f17648e == C5483c.f17667b) { boolean z = true; boolean z2 = AutoRefreshListView.this.getFirstVisiblePosition() < AutoRefreshListView.this.getHeaderViewsCount() && AutoRefreshListView.this.getCount() > AutoRefreshListView.this.getHeaderViewsCount(); if (z2) { AutoRefreshListView.m22353a(AutoRefreshListView.this, true); return; } if (AutoRefreshListView.this.getLastVisiblePosition() < AutoRefreshListView.this.getCount() - 1) { z = false; } if (z) { AutoRefreshListView.m22353a(AutoRefreshListView.this, false); } } } }); this.f17648e = C5483c.f17667b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
static /* synthetic */ void m22353a(AutoRefreshListView autoRefreshListView, boolean z) { if (autoRefreshListView.f17646c != null) { View childAt = autoRefreshListView.getChildAt(autoRefreshListView.getHeaderViewsCount()); if (childAt != null) { autoRefreshListView.f17655l = childAt.getTop(); } if (!z && autoRefreshListView.f17652i && autoRefreshListView.f17649f != C5481a.f17662a) { autoRefreshListView.f17646c.mo27575a(); autoRefreshListView.f17650g = C5481a.f17663b; autoRefreshListView.f17648e = C5483c.f17666a; } autoRefreshListView.m22356b(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ JADX WARNING: Code restructure failed: missing block: B:7:0x000e, code lost: if (r0 != 3) goto L_0x0089; / renamed from: a
private boolean m22354a(android.view.MotionEvent r5) { /* r4 = this; int r0 = r5.getAction() if (r0 == 0) goto L_0x0086 r1 = 1 r2 = 0 if (r0 == r1) goto L_0x002d r3 = 2 if (r0 == r3) goto L_0x0012 r3 = 3 if (r0 == r3) goto L_0x002d goto L_0x0089 L_0x0012: r4.m22357b(r5) boolean r0 = r4.f17656m if (r0 == 0) goto L_0x0089 float r0 = r5.getY() int r1 = r4.f17657n float r1 = (float) r1 float r0 = r0 - r1 int r0 = (int) r0 int r0 = java.lang.Math.max(r0, r2) int r0 = r0 / r3 android.view.ViewGroup r1 = r4.f17653j r1.setPadding(r2, r0, r2, r2) goto L_0x0089 L_0x002d: r4.f17656m = r2 int r0 = r4.getFirstVisiblePosition() int r3 = r4.getHeaderViewsCount() if (r0 >= r3) goto L_0x0045 int r0 = r4.getCount() int r3 = r4.getHeaderViewsCount() if (r0 <= r3) goto L_0x0045 r0 = 1 goto L_0x0046 L_0x0045: r0 = 0 L_0x0046: if (r0 == 0) goto L_0x006c float r0 = r4.f17644a float r3 = r5.getY() int r3 = (int) r3 float r3 = (float) r3 int r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1)) if (r0 >= 0) goto L_0x006c boolean r0 = r4.f17651h if (r0 == 0) goto L_0x006c int r0 = r4.f17649f int r3 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5481a.f17663b if (r0 == r3) goto L_0x006c com.qiyukf.nim.uikit.common.ui.listview.AutoRefreshListView$b r0 = r4.f17646c r0.mo27576a(r1) int r0 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5481a.f17662a r4.f17650g = r0 int r0 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5483c.f17666a r4.f17648e = r0 goto L_0x0078 L_0x006c: android.view.ViewGroup r0 = r4.f17653j r0.setPadding(r2, r2, r2, r2) int r0 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5483c.f17667b r4.f17648e = r0 r4.m22356b() L_0x0078: boolean r0 = r4.f17656m if (r0 == 0) goto L_0x0081 android.view.ViewGroup r0 = r4.f17653j r0.setPadding(r2, r2, r2, r2) L_0x0081: r4.f17645b = r2 r4.f17656m = r2 goto L_0x0089 L_0x0086: r4.m22357b(r5) L_0x0089: boolean r5 = super.onTouchEvent(r5) return r5 */ throw new UnsupportedOperationException("Method not decompiled: com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.m22354a(android.view.MotionEvent):boolean"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n ...
[ "0.72273856", "0.700451", "0.68891585", "0.6709062", "0.6706693", "0.6646344", "0.6634046", "0.6628782", "0.6596484", "0.6571867", "0.65670514", "0.65669864", "0.6562935", "0.65493083", "0.65297407", "0.6508577", "0.64998037", "0.64996487", "0.64847976", "0.64760953", "0.6462...
0.0
-1
/ renamed from: b
private void m22356b() { int i = C54803.f17660a[this.f17648e - 1]; if (i != 1) { if (i == 2) { int i2 = 8; if (this.f17650g == C5481a.f17662a) { View childAt = this.f17653j.getChildAt(0); if (this.f17651h) { i2 = 4; } childAt.setVisibility(i2); return; } this.f17654k.getChildAt(0).setVisibility(8); } return; } (C54803.f17661b[this.f17650g - 1] != 1 ? this.f17653j : this.f17654k).getChildAt(0).setVisibility(0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: b
private void m22357b(MotionEvent motionEvent) { boolean z = getFirstVisiblePosition() < getHeaderViewsCount() && getCount() > getHeaderViewsCount(); if (z) { this.f17648e = C5483c.f17666a; } m22356b(); int firstVisiblePosition = getFirstVisiblePosition(); if (!this.f17651h && firstVisiblePosition <= getHeaderViewsCount() && !this.f17656m) { this.f17656m = true; this.f17657n = (int) motionEvent.getY(); } if (!this.f17645b) { this.f17644a = (float) ((int) motionEvent.getY()); this.f17645b = true; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
public final C5482b mo27564a() { return this.f17646c; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void mo27565a(int i) { this.f17649f = i; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public final void mo27566a(C5482b bVar) { this.f17646c = bVar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public final void mo27567b(int i) { this.f17648e = C5483c.f17666a; this.f17650g = i; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ JADX WARNING: Code restructure failed: missing block: B:9:0x002b, code lost: if (com.qiyukf.unicorn.C6029d.m24045e().isDefaultLoadMsg == false) goto L_0x0032; / renamed from: c
public final void mo27568c(int r6) { /* r5 = this; int r0 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5483c.f17667b r5.f17648e = r0 int r0 = r5.f17650g int r1 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5481a.f17662a r2 = 1 r3 = 0 if (r0 != r1) goto L_0x0035 int r0 = r5.getCount() int r1 = r5.getHeaderViewsCount() int r1 = r1 + r6 int r4 = r5.getFooterViewsCount() int r1 = r1 + r4 if (r0 != r1) goto L_0x002e r0 = 20 if (r6 < r0) goto L_0x0022 r0 = 1 goto L_0x0023 L_0x0022: r0 = 0 L_0x0023: r5.f17651h = r0 com.qiyukf.unicorn.api.YSFOptions r0 = com.qiyukf.unicorn.C6029d.m24045e() boolean r0 = r0.isDefaultLoadMsg if (r0 != 0) goto L_0x003b goto L_0x0032 L_0x002e: if (r6 <= 0) goto L_0x0031 goto L_0x0032 L_0x0031: r2 = 0 L_0x0032: r5.f17651h = r2 goto L_0x003b L_0x0035: if (r6 <= 0) goto L_0x0038 goto L_0x0039 L_0x0038: r2 = 0 L_0x0039: r5.f17652i = r2 L_0x003b: r5.m22356b() int r0 = r5.f17650g int r1 = com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.C5481a.f17662a if (r0 != r1) goto L_0x0052 int r0 = r5.getHeaderViewsCount() int r6 = r6 + r0 boolean r0 = r5.f17651h if (r0 == 0) goto L_0x004f int r3 = r5.f17655l L_0x004f: r5.setSelectionFromTop(r6, r3) L_0x0052: return */ throw new UnsupportedOperationException("Method not decompiled: com.qiyukf.nim.uikit.common.p424ui.listview.AutoRefreshListView.mo27568c(int):void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decom...
[ "0.6325535", "0.6247037", "0.6143825", "0.6113081", "0.6102009", "0.6058737", "0.60091865", "0.59974754", "0.5983685", "0.59302884", "0.5927737", "0.5927737", "0.5920733", "0.59082735", "0.58679277", "0.5855112", "0.58464175", "0.5833788", "0.5833387", "0.5792104", "0.576987"...
0.0
-1
TODO Autogenerated method stub
@Override public ServerBean connect() throws RemoteException { System.out.println("coming from DealServerImp"); return null; }
{ "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
TODO Autogenerated method stub
@Override public ServerBean connect(String username, String password) throws RemoteException { return null; }
{ "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
TODO Autogenerated method stub
@Override public int publishEvent(String messageIndicator, String queueName, String messageType, Object object) throws RemoteException { return 0; }
{ "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
TODO Autogenerated method stub
@Override public ServerBean connect(String username, String password, String applicationName) throws RemoteException { return null; }
{ "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
TODO Autogenerated method stub
@Override public ServerBean connect(Users user, String applicationName) throws RemoteException { return null; }
{ "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
public static String IMAGE_URL = "
@FormUrlEncoded @POST("/linker/login") Call<LoginResponse> login(@FieldMap Map<String, Object> parameters);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public String imageUrl ();", "public String getURL() {\n\t\treturn RequestConstants.BASE_IMAGE_URL+_url;\n\t}", "public String getImgurl() {\n return imgurl;\n }", "public String getImageURL() \r\n\t{\r\n\t\t\r\n\t\treturn imageURL;\r\n\t\t\r\n\t}", "public String getImageURL()\n\t{\n\t\...
[ "0.75782835", "0.7472452", "0.7308108", "0.7274575", "0.72421545", "0.71434075", "0.71434075", "0.71434075", "0.71434075", "0.71434075", "0.70995575", "0.7075978", "0.70191115", "0.70124364", "0.68743473", "0.68324804", "0.68223447", "0.6802132", "0.67892677", "0.67728275", "...
0.0
-1
construct an empty deque
public Deque() { first = null; last = null; size = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Deque() {}", "public Deque() {\n size = 0;\n first = null;\n last = null;\n }", "public Deque() {\n resetDeque();\n }", "public Deque() {\n first = null;\n last = null;\n len = 0;\n }", "public ArrayDeque() {\n myQ = (T[]) new Object[I...
[ "0.76667625", "0.7598663", "0.7573738", "0.7542433", "0.74479204", "0.74461347", "0.744521", "0.74019843", "0.7381615", "0.7371903", "0.736806", "0.7356306", "0.73232234", "0.7276065", "0.7262491", "0.7168991", "0.7168991", "0.70985764", "0.70910513", "0.70799613", "0.7061786...
0.7432987
7
is the deque empty?
public boolean isEmpty() { return size() == 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isEmpty() { return (dequeSize == 0); }", "public boolean isEmpty()\n\t{ \n\t\treturn (front==-1);\n\t}", "boolean isEmpty()\n\t{\n\t\treturn front==-1;\n\t}", "boolean isEmpty() {\n return queue.isEmpty();\n }", "public boolean isEmpty() \n {\n\treturn queue.size() == 0;\n }", "b...
[ "0.86400646", "0.7800625", "0.7682804", "0.76651835", "0.76222736", "0.7608162", "0.7595055", "0.7572813", "0.75324225", "0.7528037", "0.75213253", "0.75065756", "0.75065756", "0.7497441", "0.7493133", "0.7448971", "0.74330163", "0.74330163", "0.7432061", "0.7426376", "0.7415...
0.0
-1
return the number of items on the deque
public int size() { return size; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int size() { return dequeSize; }", "public int size() {\n\t\t//Because we're the only consumer, we know nothing will be removed while\n\t\t//we're computing the size, so we know there are at least (rear - front)\n\t\t//elements already added.\n\t\treturn (int)(rear.get() - front.get());\n\t}", "public i...
[ "0.77459365", "0.7660299", "0.75504273", "0.7480658", "0.7400839", "0.73807436", "0.73256725", "0.7317093", "0.73169917", "0.72728413", "0.7254625", "0.7249976", "0.72341144", "0.7224791", "0.72035813", "0.7194387", "0.716089", "0.7157015", "0.7154945", "0.7154945", "0.713490...
0.0
-1
add the item to the front
public void addFirst(Item item) { if (item == null) { throw new IllegalArgumentException("Cannot add null item"); } Node node = new Node(item); if (first == null) { first = last = node; } else { node.next = first; first.previous = node; first = node; } size++; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFront(E item) {\r\n\t\tNode<E> node = new Node<E>(item, first);\r\n\t\tif(isEmpty())\r\n\t\t\tfirst = last = node;//it would be the first node so it would be first and last\r\n\t\telse {\r\n\t\t\tfirst = node;//creates a new node and puts it in the 1st position\r\n\t\t}\r\n\t}", "public void pushF...
[ "0.7545115", "0.734564", "0.716254", "0.71477896", "0.7058661", "0.6929179", "0.6906867", "0.6861979", "0.6817409", "0.6804744", "0.6803967", "0.67784566", "0.67276895", "0.6723167", "0.67010933", "0.66882455", "0.66642934", "0.6660615", "0.66572195", "0.66299736", "0.6624024...
0.0
-1
add the item to the back
public void addLast(Item item) { if (item == null) { throw new IllegalArgumentException("Cannot add null item"); } Node node = new Node(item); if (last == null) { first = last = node; } else { node.previous = last; last.next = node; last = node; } size++; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pushBack (O o)\r\n {\r\n //create new VectorItem\r\n VectorItem<O> vi = new VectorItem<O> (o,last, null);\r\n if (isEmpty()) \r\n {\r\n last = vi;\r\n first = vi;\r\n }\r\n else \r\n {\r\n last.setNext(vi);\r\n ...
[ "0.6808282", "0.67134726", "0.66486347", "0.6575529", "0.6512646", "0.6500936", "0.64789164", "0.64663476", "0.6444271", "0.64092946", "0.6395181", "0.6356292", "0.629493", "0.62785363", "0.62398374", "0.6230296", "0.6220789", "0.6183606", "0.61421734", "0.61133254", "0.60965...
0.0
-1
remove and return the item from the front
public Item removeFirst() { if (first == null) { throw new java.util.NoSuchElementException(); } Item temp = first.item; if (first == last) { last = null; first = null; } else { first = first.next; first.previous = null; } size--; return temp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public L removeFromFront(){\n\t\tif(isEmpty())//throw exception if List is empty\n\t\tthrow new IllegalStateException(\"List \" + name + \" is empty\");\n\n\t\tL removedItem = (L) firstNode.data; //retrieve data being removed\n\n\t\t//update references firstNode and lastNode\n\t\tif(firstNode == lastNode)\n\t\tfir...
[ "0.7883357", "0.7865078", "0.7686264", "0.7592321", "0.75910217", "0.75425607", "0.7415091", "0.73397964", "0.7328858", "0.7315592", "0.7303898", "0.730209", "0.72899884", "0.7261162", "0.7242955", "0.7236106", "0.7184411", "0.71836567", "0.71794116", "0.7129657", "0.7084265"...
0.69565314
36
remove and return the item from the back
public Item removeLast() { if (last == null) { throw new java.util.NoSuchElementException(); } Item temp = last.item; if (first == last) { last = null; first = null; } else { last = last.previous; last.next = null; } size--; return temp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Item deleteBack() {\n items[size - 1] = null;\n size -= size;\n Item itemToReturn = getBack();\n \n return itemToReturn;\n }", "public L removeFromBack(){\n\t\tif (isEmpty())//throw exception if List is empty\n\t\tthrow new IllegalStateException(\"List \" + name + \" ...
[ "0.78660935", "0.752806", "0.7327153", "0.7251818", "0.71612227", "0.7116888", "0.7074465", "0.7073037", "0.70555705", "0.70022535", "0.69769573", "0.6964019", "0.6922396", "0.6887851", "0.68793887", "0.6871217", "0.6861452", "0.68401635", "0.68337184", "0.6828537", "0.682110...
0.0
-1
return an iterator over items in order from front to back
public Iterator<Item> iterator() { return new DequeIterator(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Iterator<E> iterator() {\n\t\tfinal int begin = (int)(front.get() % elements.length()), end = (int)(rear.get() % elements.length());\n\t\treturn new Iterator<E>() {\n\t\t\tprivate int i = begin;\n\t\t\tprivate boolean removed = false;\n\t\t\t@Override\n\t\t\tpublic boolean hasNext() {\n\t\t\t\treturn i < en...
[ "0.6900489", "0.6507039", "0.6454422", "0.64119905", "0.6395622", "0.634609", "0.63157564", "0.6298639", "0.62773633", "0.6273354", "0.62696826", "0.6230976", "0.6210854", "0.6203793", "0.6171564", "0.6171564", "0.616534", "0.6162836", "0.61532944", "0.6116327", "0.61036706",...
0.5834654
68
=============================================================================================== CONSTRUCTOR(S) =============================================================================================== Instantiates a new Abstract unit template generator.
public AbstractUnitTemplateGenerator( TemplateTransformer<S> templateTransformer, TemplateEngine templateEngine, Exporter exporter) { this.templateTransformer = templateTransformer; this.templateEngine = templateEngine; this.exporter = exporter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TemplateFactoryImpl()\n {\n super();\n }", "public ClassTemplate() {\n\t}", "private Template() {\r\n\r\n }", "public TemplateHelper() {\r\t\tsuper();\r\t}", "public Generateur() {\n }", "public BPELGeneratorImpl() {\r\n \t\tsuper(GENERATOR_NAME);\r\n \t}", "public DefaultTemplateBase...
[ "0.71389264", "0.6757108", "0.66864944", "0.66180515", "0.65948206", "0.65705645", "0.6367284", "0.63083065", "0.62912196", "0.61584336", "0.6145694", "0.60848296", "0.6079273", "0.6077521", "0.60256946", "0.5989716", "0.59756786", "0.5951098", "0.59475964", "0.5931368", "0.5...
0.659709
4
Versi yg mempergunakan PreparedStatement
public TableController(Component hostComponent, String tableName, PreparedStatement prepStmt, JTable jTable1, core.gui.InputPanel inputPanel, boolean isIdInteger) { try { initialize(inputPanel, "", tableName, jTable1, hostComponent, isIdInteger); this.prepStmt = prepStmt; } catch (Exception ex) { Logger.getLogger(TableController.class.getName()).log(Level.SEVERE, null, ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void prepare(PreparedStatement statement) {\n }", "PreparedStatementEx(PreparedStatement preparedStatement, String sql) {\r\n this.pStmt = preparedStatement;\r\n this.origSql = (null == sql) ? EMPTY_SQL : sql;\r\n }", "@Override\n public boolean hasP...
[ "0.7615016", "0.7286459", "0.72473633", "0.71961963", "0.7055414", "0.6948208", "0.68833643", "0.6845157", "0.68332493", "0.6810796", "0.6759063", "0.6705751", "0.6689683", "0.6613248", "0.6535315", "0.6528299", "0.6518615", "0.6489652", "0.64829385", "0.6477792", "0.64754766...
0.0
-1
Versi yg mempergunakan Query string biasa
public TableController(Component hostComponent, String tableName, String sqlSelect, JTable jTable1, core.gui.InputPanel inputPanel, boolean isIdInteger) { try { setColumIdName("id" + tableName);//jika columnid tidak diberi nilai, berikan nilai default dunk initialize(inputPanel, sqlSelect, tableName, jTable1, hostComponent, isIdInteger); } catch (Exception ex) { Startup.getInstance().debug("Asal", ex.getMessage()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getQuery();", "java.lang.String getQuery();", "String getQuery();", "String getQueryString ();", "String query();", "public String getQueryString() {\n // We use the encoding which should be used according to the HTTP spec, which is UTF-8\n return getQueryString(EncoderCa...
[ "0.771731", "0.771731", "0.7563612", "0.7416092", "0.70956826", "0.692581", "0.692581", "0.67861915", "0.6698072", "0.666381", "0.66397655", "0.65721685", "0.65619904", "0.65474665", "0.6514905", "0.64626694", "0.640458", "0.63638043", "0.63388336", "0.6326422", "0.63141584",...
0.0
-1
ini setVisible belum di override, karena yg bertngg jwb u/ mengambil/refresh data adalah JDialogDaftar. Boleh kalau mau di jadikan di setVisible
public void performTambah() { dialogEntry.postInit(); dialogEntry.clearFields(); dialogEntry.setRowToBeEdited(-1); //dialogEntry.clearFields (); dialogEntry.show(true); // -- modal dialog ya, jd harus menunggu.. //if (isDirty()) { loadTable(); // TODO : select last item added //} }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setVisible(boolean arg0)\n {\n \n }", "@Override\n public void setVisible (boolean f)\n { \n }", "@Override\n\tpublic void setVisible(boolean b) {\n\t\t\n\t}", "public void setVisible(boolean val);", "public void setVisible(Boolean visible);", "void setV...
[ "0.74556065", "0.74107903", "0.736521", "0.73120266", "0.7287095", "0.71670496", "0.71670496", "0.7155841", "0.7100749", "0.70753825", "0.7055866", "0.70547915", "0.70412576", "0.6993593", "0.698902", "0.69799864", "0.69748205", "0.6934907", "0.69113517", "0.68568623", "0.684...
0.0
-1
tidak berguna lagi, karena dia skrg bukan turunan jdialog atau apapun, tp hanya controller... cari cara lain, yg lbh baik, u/ meniru behaviour ini
public void setVisible(boolean b) { if (b) { loadTable(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void guiTinNhan() {\n\n\t}", "private void btnHomeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnHomeActionPerformed\n// timingnyaDiStop();\n int inginKeluar;// 0 = (YES) exit ke main menu , 1 = (NO)tidak jadi //default netbeansnya\n inginKeluar = J...
[ "0.6583201", "0.64960814", "0.6432224", "0.63844", "0.6328806", "0.6288806", "0.62737656", "0.62638783", "0.6252449", "0.621249", "0.61951995", "0.6192972", "0.61912096", "0.61883545", "0.61879", "0.6182141", "0.61800313", "0.6175343", "0.61709243", "0.6160618", "0.6145688", ...
0.0
-1
TODO: Delete the resource from listview and main array
private void deleteResource() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void delete() {\n\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\tif (list.get(i).toString().equals(lu.toString())) {\r\n\t\t\t\tlist.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tll.makeXml(list);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printSta...
[ "0.6769838", "0.6582966", "0.65238184", "0.64936006", "0.6259265", "0.62526804", "0.62454146", "0.6238781", "0.6225677", "0.61933136", "0.61761355", "0.6154296", "0.6152719", "0.6123098", "0.6059368", "0.6059368", "0.6030176", "0.60299873", "0.6027696", "0.60252094", "0.59875...
0.61629534
11
TODO: Update the selected resource
private void updateResorce() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void selectResource() {\n IWorkspace workspace = ResourcesPlugin.getWorkspace();\n IWorkspaceRoot root = workspace.getRoot();\n FilteredResourcesSelectionDialog dialog = new FilteredResourcesSelectionDialog(getShell(),\n false, root, IResource.FILE);\n dialog.setTitle(\"Select a resource...
[ "0.7035492", "0.6972348", "0.63635015", "0.6345884", "0.6272379", "0.6168419", "0.6133161", "0.58583075", "0.585517", "0.58537185", "0.58516276", "0.582492", "0.58074236", "0.5734992", "0.5700493", "0.5696206", "0.567969", "0.5645059", "0.5643744", "0.55941916", "0.55898607",...
0.0
-1
(Highcharts, Highstock, Highmaps) An array of data classes or ranges for the choropleth map. If none given, the color axis is scalar and values are distributed as a gradient between the minimum and maximum colors.
@NpmPackage( name = "highcharts", version = "^8.1.2" ) @Import( module = "highcharts/es-modules/masters/highcharts.src.js" ) public interface ColorAxisDataClassesOptions extends Any { /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ @JSProperty("color") @Nullable Unknown /* ( ColorString | GradientColorObject | PatternObject ) */ getColor(); /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ @JSProperty("color") void setColor(@Nullable PatternObject value); /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ @JSProperty("color") void setColor(@Nullable String value); /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ @JSProperty("color") void setColor(@Nullable GradientColorObject value); /** * (Highcharts, Highstock, Highmaps) The start of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ @JSProperty("from") double getFrom(); /** * (Highcharts, Highstock, Highmaps) The start of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ @JSProperty("from") void setFrom(double value); /** * (Highcharts, Highstock, Highmaps) The name of the data class as it * appears in the legend. If no name is given, it is automatically created * based on the <code>from</code> and <code>to</code> values. For full programmatic control, * legend.labelFormatter can be used. In the formatter, <code>this.from</code> and * <code>this.to</code> can be accessed. * */ @JSProperty("name") @Nullable String getName(); /** * (Highcharts, Highstock, Highmaps) The name of the data class as it * appears in the legend. If no name is given, it is automatically created * based on the <code>from</code> and <code>to</code> values. For full programmatic control, * legend.labelFormatter can be used. In the formatter, <code>this.from</code> and * <code>this.to</code> can be accessed. * */ @JSProperty("name") void setName(@Nullable String value); /** * (Highcharts, Highstock, Highmaps) The end of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ @JSProperty("to") double getTo(); /** * (Highcharts, Highstock, Highmaps) The end of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ @JSProperty("to") void setTo(double value); static Builder builder() { return new Builder(); } final class Builder { private final ColorAxisDataClassesOptions object = Any.empty(); private Builder() { } public ColorAxisDataClassesOptions build() { return object; } /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ public Builder color(@Nullable PatternObject value) { object.setColor(value); return this; } /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ public Builder color(@Nullable String value) { object.setColor(value); return this; } /** * (Highcharts, Highstock, Highmaps) The color of each data class. If not * set, the color is pulled from the global or chart-specific colors array. * In styled mode, this option is ignored. Instead, use colors defined in * CSS. * */ public Builder color(@Nullable GradientColorObject value) { object.setColor(value); return this; } /** * (Highcharts, Highstock, Highmaps) The start of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ public Builder from(double value) { object.setFrom(value); return this; } /** * (Highcharts, Highstock, Highmaps) The name of the data class as it * appears in the legend. If no name is given, it is automatically created * based on the <code>from</code> and <code>to</code> values. For full programmatic control, * legend.labelFormatter can be used. In the formatter, <code>this.from</code> and * <code>this.to</code> can be accessed. * */ public Builder name(@Nullable String value) { object.setName(value); return this; } /** * (Highcharts, Highstock, Highmaps) The end of the value range that the * data class represents, relating to the point value. * * The range of each <code>dataClass</code> is closed in both ends, but can be * overridden by the next <code>dataClass</code>. * */ public Builder to(double value) { object.setTo(value); return this; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GridColormap(double min, double max)\n {\n setMinMax(min, max);\n }", "public ScatterPlotChart(float[][] data, \n ValueAxis domainAxis, ValueAxis rangeAxis) {\n\t\t \n\t\tsuper(data,domainAxis,rangeAxis);\n\t\tsetPaint(Color.BLACK);\n\t\t\n }", "publ...
[ "0.5634395", "0.53249276", "0.5255894", "0.5209483", "0.51995564", "0.5182176", "0.5047647", "0.5029126", "0.501713", "0.49914512", "0.49526644", "0.49263534", "0.48904765", "0.48479766", "0.48051715", "0.47791785", "0.47740462", "0.47377664", "0.46737203", "0.46720704", "0.4...
0.53181285
2
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
@JSProperty("color") @Nullable Unknown /* ( ColorString | GradientColorObject | PatternObject ) */ getColor();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.6218397", "0.6083868", "0.5996846", "0.59875584", "0.5935873", "0.5851497", "0.58084744", "0.5805761", "0.57682747", "0.5750373", "0.5749839", "0.5740628", "0.5740628", "0.5721986", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", ...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
@JSProperty("color") void setColor(@Nullable PatternObject value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.6217953", "0.60837567", "0.59963876", "0.5986731", "0.5936124", "0.58506715", "0.5807711", "0.58047336", "0.5767967", "0.57501364", "0.5749668", "0.5740382", "0.5740382", "0.5720982", "0.5716047", "0.5716047", "0.5716047", "0.5716047", "0.5716047", "0.5716047", "0.5716047"...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
@JSProperty("color") void setColor(@Nullable String value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.6218941", "0.6085296", "0.59984106", "0.5987144", "0.5935443", "0.58514726", "0.58100194", "0.58051944", "0.57685184", "0.5750568", "0.5749893", "0.5740846", "0.5740846", "0.5722418", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
@JSProperty("color") void setColor(@Nullable GradientColorObject value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.62194085", "0.60855573", "0.59983504", "0.5988172", "0.5937458", "0.5852549", "0.58097774", "0.58063525", "0.57696813", "0.5752005", "0.57514524", "0.5742233", "0.5742233", "0.5720983", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.571789...
0.0
-1
(Highcharts, Highstock, Highmaps) The start of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
@JSProperty("from") double getFrom();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setXDataRange(float min, float max);", "public double getMinRange() {\n return minRange;\n }", "public double getRange(){\n\t\treturn range;\n\t}", "public double getXRangeMin() {\n return xRangeMin;\n }", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "public i...
[ "0.6479503", "0.64625865", "0.6421622", "0.6347405", "0.6318292", "0.6243712", "0.6208591", "0.61868906", "0.6186328", "0.6183124", "0.6173856", "0.6172026", "0.6101249", "0.6075617", "0.5993306", "0.5957914", "0.5954201", "0.5911994", "0.59008515", "0.5892494", "0.5891217", ...
0.0
-1
(Highcharts, Highstock, Highmaps) The start of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
@JSProperty("from") void setFrom(double value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setXDataRange(float min, float max);", "public double getMinRange() {\n return minRange;\n }", "public double getRange(){\n\t\treturn range;\n\t}", "public double getXRangeMin() {\n return xRangeMin;\n }", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "public i...
[ "0.6480367", "0.64614975", "0.642262", "0.6345774", "0.631885", "0.6242578", "0.62087417", "0.6185748", "0.61842626", "0.61833644", "0.6174435", "0.6169337", "0.60982555", "0.6075951", "0.59935784", "0.5954837", "0.59539026", "0.591252", "0.5897083", "0.5893484", "0.58925986"...
0.0
-1
(Highcharts, Highstock, Highmaps) The name of the data class as it appears in the legend. If no name is given, it is automatically created based on the from and to values. For full programmatic control, legend.labelFormatter can be used. In the formatter, this.from and this.to can be accessed.
@JSProperty("name") @Nullable String getName();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "LegendType createLegendType();", "@Override\n\tpublic String getName() {\n\t\treturn String.format(\"%s|%.1f|%d\", this.getClass().getName(), this.scale, this.targetContent);\n\t}", "java.lang.String getMetricName();", "@Override\n public String getName() {\n return _data.getName();\n }", "String ...
[ "0.5905844", "0.53597504", "0.5245237", "0.4927793", "0.4923957", "0.49221042", "0.49196023", "0.4913469", "0.48873568", "0.4867442", "0.48418623", "0.48403576", "0.4798199", "0.4774837", "0.47603375", "0.4742112", "0.47346985", "0.47275853", "0.47275716", "0.4725477", "0.472...
0.0
-1
(Highcharts, Highstock, Highmaps) The name of the data class as it appears in the legend. If no name is given, it is automatically created based on the from and to values. For full programmatic control, legend.labelFormatter can be used. In the formatter, this.from and this.to can be accessed.
@JSProperty("name") void setName(@Nullable String value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "LegendType createLegendType();", "@Override\n\tpublic String getName() {\n\t\treturn String.format(\"%s|%.1f|%d\", this.getClass().getName(), this.scale, this.targetContent);\n\t}", "java.lang.String getMetricName();", "@Override\n public String getName() {\n return _data.getName();\n }", "@Functi...
[ "0.59075564", "0.5357936", "0.5243557", "0.49261576", "0.49256966", "0.49228403", "0.49198928", "0.4916544", "0.48865092", "0.486804", "0.48413002", "0.48396137", "0.47948784", "0.47735196", "0.47562662", "0.47422582", "0.4733258", "0.47277966", "0.47268552", "0.4724641", "0....
0.0
-1
(Highcharts, Highstock, Highmaps) The end of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
@JSProperty("to") double getTo();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getEndRange() {\r\n\t\treturn lookupValue(Params.END_RANGE);\r\n\t}", "public void setYDataRange(float min, float max);", "public double getRange(){\n\t\treturn range;\n\t}", "MinmaxEntity getEnd();", "String getEndRange();", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "p...
[ "0.66544116", "0.64967704", "0.64404744", "0.6372079", "0.6344608", "0.6257689", "0.6220247", "0.6208132", "0.6149851", "0.6120712", "0.60816467", "0.6056687", "0.6027659", "0.60195166", "0.6015703", "0.5982066", "0.596826", "0.5939756", "0.5937925", "0.59202826", "0.5906143"...
0.0
-1
(Highcharts, Highstock, Highmaps) The end of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
@JSProperty("to") void setTo(double value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getEndRange() {\r\n\t\treturn lookupValue(Params.END_RANGE);\r\n\t}", "public void setYDataRange(float min, float max);", "public double getRange(){\n\t\treturn range;\n\t}", "MinmaxEntity getEnd();", "String getEndRange();", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "p...
[ "0.665568", "0.6495093", "0.6439889", "0.6373808", "0.63460314", "0.62573224", "0.6220281", "0.62113273", "0.6149744", "0.61203146", "0.60834306", "0.6056009", "0.6027861", "0.60231674", "0.6014206", "0.59822017", "0.5967505", "0.59396785", "0.59367573", "0.59174514", "0.5908...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
public Builder color(@Nullable PatternObject value) { object.setColor(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.6218941", "0.6085296", "0.59984106", "0.5987144", "0.5935443", "0.58514726", "0.58100194", "0.58051944", "0.57685184", "0.5750568", "0.5749893", "0.5740846", "0.5740846", "0.5722418", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57164484", "0.57...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
public Builder color(@Nullable String value) { object.setColor(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.62194085", "0.60855573", "0.59983504", "0.5988172", "0.5937458", "0.5852549", "0.58097774", "0.58063525", "0.57696813", "0.5752005", "0.57514524", "0.5742233", "0.5742233", "0.5720983", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.5717897", "0.571789...
0.0
-1
(Highcharts, Highstock, Highmaps) The color of each data class. If not set, the color is pulled from the global or chartspecific colors array. In styled mode, this option is ignored. Instead, use colors defined in CSS.
public Builder color(@Nullable GradientColorObject value) { object.setColor(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@NoProxy\n @NoWrap\n @NoDump\n public String getColor() {\n return color;\n }", "@Override\n\tpublic String getColor() {\n\t\treturn \"red\";\n\t}", "@Override\n\tpublic String getColor() {\n\t\treturn \"blue\";\n\t}", "public void setColors(Object colors) {\r\n this.colors = colors;\r\n }",...
[ "0.6218397", "0.6083868", "0.5996846", "0.59875584", "0.5935873", "0.5851497", "0.58084744", "0.5805761", "0.57682747", "0.5750373", "0.5749839", "0.5740628", "0.5740628", "0.5721986", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", "0.5716216", ...
0.0
-1
(Highcharts, Highstock, Highmaps) The start of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
public Builder from(double value) { object.setFrom(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setXDataRange(float min, float max);", "public double getMinRange() {\n return minRange;\n }", "public double getRange(){\n\t\treturn range;\n\t}", "public double getXRangeMin() {\n return xRangeMin;\n }", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "public i...
[ "0.6480367", "0.64614975", "0.642262", "0.6345774", "0.631885", "0.6242578", "0.62087417", "0.6185748", "0.61842626", "0.61833644", "0.6174435", "0.6169337", "0.60982555", "0.6075951", "0.59935784", "0.5954837", "0.59539026", "0.591252", "0.5897083", "0.5893484", "0.58925986"...
0.0
-1
(Highcharts, Highstock, Highmaps) The name of the data class as it appears in the legend. If no name is given, it is automatically created based on the from and to values. For full programmatic control, legend.labelFormatter can be used. In the formatter, this.from and this.to can be accessed.
public Builder name(@Nullable String value) { object.setName(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "LegendType createLegendType();", "@Override\n\tpublic String getName() {\n\t\treturn String.format(\"%s|%.1f|%d\", this.getClass().getName(), this.scale, this.targetContent);\n\t}", "java.lang.String getMetricName();", "@Override\n public String getName() {\n return _data.getName();\n }", "String ...
[ "0.5905844", "0.53597504", "0.5245237", "0.4927793", "0.4923957", "0.49221042", "0.49196023", "0.4913469", "0.48873568", "0.4867442", "0.48418623", "0.48403576", "0.4798199", "0.4774837", "0.47603375", "0.4742112", "0.47346985", "0.47275853", "0.47275716", "0.4725477", "0.472...
0.0
-1
(Highcharts, Highstock, Highmaps) The end of the value range that the data class represents, relating to the point value. The range of each dataClass is closed in both ends, but can be overridden by the next dataClass.
public Builder to(double value) { object.setTo(value); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getEndRange() {\r\n\t\treturn lookupValue(Params.END_RANGE);\r\n\t}", "public void setYDataRange(float min, float max);", "public double getRange(){\n\t\treturn range;\n\t}", "MinmaxEntity getEnd();", "String getEndRange();", "@Override\n\tpublic int getRange() {\n\t\treturn range;\n\t}", "p...
[ "0.6654086", "0.6494848", "0.6439487", "0.6372824", "0.6344806", "0.62570876", "0.6219918", "0.6210581", "0.61493343", "0.61198664", "0.6082263", "0.60549355", "0.6026859", "0.60222113", "0.60130143", "0.5981542", "0.5966761", "0.59387654", "0.59354573", "0.5918515", "0.59084...
0.0
-1
Creates an asteroid, and adds it to the field and to the schedule.
public Asteroid(Asteroids asteroids, int size, MutableDouble2D velocity, Double2D location) { this.size = size; this.velocity = velocity; stopper = asteroids.schedule.scheduleRepeating(this); shape = shapes[size][asteroids.random.nextInt(shapes[size].length)]; rotationalVelocity = asteroids.random.nextDouble() * MAXIMUM_ROTATIONAL_VELOCITY * (asteroids.random.nextBoolean() ? 1.0 : -1.0); orientation = asteroids.random.nextDouble() * Math.PI * 2; asteroids.field.setObjectLocation(this, location); asteroids.asteroidCount++; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addAsteroid() \n\t{\n\t\tgameObj[0].add(new Asteroid());\n\t\tSystem.out.println(\"Asteroid added\");\n\t}", "public void addAsteroid() \n\t{\n\t\tgameObj.add(new Asteroid(getHeight(), getWidth()));\n\t\tSystem.out.println(\"Asteroid added\");\n\t\tnotifyObservers();\n\t}", "public Asteroid...
[ "0.68186426", "0.6786126", "0.66621673", "0.66166604", "0.651604", "0.6356845", "0.6327312", "0.61939424", "0.6117078", "0.60322976", "0.59097064", "0.58367443", "0.5830415", "0.5802204", "0.5735494", "0.57193846", "0.5624575", "0.5496624", "0.54022884", "0.53546494", "0.5317...
0.52816385
21
Breaks up an Asteroid into smaller Asteroids, removing the original Asteroid and inserting the new Asteroids in the field. If there are no asteroids to break into, the asteroid is simply replaced with Shards. Smaller Asteroids are given an appropriate velocity which combines the current Asteroid's velocity plus a velocity caused by the explosion force.
public void breakApart(final Asteroids asteroids) { Double2D location = asteroids.field.getObjectLocation(this); int[] sizes = breakMap[size][asteroids.random.nextInt(breakMap[size].length)]; if (sizes.length > 0) { // break into asteroids int sum = 0; for(int i = 0; i < sizes.length; i++) sum += sizes[i]; // compute velocities double explosionForce = asteroids.random.nextDouble() * (MAXIMUM_EXPLOSION_FORCE - MINIMUM_EXPLOSION_FORCE) + MINIMUM_EXPLOSION_FORCE; double sumForceX = 0; double sumForceY = 0; for(int i = 0; i < sizes.length; i++) { double angle = asteroids.random.nextDouble() * Math.PI * 2; double force = explosionForce / sizes.length; double forceX = force * Math.cos(angle); double forceY = force * Math.sin(angle); if (i == sizes.length - 1) { forceX = -sumForceX; forceY = -sumForceY; } // last one ought to balance out the others. It's best if it's the biggest one, hence why we list smaller asteroids first else { sumForceX += forceX; sumForceY += forceY; } // yes, this is a dead store Asteroid a = new Asteroid(asteroids, sizes[i], new MutableDouble2D(velocity.x + forceX, velocity.y + forceY), location); } } else { breakIntoShards(asteroids); } end(asteroids); asteroids.asteroidCount--; if (asteroids.asteroidCount <= 0) { asteroids.schedule.scheduleOnceIn(asteroids.WAIT_PERIOD, new Steppable() { public void step(SimState state) { asteroids.createAsteroids(); } }); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void asteroidShot()\n\t{\n\t\t//collision can only occur if at least 1 asteroid\n\t\t//and one missile are currently spawned\n\t\tif(gameObj[0].size() > 0 && gameObj[4].size() > 0)\n\t\t{\n\t\t\tint ast = new Random().nextInt(gameObj[0].size());\n\t\t\tint mis = new Random().nextInt(gameObj[4].size());\n\t\...
[ "0.66580385", "0.64593196", "0.64152384", "0.59213495", "0.5898239", "0.5870092", "0.5863612", "0.58626115", "0.5798244", "0.5782579", "0.5777791", "0.5628515", "0.5587597", "0.5494381", "0.5480897", "0.5477197", "0.5459799", "0.5418781", "0.5346575", "0.5337566", "0.53139204...
0.7637978
0
Function to store the Stage
public void setStage(Stage currentStage) { this.thisStage = currentStage; thisStage.setOnCloseRequest(new EventHandler<WindowEvent>() { public void handle(WindowEvent t) { //Platform.exit(); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "final Stage getLocalStage() {\n\t\t// retrnamos la etapa actual\n\t\treturn this.localStage;\n\t}", "String getStage();", "public Stage getStage() {\n return stage;\n }", "public Stage getStage() {\n return stage;\n }", "public Stage getStage() {\n return stage;\n }", "publi...
[ "0.6775741", "0.6775563", "0.6667387", "0.6667387", "0.6667387", "0.66325474", "0.6632031", "0.6500336", "0.6432299", "0.63280654", "0.6300558", "0.62974495", "0.62591326", "0.6224779", "0.6222762", "0.6215874", "0.62121904", "0.62115014", "0.619353", "0.6163444", "0.6162685"...
0.56349885
59
Main Menu Drop down
@Override public void initialize(URL arg0, ResourceBundle arg1) { home = new MenuItem("Home Page"); home.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { Application_Navigator.loadVista(Application_Navigator.CREDENTIALS); } }); newuser = new MenuItem("New User"); newuser.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { System.out.println("Calling New User window"); Application_Navigator.loadVista(Application_Navigator.NEWUSER); } }); exit = new MenuItem("Exit Application"); exit.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { System.out.println("quitting"); System.exit(0); } }); Main.getItems().add(home); Main.getItems().add(newuser); Main.getItems().add(exit); //---------------------------- Actions Menu Drop down -------------------------------- history = new MenuItem("View History"); history.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { // open the default web browser for the HTML page try { URL webURL = new URL("http://webdevelopmentdev.azurewebsites.net/"); Desktop.getDesktop().browse(webURL.toURI()); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }); Actions.getItems().add(history); browser = new MenuItem("View Browser"); browser.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { System.out.println("Inside the browser"); Application_Navigator.loadVista(Application_Navigator.BROWSER); } }); Actions.getItems().add(browser); browser.setDisable(true); issue = new MenuItem("Report Issue"); issue.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { Application_Navigator.loadVista(Application_Navigator.ISSUE); } }); Actions.getItems().add(issue); StartConnection(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mainMenu() {\n\t\t// main menu\n\t\tdisplayOptions();\n\t\twhile (true) {\n\t\t\tString choice = ValidInputReader.getValidString(\n\t\t\t\t\t\"Main menu, enter your choice:\",\n\t\t\t\t\t\"^[aAcCrRpPeEqQ?]$\").toUpperCase();\n\t\t\tif (choice.equals(\"A\")) {\n\t\t\t\taddPollingPlace();\n\t\t\t} else i...
[ "0.72693753", "0.7202693", "0.71939456", "0.71563107", "0.71273667", "0.7045601", "0.6950503", "0.68836814", "0.687817", "0.6874776", "0.68423194", "0.6773277", "0.6767672", "0.67559433", "0.67553455", "0.6745935", "0.6720788", "0.6709441", "0.6696743", "0.6690405", "0.668090...
0.0
-1
open the default web browser for the HTML page
public void handle(ActionEvent t) { try { URL webURL = new URL("http://webdevelopmentdev.azurewebsites.net/"); Desktop.getDesktop().browse(webURL.toURI()); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void openWebpage(String url) {\n try {\n new ProcessBuilder(\"x-www-browser\", url).start();\n } catch (IOException e) {\n log.error(e.getMessage(), e);\n }\n }", "public static void openBrowser()\n\t{\n\t\tdriver = DriverSetup.getWebDriver(ReadPropert...
[ "0.75124985", "0.7424007", "0.70716035", "0.69909316", "0.6970271", "0.69640356", "0.69229436", "0.68728137", "0.68399376", "0.681118", "0.68036884", "0.67837304", "0.67309463", "0.67196137", "0.66822493", "0.6667707", "0.66527337", "0.66504747", "0.66049945", "0.6596624", "0...
0.0
-1
String[] partDate1 = StringUtil.split(date1, ""); String[] partData2 = StringUtil.split(date2, ""); int countOfDay = 0; countOfDay += Math.abs(Integer.parseInt(partDate1[0])Integer.parseInt(partData2[0])); //todo return countOfDay;
public int daysBetweenDates(String date1, String date2) { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long days(Date date2) {\n\t\tlong getDaysDiff =0;\n\t\t DateFormat simpleDateFormat = new SimpleDateFormat(\"dd-MM-yyyy\");\n\n\t\t Date currentDate = new Date();\n\t\t Date date1 = null;\n\t\t Date date3 = null;\n\n\t\t\n\n\t\t try {\n\t\t String startDate = simpleDateFormat.format(date2);\n\t\t S...
[ "0.6660338", "0.6609879", "0.65785563", "0.65736127", "0.6504268", "0.64394486", "0.63685286", "0.6334797", "0.6271132", "0.616262", "0.61041427", "0.6091974", "0.60895896", "0.6064546", "0.6050576", "0.6009155", "0.60060096", "0.5983393", "0.5933445", "0.59253883", "0.591536...
0.65158087
4