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
Function : threadResume() Use : resuming the thread Parameter : nothing Returns : nothing
public void threadResume() { synchronized(pauseLock) { try { paused = false; pauseLock.notifyAll(); //notifying the thread to resume its execution } catch(Exception e) { System.out.println("Exception occured" + e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void resume(){\r\n\r\n isRunning = true;\r\n ourThread = new Thread(this);\r\n ourThread.start();\r\n }", "protected void resume() {\n resume(mainThread);\n }", "void resume();", "void resume();", "void resume();", "public void resume();", "public void...
[ "0.8158801", "0.7898726", "0.7610998", "0.7610998", "0.7610998", "0.7580342", "0.7569094", "0.7467797", "0.7376285", "0.734214", "0.72514397", "0.7184315", "0.71754986", "0.71754986", "0.71754986", "0.71754986", "0.71754986", "0.71754986", "0.71754986", "0.71754986", "0.71754...
0.82574236
0
TODO Autogenerated method stub
public static void main(String[] args) { int dias, meses, anos, totalDias; Scanner leia = new Scanner(System.in); System.out.println("\nQuantos anos você tem? "); anos = leia.nextInt(); System.out.println("\nQuantos meses você tem? "); meses = leia.nextInt(); System.out.println("\nQuantos dias...
{ "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 Methods /////////////////////////////////////////////////////////////////////////
@Test public void test() { Random random = new Random(System.currentTimeMillis()); Adouble val = Adouble.valueOf(10); validate(val); validateEqual(val, Adouble.valueOf(val.toDouble())); Adouble val2 = Adouble.valueOf(random.nextDouble()); validate(val2); ...
{ "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\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\r...
[ "0.63756824", "0.6337728", "0.63318706", "0.6316436", "0.6211477", "0.62044466", "0.6109643", "0.6109643", "0.6106396", "0.6046683", "0.6036779", "0.59765595", "0.5959037", "0.5945838", "0.5945838", "0.5937154", "0.5932238", "0.5929754", "0.5924266", "0.59214973", "0.5919979"...
0.0
-1
///////////////////////////////////////////////////////////////////////// Package / Private Methods /////////////////////////////////////////////////////////////////////////
private void validate(Adouble val) { Assertions.assertEquals(val.aonType(), Atype.DOUBLE); Assertions.assertEquals(val, val); Assertions.assertEquals(val, Adouble.valueOf(val.toDouble())); Assertions.assertEquals(val.hashCode(), Adouble.valueOf(val.toDouble()).hashCode()); A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rek...
[ "0.6390839", "0.6189637", "0.61691785", "0.61581063", "0.6142282", "0.6098451", "0.60960186", "0.6035459", "0.59746975", "0.5972194", "0.59691715", "0.59601635", "0.59546643", "0.59401435", "0.59192854", "0.59192854", "0.5902047", "0.58921653", "0.58921653", "0.58921653", "0....
0.0
-1
Gets the value of the errorcount property.
public int getErrorcount() { return errorcount; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getErrorCount() {\n return this.errorCount;\n }", "public int getErrorCount() {\n return this._errorCount;\n }", "public Integer getErrorCnt() {\r\n return errorCnt;\r\n }", "public int getErrorCount()\r\n {\r\n \treturn errorCount;\r\n }", "public final int ...
[ "0.8822874", "0.87244815", "0.8662533", "0.86134624", "0.84796375", "0.8421444", "0.8335812", "0.8292928", "0.8241547", "0.8175674", "0.81596744", "0.81167746", "0.8100867", "0.80956596", "0.8052961", "0.7811543", "0.7736164", "0.77353436", "0.7708077", "0.76992077", "0.76560...
0.88182294
1
Sets the value of the errorcount property.
public void setErrorcount(int value) { this.errorcount = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setErrorCount(Long errorCount) {\n this.errorCount = errorCount;\n }", "public void setErrorcount(java.lang.String errorcount)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n or...
[ "0.83405083", "0.81054574", "0.7929419", "0.77757716", "0.7719131", "0.76725775", "0.733175", "0.7311124", "0.7230637", "0.7214929", "0.71720517", "0.7028981", "0.6885682", "0.6876861", "0.68313307", "0.67565036", "0.67539227", "0.675001", "0.67443347", "0.6706317", "0.653828...
0.88757646
0
TODO Autogenerated method stub
private void insertValue(int index, int value) { for (int i = this.array.length - 1; i > index; i--) { this.array[i] = this.array[i - 1]; } this.array[index] = value; count++; System.out.println("이동 횟수는 : " + (count - (index + 1))); this.showArray(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
private void showArray() { System.out.println(Arrays.toString(this.array)); }
{ "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
right btn click listener
@Override public void onBtnClick() { if(!TextUtils.isEmpty(versionMole.getUrl())){ Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onRightClick() {\n\t\t\t}", "public abstract void onRightButtonClick();", "@Override\n\tpublic void RightButtonClick() {\n\t\t\n\t}", "@Override\n\tpublic void RightButtonClick() {\n\t\t\n\t}", "abstract void onRightClick(int x, int y, boolean down);", "void onRightClick(doub...
[ "0.82451254", "0.81486195", "0.81086427", "0.81086427", "0.8039374", "0.79036963", "0.7858553", "0.78227276", "0.7365061", "0.7213718", "0.71906376", "0.71433294", "0.69747585", "0.68774295", "0.6839627", "0.6709137", "0.6633254", "0.662973", "0.6627246", "0.65882856", "0.658...
0.0
-1
TODO Autogenerated method stub
@Override public void onBtnClick() { if(testDialog!=null){ testDialog.dismiss(); } handler.sendEmptyMessage(222); }
{ "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
Creates the ProgressState instance specified by a current and total value.
public ProgressState(final long current, final long total) { this.current = current; this.total = total; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setProgress (int currentStep, int totalSteps);", "public Progress(final int goal)\n {\n setGoal(goal);\n }", "public ChannelProgressivePromise setProgress(long progress, long total)\r\n/* 63: */ {\r\n/* 64: 95 */ super.setProgress(progress, total);\r\n/* 65: 96 */ ...
[ "0.5691889", "0.5621772", "0.55475855", "0.53513944", "0.53267825", "0.5126662", "0.50314283", "0.50314283", "0.50314283", "0.4882363", "0.48718885", "0.48644897", "0.48129642", "0.4806762", "0.47972128", "0.47753555", "0.47599077", "0.4758075", "0.4758075", "0.4758075", "0.4...
0.8197176
0
Returns a current value.
public long getCurrent() { return current; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getCurrentValue();", "public Object currValue();", "public Integer getCurrentValue() {\n return currentValue;\n }", "public Integer getCurrentValue() {\n return currentValue;\n }", "public int getCurrentValue() {\n\t\treturn this.currentValue;\n\t}", "public float getCurrentVal...
[ "0.85111094", "0.84232795", "0.83203477", "0.83203477", "0.82038885", "0.80859303", "0.80640906", "0.7956071", "0.7947103", "0.7884022", "0.7876633", "0.7717447", "0.7677837", "0.7665808", "0.7515708", "0.7435764", "0.7383367", "0.73752093", "0.7362557", "0.7357867", "0.73280...
0.7463669
15
Returns a total value.
public long getTotal() { return total; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTotal (){ \r\n return total;\r\n }", "public double getTotal(){\n return total;\n }", "public double getTotal() {\r\n\t\treturn total;\r\n\t}", "public static float getTotal() {\n return total;\r\n }", "public double getTotal() {\n return Total;\n ...
[ "0.8238754", "0.818161", "0.8138819", "0.81332844", "0.8102676", "0.80898404", "0.80735636", "0.80735636", "0.80735636", "0.8053726", "0.803717", "0.803717", "0.8036634", "0.8033458", "0.7988519", "0.7975372", "0.7975372", "0.79719925", "0.7898025", "0.789544", "0.78881615", ...
0.7900708
19
Returns a string representation of the ProgressState object.
@Override public String toString() { return 100 * current / total + "%"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\treturn state.toString();\r\n\t}", "@Override\n public String toString()\n {\n return state.toString();\n }", "public String toString() {\r\n\t\treturn (\"State: \" + this.key + \", Value: \" + this.val);\r\n\t}", "public java.lang.String g...
[ "0.72560084", "0.72289175", "0.68331695", "0.6811649", "0.6807207", "0.67915404", "0.6669896", "0.66681486", "0.66606706", "0.6660437", "0.6636218", "0.6625469", "0.6624142", "0.6598519", "0.6569215", "0.6547421", "0.6409406", "0.63969797", "0.63873625", "0.63729966", "0.6333...
0.0
-1
Empty constructor required for Parceler.
public PlayableGame() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IntPar() { }", "public PjxParser()\r\n {\r\n LOG.info(this + \" instantiated\");\r\n }", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "public PipelineImpl() {\n }", "public PARiverDataGenerator() {\n }", "public AbstractPara...
[ "0.7477093", "0.72173953", "0.70253056", "0.69401467", "0.6879573", "0.6782527", "0.66680074", "0.66605353", "0.66385794", "0.66059566", "0.66056395", "0.65947926", "0.6542381", "0.6532316", "0.6511034", "0.64984316", "0.64938396", "0.64858395", "0.64677274", "0.646455", "0.6...
0.0
-1
Override this method to return the fragment for the game's layout.
public abstract Fragment getFragment();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Nullable\n @Override\n public View onCreateView(\n @NonNull LayoutInflater inflater,\n @Nullable ViewGroup container,\n @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.gameui_fragment, container, false);\n }", "private Fragment getLessonFragment() {\n\t\treturn Med...
[ "0.6949131", "0.6837319", "0.6808538", "0.68030053", "0.66890126", "0.6669518", "0.66406846", "0.66261667", "0.6611669", "0.66021895", "0.65973485", "0.65973485", "0.65973485", "0.64986813", "0.649764", "0.64968264", "0.64412206", "0.64370465", "0.6402178", "0.639221", "0.633...
0.6986594
0
Override this function to register the mUser's bet on the current mGame as PlacedBet. This function should not validate input, and it should store the PlacedBet object in the database before returning it. This function should also stage the user's balance by removing the amount bet.
public abstract PlacedBet register(double bet, double balance, Payout payout);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean placeBet(Player player, int bet);", "@WebMethod public void addBetMade(Account user, Bet bet, float money);", "public OperationResult registerBet(Bet bet, UUID playerId) {\n if (!players.containsKey(playerId)) {\n throw new NullPointerException(\"Player with ID=\" + playerId + \" is...
[ "0.6255976", "0.6150465", "0.60794806", "0.6013554", "0.59732145", "0.59173083", "0.57655966", "0.57142967", "0.5686393", "0.55928963", "0.55243963", "0.55206853", "0.55184627", "0.54928005", "0.54712546", "0.5453632", "0.5388047", "0.5344876", "0.5296189", "0.52768314", "0.5...
0.6834305
0
Override this function to provide the logic for playing mGame. Here the the PlacedBet should be updated with the outcome of the game, if the user won they should be given the proper amount of coins, and the winning outcome should be returned.
public abstract char play(PlacedBet placedBet, HashMap<Character, Payout> payoutMap, char selected);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void win()\n\t{\n\t\tGame.setMoney(Game.getMoney()+bet);\n\t\tremainingMoneyN.setText(String.valueOf(Game.getMoney()));\n\t\tbet=0;\n\t\ttfBet.setText(\"0\");\n\t\tif(Game.getMoney()>Game.getHighScore())\n\t\t{\n\t\t\tGame.setHighScore(Game.getMoney());\n\t\t\tlblHighScore.setText(String.valueOf(Game...
[ "0.7109499", "0.7050031", "0.70253783", "0.6821419", "0.67756903", "0.67515874", "0.67190754", "0.6695488", "0.6645026", "0.6615398", "0.660221", "0.65435904", "0.6531245", "0.64658695", "0.64479685", "0.6438063", "0.6431621", "0.6430454", "0.6417855", "0.64175695", "0.640812...
0.64821386
13
Create the seed for the rng for this instance. Should be called in the constructor, and if needed can be called from the object's fragment.
protected final long seedRoll() { Long time = System.currentTimeMillis(); String hexSeed = String.format("%x", new BigInteger(1, mGame.getSeed().getBytes())); Long seed = Long.parseLong(hexSeed, 16); return time + seed; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CellularAutomatonRNG()\n {\n this(DefaultSeedGenerator.getInstance().generateSeed(SEED_SIZE_BYTES));\n }", "public void setRNG(long seed);", "public long getSeed()\n {\n return randomSeed;\n }", "void new_seed( Seed seed );", "public long getSeed()\r\n {\r\n retur...
[ "0.7515139", "0.7086196", "0.6953927", "0.6866491", "0.6816356", "0.6806145", "0.6785718", "0.67759407", "0.6769106", "0.6747294", "0.672178", "0.670853", "0.670853", "0.6704759", "0.6664201", "0.66119736", "0.6591789", "0.6582141", "0.6577587", "0.6568024", "0.65636075", "...
0.5454675
90
Create an instance of a child of PlayableGame from a game and user.
public static PlayableGame fromGame(Game game, ParseUser user) { switch (game.getName().toLowerCase()) { case "roulette": return new Roulette(game, user); default: return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createGame(User playerOne, User playerTwo) throws RemoteException;", "void createNewGame(Player player);", "public Game createGame();", "public PlayerFighter create(GamePlayer player);", "public Player(Game game){\r\n this.game = game;\r\n }", "public GameUser() {\n\t}", "public Playable...
[ "0.6341417", "0.60536987", "0.6044202", "0.60418844", "0.5978701", "0.59146947", "0.57443196", "0.5666406", "0.5637355", "0.56301194", "0.5583551", "0.5569753", "0.55238485", "0.5489914", "0.5453369", "0.543446", "0.54143023", "0.5407687", "0.5386403", "0.5382334", "0.5357182...
0.64250726
0
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public QuestionDetailExample() { oredCriteria = new ArrayList<Criteria>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.61755556", "0.6090015", "0.59579974", "0.58790725", "0.58427554", "0.5801521", "0.5786478", "0.57429945", "0.57306564", "0.5641763", "0.5641763", "0.56133735", "0.5591168", "0.5565454", "0.553354", "0.53322875", "0.5330233", "0.53227866", "0.5317129", "0.5306001", "0.53057...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public String getOrderByClause() { return orderByClause; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public void setDistinct(boolean distinct) { this.distinct = distinct; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6175927", "0.6092521", "0.5956761", "0.5882024", "0.5841124", "0.580425", "0.5789906", "0.57455677", "0.5732089", "0.56443465", "0.56443465", "0.56151646", "0.55947274", "0.5566343", "0.5536474", "0.5334664", "0.53335756", "0.53220665", "0.53201586", "0.5309852", "0.530920...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public boolean isDistinct() { return distinct; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.61755556", "0.6090015", "0.59579974", "0.58790725", "0.58427554", "0.5801521", "0.5786478", "0.57429945", "0.57306564", "0.5641763", "0.5641763", "0.56133735", "0.5591168", "0.5565454", "0.553354", "0.53322875", "0.5330233", "0.53227866", "0.5317129", "0.5306001", "0.53057...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public List<Criteria> getOredCriteria() { return oredCriteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public void or(Criteria criteria) { oredCriteria.add(criteria); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6175927", "0.6092521", "0.5956761", "0.5882024", "0.5841124", "0.580425", "0.5789906", "0.57455677", "0.5732089", "0.56443465", "0.56443465", "0.56151646", "0.55947274", "0.5566343", "0.5536474", "0.5334664", "0.53335756", "0.53220665", "0.53201586", "0.5309852", "0.530920...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.61755556", "0.6090015", "0.59579974", "0.58790725", "0.58427554", "0.5801521", "0.5786478", "0.57429945", "0.57306564", "0.5641763", "0.5641763", "0.56133735", "0.5591168", "0.5565454", "0.553354", "0.53322875", "0.5330233", "0.53227866", "0.5317129", "0.5306001", "0.53057...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table question_detail
public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic oep_ResponseInfo getQuestionbankdetails(String questionid) {\n\t\t\t\n\t\t\tString query = \"SELECT `id`,`test_id`,`batch`,`test_name`,a.`sub_id`,a.`status`,`course_name` FROM `question_master` a \"\n\t\t\t\t\t+ \" JOIN `course_master` b ON a.`sub_id` = b.`course_id` WHERE a.`id` = \"+questio...
[ "0.6176921", "0.60930824", "0.59599406", "0.5884355", "0.5844695", "0.5805424", "0.57910854", "0.5745842", "0.57299584", "0.5644635", "0.5644635", "0.561544", "0.5596117", "0.5567694", "0.5538206", "0.53371584", "0.53347534", "0.53244764", "0.5322555", "0.5311371", "0.5311131...
0.0
-1
find all managed rooms
@Override public void onGET(OgemaHttpRequest req) { update(appController.getActiveRooms(), req); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Room> findAllRooms();", "public List<Room> getAllRooms(){\n\n List<Room> rooms = null;\n\n EntityManager entityManager = getEntityManagerFactory().createEntityManager();\n entityManager.getTransaction().begin();\n\n try{\n CriteriaBuilder criteriaBuilder = entit...
[ "0.8301098", "0.77791494", "0.76383424", "0.7586308", "0.7584775", "0.74893093", "0.7477308", "0.7315048", "0.730983", "0.7184525", "0.7174433", "0.712882", "0.7106347", "0.70972544", "0.69967747", "0.67881286", "0.6785944", "0.6755182", "0.6723783", "0.6696113", "0.6654568",...
0.0
-1
we have to make sure the value shown in the client is updated according to what the server accepted
private final void setDependencies() { setpoint.registerDependentWidget(setpoint); // in the onPOSTComplete method of setpoint, we set a message to be displayed by alert, hence we need to reload the alert after the POST setpoint.registerDependentWidget(alert); roomDrop.registerDependentWidget(name); roomDrop....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void updateDisplay() {\r\n setValue(Integer.toString(value.getValue()));\r\n }", "@Override\r\n\tpublic String update() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String update() {\n\t\treturn null;\r\n\t}", "private void onValider() {\n recuperation​(Reponse.getText());\r...
[ "0.61127603", "0.60775965", "0.60775965", "0.5942971", "0.5893792", "0.5855229", "0.58093166", "0.5808732", "0.57481873", "0.5745908", "0.5692015", "0.5677545", "0.5629978", "0.56091624", "0.559536", "0.558722", "0.5550263", "0.5531349", "0.5501534", "0.5499618", "0.54591864"...
0.0
-1
Log.i("Onswitchfragment","inside "+pos); FragmentManager manager= getSupportFragmentManager(); Fragment fr=getSupportFragmentManager().findFragmentById(R.id.bottomNavFrameLayout); if(fr!=null) Log.i("fragment In", "switchFragment: "+fr.getClass()); else Log.i("fragment In", "switchFragment: null"); FragmentTransaction ...
private void switchFragment(int pos) { Fragment fragment=bottomBarList.get(pos); String backStateName = fragment.getClass().getName(); String fragmentTag = backStateName; FragmentManager manager = getSupportFragmentManager(); boolean fragmentPopped = manager.popBackStackImmedia...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void replaceFragment(Fragment fragment) {\n FragmentManager fragmentManager = getSupportFragmentManager();\n android.support.v4.app.FragmentTransaction transaction = fragmentManager.beginTransaction();\n transaction.addToBackStack(null);\n if (fragment == listFragment) {\n ...
[ "0.68941194", "0.6852393", "0.68407893", "0.6839968", "0.6835684", "0.68273985", "0.68003803", "0.67827123", "0.6751152", "0.67487156", "0.6735407", "0.6735245", "0.67118764", "0.6703722", "0.66744465", "0.6673257", "0.66697675", "0.66618353", "0.66448385", "0.6618102", "0.66...
0.8367151
0
The async counterpart of PgStudioService.
public interface PgStudioServiceAsync { void getConnectionInfoMessage(String connectionToken, AsyncCallback<String> callback) throws IllegalArgumentException; void getList(String connectionToken, DATABASE_OBJECT_TYPE type, AsyncCallback<String> callback) throws IllegalArgumentException; void ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface PgStudioServiceAsync {\n\n\tvoid getConnectionInfoMessage(String connectionToken, AsyncCallback<String> callback)\n\t throws IllegalArgumentException;\n\t\n\tvoid getList(String connectionToken, DATABASE_OBJECT_TYPE type, AsyncCallback<String> callback)\n\t throws IllegalArgumentExce...
[ "0.75679946", "0.6024044", "0.59786123", "0.5867924", "0.5810268", "0.5768129", "0.5765615", "0.5649748", "0.56417686", "0.5615143", "0.56033057", "0.5572075", "0.556199", "0.55435646", "0.5519333", "0.55190945", "0.5515845", "0.550181", "0.5465506", "0.5462352", "0.54603434"...
0.754295
1
TODO Autogenerated method stub
@Override public int compare(Family o1, Family o2) { return o2.getMembers().size() - o1.getMembers().size(); }
{ "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
stop the SSH daemon server
@PreDestroy void destroy() { final org.apache.sshd.SshServer sshServer = this.sshServer; if( sshServer != null ) { LOG.info( "SSH server module is deactivating" ); stopSshServer( sshServer ); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stopServer() {\n stop();\n }", "public void stop() {\n server.stop();\n }", "public void stop() {\n System.err.println(\"Server will stop\");\n server.stop(0);\n }", "public void stop() {\n System.err.println(\"Server will stop\");\n server.s...
[ "0.7461206", "0.74206126", "0.7284263", "0.72746795", "0.72494537", "0.71918666", "0.71758896", "0.71487844", "0.711409", "0.7102854", "0.70521027", "0.6944875", "0.69445825", "0.6941168", "0.69072735", "0.6844844", "0.68179536", "0.6814104", "0.67932564", "0.67832255", "0.67...
0.6688467
22
Store a new LifeCARD entry on this zone using given parameters. A card entry has to be stored on a zone based SEHR host for privacy reasons. There is no global database containing sensitive medical data and there should never be a single company holding those records by SEHR convention. Only the patient is responsible ...
public LifeCardItem registerByParams(String surname, String firstname, String title, String middle, String idpassport, long dob, String country, int zid, int cid, int pid, String ICEProblem, String ICEContact, String ICEContactPhone) { if (!init()) { return null; } if (StringUtils.isBlank(country)) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LifeCardItem getLifeCardItem(String ctry, int zid, int cid, int pid) {\n LifeCardItem lcItem = null;\n LcMain lcMain;\n //Query query = em.createNamedQuery(\"LcMain.findByNumber\", LcMain.class);\n //Query query = em.createQuery(\"SELECT l FROM LcMain l WHERE UPPER(l.country)=:ctry AND l.zoneid=...
[ "0.5499283", "0.5111047", "0.5055584", "0.49757192", "0.4869764", "0.4770677", "0.4722004", "0.46911052", "0.46635255", "0.46592674", "0.45508188", "0.4527459", "0.45247662", "0.45241225", "0.45152885", "0.45033136", "0.4477631", "0.44671643", "0.44659933", "0.44616842", "0.4...
0.68416905
0
List services processing LifeCARD(R) entries bind to this zone host. The list elements are containing the URLs to a WEB host (GUI) and the ApacheMQ broker. The centerid is 0 on this administrative record by convention. If there are centers using the service there is a record for each center with the centerid set. The D...
public List<NetServices> listServices(int zid) { List<NetServices> listLCServices = new ArrayList<>(); String sql = "SELECT a.* FROM net_services a"; sql += " WHERE a.centerid<=0 and a.catid=" + CatID; if (zid > 0) { sql += " AND a.zoneid=" + zid; } Query query = em.createNativeQuery(sql...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showServices()\n {\n // Remove all of the items from the listField.\n _treeField.deleteAll();\n \n // Get a copy of the ServiceRouting class.\n ServiceRouting serviceRouting = ServiceRouting.getInstance();\n \n // Add in our new items by trolling thr...
[ "0.5678936", "0.5436815", "0.5353621", "0.5319863", "0.5301719", "0.5276834", "0.5276834", "0.52394843", "0.5133242", "0.51005554", "0.5054354", "0.5036263", "0.49963874", "0.49812183", "0.49538836", "0.49411976", "0.49411976", "0.4934205", "0.4917547", "0.48733228", "0.48692...
0.55727935
1
Get the highest XNET level component root, country, domain or local (zone). The XNET component used to send a message to a LifeCARD(R) queue depends on the level this SEHRCAS is running on as well as on level processings. Running as root level the component will be 'XNetLevel'='xroot'. Running as country level the comp...
public Map<String, Object> getXNetComponent() { if (!init()) { Log.info(LifeCARDAdmin.class.getName() + ":getXNetComponent():Initialization failed."); return null; } Map<String, Object> xnetComp = new HashMap<>(); xnetComp.put("XNETStarted", false); ActiveMQComponent amqComp = null; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CamelContext getXNetContext() {\n CamelContext cctx;\n Map<String, Object> xnetComp = getXNetComponent();\n if (xnetComp == null || xnetComp.isEmpty()) {\n Log.info(LifeCARDAdmin.class.getName() + \":getXNetContext()():No valid XNET routing handle found\");\n return null;\n }\n //++...
[ "0.52239156", "0.50917536", "0.50588346", "0.500971", "0.4987203", "0.49269795", "0.48860088", "0.48463076", "0.48396423", "0.48384857", "0.48286006", "0.48250064", "0.48189458", "0.47895527", "0.47364807", "0.47160488", "0.469974", "0.46855068", "0.46305457", "0.46212128", "...
0.6625885
0
Get the EIS context (Apache Camel) to process messages. To produce or process messages SEHR uses 'Apache Camel'.
public CamelContext getXNetContext() { CamelContext cctx; Map<String, Object> xnetComp = getXNetComponent(); if (xnetComp == null || xnetComp.isEmpty()) { Log.info(LifeCARDAdmin.class.getName() + ":getXNetContext()():No valid XNET routing handle found"); return null; } //+++ do not just ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic CamelContext getCamelContext() {\n\t\treturn ctx ;\r\n\t}", "private static CamelContext configureCamelContext(ApplicationContext context) throws Exception {\n //normal way of getting camel context but i have it defined in camelSpringApplicationContext.xml\n // CamelContext ca...
[ "0.7104296", "0.64572304", "0.6033644", "0.5681114", "0.5646091", "0.563925", "0.55552286", "0.553973", "0.55106604", "0.5505398", "0.5505398", "0.5505398", "0.54705375", "0.54195327", "0.5404283", "0.5390585", "0.53799653", "0.53799653", "0.5371519", "0.53685534", "0.5361095...
0.6615606
1
Get a list of all patients that have been registered for a LifeCARD. By SEHR specification there are relationships between persons, e.g. a patient (person 1) allows a physician (person 2) to send (and update) a medication plan for him. A health professional (a pharmacist, person 3) follows (wants to get/read) the medic...
public List<PrsMain> listPatients() { Log.info(LifeCARDAdmin.class.getName() + ":listPatients()"); List<PrsMain> list; String sql = "SELECT p.* FROM prs_main p where p.prsid IN (SELECT l.prsid FROM lc_main l where l.prsid>0 and l.prsid is not null)"; Query query = em.createNativeQuery(sql, PrsMain.clas...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Patient> getFHIR() {\n IGenericClient client;\n FhirContext ctx;\n ctx = FhirContext.forDstu3();\n ctx.setRestfulClientFactory(new OkHttpRestfulClientFactory(ctx));\n client = ctx.newRestfulGenericClient(\"http://fhirtest.uhn.ca/baseDstu3\");\n\n // .lastUpdate...
[ "0.57384473", "0.5358023", "0.5356461", "0.5350986", "0.53302604", "0.5289055", "0.5275225", "0.5167907", "0.51178676", "0.50755274", "0.5065626", "0.50633115", "0.4991988", "0.49620992", "0.48889115", "0.4874929", "0.4848685", "0.4832051", "0.48180893", "0.48169136", "0.4777...
0.68725926
0
List LcMain (Registration) records by status. Note:The record includes the card item object to be used for printing. The card item object also contains the ICE related data.
public List<LcMain> listRegistrations(String country, Integer zid, Integer cid, Short status) { List<LcMain> list; if (country == null) { country = Locale.getDefault().getCountry(); } String sql = "SELECT l.* FROM Lc_Main l WHERE"; if (country != null) { sql += " l.country='" + country +...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<LcMain> listCards(Short status) {\n List<LcMain> list;\n //String sql = \"SELECT distinct(l.lcid), l.* FROM lc_main l, lc_cad c WHERE l.lcid=c.lcid\";\n //same result, but faster\n String where = \"\";\n if (status != null) {\n where = \"WHERE l.status=\" + status;\n }\n Strin...
[ "0.6435623", "0.5735449", "0.54468167", "0.54152", "0.52962464", "0.5281657", "0.52609134", "0.5235358", "0.5216583", "0.5018958", "0.49674737", "0.49284178", "0.49151474", "0.49151474", "0.49151474", "0.49151474", "0.49121818", "0.49037123", "0.4903622", "0.4903622", "0.4903...
0.6086196
1
Get LifeCARD(R) administrative records only for entries where a card has been assigned. Note:If the status parameter is not 'null' only the records (holders) with the given status of the plastic card will be listed.
public List<LcMain> listCards(Short status) { List<LcMain> list; //String sql = "SELECT distinct(l.lcid), l.* FROM lc_main l, lc_cad c WHERE l.lcid=c.lcid"; //same result, but faster String where = ""; if (status != null) { where = "WHERE l.status=" + status; } String sql = "SELECT dis...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<EmployeeManage> queryConditions(String conditions,String status) {\n\t\treturn employeeManageDao.queryConditions(conditions,status);\r\n\t}", "public List<LcMain> listRegistrations(String country, Integer zid, Integer cid, Short status) {\n List<LcMain> list;\n if (country == null) {\n cou...
[ "0.57313704", "0.5631733", "0.5471123", "0.52124107", "0.5209841", "0.51509285", "0.51272124", "0.51177746", "0.510312", "0.5046957", "0.4903349", "0.49019375", "0.48718926", "0.48436183", "0.47816125", "0.47275475", "0.47191733", "0.46782896", "0.46762964", "0.46332222", "0....
0.68227434
0
Get a list of centers using a LifeCARD(R) compatible app (if modid>0 a locally deployed module defined in DefModule). This list is based on a query that is listing LifeCARD modules by category SEHRConstants.EHR_CATID in the NetServices table.
public List<NetCenter> listCenters(int zid, int modid) { List<NetCenter> list; String wcZID = ""; String selIN; if (zid > 0) { wcZID = " AND s.ZONEID=" + zid; } String sql = "SELECT c.* FROM Net_center c WHERE c.CENTERID IN "; if (modid > 0) { selIN = "(SELECT s.CENTERID FROM NET...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SME_Cluster[] getClusters();", "public java.lang.String CC_GetCallCenters(java.lang.String accessToken) throws java.rmi.RemoteException;", "public yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListClustersResponse list(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.ListCluster...
[ "0.5603494", "0.54945433", "0.5125914", "0.5098321", "0.50636107", "0.49586302", "0.49123994", "0.4885987", "0.48752725", "0.4853423", "0.48344654", "0.48205695", "0.48138285", "0.46256244", "0.45650485", "0.4481797", "0.44782132", "0.44769225", "0.445361", "0.44534406", "0.4...
0.68288195
0
Get the administrative record including the LifeCARD(R) item object. The LifeCARD(R) item is stored as a byte object (BLOB).
public LcMain getLcMainByLcId(int lcid) { LcMain lcMain; Query query = em.createNamedQuery("LcMain.findByLcid", LcMain.class); query.setParameter("lcid", lcid); try { lcMain = (LcMain) JPAUtils.getSingleResult(query.getResultList()); } catch (PersistenceException pe) { Log.warning(LifeCA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LifeCardItem getLifeCardItem(String ctry, int zid, int cid, int pid) {\n LifeCardItem lcItem = null;\n LcMain lcMain;\n //Query query = em.createNamedQuery(\"LcMain.findByNumber\", LcMain.class);\n //Query query = em.createQuery(\"SELECT l FROM LcMain l WHERE UPPER(l.country)=:ctry AND l.zoneid=...
[ "0.64764994", "0.5612752", "0.55756974", "0.51230705", "0.5071362", "0.50160563", "0.49700773", "0.49006334", "0.4882294", "0.48801154", "0.48694745", "0.4864644", "0.4864644", "0.48630655", "0.48501876", "0.48486686", "0.48285675", "0.4823853", "0.4818189", "0.4813821", "0.4...
0.0
-1
Get the person record assigned to the LifeCARD registration. Each LifeCARD(R) registration is assigned to a 'real' person.
public PrsMain getPrsMainByPrsId(int prsid) { PrsMain prsMain; Query query = em.createNamedQuery("PrsMain.findByPrsid", PrsMain.class); query.setParameter("prsid", prsid); try { prsMain = (PrsMain) JPAUtils.getSingleResult(query.getResultList()); } catch (PersistenceException pe) { Log.w...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Person getPerson() {\n String fore = this.forenameCombo.getSelectedItem().toString();\n String sur = this.surnameCombo.getSelectedItem().toString();\n String sect = this.sectionCombo.getSelectedItem().toString();\n Person myPers = pers.getPerson(fore, sur, sect);\n return...
[ "0.6024813", "0.59646094", "0.57572746", "0.5655425", "0.56534636", "0.5568845", "0.5567896", "0.55067545", "0.5504201", "0.5495754", "0.5483391", "0.548307", "0.5478049", "0.5477465", "0.5455979", "0.54489094", "0.54409844", "0.5438819", "0.53488314", "0.5346489", "0.5336327...
0.0
-1
Get the administrative record including the LifeCARD(R) item object by using the current number. The holder may have multiple cards during a period of time. A card can be stolen, out of date or may have a technically defect. By querying the current card number by 'XX0000000000000000000000' we will get the current LifeC...
public LcMain getLcMainByNumber(String number) { LcMain lcMain = null; LifeCARDProcessor lcProc = LifeCARDProcessor.getInstance(sco, this.em.getEntityManagerFactory()); try { lcMain = lcProc.searchByNumber(number); } catch (GenericSEHRException ex) { Logger.getLogger(LifeCARDAdmin.class.getN...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LifeCardItem getLifeCardItem(String ctry, int zid, int cid, int pid) {\n LifeCardItem lcItem = null;\n LcMain lcMain;\n //Query query = em.createNamedQuery(\"LcMain.findByNumber\", LcMain.class);\n //Query query = em.createQuery(\"SELECT l FROM LcMain l WHERE UPPER(l.country)=:ctry AND l.zoneid=...
[ "0.6089652", "0.52834004", "0.51411635", "0.51411635", "0.511325", "0.50968593", "0.49960572", "0.49958324", "0.49698773", "0.49698773", "0.49045527", "0.48628598", "0.48406157", "0.480566", "0.47852018", "0.47837594", "0.47595045", "0.47569665", "0.47159153", "0.47154164", "...
0.5637106
1
Get the LifeCARD(R) object (the personal and public data printed on the card) by the record ID of the administrative entity (LcMain).
public LifeCardItem getLifeCardItemByLcId(int lcid) { LifeCardItem lcItem = null; Log.info(LifeCARDAdmin.class.getName() + ":getLifeCardItemByLcId():lcid=" + lcid); LcMain lcMain = getLcMainByLcId(lcid); if (lcMain.getItem() != null) { try { lcItem = (LifeCardItem) DeSerializer.deserializ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LifeCardItem getLifeCardItem(String ctry, int zid, int cid, int pid) {\n LifeCardItem lcItem = null;\n LcMain lcMain;\n //Query query = em.createNamedQuery(\"LcMain.findByNumber\", LcMain.class);\n //Query query = em.createQuery(\"SELECT l FROM LcMain l WHERE UPPER(l.country)=:ctry AND l.zoneid=...
[ "0.655308", "0.6101689", "0.57749283", "0.5454762", "0.5193141", "0.51792365", "0.51455086", "0.5144339", "0.50863564", "0.50800514", "0.50715363", "0.50657225", "0.5036974", "0.50205106", "0.4976336", "0.49735332", "0.49735332", "0.49735332", "0.4951272", "0.4939968", "0.493...
0.62449336
1
Get the card item (the personal and public data printed on the card) by the LifeCARD(R) registration number.
public LifeCardItem getLifeCardItem(String ctry, int zid, int cid, int pid) { LifeCardItem lcItem = null; LcMain lcMain; //Query query = em.createNamedQuery("LcMain.findByNumber", LcMain.class); //Query query = em.createQuery("SELECT l FROM LcMain l WHERE UPPER(l.country)=:ctry AND l.zoneid=:zid AND l.c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UnoCard getCard(){\n Random rnd = new Random();\n int rnd_number = rnd.nextInt(((this.cards.size()-1)-0) + 1) + 0;\n return this.cards.get(rnd_number);\n\n }", "public String getCardNumber()\n {\n return cardNumber;\n }", "Card getCard(UUID cardId);", "public String ge...
[ "0.62172407", "0.6015439", "0.60102355", "0.60063183", "0.59741724", "0.59741724", "0.59488463", "0.5912816", "0.58921677", "0.5880978", "0.5878513", "0.5848654", "0.5839145", "0.58384293", "0.5819107", "0.58167905", "0.58128947", "0.58015126", "0.58005965", "0.57863355", "0....
0.600856
3
Add or update LcMain record.
public boolean saveLcMain(LcMain lcMain) { try { if (lcMain.getLcid()!=null && lcMain.getLcid() > 0) { em.merge(lcMain); } else { em.persist(lcMain); } } catch (PersistenceException pe) { Log.warning(LifeCARDAdmin.class.getName() + "saveLcMain():" + pe.getMessage()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MargeModification(Main main) {\n\t\t\tthis.main_ = main;\n\t\t\tinitComponents();\n\t }", "public void updateRecord() throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tgetBackground();\n\t\ttry\n\t\t{\n\t\t\tmyData.record.update(background.getClient());\n\t\t}\n\t\tca...
[ "0.5444426", "0.5241473", "0.521722", "0.5198511", "0.5082359", "0.50656223", "0.4986731", "0.48775753", "0.48483977", "0.48242667", "0.4802767", "0.47685468", "0.4761091", "0.475777", "0.47556016", "0.47452354", "0.47305453", "0.4721676", "0.4721103", "0.4719782", "0.4714045...
0.67167616
0
Get next PK (card issue number).
public LcCadPK nextLcCadPK(LcMain lcMain) { //TODO implement library from LifeCARDProcessor //LifeCARDProcessor fac = LifeCARDProcessor.getInstance(this.sco, this.em, true); //return fac.nextLcCadPK(LcMain lcMain); LcCadPK pk = new LcCadPK(); Query qryCardSeq = em.createNativeQuery("select max(c.ca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer nextPK() throws DatabaseException {\n log.debug(\"Model nextPK Started\");\n Connection conn = null;\n int pk = 0;\n try {\n conn = JDBCDataSource.getConnection();\n PreparedStatement pstmt = conn\n .prepareStatement(\"SELECT MAX(I...
[ "0.7087102", "0.6952608", "0.6863545", "0.6730309", "0.67058975", "0.65938896", "0.65629464", "0.65214026", "0.6490875", "0.64707077", "0.6459508", "0.64547753", "0.6453823", "0.6415169", "0.6329647", "0.6325294", "0.6310727", "0.6293343", "0.6241202", "0.6220414", "0.6206619...
0.67197645
4
User: liubin Date: 131213
public interface OperationMapper { Operation get(int id); void save(Operation operation); void update(Operation operation); void delete(int id); List<Operation> findAll(); List<Operation> findByResource(int resourceId); Operation findOperationByName(String name); Operation getByUrl(String url);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserDateString() {\n\t\tString[] tmpArr = this.getUserDate();\n\t\tString year = tmpArr[0];\n\t\tString month = tmpArr[1];\n\t\tString day = tmpArr[2];\n\t\tString out = year + \"/\" + month + \"/\" + day;\n\t\treturn out;\n\t}", "public static String getUserPassDate() {\n return getUserP...
[ "0.6508542", "0.63206846", "0.6278424", "0.6258919", "0.6195504", "0.61467296", "0.61133325", "0.6031958", "0.59951884", "0.5965874", "0.59538007", "0.59212154", "0.5919546", "0.5918413", "0.5905949", "0.5897041", "0.5880628", "0.58760196", "0.5863196", "0.58278286", "0.58192...
0.0
-1
End of variables declaration//GENEND:variables
private void SetIcon() { setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("Icon.png.png"))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
This is main entrance into Applet byte x = 6; byte y = 9;
public static void main(String[] args) { Applet app = new Applet(); //GUI gui = new GUI(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int captureCodeFragment04(int x, int y) {\r\n return x + y;\r\n }", "public static void main(String[] args) {\n byte b1=125;\n System.out.println(b1);\n byte b2=(byte)129;\n System.out.println(b2);\t\t\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\tbyte b=3...
[ "0.5927605", "0.59076136", "0.5580701", "0.55716574", "0.55152863", "0.55098367", "0.55098367", "0.54966825", "0.547402", "0.54709786", "0.5455398", "0.5444558", "0.5439623", "0.5413007", "0.5406423", "0.5392686", "0.53808284", "0.5366711", "0.5366711", "0.53313386", "0.53064...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { }
{ "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
/ Part 1 Demo same instance
public static void main(String[] args) { System.out.println("Part 1 Demo with same instance."); Foo fooA = new Foo("ObjectOne"); MyThread thread1a = new MyThread(fooA, "Dog", "A"); MyThread thread2a = new MyThread(fooA, "Cat", "A"); thread1a.start(); thread2a.start(); while (thread1a.isAlive() || thread2...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Reproducible newInstance();", "public static void thisDemo() {\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t\tInstanceDemo1 demo1obj = new InstanceDemo1();\r\n\t\t\r\n\t\tInstanceDemo1 demo2obj = new InstanceDemo1();\r\n\t\t\r\n\t\t/*expected o/p\r\n\t\t* inside instance block\r\n\t\t* inside m2...
[ "0.624683", "0.5889417", "0.585109", "0.5778607", "0.57652086", "0.57561946", "0.5713841", "0.5650046", "0.5624323", "0.5610149", "0.5605861", "0.5595868", "0.55811745", "0.55797416", "0.5573694", "0.5568597", "0.5558638", "0.55551815", "0.55537456", "0.55521005", "0.55166113...
0.5649704
8
Creates a TranslatorReader using the default HTML renderer.
public TranslatorReader(WikiContext context, Reader in) { initialize(context, in); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Reader getReader(final Object templateSource, final String encoding) throws IOException {\n try (final Reader reader = delegate.getReader(templateSource, encoding)) {\n final String templateText = IOUtils.toString(reader);\n if (!templateText.contains(\"<#ftl\")) ...
[ "0.5703484", "0.55777234", "0.5524468", "0.53424245", "0.52942705", "0.5189329", "0.51833314", "0.5141505", "0.5057377", "0.5015172", "0.49940255", "0.49682778", "0.49216682", "0.48957524", "0.48882374", "0.4880786", "0.48475945", "0.48448294", "0.48347807", "0.48216507", "0....
0.55630475
2
Replaces the current input character stream with a new one.
public Reader setInputReader(Reader in) { return m_parser.setInputReader(in); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 4000)\n public void test137() throws Throwable {\n JavaCharStream javaCharStream0 = new JavaCharStream((Reader) null);\n PipedInputStream pipedInputStream0 = new PipedInputStream();\n javaCharStream0.ReInit((InputStream) pipedInputStream0, 122, 122);\n assertEquals((-1), java...
[ "0.57290965", "0.5609318", "0.5488108", "0.5476622", "0.5399875", "0.53831244", "0.5357011", "0.53477865", "0.5324679", "0.5240117", "0.52322525", "0.52076733", "0.51598895", "0.51354456", "0.51129943", "0.51106924", "0.5106741", "0.5081205", "0.5072872", "0.5061854", "0.5054...
0.0
-1
Does not work, don't try to use it.
protected void setRenderer(@SuppressWarnings("unused") Object renderer) { throw new InternalWikiException("No longer functional - please use JSPWikiMarkupParser"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n public void perish() {\n \n }", "private NativeSupport() {\n\t}", "private Rekenhulp()\n\t{\n\t}", "public void use()\n\t{\n\t}", "public boo...
[ "0.6880687", "0.66585755", "0.6480036", "0.6325237", "0.63021874", "0.62221736", "0.6221746", "0.62142426", "0.62048864", "0.61763346", "0.6172577", "0.6157488", "0.6146934", "0.61318165", "0.6103753", "0.6101077", "0.6098058", "0.609636", "0.609636", "0.60908455", "0.6086075...
0.0
-1
Adds a hook for processing link texts. This hook is called when the link text is written into the output stream, and you may use it to modify the text. It does not affect the actual link, only the uservisible text.
public void addLinkTransmutator(StringTransmutator mutator) { m_parser.addLinkTransmutator(mutator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String linkText();", "public void onLinkEdit()\n {\n getLinkWizard().start(LinkWizardStep.LINK_REFERENCE_PARSER.toString(), linkConfigFactory.createLinkConfig());\n }", "public void addExternalLinkHook(StringTransmutator mutator) {\n\t\tm_parser.addExternalLinkHook(mutator);\n\t}",...
[ "0.62432796", "0.59666634", "0.5938685", "0.57525903", "0.57062525", "0.5635219", "0.5604204", "0.5594641", "0.55719185", "0.5551568", "0.5545549", "0.5545057", "0.5545057", "0.5545057", "0.5543902", "0.5520511", "0.5453908", "0.54459095", "0.54316205", "0.5423476", "0.538319...
0.48556444
70
Adds a hook for processing local links. The engine transforms both nonexisting and existing page links.
public void addLocalLinkHook(StringTransmutator mutator) { m_parser.addLocalLinkHook(mutator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addExternalLinkHook(StringTransmutator mutator) {\n\t\tm_parser.addExternalLinkHook(mutator);\n\t}", "private void hookLinks(long offleft,long offright){\n\t\tlinks.clear();\n\t\tlinks.add(offleft);\n\t\tlinks.add(offright);\n\t}", "public void handleLink(Node from, Node to) {\n\t\t\r\n\t}", "pub...
[ "0.6164965", "0.52483934", "0.52251256", "0.5085457", "0.50511736", "0.50423837", "0.500916", "0.4939503", "0.49151388", "0.4882924", "0.48807913", "0.48574203", "0.4848988", "0.4822126", "0.47845352", "0.47792083", "0.476433", "0.47564137", "0.47538495", "0.4738984", "0.4722...
0.6891714
0
Adds a hook for processing external links. This includes all http:// ftp://, etc. links, including inlined images.
public void addExternalLinkHook(StringTransmutator mutator) { m_parser.addExternalLinkHook(mutator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void registerExternal(External hooks) { external = hooks; }", "public final native void importHref(String href, Function onload, Function onerror) /*-{ this.importHref(href, onload, onerror); }-*/;", "public void addAttachmentLinkHook(StringTransmutator mutator) {\n\t\tm_parser.addAttachmentLi...
[ "0.57301277", "0.5719929", "0.5674191", "0.5619735", "0.5585961", "0.5570477", "0.5473768", "0.5461439", "0.54235077", "0.53727466", "0.53709185", "0.53611994", "0.5360382", "0.52963966", "0.5220355", "0.52012396", "0.5182023", "0.51764184", "0.5168447", "0.51645964", "0.5104...
0.67439747
0
Adds a hook for processing attachment links.
public void addAttachmentLinkHook(StringTransmutator mutator) { m_parser.addAttachmentLinkHook(mutator); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onAddAttachments();", "public void addExternalLinkHook(StringTransmutator mutator) {\n\t\tm_parser.addExternalLinkHook(mutator);\n\t}", "public void onLinkEdit()\n {\n getLinkWizard().start(LinkWizardStep.LINK_REFERENCE_PARSER.toString(), linkConfigFactory.createLinkConfig());\n }", "public...
[ "0.6164153", "0.60610104", "0.5671008", "0.5574991", "0.5556381", "0.54229736", "0.5365217", "0.53387636", "0.53164715", "0.5286936", "0.5229383", "0.51859677", "0.51706755", "0.51644677", "0.51523477", "0.51285094", "0.51278037", "0.5101627", "0.50842315", "0.5062888", "0.50...
0.7587705
0
Adds a listener to headings.
public void addHeadingListener(HeadingListener listener) { m_parser.addHeadingListener(listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addHitListener(HitListener hl);", "void addHitListener(HitListener hl);", "void addHitListener(HitListener hl);", "void addHitListener(HitListener hl);", "public interface OnHeadlineSelectedListener {\n public void onArticleSelected(int position);\n }", "public interface OnHeadlineSelected...
[ "0.63345337", "0.63345337", "0.63345337", "0.63345337", "0.6240371", "0.6240371", "0.60541403", "0.60484457", "0.5943169", "0.59390473", "0.593533", "0.59268063", "0.5916507", "0.5908595", "0.5907698", "0.5903333", "0.58642393", "0.58632565", "0.5841603", "0.5796565", "0.5771...
0.8134445
0
Disables access rules parsing.
public void disableAccessRules() { m_parser.disableAccessRules(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private List<IAuthRule> unauthorizedRule() {\n return new RuleBuilder().allow().metadata().andThen().denyAll().build();\n }", "public static void preventIllegalAccessWarnings()\n {\n // Example \"annoying\" trace:\n // WARNING: An illegal reflective access operation has occurred...
[ "0.5733478", "0.550972", "0.54926234", "0.5431645", "0.5395792", "0.53430974", "0.5247257", "0.5238518", "0.5238518", "0.52371687", "0.5214088", "0.52016246", "0.5200809", "0.51762205", "0.51761127", "0.51709586", "0.51651996", "0.5153344", "0.51063395", "0.5099006", "0.50220...
0.86319435
0
Can be used to turn on plugin execution on a translatorreader basis
public void enablePlugins(@SuppressWarnings("unused") boolean toggle) { throw new InternalWikiException("No longer supported."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void onPluginEnable();", "@Override\n public void onEnable(){\n \tgetLogger().info(\"onEnable has been invoked!\");\n \t// This will throw a NullPointerException if you don't have the command defined in your plugin.yml file!\n \tgetCommand(\"basic\").setExecutor(new BetatestCommand...
[ "0.6569914", "0.6126925", "0.5846991", "0.58289415", "0.572659", "0.56908846", "0.5627318", "0.5617464", "0.5538217", "0.55353624", "0.55119467", "0.55012816", "0.54889804", "0.5486718", "0.54857117", "0.54655516", "0.5428526", "0.53520584", "0.53370076", "0.53230464", "0.528...
0.48782706
76
Use this to turn on or off image inlining.
public void enableImageInlining(boolean toggle) { m_parser.enableImageInlining(toggle); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void turnOn() {\n // set the flag\n onFlag = true;\n \n // set the image\n setIcon(Utilities.resizeImageIcon(getWidth(), getHeight(), onImageIcon));\n }", "public void markForceInline() {\n // For concurrent scenarios we should allow the flag to be already set\n ...
[ "0.66620976", "0.59860396", "0.5968334", "0.5936637", "0.58164084", "0.5682483", "0.5646905", "0.5595575", "0.55026543", "0.543704", "0.5338173", "0.53321403", "0.53187484", "0.5262636", "0.5234596", "0.5231233", "0.5225325", "0.5206646", "0.51936454", "0.5163737", "0.5153844...
0.7306205
0
Figure out which image suffixes should be inlined.
protected static Collection getImagePatterns(@SuppressWarnings("unused") WikiEngine engine) { throw new InternalWikiException("No longer supported - please use JSPWikiMarkupParser"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getImageSuffix();", "@Override\n\tpublic String[] getSuffixes() {\n\t\treturn getCachedImageReader().getSuffixes();\n\t}", "public final String getSuffix() {\n/* 62 */ return \".jpg\";\n/* */ }", "private String getImageUrl(String suffix) {\n\t\treturn IMAGE_URL_PREFIX + nam...
[ "0.6698132", "0.6520972", "0.630047", "0.56770223", "0.5668452", "0.5312592", "0.53025156", "0.5198651", "0.5097586", "0.5067697", "0.50172496", "0.4962863", "0.49215093", "0.488066", "0.48452386", "0.4824616", "0.47572646", "0.47417325", "0.47380385", "0.47141546", "0.470428...
0.0
-1
Write a HTMLized link depending on its type. The link mutator chain is processed.
public String makeLink(@SuppressWarnings("unused") int type, @SuppressWarnings("unused") String link, @SuppressWarnings("unused") String text) { return null; /* * if( text == null ) text = link; * * text = callMutatorChain( m_linkMutators, text ); * * return m_renderer.makeLink( type, link, text );...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeLink() throws SAXException, IOException {\n if (state.uri != null && state.uri.trim().length() > 0) {\n xhtml.startElement(\"a\", \"href\", state.uri);\n xhtml.characters(state.hrefAnchorBuilder.toString());\n xhtml.endElement(\"a\");\n } else {\n ...
[ "0.6674036", "0.59606785", "0.5689388", "0.5687331", "0.56121445", "0.55831385", "0.55620915", "0.52806437", "0.5210111", "0.52022326", "0.5197711", "0.5195237", "0.51855934", "0.5174133", "0.5163762", "0.5145949", "0.50570494", "0.49903286", "0.49816814", "0.4978778", "0.497...
0.6582219
1
Cleans a Wiki name. [ This is a link ] &gt; ThisIsALink
public static String cleanLink(String link) { return MarkupParser.cleanLink(link); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String cleanName(String name) {\n int pt = name.indexOf('<');\n if (pt >= 0) name = name.substring(0,pt);\n name = name.replace(\"-\", \"\");\n if (name.startsWith(\".\")) name = name.substring(1);\n if (name.endsWith(\".\")) name = name.substring(0,name.length()-1);\n ...
[ "0.6663104", "0.66220737", "0.6149189", "0.61348236", "0.6018556", "0.59424794", "0.5922119", "0.5868049", "0.58500177", "0.56965804", "0.56715405", "0.56516945", "0.5613819", "0.5611093", "0.5506348", "0.54644066", "0.5459851", "0.54487175", "0.5444828", "0.53875476", "0.538...
0.61584234
2
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
@Override public TicketDAO getTicketDAO() { return new MySQLTicketDAO(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void habilitar() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}...
[ "0.77454174", "0.73745245", "0.6966693", "0.69094104", "0.6797003", "0.67725664", "0.67717", "0.6654034", "0.66386735", "0.66235936", "0.660916", "0.660916", "0.659179", "0.65872025", "0.65559447", "0.64996445", "0.646212", "0.6449318", "0.6429374", "0.6419562", "0.63827765",...
0.0
-1
Creates new form JTicketView
public JPanelTicket_backUp() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\r\n private void handleButtonCreateTicket() {\r\n MobileApplication.getInstance().addViewFactory(NEWTICKET_VIEW, () -> new NewTicketView(NEWTICKET_VIEW).getView());\r\n MobileApplication.getInstance().switchView(NEWTICKET_VIEW);\r\n\r\n }", "public ViewTicketDetails() {\n initCom...
[ "0.6869049", "0.6689463", "0.62631464", "0.6235889", "0.6160225", "0.6044144", "0.5944605", "0.5893544", "0.5810376", "0.580466", "0.5771065", "0.569523", "0.56733924", "0.56311685", "0.55900306", "0.55780214", "0.5577771", "0.5562587", "0.5550089", "0.5511239", "0.5490529", ...
0.59903663
6
precondicion: sCode != null
private void incProductByCode(String sCode) { try { ProductInfoExt oProduct = dlSales.getProductInfoByCode(sCode); if (oProduct == null) { Toolkit.getDefaultToolkit().beep(); new MessageInf(MessageInf.SGN_WARNING, AppLocal.getIntString("message.noproduct"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNotNullSredCode() {\n return genClient.cacheValueIsNotNull(CacheKey.sredCode);\n }", "public boolean isSetCode() {\n return this.code != null;\n }", "public boolean isUncoded() {\n return this.code == null;\n }", "public boolean isSetCode()\n {\n synchronized (mon...
[ "0.7184238", "0.70421183", "0.6700053", "0.6517662", "0.6365903", "0.6365903", "0.6365903", "0.63295084", "0.63295084", "0.63295084", "0.6322325", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0....
0.0
-1
precondicion: sCode != null
private void incProductByCodePrice(String sCode, double dPriceSell) { try { ProductInfoExt oProduct = dlSales.getProductInfoByCode(sCode); if (oProduct == null) { Toolkit.getDefaultToolkit().beep(); new MessageInf(MessageInf.SGN_WARNING, AppLocal.getIntSt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNotNullSredCode() {\n return genClient.cacheValueIsNotNull(CacheKey.sredCode);\n }", "public boolean isSetCode() {\n return this.code != null;\n }", "public boolean isUncoded() {\n return this.code == null;\n }", "public boolean isSetCode()\n {\n synchronized (mon...
[ "0.7184238", "0.70421183", "0.6700053", "0.6517662", "0.6365903", "0.6365903", "0.6365903", "0.63295084", "0.63295084", "0.63295084", "0.6322325", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0.62451196", "0....
0.0
-1
precondicion: prod != null
private void incProduct(double dPor, ProductInfoExt prod) { addTicketLine(prod, dPor, prod.getPriceSell()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasProduct() {\n return product_ != null;\n }", "public boolean hasProduct() {\n return productBuilder_ != null || product_ != null;\n }", "public boolean premioAberturaPorProduto(Produto produto) {\n\t\tfor (PoliticaVendaConsignacaoTipoVendedorProduto p : tipoVendedor.getPoliticasVC...
[ "0.67496264", "0.6554643", "0.6382754", "0.63615155", "0.5973008", "0.5912882", "0.5886799", "0.5885425", "0.5797182", "0.57745415", "0.57469916", "0.57426494", "0.57039744", "0.56830466", "0.56824225", "0.5680578", "0.56726", "0.5670732", "0.5655139", "0.5639457", "0.5625318...
0.0
-1
precondicion: prod != null
protected void buttonTransition(ProductInfoExt prod) { if (m_iNumberStatusInput == NUMBERZERO && m_iNumberStatusPor == NUMBERZERO) { incProduct(prod); } else if (m_iNumberStatusInput == NUMBERVALID && m_iNumberStatusPor == NUMBERZERO) { incProduct(getInputValue(), prod); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasProduct() {\n return product_ != null;\n }", "public boolean hasProduct() {\n return productBuilder_ != null || product_ != null;\n }", "public boolean premioAberturaPorProduto(Produto produto) {\n\t\tfor (PoliticaVendaConsignacaoTipoVendedorProduto p : tipoVendedor.getPoliticasVC...
[ "0.6748965", "0.6553721", "0.6384535", "0.6361185", "0.5973069", "0.5913416", "0.58892936", "0.5885809", "0.5796991", "0.57736284", "0.5746991", "0.57424754", "0.57046807", "0.56824064", "0.56824017", "0.568026", "0.5672369", "0.56709474", "0.565368", "0.56391495", "0.5626311...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor. //GENBEGIN:initComponents
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; m_jPanContainer = new javax.swing.JPanel(); m_jOptions = new javax.swing.JPanel(); m_jButtons = new javax.swing.JPanel(); m_jTicketId = new javax.swing.JLabel(); btnSplit = new javax.swing.JB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public TorneoForm() {\n initComponents();\n }", "public form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n ...
[ "0.752311", "0.74895525", "0.74764496", "0.7435149", "0.7435149", "0.7435149", "0.73963505", "0.73411137", "0.7327141", "0.72958106", "0.7278398", "0.72561574", "0.7225617", "0.72021675", "0.71815425", "0.7167642", "0.716035", "0.714315", "0.71412766", "0.71124744", "0.710771...
0.0
-1
GENFIRST:event_jTextField1ActionPerformed TODO add your handling code here:
private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {\n \n }", "private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "private void jTextField1ActionPerformed(java.awt...
[ "0.8942604", "0.885066", "0.885066", "0.885066", "0.8740843", "0.8740843", "0.8740843", "0.8740843", "0.86754614", "0.867295", "0.867295", "0.867295", "0.86697143", "0.86697143", "0.8667976", "0.8667976", "0.8583739", "0.8583739", "0.8583739", "0.857544", "0.8504785", "0.84...
0.868627
8
TODO Autogenerated method stub
@Override public void update() { }
{ "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
public static void main(String[] args) { int count=0; final int NUMBER_PER_LINE=10; int i; int divisor; for(i=2;count<50;i++){ boolean isPrime=true; for(divisor=2;divisor<=i/2;divisor++){ if(i%divisor==0){ isPrime=false; break; } } if(isPrime){ count++; if(count%NUMBER_PER_LINE==0) Sy...
{ "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
Open the connection for the given URL.
@Override public URLConnection openConnection(URL url) throws IOException { if (url.getPath() == null || url.getPath().trim().length() == 0) { throw new MalformedURLException("Path can not be null or empty. Syntax: " + SYNTAX); } return new MyURLConnection(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public URLConnection openConnection(URL url) throws IOException {\n return openConnection(url, null);\n }", "public HttpsConnection openConnection(final String url) throws BooruEngineConnectionException {\n try {\n return openConnection(new URL(url));\n } catch (...
[ "0.7945587", "0.7453827", "0.72557944", "0.70944554", "0.6778799", "0.66244715", "0.6567586", "0.6565445", "0.65524584", "0.6493357", "0.6474763", "0.64447093", "0.6367446", "0.6351978", "0.62972325", "0.61856246", "0.6168796", "0.61532974", "0.6142578", "0.6142019", "0.60742...
0.71167964
3
Created by Ravi Krish on 09/05/2016.
public interface Constants { public static final String APPLE_PRODUCT_CODE = "APP1456"; public static final String ORANGE_PRODUCT_CODE = "ORG3456"; public static final Double APPLE_PRODUCT_PRICE = 0.60; public static final Double ORANGE_PRODUCT_PRICE = 0.25; public static final int MAGIC_NUMBER...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", ...
[ "0.60935766", "0.58627856", "0.58436364", "0.58063394", "0.5757615", "0.5756811", "0.5756811", "0.574771", "0.57385486", "0.5737797", "0.5693409", "0.568016", "0.56777936", "0.56687325", "0.56577665", "0.5620436", "0.5612284", "0.55900174", "0.5580704", "0.55802345", "0.55724...
0.0
-1
TODO Autogenerated method stub
public void onProviderDisabled(String arg0) { }
{ "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
public void onProviderEnabled(String arg0) { }
{ "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
public void onStatusChanged(String arg0, int arg1, Bundle arg2) { }
{ "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
DAO for objects that will drop tables
public interface DropableDao { static final String CANNOT_DROP_TABLE = "Cannot Drop Table"; /** * Check if table exist in database * * @return true if table exist , otherwise false. * @throws SQLException if failed to execute statement. */ abstract boolean tableExist() throws SQLEx...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doDropTable();", "public void dropTable();", "public void dropTable() {\n }", "@Override\n\tpublic void dropTable() {\n\t\ttry {\n\t\t\tTableUtils.dropTable(connectionSource, UserEntity.class, true);\n\t\t\tTableUtils.dropTable(connectionSource, Downloads.class, true);\n\t\t} catch (SQLExcepti...
[ "0.76233226", "0.74640816", "0.7449698", "0.7159002", "0.7127857", "0.69405985", "0.68974984", "0.68616825", "0.68362117", "0.6800841", "0.6786079", "0.6782016", "0.6737605", "0.67225486", "0.66926247", "0.66913605", "0.6690748", "0.66811115", "0.6665086", "0.6649474", "0.653...
0.7378404
3
Check if table exist in database
abstract boolean tableExist() throws SQLException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean tableExists(String table) throws SQLException {\n if (HAVE_DB) {\n Connection con = DriverManager.getConnection(dbConnection, dbUser, dbPass);\n Statement stmt = con.createStatement();\n ResultSet rs;\n \n if (dbType.equals(\"mysql\")) {\n rs = stmt.executeQuery(\...
[ "0.83399", "0.82974577", "0.82845026", "0.7936929", "0.7916324", "0.7884316", "0.7845742", "0.7834838", "0.7807503", "0.77965325", "0.77936167", "0.7653343", "0.7633035", "0.763291", "0.7611032", "0.7548859", "0.7543717", "0.74152875", "0.73884743", "0.73538816", "0.7298355",...
0.8391922
0
Create table in database .
abstract void dropTable() throws SQLException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TABLE createTABLE();", "private void createTable() throws Exception{\n Statement stm = this.con.createStatement();\n\n String query = \"CREATE TABLE IF NOT EXISTS \" + tableName +\n \"(name VARCHAR( 15 ) CHARACTER SET utf8 COLLATE utf8_persian_ci NOT NULL ,\" +\n ...
[ "0.7923085", "0.788543", "0.78708977", "0.7851994", "0.7845013", "0.7732744", "0.77128506", "0.7698966", "0.76800394", "0.7674728", "0.76076746", "0.7479799", "0.7461465", "0.7449504", "0.74488986", "0.74406964", "0.7430124", "0.74276596", "0.740638", "0.73889154", "0.736175"...
0.0
-1
Handle user's input for this menu.
public abstract boolean listenerUserInput();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void inputHandling() {\n if (input.clickedKeys.contains(InputHandle.DefinedKey.ESCAPE.getKeyCode())\n || input.clickedKeys.contains(InputHandle.DefinedKey.RIGHT.getKeyCode())) { \n if (sourceMenu != null) {\n e...
[ "0.7197618", "0.7174229", "0.70564157", "0.6949667", "0.6920084", "0.69102824", "0.68832445", "0.68585527", "0.67840284", "0.6725757", "0.665494", "0.66272146", "0.6593068", "0.65830857", "0.6559048", "0.65557224", "0.65300846", "0.65198386", "0.65054977", "0.65034986", "0.64...
0.0
-1
Print the main prompt message.
public abstract void printPromptMessage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void prompt() {\n System.out.print(Strings.MAIN_PROMPT);\n System.out.flush();\n }", "public static void printPrompt() {\n System.out.print(\" > \");\n }", "public static void prompt() {\n\t\tSystem.out.printf(\"\\n입력 > \");\n\t}", "public static void showPrompt() {\r\n ...
[ "0.81444246", "0.7993124", "0.7988258", "0.76995885", "0.7608179", "0.7482908", "0.73008245", "0.72500104", "0.7208837", "0.71643615", "0.7111176", "0.70598185", "0.7057087", "0.6975479", "0.69530505", "0.69526094", "0.6882122", "0.68737", "0.68281955", "0.6805075", "0.680339...
0.7530137
5
Print out the object.
public void print(Object o) { System.out.println(o); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void print() {\n\n\t\t}", "public void print(Object obj) {\n print(obj.toString());\n }", "@Override\n\t\t\tpublic void print() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\t\tpublic void print() {\n\t\t\t\t\r\n\t\t\t}", "public void print() {\r\n\t\t System.out.println(toString()...
[ "0.80195135", "0.7981577", "0.79602695", "0.7899262", "0.77884084", "0.7767934", "0.77254957", "0.7723594", "0.7714582", "0.76560366", "0.7639658", "0.75996786", "0.7566795", "0.75607175", "0.7545485", "0.7529911", "0.7512207", "0.7500166", "0.742031", "0.7414226", "0.7330144...
0.74714035
18
metodo de leitura de requisicao
public String[] readJson(String url) { InputStream is = null; String[] strArray ={""} ; try { is = NetworkUtils.OpenHttpConnection(url, this); //leitura streamReader = new BufferedReader(new InputStreamReader(is, "UTF-8")); jsonStrBuilder = new Str...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void enviarRequisicaoAdicionar() {\n servidor.adicionarPalito(nomeJogador);\n atualizarPalitos();\n }", "public void setRequisicao(TanRequisicao requisicao) \r\n\t{\r\n\t\tthis.requisicao = requisicao;\r\n\t}", "public List<Requisicion> getRequisicionesNoAutorizadas() throws Exception{...
[ "0.7068732", "0.6977545", "0.63620776", "0.6252346", "0.6077236", "0.60597706", "0.599082", "0.59445244", "0.5937525", "0.58094376", "0.5804282", "0.57983", "0.5777751", "0.5773312", "0.575381", "0.57285756", "0.57209027", "0.5679328", "0.5664992", "0.5628489", "0.56238115", ...
0.0
-1
TODO Autogenerated method stub
@Override protected String[] doInBackground(String... params) { Log.i("##Acho Que o link :", params[0].toString()); return readJson(params[0]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
/ hw3.StepTracker tr = new hw3.StepTracker(10000); System.out.println(tr.addDailySteps(9000)); System.out.println(tr.addDailySteps(5000)); System.out.println(tr.activeDays()); System.out.println(tr.averageSteps()); System.out.println(tr.addDailySteps(13000)); System.out.println(tr.activeDays()); System.out.println(tr.a...
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StepTracker(int minimum) {\n STEPS = minimum;\n day=0;\n activeDay=0;\n totalSteps=0;\n }", "public static void main(String[] args) {\n Steps ways = new Steps();\n int n=5;\n System.out.println(\"Recursion ways: \"+ways.getStepsRecur(n));\n \n ...
[ "0.67768234", "0.6149442", "0.61046696", "0.59577876", "0.589416", "0.58910066", "0.58562446", "0.5855462", "0.58185625", "0.58036876", "0.58036876", "0.58036876", "0.57741654", "0.5761983", "0.5727596", "0.5727205", "0.5713452", "0.5697542", "0.56691915", "0.5658844", "0.565...
0.0
-1
Initializes an instance of Context class.
public ListHook(final Context contextToSet) { this.context = contextToSet; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Context() {\n }", "public static synchronized void initialize(Context context) {\n instance.context = context;\n initInternal();\n }", "public void initializeContext(Context context) {\n this.context = context;\n }", "public Context() {\n\t\tstates = new ObjectStack<>();\n\t}", "pu...
[ "0.83197814", "0.76786685", "0.7630918", "0.7555848", "0.7371025", "0.7358419", "0.7208819", "0.7135108", "0.7119649", "0.70639586", "0.7050337", "0.7050337", "0.7017353", "0.6946126", "0.6909928", "0.6907483", "0.68985504", "0.68655825", "0.68456507", "0.68280053", "0.680189...
0.0
-1
Creates list before execute the step with the createList tag.
@Before(value = "@createList", order = 1) public void createList() { String endpoint = EnvironmentTrello.getInstance().getBaseUrl() + "/lists/"; JSONObject json = new JSONObject(); json.put("name", "testList"); json.put("idBoard", context.getDataCollection("board").get("id")); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\n public void createSimpleList() {\n testList = new SimpleList();\n }", "public void createlist(String name,String description){\r\n\t\tString lstname = getValue(name);\r\n\t\tString lstdescription = getValue(description);\r\n\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponen...
[ "0.68876004", "0.6588166", "0.65691054", "0.62556934", "0.6189802", "0.61785936", "0.6129156", "0.6102335", "0.6095236", "0.6088521", "0.6052085", "0.59432536", "0.5927504", "0.5918685", "0.5880099", "0.5867513", "0.57928383", "0.5784479", "0.57603824", "0.5757713", "0.568347...
0.81099284
0
Delete the list after execute Stepdefs with the deleteList tag.
@After(value = "@deleteList", order = 1) public void deleteList() { String listId = context.getDataCollection(("list")).get("id"); context.setRequestSpec(AuthenticationUtils.getLoggedReqSpec()); given(context.getRequestSpecification()).when().delete("/lists/".concat(listId)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void deletelist(){\r\n\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- current list should be delet...
[ "0.7815797", "0.72424376", "0.6792365", "0.6762151", "0.6736215", "0.6729722", "0.6559152", "0.65037805", "0.64931464", "0.64373666", "0.63818514", "0.6370799", "0.6364955", "0.6338061", "0.6308469", "0.62515557", "0.6250784", "0.6248708", "0.62389636", "0.6181056", "0.617785...
0.7890446
0
Loads employee from data store specified by employee id
@GetMapping(value = {"/{id}", "/{id}/"}) public ResponseEntity<Employee> loadEmployee(@NotBlank @PathVariable("id") String id){ Employee employee = employeeService.getEmployee(id); return new ResponseEntity<>(employee, HttpStatus.OK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "EmployeeDetail getById(long identifier) throws DBException;", "public Employee getEmployeeByID(int id) {\n\t\t\r\n\t\ttry {\r\n\t\t\tEmployee f = temp.queryForObject(\"Select * from fm_employees where EID =?\",new EmployeeMapper(),id);\r\n\t\t\treturn f;\r\n\t\t} catch (EmptyResultDataAccessException e) {\r\n\t...
[ "0.73569727", "0.71418566", "0.7093638", "0.70777726", "0.7056446", "0.6956237", "0.6936568", "0.6936556", "0.6890953", "0.6850036", "0.6846374", "0.6834763", "0.68178284", "0.6804224", "0.67955285", "0.67890006", "0.67890006", "0.67807585", "0.67744297", "0.67270225", "0.671...
0.6335943
57
Create and store the employee in the data store
@PostMapping(value = {"", "/"}) public ResponseEntity<Employee> saveEmployee(@Valid @RequestBody CreateEmployeeRequest inputData){ Employee employee = employeeService.saveEmployee(inputData); return new ResponseEntity<>(employee, HttpStatus.OK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createemployee(Employeee em) {\n\t\temployeerepo.save(em);\n\t}", "@Override\n\tpublic void createEmployee(Employee e) {\n\t\t\n\t}", "@Override\n\tpublic void addEmployee(Employee employee) {\n\t\tem.getTransaction().begin();\n\t\tem.persist(employee);\n\t\tem.getTransaction().commit();\n\t\tSyste...
[ "0.75028306", "0.7460626", "0.73720706", "0.72817004", "0.72018826", "0.71499634", "0.7138788", "0.7066972", "0.70399827", "0.6981326", "0.6962636", "0.6960139", "0.6949435", "0.6946711", "0.6945084", "0.6911338", "0.6872778", "0.6840518", "0.68155104", "0.6808017", "0.679349...
0.0
-1