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
This method will call a method to generate all the moves the AI can make, and store them, then call another method to decide which is the best move, then generate the final move action
private void calculateActions() { //Generate All Possible Moves In Tree this.possibleMoves.clear(); this.possibleRotation = 0; Thread instance = new Thread(this); instance.start(); try { instance.join(); } catch (InterruptedException e) {} //Choose Best Move From List double [] move = chooseBestMove(possibleMoves); //Calculate Actions from this move and push to queue generateActions(move); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void makeBestMove();", "public AgentAction getNextMove(GameTile [][] visibleMap) {\r\n\t\t//Possible things to add to your moves\r\n//\t\tnextMove = AgentAction.doNothing;\r\n//\t\tnextMove = AgentAction.moveDown;\r\n//\t\tnextMove = AgentAction.moveUp;\r\n//\t\tnextMove = AgentAction.moveUp;\r\n...
[ "0.7554765", "0.7491889", "0.71505475", "0.7094135", "0.70782846", "0.7069268", "0.70290357", "0.70155007", "0.6910956", "0.6880551", "0.6868366", "0.686677", "0.68413544", "0.6838427", "0.6836134", "0.6833408", "0.6825638", "0.6798553", "0.6790659", "0.6762142", "0.6688622",...
0.6861489
12
Method to generate all the possible moves the AI can make
private void generateMoves(AINode root, int i) { //Make All Rotates AINode rotateNode = new AINode(root.copyState()); for (int j = 0; j <= i; j++) { rotateNode.getState().checkRotate(true); } //Checks all possible slide locations for (int j = 0; j < 12; j++ ) { if (rotateNode.getState().getDisabledArrow().ordinal() == j) { continue; } AINode slideNode = new AINode(rotateNode.copyState()); slideNode.getState().checkSlideTile(Arrow.values()[j]); //Checks all possible move locations for each slide location List<int[]> movePlaces = generatePossibleMoveActions( slideNode.getState()); for (int[] spot : movePlaces) { AINode moveNode = new AINode(slideNode.copyState()); moveNode.getState().checkMovePawn(spot[0], spot[1]); double eval = evalState(moveNode.getState()); synchronized (possibleMoves) { possibleMoves.add(new double[]{i, j, spot[0], spot[1], eval}); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract public List<Move> getPossibleMoves();", "public void executegenmoves() {\n \t\tObject state = gm.hashToState(new BigInteger(conf.getProperty(\"gamesman.hash\")));\n \t\tfor (Object nextstate : gm.validMoves(state)) {\n \t\t\tSystem.out.println(gm.stateToHash(nextstate));\n \t\t\tSystem.out.println(gm.di...
[ "0.73375237", "0.7247927", "0.71243167", "0.7086342", "0.7049163", "0.6981272", "0.6926552", "0.6878861", "0.6799925", "0.67639154", "0.67540693", "0.6718217", "0.6715334", "0.6650985", "0.664683", "0.6625079", "0.6586243", "0.6575724", "0.65605265", "0.6540031", "0.651738", ...
0.67828035
9
Will generate the game actions corresponding to the movement actions decided earlier and send them to the gamestate
private void generateActions(double[] move) { //Rotate Actions for (int i = 0; i <= move[0]; i++) { GameAction act1 = new LabyrinthRotateAction(this,true); this.push(act1); } //Slide Action GameAction act2 = new LabyrinthSlideTileAction(this, Arrow.values()[(int)move[1]]); this.push(act2); //Move Action GameAction act3 = new LabyrinthMovePawnAction(this, (int)move[2],(int)move[3]); this.push(act3); //End Turn Action GameAction act4 = new LabyrinthEndTurnAction(this); this.push(act4); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AgentAction getNextMove(GameTile [][] visibleMap) {\r\n\t\t//Possible things to add to your moves\r\n//\t\tnextMove = AgentAction.doNothing;\r\n//\t\tnextMove = AgentAction.moveDown;\r\n//\t\tnextMove = AgentAction.moveUp;\r\n//\t\tnextMove = AgentAction.moveUp;\r\n//\t\tnextMove = AgentAction.moveLeft;\r\n...
[ "0.70029575", "0.6978354", "0.6976315", "0.6849579", "0.6838394", "0.67736447", "0.6719638", "0.67167836", "0.67147255", "0.6698432", "0.66832334", "0.66660947", "0.66160667", "0.66153055", "0.66000223", "0.6523538", "0.65087265", "0.6499611", "0.64908034", "0.64606863", "0.6...
0.7180528
0
Chooses the best scored move out of the list [Rotation,Arrow,x,y,score]
private double[] chooseBestMove(List<double[]> possibleMoves) { double bestScore = 0; int indexBest = 0; for (int i = 0; i < possibleMoves.size(); i++) { if (possibleMoves.get(i)[4] > bestScore) { bestScore = possibleMoves.get(i)[4]; indexBest = i; } } return possibleMoves.get(indexBest); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Move getBestMove() {\n //System.out.println(\"AI chooses: \" + m.toString());\n return moves.get((int) (Math.random() * moves.size()));\n }", "public Move makeSubsequentMove(){\n Move move = null;\n maxScore = 0;\n bestWord = new ArrayList<Tile>();\n for (Anchor ancho...
[ "0.71763825", "0.6336289", "0.6324729", "0.6319851", "0.6262867", "0.62308663", "0.62298894", "0.61867964", "0.6105122", "0.6088564", "0.60686755", "0.5991561", "0.59887886", "0.5981034", "0.595038", "0.592243", "0.5879165", "0.5868569", "0.58042544", "0.57660407", "0.57287",...
0.6832368
1
Evaluates the current gamestate and assigns a score between 0 and 1 with 1 being you are about to win and 0 being you will lose.
private double evalState(LabyrinthGameState state) { double score = 0; //Assign Percentages of Score final double treasureValTotal = 80; //Based on number of treasures left final double nearTreasureValTotal = 15; //Based on proximity to treasure final double typeTileValTotal = 1; //Based on which tile you are on final double numberOfConnectionsValTotal = 4; //Based on how many places you can move double treasureVal = 0; double nearTreasureVal = 0; double typeTileVal = 0; double numberOfConnectionsVal = 0; //calculating your treasure points treasureVal = (6.0 - (double)(state.getPlayerDeckSize( Player.values()[playerNum])))/6.0*treasureValTotal; int [] yourPos = state.getPlayerLoc(Player.values()[playerNum]).getLoc(); int [] treasurePos = state.findTreasureLoc(Player.values()[playerNum]); if (treasurePos[0] == -1) { nearTreasureVal = (10.0 - findDistance(yourPos, findHome())) / 10.0 * nearTreasureValTotal; } else { nearTreasureVal = (10.0 - findDistance(yourPos, treasurePos)) / 10.0 * nearTreasureValTotal; } //calculating points for the type of tile it can end on switch (state.getPlayerLoc(Player.values()[playerNum]).getType()) { case STRAIGHT: typeTileVal = 5.0 / 10.0 * typeTileValTotal; break; case INTERSECTION: typeTileVal = typeTileValTotal; break; default: typeTileVal = 3.0 / 10.0 * typeTileValTotal; break; } //calculating points based on # of connections created numberOfConnectionsVal = ((double)generatePossibleMoveActions(state).size() /49.0*numberOfConnectionsValTotal); //calculating final score score = (treasureVal + nearTreasureVal + typeTileVal + numberOfConnectionsVal)/100.0; return score; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int evaluateState() {\r\n\r\n\t\t// add up score\r\n\t\t//\r\n\t\tint scoreWhite = 0;\r\n\t\tint scoreBlack = 0;\r\n\t\tfor (Piece piece : this.chessGame.getPieces()) {\r\n\t\t\tif(piece.getColor() == Piece.COLOR_BLACK){\r\n\t\t\t\tscoreBlack +=\r\n\t\t\t\t\tgetScoreForPieceType(piece.getType());\r\n\t\t\t...
[ "0.754999", "0.7075818", "0.6953847", "0.6883975", "0.6854174", "0.6755269", "0.6574643", "0.65728384", "0.65519524", "0.6529564", "0.6468905", "0.6451832", "0.6425279", "0.6424095", "0.6417993", "0.6413333", "0.6402426", "0.6385851", "0.63001466", "0.6285022", "0.6278696", ...
0.6280577
20
Calculates distance between any 2 given tiles
private double findDistance(int[] pos1, int[] pos2) { return sqrt((pos1[0]-pos2[0])*(pos1[0]-pos2[0])+ (pos1[1]-pos2[1])*(pos1[1]-pos2[1])); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int distance(Coord coord1, Coord coord2);", "@Override\n public float distanceAdjacent(int x1, int y1, int x2, int y2) {\n float duration = 0;\n\n if (x1 == x2 || y1 == y2) {\n MapTile.Instance fromTile = getTileData(x1, y1);\n ...
[ "0.7457959", "0.742068", "0.70082575", "0.69541645", "0.68432814", "0.6761106", "0.6742062", "0.6710661", "0.6603941", "0.65973985", "0.65752536", "0.6556251", "0.647325", "0.64452976", "0.6428989", "0.6428046", "0.64194506", "0.6399604", "0.6371281", "0.63699937", "0.6369206...
0.61666733
39
Calculate which board corner is home based on the player number
private int[] findHome() { int[] loc = new int[2]; switch (playerNum) { case 0: //player RED's home loc[0] = 0; loc[1] = 0; break; case 1: //player YELLOW's home loc[0] = 6; loc[1] = 0; break; case 2: //player GREEN's home loc[0] = 6; loc[1] = 6; break; case 3: //player BLUE's home loc[0] = 0; loc[1] = 6; break; default: loc[0] = -1; loc[1] = -1; break; } return loc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCorners() {\n //top-left corner case\n if (board[0][1] != null && board[1][0] != null&& board[0][0]!= null) {\n if (board[0][1].getPlayerNumber() == board[1][0].getPlayerNumber()\n && board[0][1].getPlayerNumber() != board[0][0].getPlayerNumber())\n ...
[ "0.7206506", "0.71815217", "0.6956766", "0.691282", "0.6895086", "0.68014127", "0.67526925", "0.6737615", "0.6733484", "0.6690404", "0.6661504", "0.66457295", "0.66272056", "0.6583524", "0.6574864", "0.6570289", "0.6546957", "0.6530542", "0.65272224", "0.6481554", "0.64619714...
0.6971028
2
Will generate an ArrayList of every possible locations on the board that the player can move to
private List<int[]> generatePossibleMoveActions(LabyrinthGameState state) { List<Tile> tiles = new ArrayList<>(); Tile orig = state.getPlayerLoc(Player.values()[playerNum]); tiles.add(orig); this.calculatePossibleMoves(orig, tiles); List<int[]> locations = new ArrayList<>(); for (Tile spot : tiles) { int[] loc = new int[2]; loc[0] = spot.getX(); loc[1] = spot.getY(); locations.add(loc); } return locations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract ArrayList<Move> possibleMoves(Board board);", "public abstract HashSet<Location> getPossibleMovements(GameBoard board);", "abstract public List<Move> getPossibleMoves();", "@Override\n public Map<Direction, List<Coordinate>> getPossibleMoves() {\n\n Map<Direction, List<Coordinate>> ...
[ "0.73731863", "0.7366564", "0.71195227", "0.7091559", "0.7081008", "0.70665056", "0.70196456", "0.7008053", "0.70021427", "0.69701785", "0.69634974", "0.69156986", "0.6897674", "0.6868876", "0.68156767", "0.6797943", "0.677958", "0.6770359", "0.675482", "0.6740082", "0.671465...
0.73482835
2
Will recursively look for available locations to move to and add them to the instance array list of availableSpots
private void calculatePossibleMoves(Tile orig, List<Tile> availableSpots) { for (Tile spot : orig.getConnectedTiles()) { if (spot != null) { if (!availableSpots.contains(spot)) { availableSpots.add(spot); this.calculatePossibleMoves(spot, availableSpots); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ArrayList<Location> getMoveLocations();", "private void locate() {\n possibleLocations[0][0] = false;\n possibleLocations[0][1] = false;\n possibleLocations[1][0] = false;\n do {\n location.randomGenerate();\n } while (!possibleLocations[location.y][location.x]);\n ...
[ "0.6472746", "0.60082704", "0.5960053", "0.5863805", "0.5816106", "0.5681207", "0.5675601", "0.5668304", "0.5610037", "0.5575126", "0.5558996", "0.5528186", "0.551761", "0.55134", "0.54994804", "0.54516786", "0.54514515", "0.5450863", "0.5433785", "0.54258543", "0.5413918", ...
0.6783779
0
Queue Stuff Method for pushing actions onto the queue
private void push(GameAction action) { this.queue.add(action); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void workOnQueue() {\n }", "public void onQueue();", "private void buffer(Runnable action) {\n actions.add(action);\n }", "void queueShrunk();", "void runQueue();", "private void enterToRunwayQueue() {\n\t\tqueue.insert(this);\n\t}", "@Override\n\tpublic void addToQueue() {\n\t}"...
[ "0.7159974", "0.69964504", "0.6669317", "0.6586598", "0.6561158", "0.6450614", "0.6375146", "0.6370851", "0.6346625", "0.6170535", "0.61493564", "0.6080695", "0.6067664", "0.6052316", "0.60397124", "0.6009858", "0.59826547", "0.59624875", "0.59546715", "0.59379935", "0.593547...
0.75222164
0
Method to pull actions off the top of the queue
private GameAction pull() { if (this.queue.size() > 0) { return this.queue.remove(0); } else { return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Runnable popTop() {\n int[] stamp = new int[1];\n int oldTop = top.get(stamp), newTop = oldTop + 1;\n int oldStamp = stamp[0], newStamp = oldStamp + 1;\n if (bottom <= oldTop) // empty\n return null;\n Runnable r = tasks[oldTop];\n if (top.compareAndSet(o...
[ "0.65932626", "0.6499721", "0.6203019", "0.61973375", "0.61322176", "0.6132168", "0.60798246", "0.60464555", "0.60245335", "0.60245335", "0.5942508", "0.5863217", "0.5853476", "0.58216697", "0.58216697", "0.5782408", "0.57705206", "0.57682025", "0.5746732", "0.57373565", "0.5...
0.6920287
0
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public EpAssetsDAOImpl() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5331724", "0.53255844", "0.52108365", "0.5201835", "0.50965494", "0.49668962", "0.49506688", "0.49307945", "0.48985317", "0.48824656", "0.4828495", "0.4759662", "0.47480035", "0.4734886", "0.4732736", "0.47275218", "0.47025958", "0.46795434", "0.46613514", "0.46122175", "0...
0.40616158
83
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public void insert(EpAssets record) { getSqlMapClientTemplate().insert("EP_ASSETS.abatorgenerated_insert", record); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.53302836", "0.53221124", "0.52080685", "0.520352", "0.5094914", "0.49641314", "0.495011", "0.4929825", "0.48956412", "0.48811284", "0.4828733", "0.47590965", "0.474703", "0.47312212", "0.47301576", "0.47248", "0.47004855", "0.46781036", "0.46590063", "0.4610878", "0.457789...
0.44257832
28
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int updateByPrimaryKey(EpAssets record) { int rows = getSqlMapClientTemplate().update("EP_ASSETS.abatorgenerated_updateByPrimaryKey", record); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5330536", "0.53222513", "0.5207657", "0.52027476", "0.50921917", "0.49626216", "0.49511728", "0.49269822", "0.48932892", "0.48792812", "0.48266667", "0.47559804", "0.4747858", "0.47305498", "0.4728688", "0.47227278", "0.4698214", "0.4677765", "0.46577558", "0.4609631", "0....
0.42737162
43
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int updateByPrimaryKeySelective(EpAssets record) { int rows = getSqlMapClientTemplate().update("EP_ASSETS.abatorgenerated_updateByPrimaryKeySelective", record); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5330451", "0.53232396", "0.52095115", "0.52057093", "0.5095323", "0.49641135", "0.49506208", "0.49297094", "0.4895606", "0.48799822", "0.4828015", "0.47592768", "0.4748287", "0.47320527", "0.47298902", "0.47247306", "0.47002313", "0.46786806", "0.46591663", "0.46101427", "...
0.41200325
72
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public List selectByExample(EpAssetsExample example) { List list = getSqlMapClientTemplate().queryForList("EP_ASSETS.abatorgenerated_selectByExample", example); return list; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5331724", "0.53255844", "0.52108365", "0.5201835", "0.50965494", "0.49668962", "0.49307945", "0.48985317", "0.48824656", "0.4828495", "0.4759662", "0.47480035", "0.4734886", "0.4732736", "0.47275218", "0.47025958", "0.46795434", "0.46613514", "0.46122175", "0.4582268", "0....
0.49506688
6
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public EpAssets selectByPrimaryKey(String id) { EpAssets key = new EpAssets(); key.setId(id); EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject("EP_ASSETS.abatorgenerated_selectByPrimaryKey", key); return record; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Asset> getAssets() throws AlpacaAPIException {\n Type listType = new TypeToken<List<Asset>>() {\n }.getType();\n\n AlpacaRequestBuilder urlBuilder =\n new AlpacaRequestBuilder(apiVersion, baseAccountUrl, AlpacaConstants.ASSETS_ENDPOINT);\n\n HttpResponse<JsonN...
[ "0.53221124", "0.52080685", "0.520352", "0.5094914", "0.49641314", "0.495011", "0.4929825", "0.48956412", "0.48811284", "0.4828733", "0.47590965", "0.474703", "0.47312212", "0.47301576", "0.47248", "0.47004855", "0.46781036", "0.46590063", "0.4610878", "0.4577893", "0.4572532...
0.53302836
0
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int deleteByExample(EpAssetsExample example) { int rows = getSqlMapClientTemplate().delete("EP_ASSETS.abatorgenerated_deleteByExample", example); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5330536", "0.53222513", "0.5207657", "0.52027476", "0.50921917", "0.49626216", "0.49511728", "0.49269822", "0.48932892", "0.48792812", "0.48266667", "0.47559804", "0.4747858", "0.47305498", "0.4728688", "0.47227278", "0.4698214", "0.4677765", "0.46577558", "0.4609631", "0....
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int deleteByPrimaryKey(String id) { EpAssets key = new EpAssets(); key.setId(id); int rows = getSqlMapClientTemplate().delete("EP_ASSETS.abatorgenerated_deleteByPrimaryKey", key); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5330451", "0.53232396", "0.52095115", "0.52057093", "0.5095323", "0.49641135", "0.49506208", "0.49297094", "0.4895606", "0.48799822", "0.4828015", "0.47592768", "0.4748287", "0.47320527", "0.47298902", "0.47247306", "0.47002313", "0.46786806", "0.46591663", "0.46101427", "...
0.43957767
30
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int countByExample(EpAssetsExample example) { Integer count = (Integer) getSqlMapClientTemplate().queryForObject("EP_ASSETS.abatorgenerated_countByExample", example); return count.intValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5331724", "0.53255844", "0.52108365", "0.5201835", "0.50965494", "0.49668962", "0.49506688", "0.49307945", "0.48985317", "0.48824656", "0.4828495", "0.4759662", "0.47480035", "0.4734886", "0.4732736", "0.47275218", "0.47025958", "0.46795434", "0.46613514", "0.46122175", "0...
0.41550836
67
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int updateByExampleSelective(EpAssets record, EpAssetsExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("EP_ASSETS.abatorgenerated_updateByExampleSelective", parms); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.53302836", "0.53221124", "0.52080685", "0.520352", "0.5094914", "0.49641314", "0.495011", "0.4929825", "0.48956412", "0.48811284", "0.4828733", "0.47590965", "0.474703", "0.47312212", "0.47301576", "0.47248", "0.47004855", "0.46781036", "0.46590063", "0.4610878", "0.457789...
0.0
-1
This method was generated by Abator for iBATIS. This method corresponds to the database table HBDW1.EP_ASSETS
public int updateByExample(EpAssets record, EpAssetsExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("EP_ASSETS.abatorgenerated_updateByExample", parms); return rows; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public EpAssets selectByPrimaryKey(String id) {\n EpAssets key = new EpAssets();\n key.setId(id);\n EpAssets record = (EpAssets) getSqlMapClientTemplate().queryForObject(\"EP_ASSETS.abatorgenerated_selectByPrimaryKey\", key);\n return record;\n }", "public List<Asset> getAssets() t...
[ "0.5330536", "0.53222513", "0.5207657", "0.52027476", "0.50921917", "0.49626216", "0.49511728", "0.49269822", "0.48932892", "0.48792812", "0.48266667", "0.47559804", "0.4747858", "0.47305498", "0.4728688", "0.47227278", "0.4698214", "0.4677765", "0.46577558", "0.4609631", "0....
0.41019836
79
Checks the current SocketState. NOTE: If you check the SocketState and Data is received during the Check the current State of the TransportHandler will get messed up and an Exception will be thrown.
public SocketState getSocketState() throws InvalidTransportHandlerStateException { try { if (dataSocket.getInputStream().available() > 0) { return SocketState.DATA_AVAILABLE; } dataSocket.setSoTimeout(1); int read = dataSocket.getInputStream().read(); if (read == -1) { return SocketState.CLOSED; } else { throw new InvalidTransportHandlerStateException("Received Data during SocketState check"); } } catch (SocketTimeoutException ex) { return SocketState.TIMEOUT; } catch (SocketException ex) { return SocketState.SOCKET_EXCEPTION; } catch (IOException ex) { return SocketState.IO_EXCEPTION; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected synchronized boolean isSockOpen(){\n\t\ttry{\n\t\t\tif(out.checkError()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }", "priva...
[ "0.62883073", "0.604398", "0.604398", "0.59764785", "0.58755285", "0.58537024", "0.581092", "0.5755852", "0.5752524", "0.57053334", "0.5658213", "0.56070274", "0.5603496", "0.55952483", "0.55691826", "0.55456865", "0.55377686", "0.5531216", "0.5531115", "0.55009013", "0.54628...
0.7356033
0
/ Create the view
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); /* Appearance */ this.updateViewWithStatus(ToiletStatus.ToiletStausUnavaliable); /* Start updating status */ this.defaultStatusUpdater().updateStatus(); /* Setup update button */ this.setupUpdateButton(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "View createView();", "@Override\n public void Create() {\n\n initView();\n }", "@Override\n public void Create() {\n initView();\n initData();\n }", "private View create(PersistedView pView) {\n DsmSorting sorting = nameToSorting.get(pView.dsmSortingName);\n if ...
[ "0.82038647", "0.8041384", "0.75057435", "0.72006726", "0.707954", "0.69936687", "0.6885024", "0.6876789", "0.67900217", "0.6788131", "0.67730546", "0.67567503", "0.6708153", "0.6698492", "0.6690219", "0.6690219", "0.6657463", "0.665579", "0.665579", "0.6598244", "0.6577432",...
0.0
-1
Setup update button handler
private void setupUpdateButton() { /* Get the button */ Button updateButton = this.getStatusUpdateButton(); /* Setup listener */ View.OnClickListener updateButtonClicked = new View.OnClickListener() { @Override public void onClick(View view) { statusUpdater.updateStatus(); } }; /* Set listener to button */ updateButton.setOnClickListener(updateButtonClicked); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleUpdate(){\n increaseDecrease(\"i\");\n action=\"update\";\n buttonSave.setVisible(true);\n admission.setEditable(false);\n\n }", "public void clickOnUpdateButton() {\r\n\t\tsafeJavaScriptClick(updateButton);\r\n\t}", "private Component updateButton(){\n r...
[ "0.74220854", "0.72697604", "0.6902006", "0.68515766", "0.67882335", "0.6779352", "0.6731584", "0.67160255", "0.6626564", "0.658857", "0.6461128", "0.6459114", "0.64432716", "0.6400571", "0.6393061", "0.6389082", "0.6386097", "0.63496685", "0.6347839", "0.632744", "0.63204527...
0.80164415
0
Creates a new instance of SetPCProcess
public SetPCProcess() { super("SetPC"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Process() {\n PC.MakeProcess();\n\n }", "Process createProcess();", "MaximaProcess makeProcess() {\r\n \t\treturn new MaximaProcess(processBuilder, processConfig);\r\n \t}", "public Process() {\n\t\tthis(null);\n\t}", "public static UserProcess newUserProcess() {\n\treturn (UserProcess)Lib...
[ "0.63645583", "0.61773527", "0.58926743", "0.5885924", "0.5707403", "0.5607963", "0.5604633", "0.5511241", "0.5428346", "0.5418313", "0.5373287", "0.5371772", "0.529148", "0.5255329", "0.5237341", "0.52105033", "0.518927", "0.5165459", "0.516524", "0.51459414", "0.5139427", ...
0.7792924
0
private boolean handlingEvent = false; / constructor makes a list of available ports
public Discovery() { if(motors.equals(params.disabled.toString()) && lights.equals(params.disabled.toString())) { Util.debug("discovery starting is disabled", this); return; } Util.log("getting available serial ports"); getAvailableSerialPorts(); if(ports.size()==0){ Util.log("no serial ports found on host", this); return; } if(motors.equals(params.discovery.toString())){ searchMotors(); } else if( ! motors.equals(params.disabled.toString())){ Util.debug("skipping discovery, motors on: " + motors, this); state.set(State.values.serialport, motors); state.set(State.values.firmware, OCULUS_DC); } if(lights.equals(params.discovery.toString())){ searchLights(); } else if( ! lights.equals(params.disabled.toString())){ Util.debug("skipping discovery, lights on: " + lights, this); state.set(State.values.lightport, lights); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasPort();", "boolean hasPort();", "public interface OnOpenPortListener {\n void onOpenPort(boolean openSuccess);\n}", "@FXML\r\n public void checkComPorts(ActionEvent event) {\r\n SerialConnection.availablePorts();\r\n }", "abstract protected int PortToRunOn();", "private\n bool...
[ "0.6539371", "0.6539371", "0.6306639", "0.6301628", "0.62119085", "0.5900261", "0.58948416", "0.5826056", "0.5825459", "0.5799997", "0.57825524", "0.5742315", "0.57404506", "0.5700439", "0.56124425", "0.5592774", "0.5589299", "0.5589299", "0.5578195", "0.55574095", "0.5557284...
0.0
-1
connects on start up, return true is currently connected
private boolean connect(final String address, final int rate) { Util.debug("try to connect to: " + address + " buad:" + rate, this); try { /* construct the serial port */ serialPort = (SerialPort) CommPortIdentifier.getPortIdentifier(address).open("Discovery", TIMEOUT); /* configure the serial port */ serialPort.setSerialPortParams(rate, DATABITS, STOPBITS, PARITY); serialPort.setFlowControlMode(FLOWCONTROL); /* extract the input and output streams from the serial port */ inputStream = serialPort.getInputStream(); outputStream = serialPort.getOutputStream(); Util.debug("connected: " + address + " buad:" + rate, this); Util.delay(TIMEOUT*2); doPortQuery(); // register for serial events // Util.debug("registering port listeners... ",this); // serialPort.addEventListener(this); // serialPort.notifyOnDataAvailable(true); } catch (Exception e) { Util.log("error connecting to: " + address, this); close(); return false; } // be sure if (inputStream == null) return false; if (outputStream == null) return false; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isConnected();", "public boolean isConnected();", "public boolean isConnected();", "public boolean isConnected();", "public boolean isConnected();", "boolean isConnected();", "boolean isConnected();", "boolean isConnected();", "boolean isConnected();", "boolean isConnected();", "...
[ "0.78512365", "0.78512365", "0.78512365", "0.78512365", "0.78512365", "0.7850526", "0.7850526", "0.7850526", "0.7850526", "0.7850526", "0.7850526", "0.7850526", "0.7850526", "0.78477675", "0.77282304", "0.75960225", "0.7571054", "0.7550079", "0.7460102", "0.74395126", "0.7413...
0.0
-1
Close the serial port streams
private void close() { // if (handlingEvent) { return; } // hopefully this is never used if (serialPort != null) { Util.debug("close port: " + serialPort.getName() + " baud: " + serialPort.getBaudRate(), this); // serialPort.removeEventListener(); serialPort.close(); serialPort = null; } try { if (inputStream != null) inputStream.close(); } catch (Exception e) { Util.log("input stream close():" + e.getMessage(), this); } try { if (outputStream != null) outputStream.close(); } catch (Exception e) { Util.log("output stream close():" + e.getMessage(), this); } buffer = null; // Util.delay(TIMEOUT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized void close() {\r\n\t\tif (serialPort != null) {\r\n\t\t\tserialPort.removeEventListener();\r\n\t\t\tserialPort.close();\r\n\t\t}\r\n\t}", "public synchronized void close()\n\t{\n\t\tif (serialPort != null)\n\t\t{\n\t\t\tserialPort.removeEventListener();\n\t\t\tserialPort.close();\n\t\t}\n\t}"...
[ "0.81146955", "0.81123245", "0.81071997", "0.80948544", "0.8067718", "0.7798489", "0.7772183", "0.7769865", "0.75854355", "0.7054353", "0.6913634", "0.6699605", "0.6680144", "0.6320035", "0.63187826", "0.6208265", "0.6101255", "0.6089275", "0.60888225", "0.60873324", "0.60621...
0.82706827
0
Loop through all available serial ports and ask for product id's
public void searchLights() { // try to limit searching if(ports.contains(motors)) ports.remove(motors); if(state.get(State.values.serialport) != null) ports.remove(state.get(State.values.serialport)); Util.debug("discovery for lights starting on ports: " + ports.size(), this); for (int i = ports.size() - 1; i >= 0; i--) { if (state.get(State.values.lightport)!=null) { break; } // stop if find it //if (connect(ports.get(i), BAUD_RATES[0])) { if (connect(ports.get(i), 57600)) { Util.delay(TIMEOUT*2); if (serialPort != null) { close(); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void searchPorts() {\r\n try {\r\n Enumeration pList = CommPortIdentifier.getPortIdentifiers();\r\n System.out.println(\"Porta =: \" + pList.hasMoreElements());\r\n while (pList.hasMoreElements()) {\r\n portas = (CommPortIdentifier) pList.nextElement();...
[ "0.7079648", "0.6702409", "0.65965945", "0.6121944", "0.6040322", "0.57278275", "0.56987673", "0.5680511", "0.558432", "0.55539703", "0.55163014", "0.54970115", "0.5472964", "0.54715383", "0.5447284", "0.54372686", "0.5420523", "0.5417444", "0.54050124", "0.53986716", "0.5382...
0.0
-1
Loop through all available serial ports and ask for product id's
public void searchMotors() { // try to limit searching if(ports.contains(lights)) ports.remove(lights); Util.debug("discovery for motors starting on " + ports.size()+" ports", this); //for (int i = ports.size() - 1; i >= 0; i--) { for (int i=0; i<ports.size(); i++) { if (state.get(State.values.serialport)!=null) { break; } // stop if find it //if (connect(ports.get(i), BAUD_RATES[1])) { if (connect(ports.get(i), 115200)) { Util.delay(TIMEOUT*2); if (serialPort != null) { close(); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void searchPorts() {\r\n try {\r\n Enumeration pList = CommPortIdentifier.getPortIdentifiers();\r\n System.out.println(\"Porta =: \" + pList.hasMoreElements());\r\n while (pList.hasMoreElements()) {\r\n portas = (CommPortIdentifier) pList.nextElement();...
[ "0.707958", "0.66996694", "0.65941995", "0.61193514", "0.6037779", "0.57258105", "0.569719", "0.56776446", "0.55828303", "0.5554249", "0.55149865", "0.54958457", "0.5472709", "0.5468626", "0.54453826", "0.54343855", "0.541934", "0.5418771", "0.5404843", "0.53964597", "0.53803...
0.5139085
54
check if this is a known derive, update in state
public void lookup(String id){ if (id == null) return; if (id.length() == 0) return; id = id.trim(); Util.debug("is a product ID? [" + id + "] length: " + id.length(), this); if (id.length() == 1 ){ if(id.equals(LIGHTS)){ state.set(State.values.lightport, getPortName()); Util.debug("found lights on comm port: " + getPortName(), this); } return; } if(id.startsWith("id")){ id = id.substring(2, id.length()); Util.debug("found product id[" + id + "] on comm port: " + getPortName(), this); if (id.equalsIgnoreCase(OCULUS_DC)) { state.set(State.values.serialport, getPortName()); state.set(State.values.firmware, OCULUS_DC); } else if (id.equalsIgnoreCase(OCULUS_SONAR)) { state.set(State.values.serialport, getPortName()); state.set(State.values.firmware, OCULUS_SONAR); } else if (id.equalsIgnoreCase(OCULUS_TILT)) { state.set(State.values.serialport, getPortName()); state.set(State.values.firmware, OCULUS_TILT); } else if (id.equalsIgnoreCase(ARDUINO_MOTOR_SHIELD)) { state.set(State.values.serialport, getPortName()); state.set(State.values.firmware, ARDUINO_MOTOR_SHIELD); } //TODO: other devices here if grows } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDerived(boolean derived) {\n this.fDerived = derived;\n }", "public boolean isDerived() {\n return fDerived;\n }", "boolean isDerived();", "private boolean hasUniqueState()\n {\n return (getExternalArcState() == getMiddleArcState() && getExternalArcState() == getInterna...
[ "0.551982", "0.54020274", "0.5212897", "0.52075726", "0.5101958", "0.50428104", "0.5035456", "0.5002569", "0.49801835", "0.4967019", "0.49492458", "0.49451908", "0.49377644", "0.49129236", "0.4908318", "0.4903937", "0.48924553", "0.48771352", "0.48683357", "0.48446912", "0.47...
0.0
-1
send command to get product id
public void getProduct() { Util.debug("getProduct",this); try { inputStream.skip(inputStream.available()); } catch (IOException e) { Util.log(e.getStackTrace().toString(),this); return; } try { outputStream.write(new byte[] { 'x', 13 }); } catch (IOException e) { Util.log(e.getStackTrace().toString(),this); return; } // wait for reply Util.delay(RESPONSE_DELAY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getProductid() {\n return productid;\n }", "String getProductId();", "public String getProductID() {\n final byte[] data = new byte[12];\n mem.getBytes(16, data, 0, data.length);\n return new String(data).trim();\n }", "public int getM_Product_ID();", "public...
[ "0.65480715", "0.65154654", "0.6489015", "0.6452897", "0.6452897", "0.64348924", "0.64066845", "0.63899666", "0.6304923", "0.6297287", "0.6292624", "0.62867504", "0.62867504", "0.6219558", "0.62188804", "0.6213972", "0.62055093", "0.6189258", "0.6155794", "0.61483663", "0.614...
0.6327999
8
match types of firmware names and versions
public AbstractArduinoComm getMotors(Application application) { // CA: below throws null pointer // if(state.get(State.values.firmware).equals(ARDUINO_MOTOR_SHIELD)) // return new ArduinoMotorSheild(application); return new ArduinoCommDC(application); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void findOsVersion() {\n\t\tisGBOrLower = AppUtility.isAndroidGBOrLower();\n\t\tisICSOrHigher = AppUtility.isAndroidICSOrHigher();\n\t}", "public void checkFirmwareVersion()\n\t{\n\t\ttry\n\t\t{\n\t\t\tfor (SensorData sensorData : sCollect.getList())\n\t\t\t{\n\t\t\t\tif (sensorData.getId().equals(Connec...
[ "0.580389", "0.56339115", "0.5570024", "0.530443", "0.5231065", "0.519233", "0.5184052", "0.51666284", "0.51161903", "0.5108673", "0.5081833", "0.5078528", "0.5038777", "0.5020963", "0.49765235", "0.49024653", "0.48976904", "0.4882273", "0.48710573", "0.48597294", "0.48291892...
0.0
-1
manage types of lights here
public LightsComm getLights(Application application) { return new LightsComm(application); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLight1(){\n }", "void setupLights() {\n\n lightGroup = new Group();\n\n // Set up the ambient light\n lightAmbient = new AmbientLight(darkGrey);\n lightAmbient.setInfluencingBounds(infiniteBounds);\n lightAmbient.setCapability(Light.ALLOW_STATE_WRITE);\n ...
[ "0.6963043", "0.6895516", "0.6819241", "0.67177665", "0.6662513", "0.66516924", "0.66209465", "0.6595607", "0.6582112", "0.6529192", "0.6514927", "0.6490289", "0.6390398", "0.63220716", "0.62900317", "0.6239408", "0.6214911", "0.6125606", "0.6109156", "0.61070806", "0.6095944...
0.0
-1
TODO Autogenerated method stub
@Override public Response<Boolean> getRecommendScopes(RequestContext requestContext) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Container Activity must implement this interface
public interface MakePaymentListener { public void goToPayment(String mode, HashMap<String, Object> data) throws JSONException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ActivityInterface {\n public void initView();\n public void setUICallbacks();\n public int getLayout();\n public void updateUI();\n}", "public interface ActivityAware<E> {\r\n E getContextActivity();\r\n}", "public interface ActivityInterface {\n\n int getLayout();\n\n voi...
[ "0.70040697", "0.6847563", "0.67235523", "0.67232347", "0.6701236", "0.6540011", "0.6525925", "0.6517209", "0.64843005", "0.6483125", "0.6465365", "0.64381146", "0.64175296", "0.64067775", "0.6395508", "0.6385796", "0.63736796", "0.63626945", "0.63592637", "0.6353325", "0.634...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View netBankingFragment = inflater.inflate(R.layout.fragment_net_banking, container, false); pb = (ProgressBar) netBankingFragment.findViewById(R.id.pb); netBankingFragment.findViewById(R.id.nbPayButton).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { final HashMap<String, Object> data = new HashMap<String, Object>(); try { data.put("bankcode", bankCode); data.put("key", ((HomeActivity) getActivity()).getBankObject().getJSONObject("paymentOption").getString("publicKey").replaceAll("\\r", "")); pb.setVisibility(View.VISIBLE); mCallback.goToPayment("NB", data); // Session.getInstance(getActivity()).sendToPayUWithWallet(((HomeActivity)getActivity()).getBankObject(),"NB",data,getArguments().getDouble("cashback_amt"),getArguments().getDouble("wallet")); } catch (JSONException e) { pb.setVisibility(View.GONE); Toast.makeText(getActivity(), "Something went wrong", Toast.LENGTH_LONG).show(); e.printStackTrace(); } } }); /* netBankingFragment.findViewById(R.id.useNewCardButton).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { getActivity().getFragmentManager().popBackStack(); } });*/ return netBankingFragment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
An empty case with no data.
interface EmptyCase { static CaseData build() { return CaseData.builder() .build(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "CommandBlock getCaseEmpty();", "public boolean isEmpty()\n {return data == null;}", "@Override\r\n\tpublic boolean isEmpty() {\r\n\r\n\t\treturn data.isEmpty();\r\n\t}", "@Override\n\tpublic Object visit(ASTCondEmpty node, Object data) {\n\t\tSystem.out.print(\"empty (\");\n\t\tnode.jjtGetChild(0).jjtAcce...
[ "0.7107457", "0.6725021", "0.67090046", "0.6703403", "0.6609857", "0.6425806", "0.6411493", "0.63937813", "0.63854414", "0.6370868", "0.6360362", "0.63414663", "0.63414663", "0.63414663", "0.63414663", "0.63414663", "0.63414663", "0.63414663", "0.63365936", "0.63256216", "0.6...
0.7008204
1
An case with data in every fields.
interface FullCase { static CaseData build() { return CaseData.builder() .textField(TEXT) .numberField(NUMBER) .yesOrNoField(YES_OR_NO) .phoneUKField(PHONE_UK) .emailField(EMAIL) .moneyGBPField(MONEY_GBP) .dateField(DATE) .dateTimeField(DATE_TIME) .textAreaField(TEXT_AREA) .fixedListField(FIXED_LIST) .multiSelectListField(MULTI_SELECT_LIST) .collectionField(new AATCaseType.CollectionItem[]{ new AATCaseType.CollectionItem(null, COLLECTION_VALUE_1), new AATCaseType.CollectionItem(null, COLLECTION_VALUE_2) }) .complexField(new AATCaseType.ComplexType(COMPLEX_TEXT, COMPLEX_FIXED_LIST)) .addressUKField( AATCaseType.AddressUKField.builder() .addressLine1(ADDRESS_LINE_1) .addressLine2(ADDRESS_LINE_2) .addressLine3(ADDRESS_LINE_3) .postTown(ADDRESS_POST_TOWN) .county(ADDRESS_COUNTY) .postCode(ADDRESS_POSTCODE) .country(ADDRESS_COUNTRY) .build() ) .build(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public T caseData(Data object)\n {\n return null;\n }", "@Test\n public void fieldData() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n FieldData field = (FieldData) builder.insertField(FieldType.FIELD_DATA, true);\n ...
[ "0.59308624", "0.5665115", "0.560351", "0.5405958", "0.5378097", "0.5329165", "0.5193542", "0.51404905", "0.51275957", "0.51118547", "0.5103246", "0.50920224", "0.5083138", "0.5044781", "0.50382555", "0.5004007", "0.4990604", "0.4977404", "0.48584417", "0.4847771", "0.4828417...
0.6249513
0
An case with data in every fields.
interface FullCaseUpdated { static CaseData build() { return CaseData.builder() .textField(TEXT_UPDATE) .numberField(NUMBER_UPDATE) .yesOrNoField(YES_OR_NO) .phoneUKField(PHONE_UK) .emailField(EMAIL) .moneyGBPField(MONEY_GBP) .dateField(DATE) .dateTimeField(DATE_TIME) .textAreaField(TEXT_AREA) .fixedListField(FIXED_LIST) .multiSelectListField(MULTI_SELECT_LIST) .complexField(new AATCaseType.ComplexType(COMPLEX_TEXT, COMPLEX_FIXED_LIST)) .addressUKField( AATCaseType.AddressUKField.builder() .addressLine1(ADDRESS_LINE_1) .addressLine2(ADDRESS_LINE_2) .addressLine3(ADDRESS_LINE_3) .postTown(ADDRESS_POST_TOWN) .county(ADDRESS_COUNTY) .postCode(ADDRESS_POSTCODE) .country(ADDRESS_COUNTRY) .build() ) .build(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface FullCase {\n\n static CaseData build() {\n return CaseData.builder()\n .textField(TEXT)\n .numberField(NUMBER)\n .yesOrNoField(YES_OR_NO)\n .phoneUKField(PHONE_UK)\n ...
[ "0.62517065", "0.5934005", "0.5662907", "0.5410227", "0.53779316", "0.53272665", "0.51928055", "0.5144595", "0.51321524", "0.51159704", "0.50967145", "0.5094441", "0.5084573", "0.5046689", "0.5040905", "0.5003404", "0.49941996", "0.49824777", "0.48578084", "0.48465306", "0.48...
0.56042826
3
TODO Autogenerated method stub
@Override public void stop() { super.stop(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void destroy() { super.destroy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void keyReleased(KeyEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseDragged(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mousePressed(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseReleased(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseEntered(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseExited(MouseEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
public static Encoder rightEncoder; public static Encoder leftEncoder; END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS This function is run when the robot is first started up and should be used for any initialization code.
@Override public void robotInit() { // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS drive = new Drive(); pDP = new PDP(); // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS // OI must be constructed after subsystems. If the OI creates Commands //(which it very likely will), subsystems are not guaranteed to be // constructed yet. Thus, their requires() statements may grab null // pointers. Bad news. Don't move it. oi = new OI(); camera1 = CameraServer.getInstance().startAutomaticCapture(0); camera2 = CameraServer.getInstance().startAutomaticCapture(1); camera1.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen); camera2.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen); server = CameraServer.getInstance().getServer(); flipped = true; server.setSource(camera1); vexGyro = new AnalogGyro(0); vexGyro.setSensitivity(.00175); //rightEncoder = new Encoder(0, 1, false); //leftEncoder = new Encoder(2, 3, true); // Add commands to Autonomous Sendable Chooser // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS chooser.setDefaultOption("Autonomous Command", new AutonomousCommand()); PixyCamBlock centerBlock = PixyCam2.GetCentermostBlock(); if(centerBlock == null) { SmartDashboard.putString("target good? ", "no, is null"); } else{ String out = "Center Block, X: "+centerBlock.xCenter + " Y: "+centerBlock.yCenter; SmartDashboard.putString("center block data ", out); if (centerBlock.yCenter < 200){ SmartDashboard.putString("target good?", "YES!!! ycenter less than 200"); } } // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS SmartDashboard.putData("Auto mode", chooser); SmartDashboard.putBoolean("isFlipped", flipped); SmartDashboard.putNumber("right encoder", drive.getRightEncoder()); SmartDashboard.putNumber("left encoder", drive.getLeftEncoder()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private RightMotor() {\n\t\t// Instantiate left motor class\n\t\tmotor = new Talon(RobotMap.M_RIGHT);\n\t\tencoder = new Encoder(RobotMap.M_RIGHT_ENCODER_CW, RobotMap.M_RIGHT_ENCODER_CCW);\n\t}", "public Encoder getEncoderRight() {\n return encoderRight;\n }", "public Encoder getEncoderLeft() {return...
[ "0.676523", "0.6543918", "0.64388555", "0.6399413", "0.6262273", "0.62106967", "0.6134474", "0.6116366", "0.60818106", "0.6027952", "0.5972348", "0.5970953", "0.59472936", "0.5903631", "0.58621126", "0.58466905", "0.5778798", "0.5775018", "0.57714665", "0.57714504", "0.574175...
0.5800906
16
This function is called when the disabled button is hit. You can use it to reset subsystems before shutting down.
@Override public void disabledInit(){ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onDisable() {\n super.onDisable();\n running = false;\n }", "public void onDisable() {\r\n }", "@Override\n public void onDisabled() {\n }", "@Override\r\n\tpublic void disable() {\n\t\tcurrentState.disable();\r\...
[ "0.7042655", "0.70253015", "0.69621336", "0.6960221", "0.6929906", "0.6924945", "0.69239414", "0.6923685", "0.6923685", "0.69174415", "0.69164973", "0.69138426", "0.69001687", "0.68991596", "0.68863875", "0.687686", "0.68725836", "0.68724704", "0.6830167", "0.6825987", "0.678...
0.0
-1
This makes sure that the autonomous stops running when teleop starts running. If you want the autonomous to continue until interrupted by another command, remove this line or comment it out.
@Override public void teleopInit() { Robot.drive.setDefaultCommand(new DriveCommand()); if (autonomousCommand != null) autonomousCommand.cancel(); System.out.println("teleopInit being called"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void teleopInit() {\n\t// This makes sure that the autonomous stops running when\n\t// teleop starts running. If you want the autonomous to\n\t// continue until interrupted by another command, remove\n\t// this line or comment it out.\n\tif (autonomousCommand != null) {\n\t autonomousComma...
[ "0.79148364", "0.7145506", "0.7135496", "0.71064025", "0.7031907", "0.69630426", "0.69592553", "0.69592553", "0.6882273", "0.67406726", "0.67363536", "0.6704759", "0.6559026", "0.65503424", "0.6533909", "0.6515634", "0.65055794", "0.6497067", "0.64381313", "0.6375646", "0.635...
0.61979944
31
This function is called periodically during operator control
@Override public void teleopPeriodic() { Scheduler.getInstance().run(); SmartDashboard.putNumber("right encoder", drive.getRightEncoder()); SmartDashboard.putNumber("left encoder", drive.getLeftEncoder()); PixyCamBlock centerBlock = PixyCam2.GetCentermostBlock(); boolean targetInRange = false ; if(centerBlock == null) { targetInRange = false; SmartDashboard.putString("center block data ", "null"); } else if(centerBlock.yCenter < 200) { targetInRange = true; String out = "Center Block, X: "+centerBlock.xCenter + " Y: "+centerBlock.yCenter; SmartDashboard.putString("center block data ", out); } String targetValue = Boolean.toString(targetInRange); SmartDashboard.putString("target good?", targetValue); SmartDashboard.putBoolean("isFlipped", flipped); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void teleopPeriodic() {\n \t\n \twhile (isOperatorControl() && isEnabled()) {\n \t\tdebug();\n \t\tsmartDashboardVariables();\n \t\t//driver control functions\n \t\tdriverControl();\n \t//state machine\n \tterrainStates();\n \t//this function always comes last\n ...
[ "0.7666101", "0.73226774", "0.7287152", "0.72621197", "0.7256373", "0.7148797", "0.7148797", "0.7114271", "0.70937526", "0.7090486", "0.7057967", "0.704716", "0.7042908", "0.7038873", "0.703218", "0.70227253", "0.696349", "0.6962679", "0.694288", "0.69314337", "0.69314337", ...
0.0
-1
/ renamed from: a
public static GlideExecutor m21514a(int i, String str, UncaughtThrowableStrategy uncaughtThrowableStrategy) { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(i, i, 0, TimeUnit.MILLISECONDS, new PriorityBlockingQueue(), new C8962a(str, uncaughtThrowableStrategy, true)); return new GlideExecutor(threadPoolExecutor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public static GlideExecutor m21516b(int i, String str, UncaughtThrowableStrategy uncaughtThrowableStrategy) { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(i, i, 0, TimeUnit.MILLISECONDS, new PriorityBlockingQueue(), new C8962a(str, uncaughtThrowableStrategy, false)); return new GlideExecutor(threadPoolExecutor); }
{ "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
public static GlideExecutor m21517c() { return m21514a(1, "disk-cache", UncaughtThrowableStrategy.f23340b); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: d
public static GlideExecutor m21518d() { return m21516b(m21512a(), "source", UncaughtThrowableStrategy.f23340b); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: e
public static GlideExecutor m21519e() { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(0, Integer.MAX_VALUE, f23336b, TimeUnit.MILLISECONDS, new SynchronousQueue(), new C8962a("source-unlimited", UncaughtThrowableStrategy.f23340b, false)); return new GlideExecutor(threadPoolExecutor); }
{ "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: a
public static GlideExecutor m21513a(int i, UncaughtThrowableStrategy uncaughtThrowableStrategy) { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(i, i, 0, TimeUnit.MILLISECONDS, new PriorityBlockingQueue(), new C8962a("animation", uncaughtThrowableStrategy, true)); return new GlideExecutor(threadPoolExecutor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public static GlideExecutor m21515b() { return m21513a(m21512a() >= 4 ? 2 : 1, UncaughtThrowableStrategy.f23340b); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
public static int m21512a() { if (f23337c == 0) { f23337c = Math.min(4, C8964a.m21520a()); } return f23337c; }
{ "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
Use LivestockResponse.newBuilder() to construct.
private LivestockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private HelloResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private LesenRPCResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "private TestResponse(com.g...
[ "0.68378365", "0.6725868", "0.6716745", "0.66907984", "0.6652961", "0.6652961", "0.6652961", "0.6652961", "0.6652961", "0.6652961", "0.6652961", "0.6604494", "0.6556748", "0.64931005", "0.6449034", "0.63836384", "0.6378206", "0.6364702", "0.6354746", "0.6333286", "0.6325589",...
0.823412
0
string tag = 1;
public java.lang.String getTag() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.59979826
52
string tag = 1;
public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.55722046
92
string gender = 2;
public java.lang.String getGender() { java.lang.Object ref = gender_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gender_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.6185079
41
string gender = 2;
public com.google.protobuf.ByteString getGenderBytes() { java.lang.Object ref = gender_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gender_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.57614565
85
string dob = 3;
public java.lang.String getDob() { java.lang.Object ref = dob_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dob_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6226258", "0.60272634", "0.57727545", "0.5763794", "0.5754739", "0.56820667", "0.56819004", "0.5670619", "0.5656533", "0.56540036", "0.5648274", "0.5642346", "0.55901957", "0.5573075", "0.5571315", "0.5559888", "0.55329657", "0.5529008", "0.5519177", "0.55108315", "0.55092...
0.0
-1
string dob = 3;
public com.google.protobuf.ByteString getDobBytes() { java.lang.Object ref = dob_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dob_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6226258", "0.60272634", "0.57727545", "0.5763794", "0.5754739", "0.56820667", "0.56819004", "0.5670619", "0.5656533", "0.56540036", "0.5648274", "0.5642346", "0.55901957", "0.5573075", "0.5571315", "0.5559888", "0.55329657", "0.5529008", "0.5519177", "0.55108315", "0.55092...
0.0
-1
string temperature = 4;
public java.lang.String getTemperature() { java.lang.Object ref = temperature_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); temperature_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.5649237", "0.56204...
0.6154044
4
string temperature = 4;
public com.google.protobuf.ByteString getTemperatureBytes() { java.lang.Object ref = temperature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); temperature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.56492...
0.55907875
24
string feedTime = 5;
public java.lang.String getFeedTime() { java.lang.Object ref = feedTime_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedTime_ = s; return s; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5726044", "0.5597749", "0.55522394", "0.54095185", "0.5382695", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5225357", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086", "0.5037664...
0.5812871
2
string feedTime = 5;
public com.google.protobuf.ByteString getFeedTimeBytes() { java.lang.Object ref = feedTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); feedTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5812871", "0.5726044", "0.5597749", "0.55522394", "0.54095185", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5225357", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086", "0.5037664...
0.5382695
7
double latitude = 6;
public double getLatitude() { return latitude_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Double getLatitude();", "Double getLatitude();", "double getLatitude();", "int getLatitude();", "long getLatitude();", "void setLatitude(Double latitude);", "public int getLat();", "public double getLatitude(){\n return latitude;\n }", "public double getLatitude()\n {\n \treturn lat...
[ "0.7704592", "0.7704592", "0.76858544", "0.7445023", "0.7297542", "0.7200594", "0.7152045", "0.71384096", "0.70641065", "0.7015275", "0.6985997", "0.6962699", "0.69560415", "0.69432116", "0.68744123", "0.68670315", "0.6859561", "0.6846415", "0.6846415", "0.6774301", "0.677430...
0.6770265
26
double longitude = 7;
public double getLongitude() { return longitude_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "double getLongitude();", "int getLongitude();", "Double getLongitude();", "Double getLongitude();", "void setLongitude(Double longitude);", "long getLongitude();", "public int getLon();", "public float getLongitude() { return longitude; }", "public void setLongitude(float longitude) { this.longitud...
[ "0.7756089", "0.7635636", "0.75962067", "0.75962067", "0.7468701", "0.73875254", "0.7333884", "0.73035324", "0.7268133", "0.7239617", "0.7239617", "0.72373486", "0.7212345", "0.71922386", "0.7192042", "0.7052072", "0.70091313", "0.70083284", "0.70083284", "0.70083284", "0.700...
0.7041733
16
string tag = 1;
public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.58248353
70
string tag = 1;
public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.0
-1
string tag = 1;
public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.55525523
95
string tag = 1;
public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.0
-1
string tag = 1;
public Builder setTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTag();", "String convertTag(String tag);", "public int tag () { return MyTag; }", "java.lang.String getTag();", "java.lang.String getTag();", "public Tag(String str) {\n\t}", "public String getTag();", "int getTagNo();", "public void setTag(String tag);", "public String getFromTag();", ...
[ "0.7286668", "0.7130317", "0.710237", "0.69834083", "0.69834083", "0.6895891", "0.6884998", "0.6837629", "0.6822605", "0.681437", "0.672515", "0.6706871", "0.67038506", "0.66475487", "0.6615169", "0.66134256", "0.65946484", "0.65715384", "0.6522923", "0.6517858", "0.6509708",...
0.0
-1
string gender = 2;
public java.lang.String getGender() { java.lang.Object ref = gender_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gender_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.61276704
54
string gender = 2;
public com.google.protobuf.ByteString getGenderBytes() { java.lang.Object ref = gender_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gender_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.0
-1
string gender = 2;
public Builder setGender( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gender_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.0
-1
string gender = 2;
public Builder clearGender() { gender_ = getDefaultInstance().getGender(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.0
-1
string gender = 2;
public Builder setGenderBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gender_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getGender();", "int getGenderValue();", "public String getGenderAsString(){\n String genderString;\n if (gender == 'f'){\n genderString=\"female\";\n }\n else {\n genderString=\"male\";\n }\n return genderString;\n }", "public String gend...
[ "0.71210957", "0.7042259", "0.70099646", "0.69518745", "0.6764103", "0.6764103", "0.6764103", "0.67461437", "0.6732138", "0.667081", "0.66463935", "0.6643374", "0.6633669", "0.6525508", "0.6503649", "0.64775854", "0.64499456", "0.64499456", "0.6441546", "0.6420116", "0.640428...
0.0
-1
string dob = 3;
public java.lang.String getDob() { java.lang.Object ref = dob_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dob_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6225256", "0.6025977", "0.5772286", "0.5763067", "0.5754096", "0.5682253", "0.56811655", "0.56720024", "0.565585", "0.5654464", "0.5647765", "0.56415486", "0.55898654", "0.55723274", "0.5572263", "0.55584", "0.55318093", "0.55307466", "0.5518985", "0.5511834", "0.5509033",...
0.0
-1
string dob = 3;
public com.google.protobuf.ByteString getDobBytes() { java.lang.Object ref = dob_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dob_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6226258", "0.60272634", "0.57727545", "0.5763794", "0.5754739", "0.56820667", "0.56819004", "0.5670619", "0.5656533", "0.56540036", "0.5648274", "0.5642346", "0.55901957", "0.5573075", "0.5571315", "0.5559888", "0.55329657", "0.5529008", "0.5519177", "0.55108315", "0.55092...
0.0
-1
string dob = 3;
public Builder setDob( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dob_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6226258", "0.60272634", "0.57727545", "0.5763794", "0.5754739", "0.56820667", "0.56819004", "0.5670619", "0.5656533", "0.56540036", "0.5648274", "0.5642346", "0.55901957", "0.5573075", "0.5571315", "0.5559888", "0.55329657", "0.5529008", "0.5519177", "0.55108315", "0.55092...
0.0
-1
string dob = 3;
public Builder clearDob() { dob_ = getDefaultInstance().getDob(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6226258", "0.60272634", "0.57727545", "0.5763794", "0.5754739", "0.56820667", "0.56819004", "0.5670619", "0.5656533", "0.56540036", "0.5648274", "0.5642346", "0.55901957", "0.5573075", "0.5571315", "0.5559888", "0.55329657", "0.5529008", "0.5519177", "0.55108315", "0.55092...
0.0
-1
string dob = 3;
public Builder setDobBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dob_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo41089d(String str);", "void mo1934b(String str);", "void mo12635a(String str);", "void mo37759a(String str);", "void mo1935c(String str);", "void mo3314b(String str);", "void mo88522a(String str);", "int mo5882g(String str);", "void mo3768a(String str);", "public char d();", "void mo1329...
[ "0.6225256", "0.6025977", "0.5772286", "0.5763067", "0.5754096", "0.5682253", "0.56811655", "0.56720024", "0.565585", "0.5654464", "0.5647765", "0.56415486", "0.55898654", "0.55723274", "0.5572263", "0.55584", "0.55318093", "0.55307466", "0.5518985", "0.5511834", "0.5509033",...
0.0
-1
string temperature = 4;
public java.lang.String getTemperature() { java.lang.Object ref = temperature_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); temperature_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.5649237", "0.56204...
0.6119895
5
string temperature = 4;
public com.google.protobuf.ByteString getTemperatureBytes() { java.lang.Object ref = temperature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); temperature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.56492...
0.54201937
43
string temperature = 4;
public Builder setTemperature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } temperature_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.56492...
0.5187699
85
string temperature = 4;
public Builder clearTemperature() { temperature_ = getDefaultInstance().getTemperature(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.56492...
0.0
-1
string temperature = 4;
public Builder setTemperatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); temperature_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTemperature() {\n return temperature;\n }", "public String getTemperature() {\r\n\t\treturn temperature;\r\n\t}", "public String getTemperature() {\n\t\treturn temperature;\n\t}", "public void setTemperature(String temperature) {\n this.temperature = temperature;\n }", ...
[ "0.63349694", "0.6328644", "0.62746334", "0.62377214", "0.6154044", "0.6119895", "0.60603297", "0.60014254", "0.5900106", "0.58869886", "0.5880512", "0.5845509", "0.58327556", "0.5828505", "0.58016276", "0.5774288", "0.5755114", "0.5649237", "0.5649237", "0.5649237", "0.56492...
0.0
-1
string feedTime = 5;
public java.lang.String getFeedTime() { java.lang.Object ref = feedTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedTime_ = s; return s; } else { return (java.lang.String) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5812871", "0.5597749", "0.55522394", "0.54095185", "0.5382695", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5225357", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086", "0.5037664...
0.5726044
3
string feedTime = 5;
public com.google.protobuf.ByteString getFeedTimeBytes() { java.lang.Object ref = feedTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); feedTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5812871", "0.5726044", "0.5597749", "0.55522394", "0.54095185", "0.5382695", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086", "0.5037664...
0.5225357
12
string feedTime = 5;
public Builder setFeedTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } feedTime_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n System.out.println(time);\n\n }", "public java.lang.String getFeedTime() {\n java.lang.Object ref = feedTime_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else...
[ "0.5827628", "0.58151793", "0.57284516", "0.55980116", "0.5551628", "0.54060763", "0.53856593", "0.5278002", "0.52526677", "0.5233957", "0.52283335", "0.5225141", "0.5152209", "0.51156193", "0.5075917", "0.50595313", "0.50546396", "0.5045819", "0.5045078", "0.5041056", "0.503...
0.59543115
0
string feedTime = 5;
public Builder clearFeedTime() { feedTime_ = getDefaultInstance().getFeedTime(); onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5812871", "0.5726044", "0.5597749", "0.55522394", "0.54095185", "0.5382695", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5225357", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086...
0.0
-1
string feedTime = 5;
public Builder setFeedTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); feedTime_ = value; onChanged(); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder setFeedTime(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n feedTime_ = value;\n onChanged();\n return this;\n }", "public static void main(String[] args) {\n\n String time =\"16:49:40\".substring(0,2);\n ...
[ "0.5951807", "0.5828656", "0.5812871", "0.5726044", "0.5597749", "0.55522394", "0.54095185", "0.5382695", "0.52785426", "0.5255001", "0.5235273", "0.5225887", "0.5225357", "0.5150476", "0.51171774", "0.5076702", "0.5059256", "0.5056296", "0.50473064", "0.50460154", "0.5042086...
0.484007
51
double latitude = 6;
public double getLatitude() { return latitude_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Double getLatitude();", "Double getLatitude();", "double getLatitude();", "int getLatitude();", "long getLatitude();", "void setLatitude(Double latitude);", "public int getLat();", "public double getLatitude(){\n return latitude;\n }", "public double getLatitude()\n {\n \treturn lat...
[ "0.7704592", "0.7704592", "0.76858544", "0.7445023", "0.7297542", "0.7200594", "0.7152045", "0.71384096", "0.70641065", "0.7015275", "0.6985997", "0.6962699", "0.69560415", "0.69432116", "0.68744123", "0.68670315", "0.6859561", "0.6846415", "0.6846415", "0.6774301", "0.677430...
0.63646716
72