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
// / War and Conquest Control //
private void removeTerritoriesOfPlayerFromSpecificTime(Player player,RoundHistory roundHistory) { List<Integer> mapsToClear = player.getTerritoriesID(); while(!mapsToClear.isEmpty()){ Integer territoryID = mapsToClear.get(0); getTerritoryFromSpecificTime(roundHistory,territoryID).eliminateThisWeakArmy(); mapsToClear.remove(0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private FlyWithWings(){\n\t\t\n\t}", "public void sendToWard(){\r\n\t\t//here is some code that we do not have access to\r\n\t}", "public War()\n {\n start();\n }", "protected void service(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tString...
[ "0.5958444", "0.5734184", "0.57191306", "0.5612525", "0.5488351", "0.54848504", "0.54271156", "0.54135305", "0.5405584", "0.5404818", "0.5384163", "0.5346483", "0.5315724", "0.5308893", "0.5274891", "0.52630705", "0.5241854", "0.52211106", "0.52011436", "0.52000546", "0.51886...
0.0
-1
Returns 0 = AttackerLoss : 1 = AttackerWins : 2 = DRAW
public int attackConqueredTerritoryByWellTimedBattle(){ return attackConqueredTerritory(new WellTimedBattle( selectedTerritoryByPlayer.getConquerArmyForce(), selectedArmyForce, selectedTerritoryByPlayer, getPlayerByID(selectedTerritoryByPlayer.getConquerID()), gameDescriptor.getUnitMap().size())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getIndividualAttack();", "int getAttackRoll();", "public int status() \n {\n \tif (stonesCount(7,12) != 0 && stonesCount(0,5) != 0)\n \t\treturn GAME_NOT_OVER;\n \telse if (stonesCount(7,13) < stonesCount(0,6))\n \t\treturn GAME_OVER_WIN;\n \telse if (stonesCount(7,13) == stonesCount(0,6)...
[ "0.66920984", "0.66607785", "0.65313834", "0.6484886", "0.6441429", "0.6350312", "0.63343024", "0.628077", "0.62786144", "0.6260761", "0.6254379", "0.62315255", "0.62004817", "0.61821336", "0.61492574", "0.61419374", "0.6125477", "0.61047894", "0.6099667", "0.6090997", "0.606...
0.0
-1
Returns 0 = AttackerLoss : 1 = AttackerWins : 2 = DRAW
public int attackConqueredTerritoryByCalculatedRiskBattle(){ return attackConqueredTerritory(new CalculatedRiskBattle( selectedTerritoryByPlayer.getConquerArmyForce(), selectedArmyForce, selectedTerritoryByPlayer, getPlayerByID(selectedTerritoryByPlayer.getConquerID()))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getIndividualAttack();", "int getAttackRoll();", "public int status() \n {\n \tif (stonesCount(7,12) != 0 && stonesCount(0,5) != 0)\n \t\treturn GAME_NOT_OVER;\n \telse if (stonesCount(7,13) < stonesCount(0,6))\n \t\treturn GAME_OVER_WIN;\n \telse if (stonesCount(7,13) == stonesCount(0,6)...
[ "0.66930497", "0.6660584", "0.6530457", "0.648599", "0.64428705", "0.6351563", "0.63339", "0.62821954", "0.6280195", "0.6261835", "0.625532", "0.6232921", "0.6201834", "0.61827683", "0.61503875", "0.6139903", "0.6126225", "0.61071444", "0.61012715", "0.60937166", "0.60640794"...
0.0
-1
Returns AttackerLoss 0 : AttackerWins 1 : DRAW 2
private int attackConqueredTerritory(Battle battle) { int result; battle.startBattle(); result = battle.getResult(); if(result == 1) { // AttackerWins selectedTerritoryByPlayer.setConquerID(currentPlayerTurn.getID()); currentPlayerTurn.addTerritory(selectedTerritoryByPlayer); eventListener.addEventObject(new TerritoryEvent(selectedTerritoryByPlayer.getID(),EventNamesConstants.TerritoryConquered)); } else if(result == 0){ // AttackerLoss selectedArmyForce = null; } else{ // DRAW eventListener.addEventObject(new TerritoryEvent(selectedTerritoryByPlayer.getID(), EventNamesConstants.TerritoryRelease)); return result; } if(battle.isWinnerArmyNotStrongEnoughToHoldTerritory()){ xChangeFundsForUnitsAndHold(selectedTerritoryByPlayer); } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int[] getWinLoss()\n {\n int[] winst = new int[]\n {\n wins , losses\n };\n return winst;\n }", "int getAttackRoll();", "public int losses(String team) {\n return loss[findTeamIndex(team)];\n }", "public int losses(String team) {\n if (team...
[ "0.6815415", "0.67676556", "0.6667102", "0.6523309", "0.6464687", "0.6394705", "0.6290773", "0.62866443", "0.6279035", "0.62553275", "0.6250233", "0.6243265", "0.62345773", "0.6158123", "0.61519235", "0.61332077", "0.61144614", "0.61144614", "0.61144614", "0.61144614", "0.611...
0.0
-1
Returns True: if attacking player conquered the territory, Else: False. anyway its update stats of GameObjects.Territory.
public boolean conquerNeutralTerritory() { if (isSelectedArmyForceBigEnough()) { currentPlayerTurn.addTerritory(selectedTerritoryByPlayer); selectedTerritoryByPlayer.setConquerArmyForce(selectedArmyForce); selectedTerritoryByPlayer.setConquerID(currentPlayerTurn.getID()); } eventListener.addEventObject(new TerritoryEvent(selectedTerritoryByPlayer.getID(),EventNamesConstants.TerritoryConquered)); return isSelectedArmyForceBigEnough(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int attackConqueredTerritory(Battle battle) {\n int result;\n battle.startBattle();\n result = battle.getResult();\n if(result == 1) { // AttackerWins\n selectedTerritoryByPlayer.setConquerID(currentPlayerTurn.getID());\n currentPlayerTurn.addTerritory(sele...
[ "0.73870015", "0.70291066", "0.69345355", "0.6833525", "0.65295607", "0.6496899", "0.64710087", "0.6407854", "0.640731", "0.64071727", "0.6391143", "0.63113827", "0.6095509", "0.6062714", "0.6038071", "0.6009435", "0.59882975", "0.5955548", "0.5872214", "0.5870283", "0.586790...
0.6964581
2
// / Get InformationTable //
public boolean isLastRound(){ return gameDescriptor.getTotalCycles()==roundNumber; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TableInfo getTableInfo() {\r\n\t\treturn ti;\r\n\t}", "public BaseTableInfo info() {\n return info;\n }", "public TableInfo[] getTableInfo (int index)\n\t{\n\t\tif (index < 0 || index > m_tableInfo.size())\n\t\t\treturn null;\n\t\tTableInfo[] retValue = (TableInfo[])m_tableInfo.get(index);\n\t\tretu...
[ "0.7167005", "0.6655239", "0.6407017", "0.63672036", "0.6228112", "0.60691553", "0.6034731", "0.5970812", "0.59481215", "0.5927559", "0.59243804", "0.59088767", "0.59085065", "0.5901881", "0.588273", "0.58748424", "0.58618516", "0.5782618", "0.57796144", "0.5764772", "0.57623...
0.0
-1
get price of rehabilitation Army in territory
public int getRehabilitationArmyPriceInTerritory(Territory territory){ return territory.getRehabilitationArmyPriceInTerritory(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "double getPrice();", "double getPrice();", "double getPrice();", "double getPricePerPerson();", "@Override\n\tpublic double rentalPrice() {\n\t\treturn 70.00;\n\t}", "public abstract double calculateAppraisalPrice();", "abstract public double getPrice();", "BigDecimal getPrice();", "double calculat...
[ "0.6855426", "0.6855426", "0.6855426", "0.68173844", "0.6778886", "0.673834", "0.6702062", "0.6627146", "0.6617924", "0.65999794", "0.65804744", "0.653415", "0.6520734", "0.6513638", "0.6505689", "0.6470514", "0.64399904", "0.6435802", "0.64107877", "0.6402672", "0.6397524", ...
0.7721055
0
checks if undo is valid
public boolean isUndoPossible() { return (roundsHistory.size() > 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean canUndo() {\n/* 834 */ return !Utils.isNullOrEmpty(getNextUndoAction());\n/* */ }", "public boolean canUndo();", "public boolean canUndo();", "public boolean canUndo()\n {\n if (undoableChanges == null || undoableChanges.size() > 0)\n return true;\n ...
[ "0.7750268", "0.7616009", "0.7616009", "0.75688", "0.7561015", "0.73993105", "0.7141874", "0.7112815", "0.70348424", "0.69702774", "0.6901928", "0.6874868", "0.6852888", "0.6760055", "0.6758967", "0.6757515", "0.6743804", "0.66516745", "0.6644878", "0.65495694", "0.65495694",...
0.7330473
6
Returns True: if target territory is 1 block away from his territories.Else false
private boolean isTargetTerritoryOneBlockAway() { for(Territory territory:getCurrentPlayerTerritories()) { if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == 1) { int minID = Math.min(territory.getID(),selectedTerritoryByPlayer.getID()); int maxID = Math.max(territory.getID(),selectedTerritoryByPlayer.getID()); if(maxID % gameDescriptor.getColumns() == 0) return true; if((minID % gameDescriptor.getColumns() != 0 ) && (minID / gameDescriptor.getColumns() == maxID / gameDescriptor.getColumns())) { return true; } } else if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == gameDescriptor.getColumns()) return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isTargetTerritoryValid() {\n return isTargetTerritoryOneBlockAway();\n }", "public boolean inGoalRegion() {\n return position >= GOAL_POSITION;\n }", "private boolean isTownHallAt(int x, int y, Node dest) {\n\t\tif (x == dest.getX() && y == dest.getY()) {\n\t\t\treturn false;...
[ "0.7258209", "0.6303407", "0.62033045", "0.59735787", "0.5960717", "0.5943284", "0.59090114", "0.5852094", "0.578804", "0.57298684", "0.57008773", "0.56903046", "0.568461", "0.56770736", "0.5671537", "0.5659833", "0.5653013", "0.5635704", "0.5630964", "0.56058466", "0.5569459...
0.81908864
0
Returns True: if target territory is valid
public boolean isTargetTerritoryValid() { return isTargetTerritoryOneBlockAway(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isTargetTerritoryOneBlockAway() {\n for(Territory territory:getCurrentPlayerTerritories()) {\n if(Math.abs(territory.getID()-selectedTerritoryByPlayer.getID()) == 1) {\n int minID = Math.min(territory.getID(),selectedTerritoryByPlayer.getID());\n int ...
[ "0.62723726", "0.6252072", "0.619001", "0.6136419", "0.60831106", "0.59523755", "0.59324896", "0.59031236", "0.5788399", "0.5753742", "0.5716787", "0.5716504", "0.568131", "0.567162", "0.5665438", "0.56396043", "0.56396043", "0.56396043", "0.5621292", "0.5616068", "0.5611329"...
0.8331729
0
Returns True: if yes. Else False.
private boolean isSelectedArmyForceBigEnough() { return selectedArmyForce.getTotalPower() >= selectedTerritoryByPlayer.getArmyThreshold(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean func_70814_o() { return true; }", "private boolean Verific() {\n\r\n\treturn true;\r\n\t}", "boolean hasAutomatic();", "public boolean method_1456() {\r\n return true;\r\n }", "boolean getIsOk();", "public boolean repOK(){\n if(passenger == null) return false;\n if(...
[ "0.70912206", "0.6805472", "0.6782309", "0.6749389", "0.6708722", "0.6645613", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", "0.6610551", ...
0.0
-1
Checks if current player is the conquer of this GameObjects.Territory.
public boolean isTerritoryBelongsCurrentPlayer() { if(selectedTerritoryByPlayer.getConquerID() == null) return false; return selectedTerritoryByPlayer.getConquerID().equals(currentPlayerTurn.getID()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isConquered() {\n return selectedTerritoryByPlayer.isConquered();\n }", "public boolean conquerNeutralTerritory() {\n if (isSelectedArmyForceBigEnough()) {\n currentPlayerTurn.addTerritory(selectedTerritoryByPlayer);\n selectedTerritoryByPlayer.setConquerArmy...
[ "0.82945305", "0.7401377", "0.66663265", "0.630942", "0.60307413", "0.5705882", "0.56729996", "0.56608665", "0.56246704", "0.56142396", "0.5605775", "0.5579404", "0.5565127", "0.5486285", "0.5478526", "0.54719985", "0.5454535", "0.5434371", "0.54120374", "0.54116136", "0.5402...
0.7848618
1
Returns True if selected territory is conquered. Else False
public boolean isConquered() { return selectedTerritoryByPlayer.isConquered(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean conquerNeutralTerritory() {\n if (isSelectedArmyForceBigEnough()) {\n currentPlayerTurn.addTerritory(selectedTerritoryByPlayer);\n selectedTerritoryByPlayer.setConquerArmyForce(selectedArmyForce);\n selectedTerritoryByPlayer.setConquerID(currentPlayerTurn.getI...
[ "0.7414241", "0.6873873", "0.6697965", "0.6128157", "0.57847023", "0.57152534", "0.56967807", "0.56899416", "0.5599259", "0.55856365", "0.55843407", "0.55774593", "0.5548506", "0.5540589", "0.55312026", "0.5530781", "0.5517675", "0.5516567", "0.55107635", "0.55074954", "0.545...
0.839218
0
Returns True if next player exist in this round
public boolean isCycleOver(){ if(playersTurns.isEmpty()) { eventListener.addEventObject(new RoundEvent(EventNamesConstants.RoundEnded)); return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void next_player() {\n\t\tthis.nb_turn++;\n\t\tthis.player_turn++;\n\t\tthis.same_dice_in_a_row = 0;\n\t\tif (player_turn == this.players.size()) {\n\t\t\tthis.player_turn = 0;\n\t\t}\n\n\t\tif (get_player_from_turn().get_surrend()) {\n\t\t\tthis.nb_turn--;\n\t\t\tif (get_player_in_game() > 0) {\n\t\t\t\tth...
[ "0.7113521", "0.69406843", "0.68512034", "0.6847314", "0.6819443", "0.6802795", "0.6758536", "0.67082965", "0.6636079", "0.6616281", "0.66008914", "0.65947133", "0.6592219", "0.65549594", "0.64779365", "0.6468214", "0.646381", "0.6438854", "0.6392571", "0.6388088", "0.6385777...
0.62701094
32
Returns True if Game Over final Round is over
public boolean isGameOver() { if(gameDescriptor.getTotalCycles() < roundNumber){ eventListener.addEventObject(new RoundEvent(EventNamesConstants.GameFinished)); return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isGameOver() {\n if (!isFirstTurn) {\n if (state.score().totalPoints(TeamId.TEAM_1)>=Jass.WINNING_POINTS||state.score().totalPoints(TeamId.TEAM_2)>=Jass.WINNING_POINTS) {\n return true;\n }\n else {\n return false;\n }\...
[ "0.8042366", "0.78411096", "0.78273606", "0.777844", "0.7651806", "0.7651806", "0.7611654", "0.7610949", "0.7610949", "0.7577247", "0.75532067", "0.75465196", "0.75356376", "0.7521584", "0.7518718", "0.7518718", "0.7517729", "0.7423281", "0.742128", "0.7415204", "0.7364962", ...
0.82222086
0
Returns currentPlayer funds amount
public int getCurrentPlayerFunds(){return currentPlayerTurn.getFunds();}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getMoney() {\n return wallet.getMoney();\n }", "public double getDepositAmount()\n\t{\n\t\treturn this.getFlightCosts() + this.totalPrice * this.half;\n\t}", "public float getAmount() {\n System.out.println(\"Account Balance:\" + amount);\n return amount;\n }", "public S...
[ "0.7129524", "0.7043178", "0.7017385", "0.69600916", "0.6907625", "0.69050556", "0.6896483", "0.6809414", "0.67611325", "0.6757941", "0.6752175", "0.6697269", "0.6650342", "0.6626418", "0.6606369", "0.6597145", "0.6590169", "0.6539991", "0.6535916", "0.6519245", "0.6514848", ...
0.7616576
0
returns gameManager id relevant for the second project
public int getGameManagerID() { return ID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getGameId();", "public Integer getIDByOpponents(Player player1, Player player2){\n synchronized (games) {\n for (Integer id: games.keySet()){\n CheckersGame game = games.get(id);\n if (game.hasPlayer(player1) && game.hasPlayer(player2) && !game.isGameOver())...
[ "0.6878692", "0.6440868", "0.6185779", "0.61102134", "0.60951287", "0.60951287", "0.60943425", "0.6000656", "0.6000656", "0.5934986", "0.59249634", "0.5921999", "0.5919564", "0.58931535", "0.58931535", "0.58881795", "0.5884775", "0.5884251", "0.5838377", "0.5821701", "0.58117...
0.7208098
0
get supplier and returns if the current funds are enough
public boolean isSelectedPlayerHasEnoughMoney(Supplier <Integer> amountOfMoney) { return amountOfMoney.get() <= getCurrentPlayerFunds(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean DeriveStockWith_FundIsAvailable() {\n\t\tif (getFunds() > 0) {\n\t\t\tif (calculateInputStock_Items() > getFunds()) {\n\t\t\t\tSystem.err.println(\"Insufficient Funds, Cannot restock\");\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t\t// available funds can accommodate input s...
[ "0.6762617", "0.6409329", "0.6208172", "0.6121284", "0.6089133", "0.6035711", "0.59022635", "0.5860886", "0.58479494", "0.58352584", "0.5797695", "0.5793514", "0.57817775", "0.5780693", "0.5771976", "0.57044756", "0.56862634", "0.5656556", "0.56404656", "0.56297886", "0.56188...
0.5623025
20
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.cust_id
public Long getCustId() { return custId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getCustId() {\n return custId;\n }", "public int getCustId(){\n return this.custId;\r\n }", "public String getCustId() {\n return custId;\n }", "java.lang.String getCustomerId();", "java.lang.String getCustomerId();", "public String getCust_id() {\r\n\t\treturn c...
[ "0.7621497", "0.7435243", "0.7386052", "0.7324581", "0.7324581", "0.72421926", "0.70888746", "0.6925328", "0.6872161", "0.68668425", "0.68391216", "0.67859215", "0.6782897", "0.677393", "0.6750662", "0.6750662", "0.6746614", "0.6746614", "0.67003036", "0.6697948", "0.6689547"...
0.74531347
1
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.cust_id
public void setCustId(Long custId) { this.custId = custId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustId(Long custId) {\n this.custId = custId;\n }", "public void setCustID(String custID) {\r\n this.custID = custID;\r\n }", "public void setCustomer_id(int customer_id){\n this.customer_id = customer_id;\n }", "public int getCustId(){\n return this.custId...
[ "0.7232655", "0.71484476", "0.6824359", "0.6786998", "0.67839396", "0.67499506", "0.6694989", "0.6666597", "0.6574408", "0.6574408", "0.6466669", "0.6436785", "0.642866", "0.63692826", "0.63594455", "0.63387537", "0.62802505", "0.6213206", "0.61922157", "0.6124845", "0.611482...
0.6912714
2
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.cust_name
public String getCustName() { return custName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCustomerName()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_NAME, LEN_CUSTOMER_NAME) ;\n\t}", "public String getCustName() \r\n\t{\r\n\t\t\r\n\t\treturn custName;\r\n\t\t\r\n\t}", "String getCustomerNameById(int customerId);", "String getName() {\n\t\treturn customer.getName();\n\t}", "public S...
[ "0.71852064", "0.7179262", "0.68376845", "0.6792647", "0.671557", "0.66753924", "0.66620123", "0.6591752", "0.65699774", "0.65614456", "0.64385355", "0.642984", "0.64151037", "0.64151037", "0.6382145", "0.6381547", "0.6360438", "0.6268456", "0.6268456", "0.62410516", "0.61559...
0.7013754
2
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.cust_name
public void setCustName(String custName) { this.custName = custName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustName(String custName) {\n\t\tcustName = custName == null ? null : custName.trim();\n\n\t\tsetField(\"custName\", custName);\n\t}", "public void setCustomerName(String customerName) \n {\n this.customerName = customerName;\n }", "public void setCustomerName(String customerName)\n...
[ "0.6704448", "0.6662289", "0.66062826", "0.65031034", "0.63666815", "0.62896484", "0.6264511", "0.62123585", "0.6197079", "0.6189781", "0.61367184", "0.605611", "0.5940213", "0.59228444", "0.5916413", "0.5916413", "0.59123474", "0.58778334", "0.5792375", "0.5786687", "0.57685...
0.673359
0
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.cust_plate_name
public String getCustPlateName() { return custPlateName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCustName() \r\n\t{\r\n\t\t\r\n\t\treturn custName;\r\n\t\t\r\n\t}", "public String getCustName() {\n\t\treturn custName;\n\t}", "public String getCustName() {\n\t\treturn custName;\n\t}", "public String getCustomerName()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_NAME, LEN_CUSTOMER_NAME) ;\n\t}...
[ "0.6687094", "0.6518612", "0.6518612", "0.6363399", "0.6238082", "0.61543316", "0.6141004", "0.6089798", "0.60506845", "0.599878", "0.59967554", "0.5910228", "0.5890928", "0.5890928", "0.5885285", "0.58417076", "0.5824231", "0.57967097", "0.57723725", "0.5748023", "0.5694234"...
0.6972239
0
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.cust_plate_name
public void setCustPlateName(String custPlateName) { this.custPlateName = custPlateName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustName(String custName) {\n\t\tthis.custName = custName;\n\t}", "public void setCustName(String custName) {\n\t\tcustName = custName == null ? null : custName.trim();\n\n\t\tsetField(\"custName\", custName);\n\t}", "public String getCustPlateName() {\n\t\treturn custPlateName;\n\t}", "public...
[ "0.60365283", "0.6027215", "0.6012101", "0.58536375", "0.57722133", "0.57649624", "0.56961006", "0.56798536", "0.5653501", "0.56473756", "0.55752754", "0.55752754", "0.55448157", "0.5510826", "0.5510826", "0.5487628", "0.54711163", "0.5445157", "0.5419631", "0.5399648", "0.53...
0.64633036
0
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.cust_pid
public Long getCustPid() { return custPid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getCustId() {\n return custId;\n }", "public int getCustId(){\n return this.custId;\r\n }", "public void setCustPid(Long custPid) {\n\t\tthis.custPid = custPid;\n\t}", "public String getCustId() {\n return custId;\n }", "public Long getCustId() {\n\t\treturn custId...
[ "0.6525305", "0.6462436", "0.6364964", "0.6316586", "0.6308489", "0.6308489", "0.6248208", "0.6222523", "0.59366196", "0.59366196", "0.5917687", "0.58805114", "0.58117133", "0.57789916", "0.57304704", "0.56759983", "0.5660256", "0.5630075", "0.5622067", "0.5616573", "0.561657...
0.682363
0
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.cust_pid
public void setCustPid(Long custPid) { this.custPid = custPid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustID(String custID) {\r\n this.custID = custID;\r\n }", "public void setCustId(Long custId) {\n this.custId = custId;\n }", "public Long getCustPid() {\n\t\treturn custPid;\n\t}", "public void setCustId(Long custId) {\n\t\tthis.custId = custId;\n\t}", "public void setCu...
[ "0.6320697", "0.6226581", "0.59853977", "0.5907708", "0.59038544", "0.5894311", "0.5871716", "0.5868808", "0.58676755", "0.57604593", "0.57206935", "0.5667739", "0.55901265", "0.5580063", "0.55720514", "0.55720514", "0.5524859", "0.5502008", "0.5477418", "0.5477233", "0.54704...
0.7346631
0
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.address
public String getAddress() { return address; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCustAddress() \r\n\t{\r\n\t\t\r\n\t\treturn custAddress;\r\n\t\t\r\n\t}", "String getAddress() {\n\t\treturn customer.getAddress();\n\t}", "public String getCustomerAddress() {\n return customerAddress;\n }", "@Override\n public String getAddress() {\n\n if(this.address =...
[ "0.73125315", "0.72528255", "0.67621845", "0.66857463", "0.6666454", "0.6650378", "0.664205", "0.66005653", "0.6490437", "0.6445043", "0.6445043", "0.6441195", "0.6412032", "0.6344175", "0.6344175", "0.6325751", "0.63135135", "0.63067794", "0.63023734", "0.6286973", "0.628697...
0.61258197
91
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.address
public void setAddress(String address) { this.address = address; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustomerAddr(String customerAddr) {\n this.customerAddr = customerAddr;\n }", "public abstract void setCustomerAddress(Address address);", "public void setAddress(String _address){\n address = _address;\n }", "public void setAddress(java.lang.String address)\n {\n s...
[ "0.66766554", "0.66766375", "0.63170314", "0.6272136", "0.62349916", "0.62334585", "0.62334585", "0.62334585", "0.62334585", "0.6171328", "0.6165752", "0.61505747", "0.6114106", "0.60798085", "0.60217863", "0.5991406", "0.5988291", "0.5988291", "0.5988291", "0.59814566", "0.5...
0.5620073
93
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.created_code
public String getCreatedCode() { return createdCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCreatedCode(String createdCode) {\n\t\tthis.createdCode = createdCode;\n\t}", "public String getCustomerCode()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_CODE, LEN_CUSTOMER_CODE) ;\n\t}", "public String getCustCode() {\n return custCode;\n }", "public String getCustCode() {\n ret...
[ "0.68128115", "0.67879754", "0.66756773", "0.66756773", "0.656542", "0.6415618", "0.63289547", "0.62994367", "0.62994367", "0.626086", "0.6084832", "0.60244197", "0.60090196", "0.5998399", "0.5998399", "0.5998399", "0.5991101", "0.5982375", "0.59702337", "0.59702337", "0.5970...
0.7529664
0
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.created_code
public void setCreatedCode(String createdCode) { this.createdCode = createdCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCreatedCode() {\n\t\treturn createdCode;\n\t}", "@Id\r\n @GeneratedValue(strategy = GenerationType.AUTO)\r\n @Column (name = \"CODE_ID\")\r\n public Long getCodeId() {\r\n return codeId;\r\n }", "@Accessor(qualifier = \"code\", type = Accessor.Type.SETTER)\n\tpublic void...
[ "0.65896916", "0.6265836", "0.61049914", "0.60481024", "0.59896195", "0.5941073", "0.5941073", "0.5939082", "0.5909817", "0.5884328", "0.58777094", "0.5862087", "0.58511513", "0.58317804", "0.58317804", "0.58251154", "0.58229744", "0.5804617", "0.5794143", "0.57932293", "0.57...
0.72940725
0
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.created_dt
public Date getCreatedDt() { return createdDt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DateTime getCreatedTimestamp() {\n\t\treturn getDateTime(\"sys_created_on\");\n\t}", "public Timestamp getCreatedDate() {\n return (Timestamp)getAttributeInternal(CREATEDDATE);\n }", "public Date getCREATED_DATE() {\r\n return CREATED_DATE;\r\n }", "public Date getDateCreated(){ret...
[ "0.710573", "0.68775874", "0.6866802", "0.686373", "0.6835659", "0.6835659", "0.6835659", "0.6831221", "0.67481446", "0.6740637", "0.6722465", "0.6722415", "0.6722415", "0.6716445", "0.67150146", "0.6707803", "0.6707473", "0.6691921", "0.66878325", "0.66878325", "0.66798294",...
0.67224866
10
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.created_dt
public void setCreatedDt(Date createdDt) { this.createdDt = createdDt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCREATED_DATE(Date CREATED_DATE) {\r\n this.CREATED_DATE = CREATED_DATE;\r\n }", "public void setDateCreated(Date dateCreated);", "void setCreatedDate(Date createdDate);", "public void setCreatedDate(Date createdDate);", "public void setCreatedDate(Date value) {\n this.create...
[ "0.66885525", "0.66303986", "0.65699804", "0.65283376", "0.65144104", "0.65144104", "0.63903844", "0.63903844", "0.63903844", "0.63001496", "0.62948686", "0.6290481", "0.62354", "0.62274843", "0.62274843", "0.62274843", "0.62099606", "0.62099606", "0.6201972", "0.6178979", "0...
0.64591646
6
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.updated_code
public String getUpdatedCode() { return updatedCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUpdatedCode(String updatedCode) {\n\t\tthis.updatedCode = updatedCode;\n\t}", "public String getCustomerCode()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_CODE, LEN_CUSTOMER_CODE) ;\n\t}", "public String getCustCode() {\n return custCode;\n }", "public String getCustCode() {\n ret...
[ "0.6502872", "0.62681496", "0.6122233", "0.6122233", "0.602195", "0.5938692", "0.58601177", "0.5854426", "0.5854426", "0.5851071", "0.5696046", "0.5679637", "0.56748825", "0.56748825", "0.5673747", "0.5673747", "0.56498337", "0.56284755", "0.56256926", "0.5606488", "0.5598315...
0.7420849
0
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.updated_code
public void setUpdatedCode(String updatedCode) { this.updatedCode = updatedCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUpdatedCode() {\n\t\treturn updatedCode;\n\t}", "Code updateCode(Code code)\n throws DAOException;", "@Override\r\n\tpublic void update(Code code) {\n\t\tthis.getHibernateTemplate().saveOrUpdate(code);\r\n\t}", "public void setCustomerCode(String customerCode)\n\t{\n\t\tsetColumn(customer...
[ "0.64691126", "0.6285078", "0.60649645", "0.5964752", "0.5801326", "0.5781261", "0.5746383", "0.5733554", "0.57190454", "0.5682628", "0.5619917", "0.55903083", "0.55537844", "0.5553431", "0.5549118", "0.55477387", "0.5546823", "0.5533021", "0.5507895", "0.55066", "0.5497557",...
0.71576333
0
This method was generated by MyBatis Generator. This method returns the value of the database column sys_cust.updated_dt
public Date getUpdatedDt() { return updatedDt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DateTime getUpdatedTimestamp() {\n\t\treturn getDateTime(\"sys_updated_on\");\n\t}", "public Timestamp getUpdateddate() {\n return (Timestamp)getAttributeInternal(UPDATEDDATE);\n }", "public Date getDATE_UPDATED() {\r\n return DATE_UPDATED;\r\n }", "public Date getDATE_UPDATED() {\...
[ "0.7330601", "0.7129239", "0.7126755", "0.7126755", "0.7104557", "0.7044023", "0.701533", "0.6958699", "0.6946604", "0.6942602", "0.693284", "0.6908084", "0.69031674", "0.68797857", "0.68595886", "0.68595886", "0.68449354", "0.68449354", "0.68449354", "0.67989486", "0.6798948...
0.70887
5
This method was generated by MyBatis Generator. This method sets the value of the database column sys_cust.updated_dt
public void setUpdatedDt(Date updatedDt) { this.updatedDt = updatedDt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUpdatedOn(Date updatedOn);", "public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }", "public void setUpdated(Date updated) {\r\n this.updated = updated;\r\n }", "void setUpdatedDate(Date updatedDate);", "public void setDATE_UPDATED(Date DATE_UPDATED) {...
[ "0.6790443", "0.67721844", "0.67721844", "0.67490464", "0.67296255", "0.67296255", "0.66694343", "0.66694343", "0.6652724", "0.6614737", "0.65741193", "0.656544", "0.65467733", "0.65395415", "0.65395415", "0.64845335", "0.645854", "0.645854", "0.645585", "0.6432228", "0.64322...
0.6900758
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; visMeldingKnapp = new javax.swing.JButton(); slettKnapp = new javax.swing.JButton(); tilbakeKnapp = new javax.swing.JButton(); nyMeldingKnapp = new javax.swing.JButton(); inboxScrollPane = new javax.swing.JScrollPane(); inboxListe = new javax.swing.JList(); tittelLabel = new javax.swing.JLabel(); setPreferredSize(new java.awt.Dimension(640, 480)); setLayout(new java.awt.GridBagLayout()); visMeldingKnapp.setText("Vis Melding"); visMeldingKnapp.addActionListener(cont); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 2; add(visMeldingKnapp, gridBagConstraints); slettKnapp.setText("Slett"); slettKnapp.addActionListener(cont); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 2; add(slettKnapp, gridBagConstraints); tilbakeKnapp.setText("Tilbake"); tilbakeKnapp.addActionListener(cont); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; add(tilbakeKnapp, gridBagConstraints); nyMeldingKnapp.setText("Ny Melding"); nyMeldingKnapp.addActionListener(cont); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; add(nyMeldingKnapp, gridBagConstraints); inboxScrollPane.setPreferredSize(new java.awt.Dimension(500, 375)); inboxListe.setModel(new javax.swing.AbstractListModel() { String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" }; public int getSize() { return strings.length; } public Object getElementAt(int i) { return strings[i]; } }); inboxListe.setPreferredSize(new java.awt.Dimension(450, 350)); inboxScrollPane.setViewportView(inboxListe); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 4; add(inboxScrollPane, gridBagConstraints); tittelLabel.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N tittelLabel.setText("Inbox:"); add(tittelLabel, new java.awt.GridBagConstraints()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73192346", "0.7290526", "0.7290526", "0.7290526", "0.7285891", "0.72480357", "0.7213616", "0.7207808", "0.71955067", "0.71891475", "0.71844363", "0.7159038", "0.71474695", "0.7092269", "0.7079923", "0.70560205", "0.69864315", "0.697697", "0.69552195", "0.6953691", "0.69458...
0.0
-1
Interface used by Client to notify listeners of events
public interface ClientListener { /** * Fired when client list should be updated * * @param clients Array of clients */ void onClientsUpdated(String[] clients); /** * Fired when a message has been received * * @param message Message that was received */ void onMessageReceived(Message message); /** * Fired when client has been disconnected from server */ void onDisconnected(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ClientConnectionListener\n{\n /**\n * Event for when a Client connects to a server\n * @param client the client which connected\n */\n void clientConnected(Client client);\n\n /**\n * Event for when a Client Disconnects from a server\n * @param client the client which ...
[ "0.74290305", "0.7415405", "0.7394157", "0.7322014", "0.7308895", "0.7283047", "0.718513", "0.7084567", "0.70686454", "0.7015252", "0.69917893", "0.68974036", "0.6895256", "0.68165475", "0.6793101", "0.67783916", "0.67521864", "0.67521864", "0.67374486", "0.6731279", "0.66993...
0.7551689
0
Fired when client list should be updated
void onClientsUpdated(String[] clients);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}", "@Override\n\tpublic void updateClient() {\n\t\t\n\t}", "public void updateClient()\n\t{\n\t\t// TODO\n\t}", "public void updated(ServerList list);", "public void updateLi...
[ "0.7946694", "0.755479", "0.7524199", "0.7426266", "0.7314949", "0.7251552", "0.6904428", "0.685942", "0.6767507", "0.67323565", "0.6679217", "0.6665771", "0.6647779", "0.66346943", "0.6573083", "0.6570122", "0.6560796", "0.65446776", "0.6516656", "0.651173", "0.64869785", ...
0.7457708
3
Fired when a message has been received
void onMessageReceived(Message message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onMessageRecieved(Message arg0) {\n\t\t\n\t}", "public void OnMessageReceived(String msg);", "public void messageReceived(Message m) {\n\t\t\r\n\t}", "public void messageReceived() {\n\tTrackedMessage.accumulateMap(TrackedMessage.unmapType(\n\t\tTrackedMessage.messagesRecieved, this....
[ "0.8250948", "0.81390274", "0.7870583", "0.7865261", "0.7843322", "0.7760701", "0.7717401", "0.7641604", "0.76321477", "0.76306576", "0.76265717", "0.7592271", "0.75541955", "0.7549053", "0.7520293", "0.7500781", "0.7492121", "0.74896085", "0.74882245", "0.7479606", "0.747177...
0.8377815
0
Fired when client has been disconnected from server
void onDisconnected();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\t\tpublic void onClientDisconnect(ServerConnection sc) {\n\t\t\t\t\tSystem.out.println(\"CLIENT DISCONNECTED FROM SERVER.\");\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void onClientDisconnect(ServerConnection sc) {\n\t\t\t\t}", "void clientDisconnected(Client client, DisconnectInfo info);",...
[ "0.8200497", "0.8197822", "0.8169385", "0.8076958", "0.80602133", "0.79617465", "0.7929241", "0.7684556", "0.75874656", "0.7491486", "0.74662644", "0.7463805", "0.7418315", "0.741192", "0.73741823", "0.7328403", "0.72995883", "0.728765", "0.7275006", "0.7256118", "0.72431153"...
0.73488903
15
Returns calendars according to the search parameters
@GET List<Calendar> getCalendars(@QueryParam("q") String query, @QueryParam("skip") @DefaultValue("0") int skip, @QueryParam("max") @DefaultValue("100") int max);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List getCalendarios(Map criteria);", "public ArrayList<Pair<String,String>> getCalendarList() {\n ArrayList<Pair<String,String>> calendars = new ArrayList<>();\n if (ActivityCompat.checkSelfPermission(\n App.getContext(), Manifest.permission.READ_CALENDAR\n ) != Package...
[ "0.7242995", "0.62744296", "0.61166966", "0.6072543", "0.5983183", "0.58851236", "0.5841709", "0.57657564", "0.5735144", "0.5655253", "0.5640825", "0.55793774", "0.5575067", "0.55747104", "0.5573635", "0.5572313", "0.5546506", "0.553169", "0.5527413", "0.54298437", "0.5415675...
0.7311332
0
Creates a calendar for which the server will generate the id.
@POST Response createCalendar(Calendar calendar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createCalendar() throws Exception, IOException, ServiceException {\n // If true, the calendar already exists\n if (getDestinationCalendarUrl() != null) {\n return;\n }\n\n CalendarEntry calendar = new CalendarEntry();\n calendar.setTitle(new PlainTextConstr...
[ "0.6945904", "0.68721426", "0.6622705", "0.62329525", "0.62308466", "0.622235", "0.6011501", "0.59880286", "0.5836878", "0.5790247", "0.57874554", "0.5778702", "0.57768506", "0.57710946", "0.57679826", "0.5716318", "0.571347", "0.57094336", "0.5681676", "0.56148726", "0.55471...
0.6969063
0
Supposed to save the representation of the calendar with the given id. Inconsistent data should result in HTTP 400, while a successful PUT should return Response.noContent.
@PUT @Path("{id}") @RolesAllowed({"administrator", "user", "visitor"}) Response createOrUpdateCalendar(@PathParam("id") Long id, Calendar calendar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(method=RequestMethod.PUT,value=\"/{id}\")\r\n\t@JsonView(Views.Admin.class)\r\n\tpublic ResponseEntity<?> putScheduleById(@RequestBody ScheduleDTO se,@PathVariable String id){\r\n\t\treturn scheduleDao.putScheduleById(se,id);\r\n\t}", "@RequestMapping(value = \"{id}\", method = RequestMethod.PUT,...
[ "0.6397057", "0.59194213", "0.5837662", "0.5757091", "0.5733706", "0.5650761", "0.5603801", "0.55655396", "0.55504316", "0.5549849", "0.55378455", "0.5534695", "0.5526112", "0.5497761", "0.54527146", "0.5425815", "0.5393013", "0.5346631", "0.5338229", "0.5285141", "0.52643573...
0.71061426
0
Returns the calendar with the given id.
@GET @Path("{id}") Calendar getCalendarById(@PathParam("id") Long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @Transactional\n public CalendarEntry getById(final Long id) {\n return getCalendarEntryRepository().getById(id);\n }", "Long getCalendarId();", "@Override\n\tpublic org.sakaiproject.calendar.api.Calendar getCalendar(String ref)\n\t\t\tthrows IdUnusedException, PermissionException {...
[ "0.71320826", "0.6539731", "0.6310697", "0.62533224", "0.6245518", "0.6100376", "0.6083296", "0.60687065", "0.6042589", "0.59977233", "0.5960412", "0.5942457", "0.5924859", "0.59094983", "0.5891961", "0.588854", "0.58785677", "0.58784515", "0.5812583", "0.5805265", "0.5771535...
0.7158483
0
Deletes the calendar with the given id.
@DELETE @Path("{id}") Response removeCalendarById(@PathParam("id") Long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @Transactional\n public void delete(final Long id) {\n getCalendarEntryRepository().deleteById(id);\n }", "public Boolean deleteEventToCalendar(String id) throws Exception {\n\t\tcom.google.api.services.calendar.Calendar service = getCalendarService(UserUtils.getInstance().getCredenti...
[ "0.7385849", "0.7197023", "0.6838988", "0.6784212", "0.65048563", "0.6449267", "0.6348273", "0.62566835", "0.62553436", "0.62492347", "0.6237029", "0.62260693", "0.6219892", "0.6197585", "0.6159452", "0.61362314", "0.61359054", "0.6123691", "0.6112616", "0.6112616", "0.611261...
0.75641716
0
create new model, view and controller
public static void main(String[] args){ Grid.getInstance(); // Initialize the Grid System.out.println("Grid Created"); View view = new View(); System.out.println("View Create"); view.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); view.setExtendedState(JFrame.MAXIMIZED_BOTH); view.setUndecorated(true); MouseController mouseController = new MouseController(); RepaintController repaintController = new RepaintController(view); // repaint timer so that the window will update every 25 ms new Timer(25, repaintController).start(); /* register other controllers as listeners */ view.registerListeners(mouseController); /* start it up */ view.setVisible(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "@RequestMapping(value = { \"/new\"}, method = RequestMethod.GET)\n\tpublic String newEntity(ModelMap model) {\n\t\tENTITY entity = cr...
[ "0.71479005", "0.71479005", "0.71479005", "0.71479005", "0.71479005", "0.71479005", "0.71479005", "0.6842232", "0.6786072", "0.67798764", "0.6671836", "0.6592927", "0.65873164", "0.6545354", "0.65334535", "0.65073895", "0.6486335", "0.6484259", "0.64389545", "0.6413244", "0.6...
0.0
-1
Blog blog = new Blog(); Author a = new Author("name", "passwd", "email"); blog.setAuthor(a); blog.setTitle("title"); store.registBlog(blog); assertEquals(4, store.findAllBlogs().size());
@Test public void testRegistBlog() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void addArticle(){\n User user = userDao.load(3);\n Article article = new Article();\n article.setUser(user);\n// article.setTitle(\"1896\");\n articleDao.add(article);\n }", "@Test\r\n\tpublic void testAddServices(){\r\n\t\tblog = new Blog();\r\n\t\t\r\n\t...
[ "0.7452668", "0.7241828", "0.6948334", "0.69457424", "0.69127", "0.6822727", "0.672681", "0.67095256", "0.67035246", "0.65859365", "0.6534526", "0.65179586", "0.6512126", "0.6504082", "0.64554584", "0.6450359", "0.6443651", "0.6439309", "0.6432454", "0.64019525", "0.6395618",...
0.67304754
6
Methods which will be common to all persisted objects in this application's database.
public interface DomainObject { /** * @return The unique identifier for a persisted object. */ Long getId(); /** * Sets the unique identifier for an object. * @param id The unique ID to be associated with this object. */ void setId(Long id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract void initPersistance();", "public abstract void leerPersistencia();", "public interface DatabaseInteractor {\n\n long persistEvent(Event event);\n\n ArrayList<Event> getActiveEvents(String filter, int offset);\n\n ArrayList<Event> getAllEvents();\n\n ArrayList<Event> getActiveEventsOnDate(...
[ "0.613692", "0.6129985", "0.5972126", "0.5934794", "0.5882617", "0.58441466", "0.5820787", "0.5787204", "0.57611525", "0.5752948", "0.5662631", "0.5662404", "0.56573653", "0.5656571", "0.565403", "0.5649392", "0.56404734", "0.5595361", "0.55665505", "0.5558079", "0.5553747", ...
0.0
-1
Sets the unique identifier for an object.
void setId(Long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setId(T obj, long id);", "public void setId(Long objectId) {\r\n\t\tthis.objectId = objectId;\r\n\t}", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setOb...
[ "0.6989247", "0.698707", "0.687135", "0.687135", "0.687135", "0.687135", "0.687135", "0.687135", "0.68461406", "0.68252844", "0.6818628", "0.67819893", "0.6749375", "0.66536224", "0.6595991", "0.6589844", "0.6583445", "0.65767443", "0.65576184", "0.65479", "0.6541926", "0.6...
0.6131787
74
per llegir arxiu log en el que escriu AlarmReceiver
private String llegeix_arxiu(Context context, String nom_arxiu) { String ret = ""; try { InputStream inputStream = context.openFileInput(nom_arxiu); if ( inputStream != null ) { InputStreamReader inputStreamReader = new InputStreamReader(inputStream); BufferedReader bufferedReader = new BufferedReader(inputStreamReader); String receiveString = ""; StringBuilder stringBuilder = new StringBuilder(); while ( (receiveString = bufferedReader.readLine()) != null ) { stringBuilder.append(receiveString); stringBuilder.append("\n"); } inputStream.close(); ret = stringBuilder.toString(); } } catch (FileNotFoundException e) { Log.e("login activity", "File not found: " + e.toString()); } catch (IOException e) { Log.e("login activity", "Can not read file: " + e.toString()); } if(ret.length() == 0) { return ""; } else { return ret; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void viewAlarms(){\r\n\t\t\r\n\t}", "public void onReceive(Context context, Intent intent) {\n\n Toast.makeText(context, \"Alarm worked.\", Toast.LENGTH_LONG).show();\n final Calendar c = Calendar.getInstance();\n long mHour = c.get(Calendar.HOUR_OF_DAY);\n long mMinute ...
[ "0.6244869", "0.5941255", "0.59174705", "0.5845185", "0.5761296", "0.5738125", "0.5697671", "0.566942", "0.5666733", "0.5621396", "0.5586409", "0.5570299", "0.55610585", "0.55566335", "0.55449724", "0.5542144", "0.550058", "0.5498837", "0.54920983", "0.547381", "0.5473477", ...
0.0
-1
Prints, then flushes buffer
public static void print(Object text) { System.out.println(text); System.out.flush(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static public void flushPrintStream() {\n \t out.flush();\n }", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void dump(PrintStream x) {\n String str = buffer.toString();\n x.println...
[ "0.70238227", "0.6873394", "0.6873394", "0.6873394", "0.6873394", "0.6873394", "0.6873394", "0.6873394", "0.6873394", "0.6831862", "0.67447406", "0.6705744", "0.66815645", "0.66783494", "0.664895", "0.6647445", "0.66161305", "0.66161305", "0.66161305", "0.66161305", "0.659103...
0.64275956
30
Inserts a delay in milliseconds into the current code (by sleeping the thread) when it is called
public static void delay(int ms){ try { Thread.sleep(ms); } catch (InterruptedException e1) { e1.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void delay() {\n\ttry {\n\t\tThread.sleep(500);\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\t\n\t}", "public static void delay() {\n\n long ONE_SECOND = 1_000;\n\n try {\n Thread.sleep(ONE_SECOND);\n } catch ...
[ "0.7782189", "0.76463974", "0.76366556", "0.7586125", "0.73784214", "0.7288617", "0.71295553", "0.71058625", "0.71037066", "0.70542765", "0.7042244", "0.70058185", "0.69729954", "0.69572675", "0.6935488", "0.69336665", "0.68335795", "0.68308204", "0.6789312", "0.6754482", "0....
0.69433284
14
todo: inject this in via a factory.
public ProcessingResult getResult() { return new ProcessingResultImpl(documentationMap, configFilesList); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void init() {}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n public void init() {}", "@Override\n void init() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void in...
[ "0.6078256", "0.60050464", "0.5990285", "0.5968438", "0.5938598", "0.59379005", "0.59379005", "0.59379005", "0.59379005", "0.59379005", "0.59379005", "0.58947676", "0.587567", "0.5809702", "0.57777023", "0.5776735", "0.57711315", "0.5745779", "0.57420063", "0.57420063", "0.57...
0.0
-1
the next GameNode in the list, or null for the last node
public GameNode(Random rng) { this.number = rng.nextInt(8) + 1; this.next = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameNode getNext() {\n return this.next;\n }", "public NodeT getNext() {\n String nextItemKey = queue.poll();\n if (nextItemKey == null) {\n return null;\n }\n return nodeTable.get(nextItemKey);\n }", "public Node getNext() {\t\t//O(1)\n\t\treturn next;\n\t}...
[ "0.7202935", "0.6855425", "0.67151845", "0.6689879", "0.662471", "0.6618101", "0.6603847", "0.6583583", "0.6558523", "0.6555433", "0.6555433", "0.6543855", "0.6526401", "0.6522276", "0.65188754", "0.65188754", "0.6501981", "0.6501924", "0.64947724", "0.6489926", "0.6487019", ...
0.0
-1
initializes number to random 19 value, and next to null
public int getNumber() { return this.number; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setRandomNo() {\n\t\tno = 10000000 + (int) (Math.random() * 90000000);\n\t}", "private void assuerNN_random() {\n //Check, if the variable is null..\n if (this.random == null) {\n //..and now create it.\n this.random = new Random(10);\n }\n }", "private void s...
[ "0.71174425", "0.69696754", "0.6967743", "0.6868912", "0.68362147", "0.68117994", "0.6755579", "0.64441675", "0.63910764", "0.639102", "0.63861823", "0.6342726", "0.6323343", "0.630466", "0.6280631", "0.6210885", "0.61678344", "0.6148011", "0.61477745", "0.6140659", "0.611511...
0.0
-1
accessor for the number field
public GameNode getNext() { return this.next; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumber() {\n return field.getNumber();\n }", "public int getNumberValue() {\r\n return number;\r\n }", "public String getNumber(){\r\n return number;\r\n }", "public Number getNumberValue();", "long getNumericField();", "public int getNumber(){\r\n return num;\r\n }", "public...
[ "0.8042893", "0.80197734", "0.78128356", "0.77440476", "0.7717626", "0.76692295", "0.76640564", "0.7659211", "0.7659211", "0.7659211", "0.7659211", "0.7647322", "0.7610933", "0.7599202", "0.7593696", "0.7592563", "0.75878483", "0.75788623", "0.7563075", "0.75428855", "0.75308...
0.0
-1
accessor for the next field
public void setNext(GameNode next) { this.next = next; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getNextField () {\n return nextField.toString();\n }", "public int getNextFieldIndex () {\n return labelStart;\n }", "@NotNull\n @JsonProperty(\"nextValue\")\n public String getNextValue();", "private Object getNextElement()\n {\n return __m_NextElement;\n }",...
[ "0.8420045", "0.74923855", "0.724736", "0.71879244", "0.69486105", "0.6875602", "0.68721765", "0.68650347", "0.686232", "0.6859023", "0.6859023", "0.6859023", "0.6859023", "0.6838928", "0.6834736", "0.6823278", "0.6783709", "0.67800254", "0.6779811", "0.6777892", "0.6771084",...
0.0
-1
mutator for the next field
public void applyOperator(GameOperator operator) { this.number=operator.apply(this.number, next.getNumber()); this.next = next.getNext(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getNextField () {\n return nextField.toString();\n }", "void setNextValue() {\n this.value = this.value * 2;\n }", "public int getNextFieldIndex () {\n return labelStart;\n }", "public void setNext(Variable next){\n\t\tthis.next = next;\n\t}", "private String nextFieldCode()...
[ "0.750873", "0.6904955", "0.6782405", "0.6656395", "0.6542986", "0.6536675", "0.6429984", "0.6299808", "0.62994075", "0.62619835", "0.62384087", "0.62336904", "0.62227285", "0.618148", "0.6164781", "0.6146734", "0.6091086", "0.60724175", "0.605861", "0.6056056", "0.605512", ...
0.0
-1
Uri uri = Uri.parse("android.resource://" + "com.example.carmi1" + "/" + R.drawable.puppy1);
private void sharePic(Uri uri) { Intent whatsappIntent = new Intent(Intent.ACTION_SEND); whatsappIntent.setType("image/*"); whatsappIntent.putExtra(Intent.EXTRA_TEXT, "Your text here"); whatsappIntent.putExtra(Intent.EXTRA_STREAM, uri); whatsappIntent.setPackage("com.whatsapp"); PackageManager pm = getApplicationContext().getPackageManager(); final List<ResolveInfo> matches = pm.queryIntentActivities(whatsappIntent, 0); boolean temWhatsApp = false; for (final ResolveInfo info : matches) { if (info.activityInfo.packageName.startsWith("com.whatsapp")) { final ComponentName name = new ComponentName(info.activityInfo.applicationInfo.packageName, info.activityInfo.name); temWhatsApp = true; break; } } if(temWhatsApp) { //abre whatsapp startActivity(Intent.createChooser(whatsappIntent, "Your Awesome Text and Pic...")); } else { //alerta - vocÍ deve ter o whatsapp instalado Toast.makeText(this, "Error", Toast.LENGTH_SHORT).show(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String makeImageUri(String name) {\n\t\tString image = name;\n\t\t// remove all white spaces\n\t\tString in = image.replaceAll(\"\\\\s+\", \"\");\n\t\t// turn to lower case\n\t\tString iname = in.toLowerCase();\n\t\tSystem.out.println(\"iName is: \" + iname);\n\t\tString mDrawableName = iname;\n\t\t// get ...
[ "0.6581625", "0.60820246", "0.6040275", "0.6033704", "0.6032453", "0.59777325", "0.5956282", "0.58837825", "0.58421016", "0.5792855", "0.5768776", "0.5765859", "0.5760795", "0.571013", "0.5678916", "0.56686175", "0.5639011", "0.56314087", "0.56278837", "0.5579792", "0.5560962...
0.0
-1
Use this instead of (SugarRecord.saveInTx();) to save the passport
@Override public void run() { long[] saved = AppDatabase.getInstance().modelByName(name).insertAll((List) response); updateProgressDownload(1, name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int save(Passport passport, Connection conn) {\n\t\tString sql=\"INSERT INTO Passport VALUES(?,?)\";\n\t\tObject[] parma={\n\t\t\tpassport.getPassportNumber(),\n\t\t\tpassport.getStatus()\n\t\t};\n\t\tint passportId=save(sql, parma, conn);\n\t\treturn passportId;\n\t}", "private void writeAcc...
[ "0.6843131", "0.6406539", "0.61648697", "0.6115378", "0.59554154", "0.59524894", "0.5928445", "0.5915822", "0.5901071", "0.587867", "0.58497906", "0.5732103", "0.5687584", "0.56867266", "0.56821084", "0.56730574", "0.56671697", "0.5666311", "0.56410724", "0.5616481", "0.56140...
0.0
-1
Method to call registry of Blocks
public static void BlockRegister() { String[] umberstoneBlock = {"umberstone"}; String[] umbercobbleBlock = {"cobbleUmber"}; StoneRegister umberstone = getStoneRegister(ModBlocks.umberstone, ModBlocks.umberstone, "umberstone", umberstoneBlock, umbercobbleBlock, "erebus"); umberstone.mossyCobble = false; umberstone.genReplaceable = false; umberstone.register(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void registerBlock(Block b)\n\t{\n\t}", "private static void registerBlocks() {\n for(Block block : modBlocks) {\n ForgeRegistries.BLOCKS.register(block);\n\n ItemBlock itemBlock = new ItemBlock(block);\n itemBlock.setRegistryName(block.getRegistryName());\n...
[ "0.71852976", "0.69468915", "0.67496693", "0.6702219", "0.65473014", "0.65021026", "0.64489675", "0.62641996", "0.62379986", "0.60296345", "0.59114593", "0.5898841", "0.5891917", "0.5836125", "0.58217096", "0.58138174", "0.58130664", "0.5786621", "0.57430375", "0.5676155", "0...
0.58942956
12
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.welcome_first); init(); }
{ "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 constructor. It gets as parameters the type of shoe to purchase, and the tick number to send the PurchaseOrderRequest at.
public PurchaseSchedule(String shoeType, int tick) { this.shoeType = shoeType; this.tick = tick; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StockItem(T product, Integer quantity) {\n this.product = product;\n this.quantity = quantity;\n }", "public PurchaseOrderItem () {\n\t\tsuper();\n\t}", "public PurchaseType()\r\n {\r\n }", "public Shop(String uname, String pass)\n {\n super(uname, pass);\n stock = new Al...
[ "0.6125047", "0.6028331", "0.5971608", "0.5831849", "0.5791196", "0.5787894", "0.57795775", "0.5759254", "0.574292", "0.57094806", "0.56888056", "0.56197387", "0.5591303", "0.5574134", "0.554947", "0.5543316", "0.55403924", "0.5524564", "0.5519879", "0.550554", "0.54944885", ...
0.727542
0
Gets the tick number to send the PurchaseOrderRequest at.
public int getTick() { return tick; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTick() {\r\n return tick;\r\n }", "public long getTick() {\n return tick;\n }", "public long getTick() {\n return tick;\n }", "public int getTickId() {\n\t\treturn tickCount;\n\t}", "public Integer getBuyNum() {\n return buyNum;\n }", "public Integer ...
[ "0.61258495", "0.60142606", "0.60142606", "0.58822054", "0.5869272", "0.5761478", "0.56663096", "0.565863", "0.5639494", "0.55622166", "0.53798056", "0.537649", "0.53555477", "0.5352539", "0.531403", "0.53095365", "0.5282222", "0.5277296", "0.52743113", "0.5264713", "0.524633...
0.6281089
0
TODO Autogenerated method stub
@Override public boolean accept(File pathname) { if (pathname.getName().endsWith(".jpg")) { return true; } else { return 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
@Override public int compare(File arg0, File arg1) { long diff = arg0.lastModified() - arg1.lastModified(); if (diff > 0) return -1; else if (diff == 0) return 0; else return 1; }
{ "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 boolean equals(Object o) { return true; }
{ "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
g.setColor(new Color(Color.HSBtoRGB((float) Math.random(), 1.0f, 1.0f))); int prev = 0;
public BufferedImage generateTexture() { BufferedImage texture = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); WritableRaster raster = texture.getRaster(); int[] rasterData = new int[width * height]; for (int i = 0; i < width * height; i++) { rasterData[i] = Color.BLACK.getRGB(); } Color color; double max = Math.min(upperZ, cache.max); double min = Math.max(lowerZ, cache.min); double dz = (max - min) / (double)contours; boolean matched; for (int i = 0; i < width; i++) { for (int j = 0; j < height; j++) { PointDouble in = graphToValue(new PointDouble(i, j)); double val = cache.get(in.getX(), in.getY()); matched = false; if (alternateContours && contours > 0) { for (int k = 0; k <= contours; k++) { if (val >= min + (k - 0.5 * contourWidth + contourOffset + 0.5) * dz && val <= min + (k + 0.5 * contourWidth + contourOffset + 0.5) * dz) { matched = true; break; } } } if (matched) { color = CONTOUR_COLOR; } else { color = interpolate(LOW_COLOR, HIGH_COLOR, Math.min(Math.max((val - min) / (max - min), 0), 1)); } rasterData[j * width + i] = color.getRGB(); /*val = new PointDouble(val.getX(), op.applyAsDouble(val.getX())); val = valueToGraph(val); if (i != 0) { g.drawLine(MARGIN_X + i - 1, prev, (int) Math.round(val.getX()), (int) Math.round(val.getY())); } prev = (int) Math.round(val.getY());*/ } } //Draw contours if (!alternateContours) { for (int k = 0; k < contours; k++) { double target = min + (k + contourOffset + 0.5) * dz; //Map of all points higher/lower then the target ArrayList<ArrayList<Boolean>> data = new ArrayList<>(width); for (int i = 0; i < width; i++) { data.add(new ArrayList<>(height)); for (int j = 0; j < height; j++) { PointDouble in = graphToValue(new PointDouble(i, j)); double val = cache.get(in.getX(), in.getY()); data.get(i).add(val > target); } } //Edge detection filter ArrayList<ArrayList<Boolean>> filteredData = new ArrayList<>(width); for (int i = 0; i < width; i++) { filteredData.add(new ArrayList<>(height)); for (int j = 0; j < height; j++) { boolean tl = data.get(Math.max(Math.min(i - 1, width - 1), 0)).get(Math.max(Math.min(j + 1, height - 1), 0)); boolean tc = data.get(Math.max(Math.min(i, width - 1), 0)).get(Math.max(Math.min(j + 1, height - 1), 0)); boolean tr = data.get(Math.max(Math.min(i + 1, width - 1), 0)).get(Math.max(Math.min(j + 1, height - 1), 0)); boolean cl = data.get(Math.max(Math.min(i - 1, width - 1), 0)).get(Math.max(Math.min(j, height - 1), 0)); boolean cc = data.get(Math.max(Math.min(i, width - 1), 0)).get(Math.max(Math.min(j, height - 1), 0)); boolean ct = data.get(Math.max(Math.min(i + 1, width - 1), 0)).get(Math.max(Math.min(j, height - 1), 0)); boolean bl = data.get(Math.max(Math.min(i - 1, width - 1), 0)).get(Math.max(Math.min(j - 1, height - 1), 0)); boolean bc = data.get(Math.max(Math.min(i, width - 1), 0)).get(Math.max(Math.min(j - 1, height - 1), 0)); boolean br = data.get(Math.max(Math.min(i + 1, width - 1), 0)).get(Math.max(Math.min(j - 1, height - 1), 0)); boolean res; if (contourWidth > 0.5) { res = (cc && (!tl || !tc || !tr || !cl || !ct || !bl || !bc || !br)) || (!cc && (tl || tc || tr || cl || ct || bl || bc || br)); } else { if (contourWidth > 0.25) { res = (cc && (!tc || !cl || !ct || !bc)) || (!cc && (tc || cl || ct || bc)); } else { res = cc && (!tc || !cl || !ct || !bc); } } filteredData.get(i).add(res); } } //Draw contour color = CONTOUR_COLOR; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { if (filteredData.get(j).get(i)) { rasterData[i * width + j] = color.getRGB(); } } } } } raster.setDataElements(0, 0, width, height, rasterData); return texture; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void makeRandColor(){}", "public void generateColor() {\n if (army < 0)\n color = Color.getHSBColor(0f, 1 - (float) Math.random() * 0.2f, 0.5f + (float) Math.random() * 0.5f);\n else if (army > 0)\n color = Color.getHSBColor(0.7f - (float) Math.random() * 0.2f, 1 - (flo...
[ "0.7172972", "0.71719617", "0.68180853", "0.6745803", "0.656842", "0.6531384", "0.65110934", "0.6461541", "0.64548516", "0.6451367", "0.6363005", "0.6327079", "0.63049823", "0.6273387", "0.62638384", "0.61537987", "0.6142615", "0.613941", "0.6123605", "0.6106943", "0.6075578"...
0.0
-1
Initialize your data structure here.
public Lc232() { this.stack = new Stack<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initData() {\n }", "private void initData() {\n\t}", "private void initData() {\n\n }", "public void initData() {\n }", "public void initData() {\n }", "@Override\n\tpublic void initData() {\n\n\n\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\...
[ "0.79946685", "0.7973242", "0.7808862", "0.77763873", "0.77763873", "0.7643394", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.75553316", "0.7543321", "0.7543321", "0.75426376", "0.75426376", "0.75426376", "0.7532583", "0.75228804", "0...
0.0
-1
Push element x to the back of queue.
public void push(int x) { Stack<Integer> newStack = new Stack<>(); newStack.push(x); Stack<Integer> tmp = new Stack<>(); while (!this.stack.isEmpty()) { tmp.push(this.stack.pop()); } while (!tmp.isEmpty()) { newStack.push(tmp.pop()); } this.stack = newStack; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void push(int x) {\n queue.addLast(x);\n }", "public void push(int x) {\n queue.addLast(x);\n }", "public void push(int x) {\n if (!reverseQueue.isEmpty()) {\n normalQueue.offer(reverseQueue.poll());\n }\n normalQueue.offer(x);\n }", "publ...
[ "0.8262296", "0.8259398", "0.8193168", "0.81571954", "0.8048437", "0.8009557", "0.798974", "0.7984208", "0.7979916", "0.7975505", "0.7918806", "0.78961074", "0.78565633", "0.7844825", "0.7840646", "0.7727059", "0.7721408", "0.7721408", "0.7635225", "0.7630427", "0.7614073", ...
0.65742177
76
Removes the element from in front of queue and returns that element.
public int pop() { if (this.stack.isEmpty()) { throw new RuntimeException("队列中元素为空"); } return this.stack.pop(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized Object removeFirstElement() {\n return _queue.remove(0);\n }", "public E remove(){\r\n if(isEmpty())\r\n return null;\r\n \r\n //since the array is ordered, the highest priority will always be at the end of the queue\r\n //--currentSize will fi...
[ "0.7710383", "0.767744", "0.7632147", "0.7572486", "0.7529685", "0.75053036", "0.7495563", "0.7455531", "0.74506617", "0.74362785", "0.74324703", "0.74064606", "0.73923665", "0.7384324", "0.73561954", "0.73264414", "0.7326095", "0.7309975", "0.7303639", "0.730135", "0.7294155...
0.0
-1
Get the front element.
public int peek() { if (this.stack.isEmpty()) { throw new RuntimeException("队列中元素为空"); } return this.stack.peek(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getFront() throws Exception {\n\t\tif(data[front]!=null)\n\t\t\n\t\t return data[front];\n\t\treturn null;\n\t}", "public int getFront() {\n return !isEmpty() ? elements[last - 1] : -1;\n }", "@Override\n\tpublic E getFront() {\n\t\treturn data[front];\n\t}", "public T getFront();"...
[ "0.7788042", "0.77603334", "0.77359986", "0.770913", "0.7659393", "0.7649537", "0.76232344", "0.7567912", "0.7567317", "0.75489664", "0.754895", "0.75468546", "0.75373614", "0.75340813", "0.7465325", "0.7453483", "0.73273367", "0.7313527", "0.7309557", "0.73002553", "0.719587...
0.0
-1
Returns whether the queue is empty.
public boolean empty() { return this.stack.isEmpty(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean is_empty() {\n\t\tif (queue.size() <= 0) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isEmpty() {\n return this.queue.size() == 0;\n }", "public boolean isEmpty() {\n\t\treturn queue.isEmpty();\n\t}", "public boolean isEmpty() {\n\t\tret...
[ "0.9061608", "0.8914194", "0.8852499", "0.8852499", "0.8815682", "0.8810445", "0.87997335", "0.8791669", "0.8790852", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.8689962", "0.8680233", "0.8680233", "0.8680233", "0.86802...
0.7610844
91
/ renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c
public interface C32454c<T extends C32454c> { /* renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c$a */ public static class C32455a { /* renamed from: a */ public static C32454c m105172a() { return new C32449b(); } } /* renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c$b */ public interface C32456b<T> { /* renamed from: a */ void mo83696a(T t); } /* renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c$c */ public interface C32457c<T> { /* renamed from: a */ void mo83699a(T t, int i, int i2, String str); } /* renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c$d */ public interface C32458d<T> { /* renamed from: a */ void mo83695a(T t); } /* renamed from: com.ss.android.ugc.aweme.live.alphaplayer.c$e */ public interface C32459e<T> { /* renamed from: a */ void mo83698a(T t); } /* renamed from: a */ void mo21067a(Surface surface); /* renamed from: a */ void mo83703a(C32456b<T> bVar); /* renamed from: a */ void mo83704a(C32457c<T> cVar); /* renamed from: a */ void mo83705a(C32458d<T> dVar); /* renamed from: a */ void mo83706a(C32459e<T> eVar); /* renamed from: a */ void mo21068a(String str) throws IOException; /* renamed from: a */ void mo21069a(boolean z); /* renamed from: b */ void mo21070b(); /* renamed from: b */ void mo21071b(boolean z); /* renamed from: c */ void mo21072c(); /* renamed from: d */ void mo21073d(); /* renamed from: e */ void mo21074e(); /* renamed from: f */ void mo21075f(); /* renamed from: g */ void mo21076g(); /* renamed from: h */ C32446a mo21077h() throws Exception; /* renamed from: i */ String mo21078i(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C...
[ "0.63708574", "0.6162444", "0.61124206", "0.60198563", "0.5811925", "0.57487756", "0.57413286", "0.5736532", "0.57198054", "0.57169896", "0.5690983", "0.56853", "0.5670033", "0.56659824", "0.5657606", "0.5646305", "0.5645711", "0.56432086", "0.56346613", "0.5629469", "0.56018...
0.5337938
74
/ renamed from: a
public static C32454c m105172a() { return new C32449b(); }
{ "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.ss.android.ugc.aweme.live.alphaplayer.c$b
public interface C32456b<T> { /* renamed from: a */ void mo83696a(T t); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C...
[ "0.6740662", "0.61973447", "0.60032123", "0.5916903", "0.5915286", "0.59122765", "0.5823623", "0.58188117", "0.5771343", "0.57150054", "0.5656864", "0.5651606", "0.5601995", "0.55682105", "0.5556215", "0.55363303", "0.54969233", "0.54914063", "0.5489538", "0.5488017", "0.5479...
0.0
-1
/ renamed from: a
void mo83696a(T t);
{ "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.ss.android.ugc.aweme.live.alphaplayer.c$c
public interface C32457c<T> { /* renamed from: a */ void mo83699a(T t, int i, int i2, String str); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C...
[ "0.6701483", "0.62231654", "0.59034294", "0.58926606", "0.5870454", "0.5850265", "0.58236295", "0.58192563", "0.5736728", "0.5714301", "0.566237", "0.56531596", "0.5648154", "0.55982965", "0.5586061", "0.5582975", "0.55733", "0.55577433", "0.553228", "0.55205774", "0.55103356...
0.0
-1
/ renamed from: a
void mo83699a(T t, int i, int i2, String str);
{ "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.ss.android.ugc.aweme.live.alphaplayer.c$d
public interface C32458d<T> { /* renamed from: a */ void mo83695a(T t); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C...
[ "0.6608916", "0.6158065", "0.5936427", "0.59059125", "0.5894659", "0.587933", "0.5850644", "0.5769552", "0.5755208", "0.57424194", "0.5730265", "0.5725952", "0.5644247", "0.5629037", "0.5606505", "0.56003034", "0.5578144", "0.55545", "0.5550783", "0.55412585", "0.5536592", ...
0.0
-1
/ renamed from: a
void mo83695a(T t);
{ "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.ss.android.ugc.aweme.live.alphaplayer.c$e
public interface C32459e<T> { /* renamed from: a */ void mo83698a(T t); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C...
[ "0.6541315", "0.60819715", "0.59828633", "0.5929642", "0.5914439", "0.5890588", "0.58342355", "0.58040714", "0.57663876", "0.5756722", "0.5714787", "0.5662784", "0.5652442", "0.5615761", "0.55670637", "0.5548349", "0.5530015", "0.5527347", "0.552272", "0.5517945", "0.5517799"...
0.0
-1
/ renamed from: a
void mo83698a(T t);
{ "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 mo21067a(Surface surface);
{ "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 mo83703a(C32456b<T> 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: a
void mo83704a(C32457c<T> cVar);
{ "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 mo83705a(C32458d<T> dVar);
{ "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 mo83706a(C32459e<T> eVar);
{ "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 mo21068a(String str) throws IOException;
{ "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 mo21069a(boolean z);
{ "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
void mo21070b();
{ "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
void mo21071b(boolean z);
{ "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: c
void mo21072c();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "public void c() {\n ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723", "0.60513836"...
0.6244832
8
/ renamed from: d
void mo21073d();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.638065", "0.6162135", "0.60721403", "0.59957254", "0.58775103", "0.5871899", "0.5825093", "0.57583314", "0.57016605", "0.56515896", "0.56363046", "0.5624395", "0.56153005", "0.56115246", "0.56115246", "0.5605619", "0.5600186", "0.5589427", "0.5571477", "0.5559535", "0.5541...
0.56614745
9
/ renamed from: e
void mo21074e();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: f
void mo21075f();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155...
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227...
0.59418225
29
/ renamed from: g
void mo21076g();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: ...
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356", "0.5788687...
0.6105423
12
/ renamed from: h
C32446a mo21077h() throws Exception;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void h() {}", "public void h() {\n }", "public abstract long h();", "float getH() {\n return _h;\n }", "H1 createH1();", "@Override\n public String toString() {\n return \"H\";\n }", "public void add2Hash( Hashtable h, String source ) {\n \n AstCursor c = new Ast...
[ "0.70061326", "0.63762397", "0.61521524", "0.60984623", "0.6000081", "0.59768534", "0.58807576", "0.5877974", "0.5851531", "0.5838812", "0.5810722", "0.57918626", "0.5785335", "0.5771285", "0.57592654", "0.5755986", "0.57186717", "0.57150286", "0.57116145", "0.57063925", "0.5...
0.5486254
45
/ renamed from: i
String mo21078i();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo17022c(int i);", "public final void mo5394iy(int i) {\n }", "void mo88773a(int i);", "void mo32046rn(int i);", "void mo54447l(int i);", "public final void mo91727g(int i) {\n }", "void mo1761g(int i);", "void mo54406a(int i);", "void mo23327tY(int i);", "void mo1753b(int i);", "@Ov...
[ "0.6814251", "0.6791054", "0.67141014", "0.67082477", "0.6697361", "0.6696495", "0.66768324", "0.66522545", "0.66506225", "0.66473114", "0.6642119", "0.66363925", "0.6592755", "0.65895766", "0.65869564", "0.65632737", "0.6560748", "0.65470266", "0.6536829", "0.65297914", "0.6...
0.0
-1