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
TODO Autogenerated method stub
public void addUser(User user) { userDao.addUser(user); }
{ "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 List<User> getAllStudent() { return userDao.getAllUsers(); }
{ "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 addStudent(User user) { }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public List<User> getAllUser() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public User findUserByUsername(String username) { return userDao.findUserByUsername(username); }
{ "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
Created by liusw on 2016/9/1.
public interface EmoticonDisplayListener<T> { void onBindView(int position, ViewGroup parent,T t,boolean isDelBtn); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.61621046", "0.60729766", "0.5955672", "0.59269184", "0.585251", "0.585251", "0.5846162", "0.57782423", "0.5739512", "0.57262754", "0.57139575", "0.5692936", "0.56899405", "0.5684182", "0.56781584", "0.5677116", "0.5676808", "0.56718963", "0.56702524", "0.56637347", "0.5647...
0.0
-1
Build a new SolutionIterator bound to a given Solver.
public SolutionIterator(javax.constraints.Solver s) { solver = (Solver) s; solution = null; solutionNumber = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Solver getSolver() {\n\t\tsynchronized(this) {\n\t\t\tswitch (solver.getType()) {\n\t\t\tcase ACO:\n\t\t\t\treturn new SolverACO((SolverACO)solver);\n\t\t\tcase GA:\n\t\t\t\treturn new SolverGA((SolverGA)solver);\n\t\t\tdefault:\n\t\t\t\treturn new SolverGA(distanceMatrix, vehicleCapacity);\n\t\t\t}\n\t\t}\...
[ "0.5370242", "0.53210515", "0.51466393", "0.5055946", "0.49683067", "0.49542776", "0.4861969", "0.4854515", "0.48415783", "0.47916776", "0.47429547", "0.47334743", "0.4730343", "0.4686157", "0.46707144", "0.4633891", "0.45487013", "0.45474333", "0.45428884", "0.4527552", "0.4...
0.6463927
0
Returns a boolean values, true if the Problem which the Solver is bound has a next solution, false otherwise.
public boolean hasNext() { checked = true; if (firstcall) { firstcall = false; solution = solver.findSolution(ProblemState.RESTORE); if (solution == null) return false; return true; } return solver.hasNext(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSolvable() {\n Board twin = initial.twin();\n MinPQ<Node> mainQueue = new MinPQ<>(getComparator());\n MinPQ<Node> twinQueue = new MinPQ<>(getComparator());\n mainQueue.insert(new Node(initial, 0, null));\n twinQueue.insert(new Node(twin, 0, null));\n while...
[ "0.70092356", "0.69846386", "0.6891994", "0.68680185", "0.6845691", "0.6726139", "0.67127913", "0.6709017", "0.666914", "0.6662764", "0.65896183", "0.6571025", "0.6562751", "0.65586954", "0.6552935", "0.6488517", "0.6486719", "0.6444518", "0.6440777", "0.64311755", "0.6421220...
0.67042786
8
This method must to be called after check that hasNext() return true. Once next() is called, the flag checked is restored as false, than the hasNext() must be called again, each time.
public Solution next() { if (!checked) throw new RuntimeException("Cannot use SolutionIterator.next() " + "before checking the hasNext() returned true"); try { solution = new Solution(solver, solutionNumber); solution.setSolutionNumber(solutionNumber); solutionNumber++; } catch (Failure e) { e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkNext(){\n boolean ret = this.hasNext;\n if ((this.allStatesIterator.hasNext()) || (this.allSubsetsIterator.hasNext()) || (this.allTransitionsIterator.hasNext())){\n hasNext = true;\n return hasNext;\n }\n hasNext = false;\n return ret;\n...
[ "0.7923339", "0.73516196", "0.7348407", "0.71417975", "0.71405053", "0.71402436", "0.7112005", "0.7060358", "0.7045602", "0.7045602", "0.70449847", "0.70232105", "0.70073706", "0.7006783", "0.70066935", "0.698818", "0.69567764", "0.6955854", "0.69440556", "0.6931986", "0.6906...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.circle2, container, false); TextView flash_header = (TextView) view.findViewById(R.id.flash_header); flash_header....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
onClick diplay appropriate image
@Override public void onClick(View v) { int id = v.getId(); if(!q.isPlaying() && !wrong.isPlaying()) { switch (id) { case R.id.tv_stand: wrong.start(); tv_stand.setImageResource(R.drawable.wrong); hideView(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onClick(ClickEvent event) {\n\t\tImage image=(Image)event.getSource();\n\t\tif (image.getAltText().equals(\"nonotice\")) {\n\t\t\timage.setUrl(\"images/notice.jpg\");\n\t\t\timage.setAltText(\"notice\");\n\t\t} else {\n\t\t\timage.setUrl(\"images/nonotice.jpg\");\n\t\t\timage.setAltText(\"...
[ "0.71394193", "0.7087101", "0.7018178", "0.70159763", "0.6978065", "0.6907459", "0.68484557", "0.68049765", "0.6706971", "0.6672289", "0.6667188", "0.66484314", "0.6640089", "0.66172606", "0.6509891", "0.6496697", "0.64882284", "0.64860487", "0.6425982", "0.6390229", "0.63834...
0.0
-1
TODO Autogenerated method stub
@Override public Page<Operation> listeOperation(String codeCompte, int page, int size) { return operationrepository.listOperation(codeCompte, PageRequest.of(page, 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
/ Create Result object.
public static Result fromXMLElement(String query, XMLElement resultElement){ Result result = new Result(); /* Set query. */ result.query = query; /* Set suggestion. */ if(resultElement.hasChild("did-you-mean")){ result.suggestion = resultElement.getChildText("did-you-mean"); } /* Set result qu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected TestResult createResult() {\n return new TestResult();\n }", "public Result() {\n }", "public Result() {\n }", "public static IScriptResult createResult(SceResultsType srt) {\r\n \treturn new Result(srt);\r\n }", "public Result() {\r\n super();\r\n System.out.p...
[ "0.73973274", "0.7177268", "0.7177268", "0.71712047", "0.7097402", "0.70616585", "0.6877745", "0.67242473", "0.6604516", "0.6424628", "0.6398613", "0.6396804", "0.6368126", "0.6262552", "0.61942095", "0.61378545", "0.6136975", "0.6133686", "0.61314595", "0.6125903", "0.611145...
0.57255167
62
end of constructor constructor for a String input
public Roman(String roman_value) { super(roman_value); this.roman_value = roman_value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StringInputSource(String s) {\n _index = 0;\n _input = s;\n }", "public Parse(String str)\r\n {\r\n super(str);\r\n }", "public abstract String construct();", "public Customer(String s) {\r\n\t\tString [] sr = s.split(\",\");\r\n\t\ttry\r\n\t\t{\r\n\t\t\tif(sr.length == 3...
[ "0.7053885", "0.7031848", "0.69433373", "0.6776593", "0.67016786", "0.66707885", "0.66585165", "0.661031", "0.6567477", "0.6567477", "0.65567285", "0.6536371", "0.6501363", "0.6472612", "0.64156514", "0.6400371", "0.6380003", "0.6377535", "0.63763326", "0.6370086", "0.6338494...
0.0
-1
method which convert an arabic number to a roman
public static String dtrmn(int number) { String letter = ""; int cl = number / 100; if (cl != 9 && cl != 4) { if (cl < 4) { for(int i = 1; i <= cl; i++) { letter = letter + "C"; } } else if (cl < 9 && cl > 4) { letter = letter + "D"; for (int i = 1; i <= cl - 5; i++)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void input_II_() throws ValueOutOfBoundsException, MalformedNumberException {\n\t assertEquals(2, new RomanArabicConverter(\"II\").toArabic());\n\t assertEquals(\"II\", new RomanArabicConverter(\"II\").toRoman());\n\t}", "public static String decimal2Roman(int number) {\n\t\t//<write your c...
[ "0.7118717", "0.71086615", "0.6994775", "0.6980377", "0.69779766", "0.69278276", "0.6919065", "0.69102544", "0.6899828", "0.6873449", "0.6853622", "0.68427485", "0.67245585", "0.66768825", "0.66374373", "0.66214466", "0.662111", "0.6599112", "0.6514491", "0.65139663", "0.6502...
0.51706886
65
TODO Autogenerated method stub
@Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { if (pic != null && (Math.abs(velocityX) > 5000 || Math.abs(velocityY) > 5000)) { objects.remove(pic); pic = null; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onShowPress(MotionEvent e) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean onSingleTapUp(MotionEvent e) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onScaleEnd(ScaleGestureDetector detector) { }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Setup LogicManager with JsonAddressBookIoExceptionThrowingStub
@Test public void execute_storageThrowsIoException_throwsCommandException() { CentralManagerStorage centralManagerStorage = new JsonCentralManagerIoExceptionThrowingStub(temporaryFolder.resolve("ioExceptionAddressBook.json")); JsonUserPrefsStorage userPrefsStorage = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void handleExceptions(Exception e,String uri) throws ServiceProxyException {\n \n //Step 1: Is error AdfInvocationRuntimeException, AdfInvocationException or AdfException? \n String exceptionPrimaryMessage = e.getLocalizedMessage();\n String exceptionSecondaryMessag...
[ "0.5224862", "0.5108519", "0.5020717", "0.50024366", "0.5000009", "0.49643072", "0.49364045", "0.4922601", "0.4854384", "0.48485905", "0.48160586", "0.48091015", "0.48036507", "0.48001733", "0.4793588", "0.47683218", "0.4767846", "0.47601575", "0.47202766", "0.4703269", "0.46...
0.5004631
3
Executes the command, confirms that a ParseException is thrown and that the result message is correct.
private void assertParseException(String inputCommand, String expectedMessage) { assertCommandFailure(inputCommand, ParseException.class, expectedMessage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private CommandResult executeCommand(String commandText) throws CommandException, ParseException {\n try {\n runningCommand = true;\n if (DateCustom.isValidDate(commandText.trim())) {\n commandText = \"taskcal \" + commandText;\n }\n CommandResult c...
[ "0.69517696", "0.69006866", "0.69006866", "0.69006866", "0.6691247", "0.64954937", "0.6435328", "0.63639915", "0.6236753", "0.62355924", "0.6185333", "0.61753494", "0.613793", "0.60850525", "0.6062355", "0.6050486", "0.6035732", "0.6021515", "0.60062", "0.59768516", "0.595085...
0.6652258
5
Executes the command, confirms that a CommandException is thrown and that the result message is correct.
private void assertCommandException(String inputCommand, String expectedMessage) { assertCommandFailure(inputCommand, CommandException.class, expectedMessage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private CommandResult executeCommand(String commandText) throws CommandException,\n ParseException, InvalidTaskListOperationException, IllegalArgumentException {\n try {\n CommandResu...
[ "0.7623948", "0.73842996", "0.71532273", "0.7047372", "0.69262564", "0.69060385", "0.68683", "0.6860522", "0.6849946", "0.6836801", "0.6836801", "0.6836801", "0.67679423", "0.6723935", "0.6620874", "0.6593796", "0.65653455", "0.6531988", "0.64394724", "0.6399006", "0.63934475...
0.64159
19
Executes the command, confirms that the exception is thrown and that the result message is correct.
private void assertCommandFailure(String inputCommand, Class<? extends Throwable> expectedException, String expectedMessage) { Model expectedModel = new ModelManager(model.getAddressBook(), new UserPrefs()); assertCommandFailure(inputCommand, expectedException, expectedMessage, expectedModel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "private CommandResult executeCommand(String commandText) throws CommandException,\n ParseException, InvalidTaskListOperationException, IllegalArgumentException {\n try {\n CommandResu...
[ "0.7418858", "0.68475616", "0.68023235", "0.67886424", "0.66690665", "0.6630125", "0.64385897", "0.6398034", "0.63804597", "0.637831", "0.6378119", "0.6358111", "0.63532215", "0.6352943", "0.6346026", "0.62582093", "0.62582093", "0.62582093", "0.6249002", "0.62333006", "0.622...
0.6300284
15
Retorna o dano do ataque.
public int usaAtaque() { return dano; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte obtenerDano(){\n\treturn dano;\n }", "public int getDificultad ()\n {\n //Pre:\n //Post: Devuelve el nivel de dificultad\n return dificultad;\n }", "public int getDato() {\r\n return dato;\r\n }", "@Override\n\tpublic int getDouleur() {\n\t\treturn intDoule...
[ "0.71707284", "0.70871353", "0.6913615", "0.68298537", "0.68050796", "0.67200994", "0.668198", "0.66545457", "0.66390395", "0.66152024", "0.66057014", "0.6593344", "0.65910864", "0.6515869", "0.65086764", "0.6502379", "0.6489625", "0.6467597", "0.64199233", "0.64134496", "0.6...
0.77946305
0
Retorna o nome do ataque.
public String getNome() { return nome; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t@Field(offset=149, length=30, paddingChar=' ', align=Align.RIGHT)\n\tpublic String getNomeSacado() {\n\t\treturn super.getNomeSacado();\n\t}", "public String lerNome() {\n\t\treturn JOptionPane.showInputDialog(\"Digite seu Nome:\");\n\t\t// janela de entrada\n\t}", "public String getName() {\n\t\t...
[ "0.709997", "0.70127356", "0.696843", "0.6943052", "0.69356763", "0.69145435", "0.6895993", "0.6895196", "0.6844383", "0.6835569", "0.6748598", "0.67323524", "0.670938", "0.670938", "0.6698131", "0.6698131", "0.6689627", "0.6689627", "0.6680031", "0.6677528", "0.6677528", "...
0.6652663
79
Beallitja hany munkaja van a karakternek
public void set_munkak_szama(int msz) { munkak_szama = msz; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void tampilKarakterA();", "@Override\n\tpublic void hasznaljak(Karakter karakter, Jegtabla hol) throws Exception{\n if(karakter.vizben_van) return;\n\t\tkarakter.takarit(2);\n tartossag--;\n if(tartossag<=0) karakter.targy_elhasznalasa(this);\n\t}", "public void tampilKarakterA(){\r\n ...
[ "0.7227565", "0.6367737", "0.61178356", "0.60253394", "0.60174125", "0.58851594", "0.58400166", "0.58307296", "0.57590085", "0.5707691", "0.56631404", "0.5638893", "0.5619122", "0.5590889", "0.5581342", "0.55500615", "0.55372524", "0.55361605", "0.55279434", "0.55257434", "0....
0.0
-1
TODO Autogenerated method stub
protected static String getAmountFormat(String amount) { StringBuilder strBind = new StringBuilder(amount); strBind.append(".00"); return strBind.toString(); }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Validate customer id is created$") public void validate_customer_id_is_created() throws Throwable { Assert.assertTrue(response.jsonPath().get("id").equals(new PropertFileReader().getTempData("custId"))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("validate status code is {string}") public void validate_status_code_is_(String arg1) throws Throwable { response.prettyPrint(); //System.out.println(response.getStatusCode()+"*****"+arg1); Assert.assertTrue(response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Create a get request for cutomer \"([^\"]*)\"$") public void create_a_get_request_for_cutomer(String arg1) throws Throwable { GetCustomer getCustomer=new GetCustomer(); String custId=new PropertFileReader().getTempData(arg1); StripeCustomer.response=getCustomer.getCustomer(custId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^Validate customer id is fetched for \"([^\"]*)\"$") public void validate_customer_id_is_fetched_for(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.jsonPath().get("id").toString().equals(new PropertFileReader().getTempData(arg1))); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.69913816", "0.6464981", "0.6399699", "0.6356175", "0.63496184", "0.63362086", "0.63226557", "0.63226557", "0.63226557", "0.63172126", "0.6238861", "0.6175908", "0.61712754", "0.615359", "0.61122066", "0.6072982", "0.60656", "0.606321", "0.60358083", "0.60358083", "0.603580...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("Validate status code is {string}") public void validate_status_code_is(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("then customer with {string} updated with {string} and {string}") public void then_customer_is_updated_with_and(String arg1, String arg2, String arg3) throws Throwable { PutCustomer updateCustomer=new PutCustomer(); Map<String, String> data=new HashMap<String, String>(); data.put("email", arg2); data...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^user deletes customer \"([^\"]*)\"$") public void user_deletes_customer(String arg1) throws Throwable { DeleteCustomer delete=new DeleteCustomer(); StripeCustomer.response=delete.deleteCustomer(new PropertFileReader().getTempData(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("user validates status code {string}") public void user_validates_status_code(String arg1) throws Throwable { Assert.assertTrue(StripeCustomer.response.getStatusCode()==Integer.parseInt(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.69913816", "0.6464981", "0.6399699", "0.6356175", "0.63496184", "0.63362086", "0.63226557", "0.63226557", "0.63226557", "0.63172126", "0.6238861", "0.6175908", "0.61712754", "0.615359", "0.61122066", "0.6072982", "0.60656", "0.606321", "0.60358083", "0.60358083", "0.603580...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("user user validates delete fiels as {string}") public void user_user_validates_delete_fiels_as(String arg1) throws Throwable { StripeCustomer.response.prettyPrint(); Assert.assertTrue(StripeCustomer.response.jsonPath().get("deleted").toString().equals(arg1)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
System.out.println("voPlace = " + voPlace);
@ApiOperation("新增一个会场") @PostMapping("/insertOnePlace") public ResultResponse insertOnePlace(@ApiParam("place对象") @RequestBody VoPlace voPlace){ Object data = null; StringBuilder message = new StringBuilder("新增会场"); try { data = placeService.insertOnePlace(voPlace); }...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlace(){\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n ...
[ "0.7823714", "0.7550989", "0.72048557", "0.68094736", "0.68094736", "0.68094736", "0.68094736", "0.6650203", "0.6398129", "0.6246117", "0.620602", "0.6201823", "0.61522955", "0.6054592", "0.60505563", "0.6003979", "0.59854746", "0.59104615", "0.5864059", "0.5851176", "0.58403...
0.0
-1
System.out.println("placeId = " + placeId);
@ApiOperation("删除一个会场(data返回Boolean)") @DeleteMapping("/deleteOnePlace") public ResultResponse deleteOnePlace(@ApiParam("会场编号")@RequestParam("id")Integer placeId){ Boolean data = placeService.deleteOnePlace(placeId); return new ResultResponse() .setData(data) .set...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlaceId() {\n return placeId;\n }", "public String idOfPlace()\n {\n return id;\n }", "public String getPlace(){\n...
[ "0.77258795", "0.7633945", "0.74954027", "0.7435299", "0.73652804", "0.7062993", "0.7062993", "0.7062993", "0.7062993", "0.69867224", "0.6877628", "0.67499703", "0.65526485", "0.6546167", "0.65410846", "0.65066534", "0.64581615", "0.6447614", "0.6406298", "0.6391316", "0.6332...
0.0
-1
System.out.println("voPlace = " + voPlace);
@ApiOperation("修改一个会场") @PostMapping("/updateOnePlace") public ResultResponse updateOnePlace(@ApiParam("place对象")@RequestBody VoPlace voPlace){ Object data = null; StringBuilder message = new StringBuilder("修改会场"); try { data = placeService.updateOnePlace(voPlace); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Print_place()\n {\n\n System.out.println(\"Place: \" + place);\n }", "public String Get_place() \n {\n\n return place;\n }", "public String getPlace(){\n return place;\n }", "public String getPlace() {\n return place;\n }", "public String getPlace() {\n ...
[ "0.78225523", "0.75490314", "0.7202544", "0.6807203", "0.6807203", "0.6807203", "0.6807203", "0.6648049", "0.6397921", "0.62441677", "0.6204441", "0.6200089", "0.6151349", "0.605363", "0.60486186", "0.6001988", "0.598428", "0.59105355", "0.58623403", "0.5851813", "0.58385015"...
0.0
-1
System.out.println("currentPage = " + currentPage + ", pageSize = " + pageSize);
@ApiOperation("查询会场列表(分页)") @GetMapping("/selectListPlace") public ResultResponse selectListPlace(@ApiParam(value = "当前页")Integer currentPage, @ApiParam(value = "每页记录数")Integer pageSize){ VoList<VoPlace> voList = placeService.selectListPlace(currentPage, pageSiz...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPageSize();", "int getPageSize();", "int getPageSize();", "int getPageSize();", "public Integer getCurrentPageSize();", "long getPageSize();", "long getPageSize();", "long getPageSize();", "int getPage();", "default Integer getPageSize() {\n return 10;\n }", "public int getPage...
[ "0.7188775", "0.7188775", "0.7188775", "0.7188775", "0.7156584", "0.69762766", "0.69762766", "0.69762766", "0.68820417", "0.68736446", "0.68682957", "0.67564785", "0.67052853", "0.6701053", "0.6682434", "0.666629", "0.66128266", "0.6547778", "0.65253055", "0.65203625", "0.651...
0.0
-1
System.out.println("id = " + id);
@ApiOperation("根据会场编号查询具体会场") @GetMapping("/selectOnePlaceById") public ResultResponse selectOnePlace(@ApiParam("会场编号") @RequestParam("id")Integer id){ VoPlace voPlace = placeService.selectOnePlaceById(id); return new ResultResponse() .setData(voPlace) .setMessage...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int id() {return id;}", "public String toString() {\n return id;\n }", "@Override\n public String toString() {\n return id;\n }", "@Override\n public String toString() {\n return id.toString();\n }", "public int getId(){ return id; }", "public String getId(){\n r...
[ "0.7775308", "0.76198876", "0.76104486", "0.7596832", "0.75609285", "0.75168306", "0.75168306", "0.7515687", "0.74979407", "0.7485777", "0.74693686", "0.74572045", "0.7455671", "0.7454709", "0.7437414", "0.742804", "0.742804", "0.742804", "0.742804", "0.742804", "0.742804", ...
0.0
-1
This is an OVERLOAD equals method, the one in Object class has a different signaute: boolean equals(Object ohter)
boolean equals(Point other) { //System.out.println("Calling our equals method now!"); return (this.x == other.x) && (this.y == other.y); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public boolean equals(Object object);", "@Override\n public abstract boolean equals(Object obj);", "public abstract boolean equals(Object o);", "@Override\n boolean equals(Object obj);", "@Override \n boolean equals(Object obj);", "public boolean equals(Object obj);", "public boolean e...
[ "0.82479763", "0.8232026", "0.8231891", "0.8156258", "0.81200767", "0.81097996", "0.81041193", "0.80958813", "0.8072627", "0.8066122", "0.8066122", "0.8054614", "0.8043269", "0.80334264", "0.803259", "0.80125964", "0.79979163", "0.7967502", "0.79602367", "0.7953829", "0.79455...
0.0
-1
Implementatino of the equals method that is defined in the Object class This method OVERRIDEs the equals method in the Object class.
public boolean equals(Object other) { System.out.println("Calling our equals method now!"); if (other == null) { return false; } if (!(other instanceof Point)) { return false; } // other must be a Point here Point p = (Point) other; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public boolean equals(Object object);", "@Override\n public final boolean equals( Object obj ) {\n return super.equals(obj);\n }", "@Override\r\n \tpublic boolean equals(final Object obj) {\r\n \t\t// Insert code to compare the receiver and obj here.\r\n \t\t// This implementation forwar...
[ "0.87001616", "0.8633447", "0.85883135", "0.8583014", "0.85592294", "0.85584396", "0.85472864", "0.85352266", "0.8529682", "0.8529682", "0.8529682", "0.85286146", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.85134256", "0.8510389", "0.85034996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public Credential authenticateProxy(Proxy proxy, URL url, List<Challenge> challenges) throws IOException { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
allocate memory for student(initialize all fields)
public static void main(String[] args) { Group aco21 = new Group(); System.out.print("1. Create Student \n 2. Show students \n 3. Find by id"); Scanner sc = new Scanner(System.in); int choice1 = sc.nextInt(); if (choice1 == 1) { System.out.print("input name, ph...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Student()\r\n {\r\n // initialise variables with defult values\r\n ID=-1;\r\n Name=null;\r\n University=null;\r\n Department=null;\r\n term=0;\r\n cgpa=0.0;\r\n Gpa=new double[10];\r\n Creditsandgrades=new double[10][10][10];\r\n }", "...
[ "0.6880436", "0.6841918", "0.6790558", "0.6606985", "0.65975827", "0.65674555", "0.64494175", "0.6370622", "0.6286176", "0.6254006", "0.62463844", "0.6176394", "0.61743134", "0.61684453", "0.6166572", "0.61583513", "0.6125398", "0.61214465", "0.61096513", "0.61042583", "0.609...
0.0
-1
Returns user to Reports UI passes lists, UserID and Database Connection
public void backToAppointments(ActionEvent event) throws IOException { FXMLLoader loader = new FXMLLoader(); loader.setLocation(getClass().getResource("ReportsUI.fxml")); Parent tableViewParent = loader.load(); Scene tableViewScene = new Scene(tableViewParent); ReportUIControl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void userReport() {\n reportText.appendText(\"Report of appointments per User\\n\\n\");\n for (User user: Data.getUsers()) {\n reportText.appendText(\"\\n\\nUser: \" + user.getUsername() + \"\\n\");\n for (Appointment appointment: Data.getAppointments()) {\n ...
[ "0.64669603", "0.5981748", "0.5790084", "0.57337505", "0.56976956", "0.56020623", "0.5576466", "0.55546737", "0.55312043", "0.550456", "0.5490968", "0.548146", "0.5479329", "0.5470681", "0.5463282", "0.54597783", "0.5450145", "0.54487294", "0.5426907", "0.538616", "0.5373059"...
0.0
-1
Checks customer List for what country each Customer is from and adds it to the count. Displays count.
private void setCountryLabels() { int usCount = 0; int ukCount = 0; int canadaCount = 0; for (Customer customer : customerList) { if (customer.getCountry().equals("U.S")) { usCount++; } if (customer.getCountry().equals("UK")) { ukCount++; } if (cu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/country\", method = RequestMethod.GET)\n public List<CountryCustomerCount> customersInCountry() {\n return customerRepository.customerInCountry();\n }", "public int countryCount(){\n\t\treturn this.countries.size();\n\t}", "public ArrayList<CustomerCountry> getCountryByC...
[ "0.72017413", "0.67097396", "0.6661416", "0.6630589", "0.6508617", "0.64181405", "0.63372207", "0.6207479", "0.6173125", "0.61294776", "0.6085651", "0.6085651", "0.6078794", "0.5955404", "0.59133404", "0.587711", "0.5816158", "0.58052075", "0.57611114", "0.57327235", "0.57287...
0.6996828
1
Sets lists, UserID, and database Connection for the Scene
public void setDatabaseConnection(Connection customerUI, Integer user, ObservableList<Customer> customer, ObservableList<Appointments> appointments) { conn = customerUI; userID = user; customerList = customer; appointmentsList = appointments; setCountryLabels(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public users() {\n initComponents();\n connect();\n autoID();\n loaduser();\n \n \n }", "@FXML\n\tprivate void handleConnection() {\n\t\tString pseudo = this.nickName.getText();\n\t\tif (pseudo != null && !pseudo.equals(\"\")) {\n\t\t\tUser user = new User(pseudo);\n\...
[ "0.5741452", "0.5621359", "0.5548681", "0.55230635", "0.55150723", "0.54858255", "0.5466916", "0.5362418", "0.53602177", "0.53495765", "0.53175783", "0.52759343", "0.52529883", "0.5212522", "0.5204426", "0.5202462", "0.51808226", "0.5172719", "0.5150579", "0.51342326", "0.513...
0.5444318
7
Sets Language for the Scene base on User's Language (English or French)
public void initialize() { Locale locale = Locale.getDefault(); var rb = ResourceBundle.getBundle("translation",locale); customerPerCountryLabel.setText(rb.getString("CustomersPerCountry")); backButton.setText(rb.getString("Back")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setLanguage(Language language);", "public void setLanguage(String language);", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization...
[ "0.74245995", "0.7188445", "0.7160854", "0.7099962", "0.69933426", "0.68843246", "0.6775781", "0.6734726", "0.6699006", "0.66576535", "0.66503644", "0.66477793", "0.66195464", "0.6612224", "0.6601534", "0.6598357", "0.6596981", "0.65946823", "0.6583735", "0.65784645", "0.6550...
0.0
-1
Friendship graph interface. Note, you should not need to modify this.
public interface FriendshipGraph extends MyGraph { /** Distance value for source and target vertex pairs that are disconnected. */ public static final int disconnectedDist = -1; /** * Returns the set of neighbours for a vertex. If vertex doesn't exist, then a warning to System.err sh...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FollowGraph() {\r\n users = new ArrayList<>();\r\n connections = new boolean[MAX_USERS][MAX_USERS];\r\n }", "public void addFriendShip(String firstPerson, String secondPerson) {\n Integer fromIndex = this.vertexNames.get(firstPerson);\n if (fromIndex == null) {\n fromIndex = th...
[ "0.59674686", "0.59444803", "0.5906637", "0.5820461", "0.57815456", "0.5729108", "0.5705672", "0.5659636", "0.565249", "0.5650615", "0.5645243", "0.5609879", "0.55795926", "0.5514735", "0.5441952", "0.54247594", "0.54214174", "0.54125386", "0.54077554", "0.5406275", "0.537953...
0.7249657
0
Returns the set of neighbours for a vertex. If vertex doesn't exist, then a warning to System.err should be issued.
public abstract ArrayList<String> neighbours(String vertLabel);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Set<V> getNeighbours(V vertex);", "public Set<Pair<V,V>> neighbourEdgesOf(V vertex);", "protected abstract List<Integer> getNeighbors(int vertex);", "@Override\n\tpublic List<Location> getNeighbors(Location vertex) {\n\n\t\tArrayList<Location> neighbors = new ArrayList<Location>();\n\n\t\tfor (Path p ...
[ "0.8438103", "0.7805567", "0.7618486", "0.74698675", "0.7369917", "0.72153825", "0.7190149", "0.7047259", "0.6968416", "0.69380176", "0.67278516", "0.67134595", "0.64820766", "0.6450775", "0.6415759", "0.6363639", "0.6347845", "0.632878", "0.6319521", "0.63086236", "0.626603"...
0.63343745
17
Computes the shortest path distance between two vertices. If one or both of the vertices doesn't exist, then a warning to System.err should be issued. Note for undirected graph, which vertex is the origin and which is the destination doesn't matter, i.e., distance(A,B) = distance (B,A).
public abstract int shortestPathDistance(String vertLabel1, String vertLabel2);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double shortestPathDist(int src, int dest);", "public String findDistanceOfPath(String[] vertices) {\r\n String source = vertices[0];\r\n int distance = 0;\r\n for (int i = 1; i < vertices.length; i++) {\r\n String target = vertices[i];\r\n Map<String, Integer> e...
[ "0.7069284", "0.68094105", "0.65942395", "0.65476346", "0.64925104", "0.64816326", "0.643451", "0.63629663", "0.6340871", "0.6266391", "0.62595475", "0.62387437", "0.6230101", "0.6227225", "0.62243485", "0.6210891", "0.6165814", "0.61393297", "0.61331016", "0.61284626", "0.61...
0.70954937
0
/ Getters and Setters
public void setRentedShow(RentedShow rentedShow) { fRentedShow = rentedShow; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n public void get() {}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void setdat()\n {\n }", "public void get() {\n }", "@Override\n\tpublic void getData() {\n\t\t\n\t}", ...
[ "0.6793725", "0.66366845", "0.65605664", "0.6458844", "0.62827885", "0.62158823", "0.6172911", "0.6113601", "0.6080991", "0.6030207", "0.6002496", "0.5975091", "0.5970083", "0.5950412", "0.5937579", "0.5934836", "0.59142685", "0.58957744", "0.58908737", "0.5822043", "0.581260...
0.0
-1
Set citiesSet; Set countriesSet;
public void readFileInHashSet() throws IOException { FileReader fileR = new FileReader(MOCK_DATAPath); BufferedReader buffR = new BufferedReader(fileR); citiesSet = new HashSet<>(); countriesSet = new HashSet<>(); String line = ""; while ((line = buffR.readLine()) != null) { String tempWithComma = line; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testSetCitiesList() {\n System.out.println(\"setCitiesList\");\n Set<City> citiesList = new HashSet<>();\n\n sn10.setCitiesList(citiesList);\n assertEquals(citiesList, sn10.getCitiesList());\n }", "protected void setCities(Vector<Site> cities){\n ...
[ "0.7358198", "0.6867746", "0.67429674", "0.6577096", "0.62735045", "0.60178715", "0.58753556", "0.5871291", "0.5870105", "0.58699566", "0.58535063", "0.58452886", "0.5832309", "0.58226985", "0.5808694", "0.57821083", "0.5733102", "0.57288337", "0.57084227", "0.570058", "0.569...
0.58890194
6
/prema 01/11/2016 class & subject information
public String onTabChange() { logger.info("-----------Inside onTabChange method()----------------"); SmsController controller=null; librarianDataBean.setName(""); setSubjectlistFlag(false); try{ clasSectionList=new ArrayList<String>(); ApplicationContext ctx = FacesContextUtils.getWebApplicationContext(F...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSubject() {\n/* 286 */ return getCOSObject().getString(COSName.SUBJ);\n/* */ }", "java.lang.String getSubject();", "java.lang.String getSubject();", "java.lang.String getSubject();", "public Name getSubject() {\r\n return subject;\r\n }", "public String getSubject()\r...
[ "0.6860756", "0.6831375", "0.6831375", "0.6831375", "0.670029", "0.6585985", "0.65826154", "0.65826154", "0.65510476", "0.64628386", "0.64628386", "0.643267", "0.63939", "0.63841254", "0.637788", "0.6374092", "0.6374092", "0.635058", "0.6328719", "0.6310895", "0.6248434", "...
0.0
-1
Metodo update del patron Observer, actualiza las notificaciones
public void update(){ addNotificaciones(nombre + " " + this.sucursal.descuento()); mostrarNotificaciones(); notificaciones.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateObserver();", "public void notifyChangementJoueurs();", "static void NotifyCorrespondingObservers() {}", "public void notifyObservers(){\r\n\t\tif (this.lastNews != null)\r\n\t\t\tfor (Observer ob: observers){\r\n\t\t\t\tob.updateFromLobby(lastNews);\r\n\t\t\t}\r\n\t}", "public void notif...
[ "0.68004125", "0.6744191", "0.67048925", "0.66072285", "0.66057366", "0.6534322", "0.6524303", "0.64932984", "0.6455711", "0.642533", "0.64170474", "0.64170474", "0.64121366", "0.63903916", "0.6381065", "0.63571787", "0.6347827", "0.63460904", "0.63460904", "0.63460904", "0.6...
0.62000126
31
Metodo que regresa las notificaciones
public void mostrarNotificaciones(){ System.out.println(notificaciones.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNotificaciones(String noti){\n notificaciones.add(noti);\n }", "private void prepararNoticias() {\n Noticia noticia = new Noticia(\n \"Novo Residencial perto de você!\",\n \"Venha conhecer nosso mais novo empreendimento.\"\n );\n noticias.add(...
[ "0.68170637", "0.65073717", "0.62353295", "0.6198678", "0.6065581", "0.60399204", "0.59811306", "0.5926766", "0.58451927", "0.57972556", "0.57594204", "0.5697345", "0.5696787", "0.56698513", "0.56585574", "0.56406677", "0.5636741", "0.56306636", "0.5613196", "0.560904", "0.55...
0.59363645
7
Metodo que agrega notificaciones a la lista de notificaciones del Cliente
public void addNotificaciones(String noti){ notificaciones.add(noti); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "private void prepararNoticias() {\n Noticia noticia = new Noticia(\n \"Novo Residencial perto de você!\",\n \"Venha conhecer nosso mais novo empreendimento.\"\n );\n noticias.add(...
[ "0.6623972", "0.6587938", "0.6546478", "0.6469515", "0.61832005", "0.6089555", "0.59408045", "0.5901193", "0.58964074", "0.5882871", "0.58824444", "0.58752537", "0.587291", "0.58101386", "0.5808321", "0.580314", "0.5790513", "0.5786243", "0.5775286", "0.5772417", "0.57608366"...
0.6617114
1
Metodo que devuelve el id del Cliente
public int getID(){ return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic Integer getId() {\n\t\treturn codigoCliente;\r\n\t}", "public int getIdClient() {\r\n return idClient;\r\n }", "public int getIdCliente() {\n return idCliente;\n }", "public java.lang.String getClienteID() {\n return clienteID;\n }", "public java.lang.Str...
[ "0.8171135", "0.8163005", "0.79609805", "0.7634753", "0.7634753", "0.76258785", "0.7619873", "0.7422281", "0.7402637", "0.7397611", "0.73616135", "0.73468983", "0.7336408", "0.7291099", "0.72796404", "0.7269981", "0.72395605", "0.7204154", "0.7191026", "0.7161199", "0.7106433...
0.0
-1
Metodo que devuelve la cuenta del Cliente
public Payment getTarjeta(){ return cuenta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void realizarSolicitud(Cliente cliente);", "Cliente(){}", "public Cliente(){\r\n this.nome = \"\";\r\n this.email = \"\";\r\n this.endereco = \"\";\r\n this.id = -1;\r\n }", "public void Pedircarnet() {\n\t\tSystem.out.println(\"solicitar carnet para verificar si es cliente de ...
[ "0.71938705", "0.70274407", "0.7017845", "0.69948816", "0.6971951", "0.6941028", "0.67922145", "0.6711398", "0.6709873", "0.67022413", "0.67000324", "0.66651654", "0.6661279", "0.66543096", "0.665209", "0.66286165", "0.6587964", "0.657648", "0.65680647", "0.65541214", "0.6538...
0.0
-1
Metodo nque devuelve el domicilio del Cliente
public String getDomicilio(){ return domicilio; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDomicilio() {\n return domicilio;\n }", "public String getDomicilio() {\r\n\t\treturn domicilio;\r\n\t}", "java.lang.String getDomicilio();", "public Domicilio(String calle, String numero, String localidad, String provincia) {\n this.calle = calle;\n this.numero = num...
[ "0.7171139", "0.7085017", "0.70380354", "0.6654635", "0.65264595", "0.6518944", "0.65133816", "0.64501643", "0.64316857", "0.6356315", "0.6255033", "0.6229476", "0.62258375", "0.6197468", "0.6157415", "0.6145257", "0.6111239", "0.61022127", "0.60779023", "0.6067147", "0.60598...
0.70704174
2
Metodo que devuelve las notificaciones en forma de ArrayList del Cliente
public ArrayList<String> getNotificaciones(){ return notificaciones; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<DataCliente> listarClientes();", "java.util.List<com.vine.vinemars.net.pb.SocialMessage.NoticeObj> \n getNoticeListList();", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public ClientInformation(){\n clientList = new ArrayList<>();\n\n ...
[ "0.678105", "0.6773118", "0.6609737", "0.6600137", "0.65220106", "0.6505712", "0.64852935", "0.63534516", "0.6350312", "0.63491815", "0.633743", "0.6286707", "0.6269169", "0.6261964", "0.6246426", "0.62421954", "0.6235844", "0.6232926", "0.62066704", "0.61563", "0.6142266", ...
0.71007866
0
Metodo que realiza un pedido con la lista de orden que ya hizo el cliente
public void hacerPedido(){ this.sucursal.procesarPedido(this.pedido, this.id); this.pedido = new Integer[5]; contadorPedido = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void cadastrar(Cliente o) {\n\t\t\n\t}", "private void listaClient() {\n\t\t\r\n\t\tthis.listaClient.add(cliente);\r\n\t}", "public void verificarDatosConsola(Cliente cliente, List<Cuenta> listaCuentas) {\n\n int codigoCliente = cliente.getCodigo();\n\n System.out.printl...
[ "0.6611834", "0.6526106", "0.64621574", "0.64268774", "0.634934", "0.6318266", "0.6304002", "0.6262195", "0.6221077", "0.6206534", "0.6189392", "0.6144235", "0.61370826", "0.6132162", "0.61246186", "0.6086887", "0.6083417", "0.60722315", "0.6037842", "0.6019635", "0.60178244"...
0.6268307
7
Metodo para asignarle su cuenta/tarjeta al cliente
public void setTarjeta(Payment cuenta){ this.cuenta = cuenta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void realizarSolicitud(Cliente cliente);", "@Override\n\tpublic void altaCliente(Cliente cliente) {\n\t}", "@Override\n\tpublic void asignarClienteAcobrador() {\n\t\tSet<ClienteProxy> lista=grid.getMultiSelectionModel().getSelectedSet();\t\t\n\t\tif(!lista.isEmpty()){\n\t\t\tFACTORY.initialize(EVENTBUS);\n\t\t...
[ "0.67525417", "0.67134714", "0.6668533", "0.66623986", "0.6546629", "0.6433906", "0.63152415", "0.62754816", "0.62688595", "0.6261372", "0.6226635", "0.6226018", "0.6218033", "0.6209968", "0.61893344", "0.61835647", "0.61806107", "0.61680204", "0.6149427", "0.6140598", "0.611...
0.58260435
79
Metodo que devuelve el nombre del cliente
public String getNombre(){ return nombre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic String getNomeRisorsa() {\r\n\t\treturn Costanti.FXML_GESTISCI_CLIENTI;\r\n\t}", "public String getNombreCliente() {;\n return( nombreCliente );\n }", "public String getClientName ()\n\t{\n\t\treturn clientName;\n\t}", "public String getUsuarioClienteNome() {\n return nomeU...
[ "0.7198138", "0.71644837", "0.70458794", "0.69924", "0.69638705", "0.69332093", "0.69332093", "0.6855373", "0.68470246", "0.68376166", "0.6791245", "0.6713855", "0.6711363", "0.6703015", "0.6692823", "0.66560596", "0.6607905", "0.6578962", "0.6573612", "0.6557748", "0.6508371...
0.0
-1
Metodo que va agregando a su lista de pedidos tortas a traves de su identificador
public void pedir(int idTorta) throws Exception{ if(contadorPedido == 5){ throw new Exception("Pedido lleno"); } else { this.pedido[contadorPedido] = idTorta; this.contadorPedido++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Vendedor> listarVendedor();", "public void agregarPedidos(List<PedidoIndividual> pedidos) throws QRocksException;", "public void ganarDineroPorAutomoviles() {\n for (Persona p : super.getMundo().getListaDoctores()) {\n for (Vehiculo v : p.getVehiculos()) {\n v.puede...
[ "0.6069546", "0.60169953", "0.5904873", "0.57971936", "0.57721823", "0.57190156", "0.5705287", "0.56827784", "0.56582767", "0.56311125", "0.56147945", "0.56089926", "0.55714065", "0.55688405", "0.5541504", "0.55394363", "0.5509568", "0.5509151", "0.54989475", "0.5488417", "0....
0.5628961
10
creates thread pool with 2 thread
public static void main(final String... args) throws InterruptedException, ExecutionException { final ScheduledExecutorService schExService = Executors.newScheduledThreadPool(2); // Object creation of runnable thread. final Runnable ob = DemoThread::run; // Thread scheduling schExService.scheduleWithFix...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n\tpublic void test()\r\n\t{\n\t\t\r\n\t\tThreadPoolManager.addPool(\"1,UD,12,12,30000,200000\");\r\n//\t\tThreadPoolManager.addPool(\"2,UD,12,12,30000,200000\");\r\n\r\n// ThreadPoolManager.init(params);\r\n// ThreadPoolManager.getPool(\"1\");\r\n\t\t\r\n//\t\tThread t = new Thread(this.test...
[ "0.6972083", "0.6966204", "0.6881556", "0.67123896", "0.668418", "0.6677436", "0.6663795", "0.66398", "0.6562819", "0.6512205", "0.64981127", "0.6458557", "0.641351", "0.63148755", "0.6292329", "0.62234896", "0.6209586", "0.6176356", "0.61759603", "0.6146081", "0.61307037", ...
0.0
-1
Initialize HealthMinister call the super class constructor
public ChiefExecutiveOfHA(int leadership, int medicine, int experience) { super(leadership, medicine, experience); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HealthUI() {\n init();\n }", "public HMetis() {\n\t\tthis.init();\n\t}", "public HealthModel() {\n healthMetrics = new ArrayList<HealthMetric>();\n SimpleDateFormat dateFormatter = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n this.fetchHealthMetrics();\n }", "public Base...
[ "0.6701358", "0.6621465", "0.6534923", "0.6298226", "0.6262942", "0.62434363", "0.6242557", "0.62353444", "0.62321204", "0.6211669", "0.6190458", "0.6190458", "0.61847055", "0.6166763", "0.6166763", "0.6166763", "0.61598885", "0.61531246", "0.6151115", "0.61334074", "0.613340...
0.0
-1
compute bonus CEO of HA bonus is based on summation of leadership and experience HINT:
@Override protected int getBonusPoints() { return leadership + experience; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Double getCAProfessionnel() {\n List<Facture> facturesProfessionnel = this.factureProfessionnelList;\n Double ca = 0.0; \n for(Facture f : facturesProfessionnel )\n ca = ca + f.getTotalHT();\n \n return ca ; \n \n }", "public ChiefExecutiveOfHA(int ...
[ "0.6440593", "0.6108828", "0.5786351", "0.56836", "0.566582", "0.5612673", "0.55853593", "0.5580586", "0.55695015", "0.55483824", "0.5494543", "0.5494543", "0.54910535", "0.5461105", "0.5460685", "0.54529434", "0.54243076", "0.53697723", "0.5335078", "0.53182685", "0.5315208"...
0.7084742
0
ban travel 1. Call the super class banTravel 2. add points according to bonus HINT:
@Override public void banTravel(Player player, City city) { super.banTravel(player, city); player.addPoints(getBonusPoints()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void liftTravelBan(Player player, City city) {\n super.liftTravelBan(player, city);\n player.addPoints(getBonusPoints());\n }", "@Override\n\tprotected boolean on_bonus_taken(GfxObject bonus) {\n\t\treturn false;\n\t}", "public void addPointForTeamB(View view) {\n t...
[ "0.7081515", "0.5811768", "0.56498885", "0.5598592", "0.55565315", "0.55187064", "0.5498242", "0.5493723", "0.5482917", "0.54806155", "0.54673606", "0.5446521", "0.54384065", "0.5416703", "0.541135", "0.5385658", "0.537996", "0.537059", "0.5368899", "0.53662497", "0.5364595",...
0.7548972
0
lift travel ban 1. Call the super class liftTravelBan 2. add points according to bonus HINT:
@Override public void liftTravelBan(Player player, City city) { super.liftTravelBan(player, city); player.addPoints(getBonusPoints()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void banTravel(Player player, City city) {\n super.banTravel(player, city);\n player.addPoints(getBonusPoints());\n }", "@Override\n public int craftBonus() {\n\treturn 1;\n }", "@Override\n protected int getBonusPoints() {\n return leadership + experience...
[ "0.6783222", "0.5859123", "0.5828174", "0.5585465", "0.5570454", "0.5539025", "0.55333126", "0.54698414", "0.54419374", "0.53598565", "0.5352757", "0.5351513", "0.53063357", "0.52866966", "0.5274937", "0.52626663", "0.52574736", "0.525683", "0.52528393", "0.5244154", "0.51846...
0.74606264
0
Example string representation: "ChiefExecutive | READY, leadership, medicine, experience" when isReady() == true "ChiefExecutive | DONE, leadership, medicine, experience" when isReady() == false
@Override public String toString() { String toStr = String.format("ChiefExecutiveOfHA | %s, leadership %d, medicine %d, experience %d", isReady() ? "READY" : "DONE",leadership, medicine, experience); return toStr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStatusString() {\n String str = \"\";\n switch (actualStep) {\n case wait: { str = \"WAIT\"; break; }\n case press: { str = \"PRESS\"; break; }\n case hold: { str = \"HOLD\"; break; }\n case release: { str = \"RELEASE\"; break; }\n }...
[ "0.58765763", "0.55385715", "0.5208846", "0.51646274", "0.5123445", "0.5099787", "0.5053283", "0.5020128", "0.50121576", "0.49938047", "0.4991022", "0.4983992", "0.49688706", "0.4956241", "0.49519706", "0.49412155", "0.49262974", "0.49250492", "0.490375", "0.48899797", "0.488...
0.5594263
1
LISTAR GUARDAR Y ELIMINAR
public List<Login>listar();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void listar() {\n\t\t\n\t}", "private static void listFormat() {\n\t\tSystem.out.println(\"List of all your movies\");\n\t\tSystem.out.println(\"=======================\");\n\t\tfor (int i = 0; i < movList.size(); i++) {\n\t\t\tSystem.out.println(movList.get(i));\n\t\t}\n\t}", "@Override\n public Str...
[ "0.6516425", "0.5912691", "0.5715993", "0.55982524", "0.55978584", "0.5580677", "0.5564505", "0.555497", "0.55341697", "0.55152035", "0.55080676", "0.55028486", "0.54851025", "0.54713196", "0.5451727", "0.54410374", "0.54255664", "0.5419754", "0.5379901", "0.5359233", "0.5354...
0.0
-1
Convert a CSV list into an array of Strings.
public static String[] commaDelimitedListToStringArray(String str) { return delimitedListToStringArray(str, ","); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String[] toCSV() throws Exception;", "public String[] toCsv();", "public List<String> convertCsvToJava() {\n List<String> bookList = new ArrayList<String>();\n try {\n String csvFileToRead = STRING1;\n BufferedReader br = null;\n String line = \"\";\n S...
[ "0.688278", "0.6839473", "0.66183716", "0.66060853", "0.6537793", "0.6479376", "0.64460266", "0.64124", "0.6406894", "0.63978726", "0.626812", "0.61953026", "0.61714923", "0.6168509", "0.6113286", "0.60969", "0.60949063", "0.6063174", "0.59990627", "0.59892184", "0.5980344", ...
0.62831193
10
Delete any character in a given String.
public static String deleteAny(String inString, String charsToDelete) { if (!hasLength(inString) || !hasLength(charsToDelete)) { return inString; } StringBuilder sb = new StringBuilder(); for (int i = 0; i < inString.length(); i++) { char c = inString.charAt(i); if (charsToDelete.indexOf(c) == -1) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String removeChar(String s, char c) {\r\n String r = \"\";\r\n for (int i = 0; i < s.length(); i++) {\r\n if (s.charAt(i) != c) {\r\n r += s.charAt(i);\r\n }\r\n }\r\n return r;\r\n }", "public static String removeCharacter(char c,...
[ "0.6839047", "0.6838615", "0.6788573", "0.66151553", "0.6447714", "0.6427476", "0.6376368", "0.6357856", "0.6314459", "0.62960666", "0.62897974", "0.6252878", "0.6244617", "0.6191043", "0.6112799", "0.60707927", "0.6018366", "0.6014217", "0.6005989", "0.5998547", "0.59487295"...
0.74075454
0
Loading an example plugin.
@Bean public HawtPlugin samplePlugin() { return new HawtPlugin("sample-plugin", "plugins", "", new String[] { "sample-plugin/js/sample-plugin.js" }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void load(Maussentials plugin);", "public void loadPluginsStartup();", "public native void loadPlugin(final String plugin);", "public String loadNewPlugin(final String extPointId);", "void loadMyDogPluginParams(MyDogPluginsParams myDogPluginsParams);", "protected void pluginInitialize() {}", "Pl...
[ "0.7009231", "0.6290332", "0.62715423", "0.61321545", "0.5995323", "0.5983631", "0.59726316", "0.59636205", "0.5900696", "0.58992004", "0.5894784", "0.58330077", "0.5746696", "0.56476986", "0.5614647", "0.5610263", "0.5592931", "0.55779874", "0.5516355", "0.5509921", "0.55092...
0.6185168
3
Configure facade to use authentication.
@Bean(initMethod = "init") public ConfigFacade configFacade() throws Exception { final URL loginResource = this.getClass().getClassLoader().getResource("login.conf"); if (loginResource != null) { setSystemPropertyIfNotSet(JAVA_SECURITY_AUTH_LOGIN_CONFIG, loginResource.getFile()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void configure(AuthenticationManagerBuilder auth) {\n auth.authenticationProvider(authProvider);\n }", "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.authenticationProvider(authenticateionProvider());\r\n\t}", "@Override\n ...
[ "0.6465818", "0.6424767", "0.6318397", "0.62649626", "0.62394917", "0.6184783", "0.61841416", "0.6069651", "0.6037372", "0.6019927", "0.59886146", "0.5971086", "0.59687597", "0.59675187", "0.5903325", "0.58842963", "0.58723205", "0.5843834", "0.58430916", "0.5771099", "0.5770...
0.6710448
0
Returns the 'Robustness' literal with the specified literal value.
public static Robustness get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { Robustness result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Robustness(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static Robustness get(int value) {\n\t\tswitch (value) {\n\t\t\tcase CLUSTER_VALUE: return CLUSTER;\n\t\t\tcase NODE_VALUE: return NODE;\n\t\t\tcase NONE_VALUE:...
[ "0.64691967", "0.589891", "0.5681557", "0.5430174", "0.5430174", "0.5405778", "0.5405778", "0.53596526", "0.53077203", "0.5276025", "0.51740646", "0.51350534", "0.51097715", "0.51019675", "0.50877523", "0.50792676", "0.50419647", "0.5014791", "0.5005911", "0.4967425", "0.4949...
0.7178765
0
Returns the 'Robustness' literal with the specified name.
public static Robustness getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { Robustness result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Robustness get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.toString().equals(literal)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "private Robustness(int value, String name, String liter...
[ "0.6451079", "0.6005766", "0.5507423", "0.5430335", "0.5419605", "0.5335715", "0.53118193", "0.53095824", "0.52862126", "0.5246337", "0.5159477", "0.51588833", "0.51588833", "0.51314723", "0.5123515", "0.5111465", "0.51112634", "0.5108059", "0.50946254", "0.50802726", "0.5080...
0.71550035
0
Returns the 'Robustness' literal with the specified integer value.
public static Robustness get(int value) { switch (value) { case CLUSTER_VALUE: return CLUSTER; case NODE_VALUE: return NODE; case NONE_VALUE: return NONE; } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Robustness(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "public static Robustness get(String literal) {\n\t\tfor (int i = 0; i < VALUES_ARRAY.length; ++i) {\n\t\t\tRobustness result = VALUES_ARRAY[i];\n\t\t\tif (result.toStr...
[ "0.6658318", "0.5965376", "0.5914758", "0.54958576", "0.5263916", "0.52194744", "0.5191425", "0.51866764", "0.51782155", "0.50780445", "0.505977", "0.5004945", "0.5000833", "0.49787685", "0.49602193", "0.49533588", "0.49481317", "0.49269935", "0.492332", "0.4913201", "0.48944...
0.67639214
0
Only this class can construct instances.
private Robustness(int value, String name, String literal) { this.value = value; this.name = name; this.literal = literal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void construct();", "private Instantiation(){}", "Reproducible newInstance();", "private ATCres() {\r\n // prevent to instantiate this class\r\n }", "public Instance() {\n }", "Instance createInstance();", "private InstanceUtil() {\n }", "private ObjectFactory() { }...
[ "0.83116", "0.78703046", "0.7745854", "0.70514417", "0.6977207", "0.69248813", "0.6911577", "0.68580836", "0.6854153", "0.6840124", "0.6830395", "0.6762024", "0.6749302", "0.6747144", "0.67454994", "0.67114174", "0.6695038", "0.6671193", "0.66689765", "0.66472626", "0.6642942...
0.0
-1
Returns the literal value of the enumerator, which is its string representation.
@Override public String toString() { return literal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() {\n return _iotaEnum + \" - \" + _value ;\n }", "public String asString() {\n\t\t\tString enumName;\n\t\t\tswitch(this) {\n\t\t\tcase INDEX:\n\t\t\t\tenumName = \"index\";\n\t\t\t\tbreak;\n\t\t\tcase NAME:\n\t\t\t\tenumName = \"name\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tenum...
[ "0.65500486", "0.6377429", "0.62722266", "0.6203616", "0.61886615", "0.6154279", "0.6113001", "0.6107017", "0.6083695", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.60496104", "0.603746", "0.603746", "0.5996426", "0.59961706", "0.59935486", "0.5991...
0.58709687
78
TODO Autogenerated method stub
@Override @Transactional public List<String> findRebrique() { return roleDao.findRebrique(); }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public List<Role> getByType(String type) { return roleDao.getByType(type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public List<Integer> findRolesbytype(int idop, String type) { return roleDao.findRolesbytype(idop, type); }
{ "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
Dummy variable constructor, for propagation
DAGVariable() { this.var = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Variable(){\n name = \"\";\n initialValue = 0;\n }", "private Value() {\n\t}", "public static PacketSource makeDummy() {\n\treturn new DummySource();\n }", "public VendingMachineTest()\r\n {\r\n // initialise instance variables\r\n x = 0;\r\n }", "public Varia...
[ "0.6994595", "0.62355036", "0.60572183", "0.60482407", "0.6029168", "0.599634", "0.5995005", "0.5990364", "0.59821963", "0.596193", "0.59554106", "0.59505606", "0.5949274", "0.5911354", "0.589157", "0.5847126", "0.5827437", "0.5824466", "0.5824466", "0.5787825", "0.57748586",...
0.5738633
24
Internal method for ExpressionFactory and AssignmentFactory.
boolean isDummy() { return var == null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Expression createExpression();", "public Stmt createAssignment(Assign expr) {\n return createEval(expr);\n }", "private Expr expression() {\n return assignment();\n }", "Expression() { }", "@Override\n public ExpressionNode deepCopy(BsjNodeFactory factory);", "private PropertyEva...
[ "0.6313258", "0.6118053", "0.61128753", "0.5976578", "0.5936929", "0.59364355", "0.5890556", "0.58779657", "0.5849123", "0.57838935", "0.5738342", "0.57176876", "0.57176876", "0.5638406", "0.5620568", "0.55599964", "0.55092937", "0.5490123", "0.54764134", "0.5462133", "0.5434...
0.0
-1
first take first point (x1,y1)
public static void main(String args[]){ x1=Double.parseDouble(args[0]); y1=Double.parseDouble(args[1]); //enter the second point x2=Double.parseDouble(args[2]); y2=Double.parseDouble(args[3]); //distance=rootof((x2-x1)square-(y2-y1)square) firstterm=(x2-x1)*(x2-x1); secondterm=(y2-y1)*(y2-y1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GPoint getFirstPoint() {\n return(point1);\n }", "public IPoint getFirstPoint()\n {\n Object[] verticesArray = this.getVertices().toArray();\n IPoint firstPoint = (IPoint)verticesArray[0];\n\n return firstPoint;\n }", "private Point findStartPoint(){\n Point min = p...
[ "0.8091042", "0.7060595", "0.6912147", "0.6819961", "0.66225713", "0.66094965", "0.6505459", "0.64724827", "0.629363", "0.6230358", "0.6201897", "0.6201775", "0.6163358", "0.61534834", "0.6132652", "0.6129496", "0.6092924", "0.60710704", "0.60473835", "0.60364085", "0.6036033...
0.0
-1
Constructor; supply annotation to match against.
public ClassAnnotationMetaDataFilter(Class<?> anno) { this(new Class[]{ anno }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AnnotationInfoImpl()\n {\n }", "public Annotation(String className) {\n\t//\tthis.id = newId();\n\t\tthis.annotatonClassName = className;\n\t\tattributes = new HashSetValuedHashMap<String, String>();\n\t}", "Annotation createAnnotation();", "Annotation createAnnotation();", "public CustomAnnotat...
[ "0.6790499", "0.6557978", "0.65326023", "0.65326023", "0.64035726", "0.63200355", "0.6285754", "0.60499334", "0.5959156", "0.5935237", "0.5923606", "0.5889582", "0.5880715", "0.58788776", "0.584774", "0.5839729", "0.5821665", "0.58199763", "0.5798346", "0.5754064", "0.572643"...
0.53966033
49
Constructor; supply annotations to match against.
public ClassAnnotationMetaDataFilter(Class<?>[] annos) { _annos = new HashSet<>(); for (Class<?> anno : annos) { _annos.add(Type.getDescriptor(anno)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AnnotationInfoImpl()\n {\n }", "public Annotation(String className) {\n\t//\tthis.id = newId();\n\t\tthis.annotatonClassName = className;\n\t\tattributes = new HashSetValuedHashMap<String, String>();\n\t}", "public AnnotationSearchResultItem() {\n }", "public CustomAnnotationParanamer() {\n ...
[ "0.64091116", "0.6281261", "0.6099222", "0.60929394", "0.6056445", "0.6033604", "0.6008869", "0.5909274", "0.5885748", "0.58418787", "0.58418787", "0.58313435", "0.58171487", "0.5807515", "0.5746887", "0.5743206", "0.5741776", "0.56864375", "0.56797665", "0.56587756", "0.5636...
0.0
-1
returns if the takebackcontroller is enabled
public boolean isEnable() { return _enabled; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean takeControl() {\r\n\t\treturn (StandardRobot.ts.isPressed() || (StandardRobot.us.getRange() < 25));\r\n\t}", "boolean hasEnabled();", "public boolean takeControl() {\n\t\tif (!sharedState.isFindingObject()) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t// returns true if the shared state retu...
[ "0.66163546", "0.6545615", "0.64724195", "0.64486223", "0.64235646", "0.6388479", "0.62797016", "0.62795806", "0.6200403", "0.6186072", "0.6169133", "0.61305946", "0.61244977", "0.6111028", "0.6092609", "0.6082791", "0.6082791", "0.6079174", "0.6073993", "0.6067133", "0.60614...
0.60344315
22
see 1.At the time of initialization of JavaFX we start initialization of Spring of a context 2.Well and the next line the current object is filled with bins 3.Inheriting the abstract class described above, we will specify behavior of our JavaFX of the application. At this stage we can already use DI and all other "buns...
@Override public void init() throws Exception { context = SpringApplication.run(getClass(), savedArgs); context.getAutowireCapableBeanFactory().autowireBean(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void init() {\n String[] args = this.getParameters().getRaw().toArray(new String[0]);\n // We run Spring context initialization at the time of JavaFX initialization:\n springContext = SpringApplication.run(MainApp.class, args);\n }", "@Override\n\tpublic void start(B...
[ "0.6805959", "0.63888323", "0.63115644", "0.6277259", "0.6277259", "0.62740195", "0.6213508", "0.6197545", "0.6119349", "0.6119349", "0.60737616", "0.60520136", "0.6051193", "0.60200816", "0.59929574", "0.5927221", "0.59254766", "0.5893445", "0.58697563", "0.58592963", "0.584...
0.57546145
28
Add things here after we guarantee we want to use this list.
void commit() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void addList() {\n\t}", "protected void addEntries() {\r\n\t\t// default is to do nothing;\r\n\t}", "public final void addToInitList() {\n\t\tEngine.getSingleton().addToInitList(this);\n\t}", "private void add() {\n\n\t}", "private void addActiveCourseListToCourseList() {\n courseList....
[ "0.6430149", "0.6277125", "0.6207074", "0.6094712", "0.59165215", "0.5911429", "0.5876575", "0.58747166", "0.58439237", "0.58012444", "0.5782482", "0.5773649", "0.5761224", "0.5737299", "0.56959397", "0.56530905", "0.56439275", "0.5624064", "0.56214243", "0.5620851", "0.56112...
0.0
-1
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof Piloto)) { return false; } Piloto other = (Piloto) object; if ((this.pilotoId == null && other.pilotoId != null) || (this.pilotoId != null && !this.pilotoId.equals(other.pilotoId))) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6897049", "0.6839498", "0.67057544", "0.66417086", "0.66417086", "0.6592169", "0.6579292", "0.6579292", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.6575263", "0.656245", "0.656245", "0.65447694", "0.65251684", "0.6516205", "0.6487982", "0.6477638", ...
0.0
-1
This is the getter method this will return the attribute value. Number of packets dropped since the last event. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public Integer getNumPktsDropped() { return numPktsDropped; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public YangUInt32 getRecordsDroppedValue() throws JNCException {\n return (YangUInt32)getValue(\"records-dropped\");\n }", "public Long getLostPackets() {\n return lostPackets;\n }", "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Numbe...
[ "0.63344884", "0.62792283", "0.6190765", "0.60966367", "0.60882187", "0.60870284", "0.6027045", "0.60102206", "0.5997548", "0.59828633", "0.5848377", "0.58470094", "0.58470094", "0.57990533", "0.57625395", "0.5754332", "0.57512236", "0.5742023", "0.57419497", "0.5741008", "0....
0.5693256
26
This is the setter method to the attribute. Number of packets dropped since the last event. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Controller as null.
public void setNumPktsDropped(Integer numPktsDropped) { this.numPktsDropped = numPktsDropped; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@MavlinkFieldInfo(\n position = 5,\n unitSize = 2,\n description = \"Number of packets being sent (set on ACK only).\"\n )\n public final int packets() {\n return this.packets;\n }", "public Long getLostPackets() {\n return lostPackets;\n }", "public i...
[ "0.6219635", "0.6128245", "0.60706943", "0.6032919", "0.58918816", "0.58224696", "0.5704696", "0.5582881", "0.55670404", "0.5558569", "0.55091625", "0.55036557", "0.5493232", "0.5426771", "0.54031354", "0.5370306", "0.53494006", "0.5336348", "0.5320026", "0.5307161", "0.52859...
0.5573925
8
This is the getter method this will return the attribute value. Uuid of the se responsible for this event. It is a reference to an object of type serviceengine. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is i...
public String getSeRef() { return seRef; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAttrEventValue() {\r\n\t\treturn attrEventValue;\r\n\t}", "public String Get_event_value() \n {\n\n return event_value;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "public String getSeUuid() {\n ...
[ "0.65073967", "0.647646", "0.62701887", "0.62701887", "0.62701887", "0.6191386", "0.616392", "0.61423504", "0.5956732", "0.59441406", "0.5938564", "0.58490217", "0.5827332", "0.58205736", "0.5800237", "0.5769741", "0.5724255", "0.57197", "0.57126313", "0.5711897", "0.5683377"...
0.5259538
83
This is the setter method to the attribute. Uuid of the se responsible for this event. It is a reference to an object of type serviceengine. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. Default value when not specified in API or module is interpreted by Avi Co...
public void setSeRef(String seRef) { this.seRef = seRef; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public void setSeUuid(String seUuid) {\n this.seUuid = seUuid;\n }", "public String getSeUuid() {\n return seUuid;\n }", "pu...
[ "0.64082986", "0.64082986", "0.64082986", "0.5838236", "0.5838236", "0.5838236", "0.57683015", "0.57303846", "0.55456394", "0.5493041", "0.5474783", "0.542974", "0.54279476", "0.5405738", "0.53625256", "0.5360077", "0.53504777", "0.5329346", "0.5325901", "0.5317986", "0.53074...
0.5092562
46
Convert the given object to string with each line indented by 4 spaces (except the first line).
private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String toIndentedString(Object object) {\n if (object == null) {\n return EndpointCentralConstants.NULL_STRING;\n }\n return object.toString().replace(EndpointCentralConstants.LINE_BREAK,\n EndpointCentralConstants.LINE_BREAK + EndpointCentralConstants.TAB_SPA...
[ "0.7884939", "0.7549351", "0.74972624", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", "0.74616987", ...
0.0
-1
/ com.djt.cvpp.ota.orfin.vadrevent.mapper.dto.VadrRelease publishVadrReleaseEvent( String domainName, String domainInstanceName, String domainInstanceDescription, String domainInstanceVersion, String appId, String appVersion, String productionState, String releaseDate, String softwarePriorityLevel) throws EntityAlready...
com.djt.cvpp.ota.orfin.vadrevent.mapper.dto.VadrRelease publishVadrReleaseEvent() throws EntityAlreadyExistsException, ValidationException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void createRelease(Version version) {\n\n\t}", "public Event createPublish(Address resource, String event, int expires);", "Builder addReleasedEvent(PublicationEvent value);", "Builder addReleasedEvent(PublicationEvent.Builder value);", "public Event publish(Address resource, String eve...
[ "0.6578502", "0.6049757", "0.60005873", "0.5904369", "0.5657535", "0.56469023", "0.54503167", "0.54366446", "0.5428864", "0.5427386", "0.5366744", "0.53110784", "0.5277654", "0.52602035", "0.5231244", "0.52243376", "0.52126426", "0.5202303", "0.51258236", "0.51118606", "0.508...
0.8870144
0