query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
1380f917e0634177465dc3a0e0108e2e
Extract the value of the "value" attribute.
[ { "docid": "b38c64b8df7f3bb4621146683ffa497c", "score": "0.0", "text": "private String getInputValue(String input, String inputName) throws UnsupportedEncodingException{\n\t\tString result = null;\n\n\t\t// search value attribute\n\t\tfinal Matcher valueMatcher = valuePattern.matcher(input);\n\t\tif(val...
[ { "docid": "8260e40400011e3ec9464ac1693fd2a0", "score": "0.7864805", "text": "@Override\r\n\tpublic String getValue() {\r\n\t\treturn getElement().getAttribute(\"value\");\r\n\t}", "title": "" }, { "docid": "e2301d391ac74b9b469122d3bb5abf9e", "score": "0.780715", "text": "public Stri...
6f51eeda73714ea5c4b8351416fd8a58
This tests the api path sanitization
[ { "docid": "9d6740caa249cb4e92164cce85326338", "score": "0.82411844", "text": "public void testSanitizePath() {\n\n\t\tassertEquals(\"/api/test/{id}\", ParserHelper.sanitizePath(\"/api/test/{id }\"));\n\n\t\tassertEquals(\"/api\", ParserHelper.sanitizePath(\"/api\"));\n\t\tassertEquals(\"/api/test\", Pa...
[ { "docid": "5130afdc0142ea90ef66f590b8d7b55a", "score": "0.65963286", "text": "private String sanitizePath( String path ) {\n path = ( path.startsWith( \"/\" )) ? path.substring( 1 ) : path;\n path = ( path.endsWith( \"/\" )) ? path.substring( 0, path.length() - 1 ) : path;\n return path;\n }"...
c75b7042c360c898ad6704938401c18f
Set the suggestion to be finished.
[ { "docid": "1da3c898cbc9e3cd3158e4d1902b2208", "score": "0.7313706", "text": "public void setFinished() {\n if (!isFinished()) {\n mSharedPreferences.edit().putBoolean(IS_SUGGESTION_FINISHED, true).apply();\n }\n }", "title": "" } ]
[ { "docid": "d62da5ec300b641cc4b285744fdb240c", "score": "0.6246375", "text": "public void markAsDone() {\n this.isDone = true;\n }", "title": "" }, { "docid": "b592307fbf675e3412f2148331958210", "score": "0.6240599", "text": "protected void markAsDone() {\n this.isDo...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ed11674cb1241526bb371cee1ce6bc1c", "score": "0.0", "text": "@Override\n\tpublic List<EmployeeBO> getEmps() {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866738", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68466413", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "9b5cff25aa74b0b3c6ca515f3055285b", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7393879", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "4d7bc4524...
8e1ab5d0c59d216e1d0a5747b2693b65
Return the width value of this dimension.
[ { "docid": "d20c1af7effe5c062ff4445a15ec6ba8", "score": "0.0", "text": "public double getWidth()\n { return this.width; }", "title": "" } ]
[ { "docid": "e882f27c8d36554cfff8927328cffc3a", "score": "0.84267914", "text": "public java.lang.Integer getWidth() {\n return width;\n }", "title": "" }, { "docid": "53a3877b444a53974eb28ff3601b9563", "score": "0.83404744", "text": "public Integer getWidth() {\n\t\treturn w...
69b3d69f85e83203b62bba37431ad993
GET /routines : get all the routines by doctorId.
[ { "docid": "2fb15d7c1f43804eb90e78e420919727", "score": "0.6380783", "text": "@GetMapping(\"/routines/doctor\")\n @Timed\n /* public ResponseEntity<List<Routine>> getAllRoutines(@ApiParam Pageable pageable)*/\n public APIResponseRoutineDTO getRoutinesForDoctor(@RequestParam String doctorId)\n ...
[ { "docid": "9c3f633d55b681f7b4e85f0213009d9a", "score": "0.6851249", "text": "@GetMapping(\"/routines/{id}\")\n @Timed\n public APIResponseRoutineDTO getRoutine(@PathVariable String id) {\n log.debug(\"REST request to get Routine : {}\", id);\n Routine routine = routineService.findOn...
432f3e80e527ec33fbe6b4b09f27460d
Checks and shows the schedule (set)
[ { "docid": "a9023b24a0b0a75cd03d74e733fcd6f9", "score": "0.0", "text": "@Override\r\n\tpublic String toString() {\r\n\t\tString out = \"\";\r\n\r\n\t\tif (seances.isEmpty()) {\r\n\r\n\t\t\treturn \"Ви ще не добавили жодного сеансу! Будьласка, заповніть розклад сеансами!\";\r\n\t\t} else {\r\n\t\t\tItera...
[ { "docid": "ec6e330e3786d0b80bd2c367a4ab8f3e", "score": "0.67791104", "text": "boolean hasScheduling();", "title": "" }, { "docid": "c0855d8aac8207b3c0da31faf8a4792c", "score": "0.6697738", "text": "private static void printScheduleAll() {\n\t\t//Read in schecdule start date\n\t\tStr...
e3a8cad941422352369ae92b464a9587
Handles all the button clicks and ques each JPanel change.
[ { "docid": "c3dc5ae6216cc152426eb9f66a6b7aa7", "score": "0.0", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n if (ae.getActionCommand().equals(\"Quit\")) {\n int choice = JOptionPane.showConfirmDialog(this, \"Are you sure you wish to quit?\", \"Confirm\", JOpti...
[ { "docid": "ab12619be4f911d7a48dc292c88c303f", "score": "0.67008245", "text": "public void modifyPanel() {\n this.removeAll();\n count = 0;\n box1 = new JPanel();\n box2 = new JPanel();\n box3 = new JPanel();\n box1.setBackground(new Color(24, 24, 24));\n ...
bfc0ffae075a9f06c12b83163297193d
Returns the date of the last modification.
[ { "docid": "cfb419dce0eb9dd1daa6a50c0cda8279", "score": "0.78926015", "text": "public Date getLastModifiedDate() {\n return lastModifiedDate;\n }", "title": "" } ]
[ { "docid": "6ac0e5917740fc4c85385d52ab907287", "score": "0.8385828", "text": "public Date getLastModify() {\n return lastModify;\n }", "title": "" }, { "docid": "adb1ea2d8f9c54d40f7ecf4a049b74c6", "score": "0.8360701", "text": "public Date getLastModifyDate() {\r\n r...
95612f7a50e6775decdb31670c429b17
This method was generated by MyBatis Generator. This method returns the value of the database column sys_user.password
[ { "docid": "35493c9fd2b8ecc1fc34524996207054", "score": "0.0", "text": "public String getPassword() {\n\t\treturn password;\n\t}", "title": "" } ]
[ { "docid": "5289f4fb6a2a2d814fe4150999c6e5f3", "score": "0.7519476", "text": "public String getPassword() {\n return (this.password != null) ? this.password : DBConnection.getDBPassword();\n }", "title": "" }, { "docid": "38954effa9c64ffd9a0ae94286d7411f", "score": "0.7510392", "...
6fb780b019c0c73cf59129dedefd7770
repeated string class_with_jvm_package_name_short_name = 5; Short names of files (single file facades), whose JVM package differs from the Kotlin package because of &64;JvmPackageName. The JVM package name of each file is stored at the same index in class_with_jvm_package_name_package_id.
[ { "docid": "95a3dbd163fcb6ed2a721fe32e70cc03", "score": "0.6963292", "text": "public int getClassWithJvmPackageNameShortNameCount() {\n return classWithJvmPackageNameShortName_.size();\n }", "title": "" } ]
[ { "docid": "9af62f76573e0030bdbae0d6a0d0a58c", "score": "0.7352844", "text": "int getClassWithJvmPackageNameShortNameCount();", "title": "" }, { "docid": "280d349e22e5779d43b7db97099fcfd1", "score": "0.7325864", "text": "java.lang.String getClassWithJvmPackageNameShortName(int index)...
2e66d02f310b73c410b715d5a685ee01
Adds a component to our list, allowing it to be later retrieved
[ { "docid": "fc260c34f88c7bf5d15c1ef0440c84a3", "score": "0.6480325", "text": "public Boolean addComponent(Component who){\n // preflight checks\n if(who == null){\n log(ERROR, \"Add component failed. Provided component is null\");\n return false;\n }\n i...
[ { "docid": "520470e85625807d60e0fc2720d85809", "score": "0.824203", "text": "public void add(Component component);", "title": "" }, { "docid": "9da30b399d92c78a81bda661701eb23c", "score": "0.79869443", "text": "void addComponent(Component component);", "title": "" }, { "d...
ba41f48c4c4b333146febb04034d341c
method to access receive inventory
[ { "docid": "cf2e0c584935a7a4db048dead14962da", "score": "0.6675348", "text": "public void receiveInventory() throws InterruptedException \r\n\t{\r\n\t\tWebElement inventory = getxpath(\"//*[@id='mainmenuInventoryPage']/a\");\r\n\t\tActions hover = new Actions(driver);\r\n\t\thover.moveToElement(inventor...
[ { "docid": "66b176f9661ff1b2f8a3972ba64ca6dd", "score": "0.71747696", "text": "public void openInventory() {}", "title": "" }, { "docid": "6039b0894bd110251caad4c78d3b9388", "score": "0.7020905", "text": "public void openInventory()\n {\n }", "title": "" }, { "docid...
1bf89447b80ec86ff401a389c9f91f7d
/ access modifiers changed from: protected
[ { "docid": "c34c78c2a77c01ee9db059fa0312c6bd", "score": "0.0", "text": "@Override // android.icu.util.CodePointTrie\n @Deprecated\n public final int cpIndex(int c) {\n if (c >= 0) {\n if (c <= 4095) {\n return fastIndex(c);\n }\n ...
[ { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.73730904", "text": "protected void method_3848() {}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.71932817", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { ...
699cd0170047e87455044fe7a4db367d
Adds random retention noise to value
[ { "docid": "838c6f58a9c4eb751d574b5d7a96826a", "score": "0.6137371", "text": "private double noisyRt(double value) {\n\n\t\t// then add additive noise as well\n\t\tdouble additiveNoise = randomData.nextGaussian(noiseLevel.getNoiseMean(), \n\t\t\t\tnoiseLevel.getRtStdev());\n\t\tvalue += additiveNoise;\n...
[ { "docid": "c4c47fc124deb9c372a0880862e58167", "score": "0.64115787", "text": "private double noise(SpIterNoiseObs noise) {\n return 3.0 * 60.0;\n }", "title": "" }, { "docid": "e011ca5f385e71c45817545ea3cfd3e2", "score": "0.6060314", "text": "private double noisyIntensity(...
b5743e75a5252635de735aa04feb293c
Overriden method from Interface. Does not have any specific functionality in this class as there are no sub controllers
[ { "docid": "af48390ff2344ebf9f506fe894835049", "score": "0.0", "text": "@Override\r\n public ControllerInterface[] getSubControllers() {\r\n return null;\r\n }", "title": "" } ]
[ { "docid": "357475f386deb8b894beaf1925d7c52c", "score": "0.70585257", "text": "public interface BaseController {\n\n\n\n\n}", "title": "" }, { "docid": "c4485fdf7a00365347543aeb7f69387a", "score": "0.66938406", "text": "public interface AcceuilControllerI {\n\n\n\n}", "title": ""...
6cc7ced345188059da9a8ca1e0f6b66a
This returns the property descriptors for the adapted class.
[ { "docid": "a0d395da64c4733c06ff0fbd6c58f26a", "score": "0.0", "text": "@Override\n\tpublic List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {\n\t\tif(itemPropertyDescriptors != null){\n\t\t\titemPropertyDescriptors.clear();\n\t\t}\n\t\tsuper.getPropertyDescriptors(object);\n\t\taddTa...
[ { "docid": "02a58bf417cf34a41c16d7d82014c451", "score": "0.7653281", "text": "@Override\n\tpublic IPropertyDescriptor[] getPropertyDescriptors() {\n\t\treturn descriptors;\n\t}", "title": "" }, { "docid": "012617e2c62934c78b837faf13f74443", "score": "0.7395546", "text": "public Prope...
16bbaefc676674146bc0798af5aba271
Obtiene el pedido por id
[ { "docid": "eeb5a16c80a667a1b23240a269727887", "score": "0.0", "text": "Optional<Order> getOrderById(Long id);", "title": "" } ]
[ { "docid": "8f8968418feeb229316edb44d5739e04", "score": "0.72873235", "text": "public ProductoPedido getProductoPedido(int id);", "title": "" }, { "docid": "1cfeafe1a19126758d04811edbada4a5", "score": "0.69523627", "text": "public Venta buscaVenta(String id);", "title": "" }, ...
d7256aa474a340c19744d2ba5d9e2cc3
Some information about the progress of executing tests as part of running a build.
[ { "docid": "b50674c0dd607f2dacec72089a4e5268", "score": "0.52840984", "text": "@Incubating\npublic interface TestProgressEvent {\n\n /**\n * The id of the event type. The id can be resolved through {@link TestProgressEvent.EventType#valueOf(int)}.\n *\n * @return the id of the event type\...
[ { "docid": "286c6ed3fb4ab59c7c66a4d6cc123fd2", "score": "0.61376464", "text": "private String getResults(AbstractBuild<?, ?> build) {\n StringBuilder description = new StringBuilder();\n for (TestResultAction result :\n build.getActions(TestResultAction.class))\n des...
f6c1fd20347f7a28ae78c1c8af458a13
template method for initial page setup
[ { "docid": "f443b45d6b6ee5a36a15921d0e20798e", "score": "0.66487306", "text": "public void setPage() {\r\n\t\tyoutubeRetrieverSetup();\r\n\t\tHBox title = getTitle();\r\n\t\ttitle.getChildren().get(0).setId(\"title-text\");\r\n\t\ttop.getChildren().add(title);\r\n\t\ttitle.setAlignment(Pos.CENTER);\r\n\...
[ { "docid": "4e8488175e9287650987f454f3110b33", "score": "0.7545158", "text": "public void initPage() {\n\t\tinitPage(null);\n\t}", "title": "" }, { "docid": "b19b1c2ee7f43fbcac212842a096b398", "score": "0.7105974", "text": "@Override\n\tprotected void init() throws Exception {\n\t\ts...
263bd80bcde7e88309930340e94e1281
Constructor that clones another Git Project. Particularly useful for subclasses
[ { "docid": "56a1d98f34b66bc56169c026ed206a0f", "score": "0.7234656", "text": "protected GitProject(GitProject project) {\n\tthis(project.git, project.repository, project.URI);\n }", "title": "" } ]
[ { "docid": "417766697c77b6f23e27e6c6cd1559a2", "score": "0.6797919", "text": "public Project()\r\n {\r\n projTitle = \"?\";\r\n projNumber = 0;\r\n projLocation = \"?\";\r\n projManager = new Manager();\r\n }", "title": "" }, { "docid": "3467132309b2a8f23e39c3b4e15c...
30344c3b1588b8d845ce5a9b237366d5
/ ABSTRACTION: we are trying to hide the implmentation means methods 2 ways to achieve; 1. Abstract Class 2. Interface: similar to class, blueprint contains only methods with no implementations cannot create an object of Interface a class which is implementing the interface is responsible to implement all the methods o...
[ { "docid": "3a7bc5f3e32c7e22d62774b84f978096", "score": "0.0", "text": "public void creditMoney() {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "b44378101facf3af65666b109ed93b69", "score": "0.6611524", "text": "public interface Cashier {\n /**\n * @param total The cost according to the cashier\n *\n * Sent by the cashier prompting the customer's money after the customer has approached the cashier.\n ...
05fc3dafdfd0eba36293ce12ffba57ed
Creo tablero de 3 casillas y coloco 1 jugador en (0,0)
[ { "docid": "97b46ade99e541195e82f77877899e2b", "score": "0.5754532", "text": "public static void main(String[] args) {\n\t\tTablero tablero = new Tablero();\r\n\t\tCasilla[][] mapa = new Casilla[1][3];\r\n\t\ttablero.crearMapa1(mapa);\r\n\t\tJugador j1 = new Jugador();\r\n\t\tj1.lugarTableroX = j1.lugar...
[ { "docid": "3074a576aa90f02eef5b20618efd7b6a", "score": "0.70648795", "text": "public void create_tabuleiro(String ambiente, String unicamp, Usuario usuario,String corona, String atividade, String doente,String vacina, int probabilidade,int seconds) {\n\t\tthis.seconds=seconds;\n\t\tthis.ambiente=ambien...
d2f53fb7ec66f3099df96e743738ca20
int32 to_id = 5;
[ { "docid": "19008e123c47d1ee02ddaaaddb48f3ba", "score": "0.6972578", "text": "int getToId();", "title": "" } ]
[ { "docid": "f42a8e545fdd348c37eab8e3331e9046", "score": "0.7365593", "text": "int toInt32();", "title": "" }, { "docid": "f06569067b38421a3410989f409f41a1", "score": "0.7020512", "text": "scrabbleInt toInt();", "title": "" }, { "docid": "771326f1f6d0cc267d1a50c44e68e382",...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2ce9bdbc94dae7275d4eb34011effff6", "score": "0.0", "text": "private int calBinarySearch(ArrayList<Integer> arrayList, int left, int right) {\n\t\tint n = arrayList.size();\n\t\twhile (left <= right) {\n\t\t\tint mid = left + right / 2;\n\n\t\t\tif ((mid == 0 || (arrayList.get(mid - 1) == 0) ...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
20a39985fa52bd0a625a3aacf6b79359
Test of getSectionList method, of class QuestionPaper.
[ { "docid": "aa3732771773b3044c6747e12659afdb", "score": "0.7672455", "text": "@Test\n public void testGetSectionList() {\n System.out.println(\"getSectionList\");\n \n instance.addSection(null);\n \n ArrayList result = instance.getSectionList();\n assertTrue(...
[ { "docid": "f03eee2b22a2bdd81e09ca131b72160e", "score": "0.6902893", "text": "SectionList createSectionList();", "title": "" }, { "docid": "9dde0f4844705a1bddbb8de4e5b2490f", "score": "0.6465752", "text": "public abstract Collection<String> getSections();", "title": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c4478d849e4de91dc72bedd74a2811b5", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner ler = new Scanner(System.in);\n\t\t\n\t\tint num1, num2;\n\t\t\n\t\tSystem.out.println(\"Digite o primeiro numero: \");\n\t\tnum1 = ler.nextInt();\n\t\t\n\t\tSystem.out.println(\...
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "12dbca485fa5f3ad62709b61d20cba46", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tmyOverLoading mOL = new myOverLoading();\n\t\t\n\t\tmOL.show(1, \"Tran Quoc Vu\");\n\t\tmOL.show(\"Nguyen Van Vu\", 2);\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
f4a37bbf7c091f524512ec80bcd051a9
Sets the value of the 'var300' field.
[ { "docid": "01997f7a67d5cfd07fd7c57bd8948621", "score": "0.7794973", "text": "public void setVar300(java.lang.Double value) {\n this.var300 = value;\n }", "title": "" } ]
[ { "docid": "41ceb8545d36112e09099f8844aeaf5e", "score": "0.785107", "text": "public com.dj.model.avro.LargeObjectAvro.Builder setVar300(java.lang.Double value) {\n validate(fields()[301], value);\n this.var300 = value;\n fieldSetFlags()[301] = true;\n return this;\n }", "title...
6ca2c17b4d7342ad69677b57eefb0502
Construct a vector from the given array of float.
[ { "docid": "35791455cd71457f8b6337e8c67077de", "score": "0.60097486", "text": "public Vector3(float[] values) {\n if (values.length != 3)\n throw new IllegalArgumentException(\"Vector3 constructor passed an array of length \" + values.length);\n \n this.values = Arrays.co...
[ { "docid": "6b1b84b9412943ecffa26d4e5a62acd6", "score": "0.73251224", "text": "public Vector(float [] values) {\n this.values = values;\n }", "title": "" }, { "docid": "63b493db7572e029b73d572d89dd5661", "score": "0.7118762", "text": "public Vector(float[] d) {\r\n v...
96e10b01d80a76c7966a6147230f63dd
Finds user by schoolMark id
[ { "docid": "8252a2623479c28d1192d8907e90d98a", "score": "0.6942906", "text": "SchoolMark findSchoolMarkById(Integer id) throws DaoException;", "title": "" } ]
[ { "docid": "2cf3830d799327e5060390512640806d", "score": "0.63978946", "text": "@Override\r\n\tpublic LoginModel getUserById(int use_id) {\n\t\treturn schooldao.getUserById(use_id);\r\n\t}", "title": "" }, { "docid": "727f1c642bad251bc8eb022c57515239", "score": "0.6389908", "text": "p...
7ed50a063cf49306eb60a6709525f989
Calls find() and findAncestors() method and print the items of returned arraylist. Exceptions are handled in find() method and it returns the node with given element. If the target node is the root, it prints a warning message to the stardard output. Complexities: depends on find() and findsAncestors() methods.
[ { "docid": "915fd6430c6a3c953bf6d63fd82d83e2", "score": "0.66949326", "text": "public void printAncestors(T element){\n\n BinaryTreeNode<T> targetnode = this.find(element);\n\n if(targetnode.equals(this.root)){\n System.out.println(\"Target node is the root of the tree, it has n...
[ { "docid": "66cb543dd423cc99aa838bbb6dc9b884", "score": "0.64480346", "text": "public void printAncestors_Recursive(BinaryTreeNode<T> root, T element){\n\n if(root==null)\n throw new NullPointerException(\"Parameter \\\"root\\\" is invalid!\");\n\n BinaryTreeNode<T> target = thi...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "963839f8e6432bd3a90729f97651471e", "score": "0.0", "text": "public static String serializeElement(Element orderElement) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
e5f649f649266f11007360750fd7a369
/ 1.Open browser 2.Go to website 3 Save the title in a string variable 4.Go to 5. Save the title in a string variable 6. Navigate back to previous page 7. Verify that title is same is in step3 8. Navigate forward to previous page 9.Verify that title is same is in step5
[ { "docid": "a2612e7ab7c0ea8df0e067467df61c60", "score": "0.0", "text": "public static void main(String[] args) {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Chrome(\"chrome\");\n FireFox(\"firefox\");\n Safari(\"safari\");\n }", "title": "" } ]
[ { "docid": "8aef887e4cd8b095c9e59f8fd262a17b", "score": "0.72035503", "text": "@Test(priority = 1)\n public void getTitle()\n {\n String webURL = \"https://www.google.com\";\n //Launch the Google WebSite\n driver.get(webURL);\n // Storing Title name in the String variab...
5efeb876ff4d446c5d91003ea45dc7a6
ECDH session key optional bytes session_key = 1;
[ { "docid": "b95e5133cc899bb7efb301fb315a608f", "score": "0.5552706", "text": "public boolean hasSessionKey() {\n\t\t\t\treturn ((bitField0_ & 0x00000001) == 0x00000001);\n\t\t\t}", "title": "" } ]
[ { "docid": "0fb8f01a67fe8ccf2b3909d226882687", "score": "0.7071975", "text": "private GetECDHSessionKey(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n\t\t\tsuper(builder);\n\t\t}", "title": "" }, { "docid": "cbc367aad3ba553cb2ae47830487a258", "score": "0.6952271", "te...
cfb5182249e7695bbe7cc2ed45c0dc07
current page should be "first page"
[ { "docid": "3db959f2f3432c78b0e5dc3140faa7fd", "score": "0.5871513", "text": "public void clickPrevButtonAndCheckPage() throws Throwable {\n waitTime(200);\n\n connector.\n getWebElement(driver, WebConnector.Identifier.css, webConnector.getString(WebConnector.myUrl.URL_OR, \...
[ { "docid": "aa45875b88011df9fc9f71d076435f41", "score": "0.79107994", "text": "public boolean gotoFirstPage();", "title": "" }, { "docid": "753ac85762ba485f8fd1eea298cd5625", "score": "0.7378988", "text": "@Override\n\tpublic int getCurrentPage() {\n\t\treturn 0;\n\t}", "title": ...
7743eebc458578d04145a58eeab188f2
Get a convo based on its unique ID, and given userId is the recipient.
[ { "docid": "2fe87cc4837a9c7bd89f946171a3d446", "score": "0.72229964", "text": "public Convo getReceivedConvo(final long userId, final long convoId)\n {\n return convoDao.getReceivedConvo(userId, convoId);\n }", "title": "" } ]
[ { "docid": "24433ac836a6a0b3e2bc22e76324858b", "score": "0.6736832", "text": "public Convo getSentConvo(final long userId, final long convoId)\n {\n return convoDao.getSentConvo(userId, convoId);\n }", "title": "" }, { "docid": "a9dc1459cc589f35e9a36802dc8bdb81", "score": "0...
408a8220ade3a6fe371cfec8ef1ffb62
bisher ist keine Kommunikation Server>Client vorgesehen spaeter ggf. Befehle ans Andruino verschicken
[ { "docid": "3c8043aa97b7336c3431e0976942ded0", "score": "0.0", "text": "@Override\n public void processMessage(String string) {\n }", "title": "" } ]
[ { "docid": "4b20ac338bd734ff81c896cc9aadde22", "score": "0.59390306", "text": "protected boolean isBlessedServer(FemDataServer server)\n {\n return isBlessedServer(server.getName());\n }", "title": "" }, { "docid": "a5f9af09ea5693589852f5678338597d", "score": "0....
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "dc4347ca0dfe42f7b20c4f9f251c6f34", "score": "0.0", "text": "@Override\n\tpublic boolean isEnabled() {\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "984445784e2cda470df09812fbc72ee8", "score": "0.0", "text": "@Override\n\t\tpublic void reduce(Text key, Iterator<IntWritable> value,\n\t\t\t\tOutputCollector<Text, IntWritable> output, Reporter reporter)\n\t\t\t\tthrows IOException {\n\t\t\tint count = 0;\n\t\t\twhile (value.hasNext()) {\n\t...
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.6974748", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6935901", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}",...
d2c60133c1c055c916cd5ac77c83a9c4
Set accessor for persistent attribute: novedad
[ { "docid": "abe6a4633c13342eea539ce90142a033", "score": "0.55956703", "text": "public abstract void setNovedad(java.lang.String newNovedad);", "title": "" } ]
[ { "docid": "d46110dcedfe4c4870bb9c18d2326fd8", "score": "0.62873065", "text": "@Override\r\n\tpublic Obj __setattr__(final String attr, final Obj val) {\n\t\treturn super.__setattr__(attr, val);\r\n\t}", "title": "" }, { "docid": "e3dbe4e5b9344edd16a1a8760d0e5644", "score": "0.61125934",...
ada78db5cdf13d8b5b55619c901111cf
Tests if a point is inside the ellipse.
[ { "docid": "beb3cefc1848d09afb216c8c2f66190e", "score": "0.6795971", "text": "@Override\n\tpublic boolean pointInside(Point p) {\n\t\tPoint o = bounds.getOrigin();\n\t\tint w2 = bounds.getWidth() / 2;\n\t\tint h2 = bounds.getHeight() / 2;\n\t\tint cx = o.getX() + w2;\n\t\tint cy = o.getY() + h2;\n\t\tin...
[ { "docid": "cb165a2820275b7af30aec9d3975e360", "score": "0.8172875", "text": "boolean containsPoint(int x, int y) {\n double rx = width/2.0; // horizontal radius of ellipse\n double ry = height/2.0; // vertical radius of ellipse \n double cx = left + rx; // x-coord of center of ellip...
b6810d45bf4801101c71ccb6fec120f5
Test case number: 81 /Coverage entropy=0.9114277364721686
[ { "docid": "82ad3a24394c796f8ca6d81bd1bee11e", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test081() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"[ (\");\n xPathLexer0.dots();\n xPathLexer0.setXPath(\"y9rU^G@n'TKk6tZ\");\n xPathLexer0.nextToken()...
[ { "docid": "fe2c88e93b06984ab138fd42b4ed1b18", "score": "0.69721925", "text": "public void testEntropy() {\n Assert.assertEquals(1.0, InformationTheory.entropy(new long[] { 5, 5 }));\n Assert.assertEquals(1.0,\n InformationTheory.entropy(new long[] { 15, 15 }));\n\n /...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e2317d5b4a3e9ba687f13d1a76adc327", "score": "0.0", "text": "public int update_step(BoardVo baseVo) {\n\t\treturn sqlSession.update(\"board.board_update_step\",baseVo);\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
2d3472af186a4a13cd35cbbc6757d53b
$ANTLR end "rule__XVariableDeclaration__Group_3__0__Impl" $ANTLR start "rule__XVariableDeclaration__Group_3__1" InternalModel.g:13367:1: rule__XVariableDeclaration__Group_3__1 : rule__XVariableDeclaration__Group_3__1__Impl ;
[ { "docid": "53c037b929cb83dda217417265b71c35", "score": "0.7913238", "text": "public final void rule__XVariableDeclaration__Group_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:13371:1: ( rule__XVa...
[ { "docid": "209dc8aa0bcd356f4ac8c571cf795e54", "score": "0.806662", "text": "public final void rule__XVariableDeclaration__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xte...
4eaa2db563197d1a4c8b610bc8f097a6
This method is used to store the item details in database table
[ { "docid": "4e0e5eda092449290eb3f52c2cadc421", "score": "0.68638194", "text": "public void insertItemDetails(String itemName, Integer quantityOfItem, Double rateOfItem);", "title": "" } ]
[ { "docid": "5448d893f5ed6253cbaf2b3c16c59bfe", "score": "0.7328455", "text": "private void insertItemDetails() {\n String nameString = mItemNameEditText.getText().toString().trim();\n String locationString = mItemLocationEditText.getText().toString().trim();\n String commentsString ...
f0ab73195f59664b32bc38f6deaad3a1
Name of the project of this build.
[ { "docid": "d752c8cf00ad18676f316a3c9da892fc", "score": "0.7971304", "text": "public String getProjectName() {\n return projectName;\n }", "title": "" } ]
[ { "docid": "59fe8793d5a799c7d00dece13ef5dcab", "score": "0.8501175", "text": "java.lang.String getProjectName();", "title": "" }, { "docid": "59fe8793d5a799c7d00dece13ef5dcab", "score": "0.8501175", "text": "java.lang.String getProjectName();", "title": "" }, { "docid": "...
289166ec8222b018bc934b52fc142ed8
Creates a new staging directory, if needed, or returns the existing one if already created.
[ { "docid": "2a01521f64dd3c2007c83c5ed0c7d905", "score": "0.68306535", "text": "@Override\n public File createStagingDirectory(ApplicationProcessingOptions opts) throws IOException {\n if (stageDir != null) {\n return stageDir;\n }\n\n // Java can't atomically make a temp directory, just a...
[ { "docid": "1922a983204d40bf5d83350bd7cbdc88", "score": "0.6434685", "text": "@Override\n public File createStagingDirectory(ApplicationProcessingOptions opts, File stagingDir)\n throws IOException {\n if (!stagingDir.exists()) {\n // TODO Should we really be failing if parent doesn't exis...
302c123994a4fba9e4eb1a4f9f1d78ec
references to parameterized Objects passed by reference or value
[ { "docid": "e081a095b6201937b156ed738fd8f0c1", "score": "0.0", "text": "public static <T extends ByValue<T>> $$<T> $$(final T t) {\r\n\t $$<T> r = new ObjectRefByValue<T>(t);\r\n\t return r;\r\n\t}", "title": "" } ]
[ { "docid": "0945edec8f4b3faf864f436c425541db", "score": "0.62505955", "text": "public void refSetValue(RefObject arg0, Object arg1) {\n\n }", "title": "" }, { "docid": "6ed2c8c08562a3a06a4fb60735597206", "score": "0.6019075", "text": "public T caseReferenceValue(ReferenceValue obj...
acffd4530de1dfc6cd8b1ff2f0075966
Tell this NPC something wants to move into one of its occupied tiles
[ { "docid": "0f635dbc95ceffb9fd0f57fa80323402", "score": "0.0", "text": "public void shove()\n {\n if( this.isFixed || this.walking )\n {\n // Fixed sprites and walking sprites cannot be shoved\n return;\n }\n\n if( ++this.shoves == SHOVE_FRAMES )\n {\n ...
[ { "docid": "dbe030a7e35f55145fa46e690694952f", "score": "0.66994715", "text": "public void placed(Tile tile){\n }", "title": "" }, { "docid": "1518b55f438d733411abdf53a258a630", "score": "0.6653465", "text": "public void walk()\n {\n if( this.isFixed )\n {\n //...
9e700d6744a553e02efb76c7dcdc9de0
finish the parsing of the current object here is the place to perform any validations over the parameters and final initializations.
[ { "docid": "deadb3879f0d8b30ab8d91004b7da7ac", "score": "0.0", "text": "private void commit() throws ParserException {\n _entities.add(_curEntity);\n try {\n _curEntity.postInit(_entities);\n } catch (final Exception e) {\n LOG.error(\"There was a problem calli...
[ { "docid": "68a3d13b70f3eab01d97817b25fbf327", "score": "0.6549415", "text": "@Override\n public void postProcess() {\n parser = null;\n }", "title": "" }, { "docid": "760782723d8c4342b28783141689f538", "score": "0.64129734", "text": "private void parseParameters() {\r\n...
10d9c7911017339b9436a22d15d2a1f7
Start Sign Up activity
[ { "docid": "5176ef6c627d236b1cb79969d212a771", "score": "0.8222881", "text": "private void startSignUpActivity() {\n\n Intent intent = new Intent(this, SignUpActivity.class);\n startActivityForResult(intent, REQUEST_SIGN_UP);\n }", "title": "" } ]
[ { "docid": "0e8b2648e30015b827cc657ccb694d4f", "score": "0.7985796", "text": "public void launchSignupActivity() {\n Intent i = new Intent(this, SignupActivity.class);\n startActivity(i);\n }", "title": "" }, { "docid": "5d0b9a261bcadc2b7dbd12b2a49130d0", "score": "0.790...
49130540eadc3ce80049b6f29fa39926
this following code returns the last 30 messages from a specific username. You have to type ! and then the username of the user: !someusername
[ { "docid": "17ac7d2b80b450ee80c765d069d2c311", "score": "0.0", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n if(tf.getText().startsWith(\"!\")){\n String name = tf.getText().substring(1);\n try{\n ...
[ { "docid": "37be913659e836191404ef21685dc13a", "score": "0.6407394", "text": "List<Message> getLast(int count);", "title": "" }, { "docid": "5e46c0cc0dadaecb67b5899c017ea218", "score": "0.6324825", "text": "@Secured({RoleType.SUPPLIER, RoleType.CUSTOMER})\n @GetMapping(\"/user/las...
2d2e1244c992277dcf558bac7008d115
Cleans the `favorites` table of possible duplicate entries.
[ { "docid": "3026a0f0e44d3d1560777a352dcc5675", "score": "0.84418064", "text": "private void cleanFavorites() {\n System.out.println(\"[INFO] Maintenance: Cleaning duplicates from `favorites` table.\");\n ResultSet result = Database.getInstance().ExecuteQuery(\"SELECT `account_id`, `recipe_...
[ { "docid": "23665d898b0a43ee3b0ce744e306a9d0", "score": "0.6747049", "text": "public void removeAllFavorites() {\r\n SQLiteDatabase db = helper.getWritableDatabase();\r\n db.beginTransaction();\r\n\r\n // Removes all the favorites that not in the last search:\r\n ...
c9b37b41e6abc849958715e9b51a1ba2
passenger phone Type startDate endDate fromSName toSName adult child
[ { "docid": "33cc0da3b31a61f1ec04c660dbcbead7", "score": "0.0", "text": "public boolean update(Ticket entyti, int id){\n try {\n Connection conn = ConnectionDB.getJDBCconnect();\n StringBuilder sql = new StringBuilder(\"update ticket set\");\n sql.append(\"passen...
[ { "docid": "4726f438f6368ac273a1f9d2a89247c6", "score": "0.53148735", "text": "public void\tgiveStartDate2(){\n\t\t\n\t\tif(getStartFlag() != 1)\n\t\t\treturn;\n\t\t\n\t\t\n\t\tString endDate = null;\n\t\tint endEst = 0;\n\t\t\n\t\tint persNr = getPersonID();\n\t\t\n\t\tfor(RegistrationStandardized ...
9d6328d2efb839d09007f5f09b63941a
Puts the board in the committed state.
[ { "docid": "c04370f69bb460038a4537c00a6507a0", "score": "0.587038", "text": "public void commit() {\n\t\tcommitted = true;\n\t\tbackUp();\n\t}", "title": "" } ]
[ { "docid": "f7f20d83371cca67f8e0bc7b648fe3bf", "score": "0.67911106", "text": "private void commit() {\n for (int h=0; h<grid.length; h++){\n for (int w=0; w<grid[h].length; w++){\n grid[h][w].updateState();\n }\n }\n }", "title": "" }, { ...
c34afee8a394f5aabb7975a314848c22
Test case number: 175 /Coverage entropy=2.4840767033213753
[ { "docid": "80f1eb0d36b9d33a26874d3b153074ea", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test175() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Component component0 = errorPage0.iframe();\n Checkbox checkbox0 = new Checkbox(component0, \"{KmYh$O6\\\...
[ { "docid": "eefcb8163fe844db41b4e7f3007cf287", "score": "0.6565781", "text": "@Test(timeout = 4000)\n public void test24() throws Throwable {\n Discretize discretize0 = new Discretize(\"h&uYpUC]>5dku/m]CS\");\n discretize0.m_ClassIndex = 102;\n double[][] doubleArray0 = new double[4][0...
4f22d218a8cbf634afa97d72fdce3d89
Get the description of the argument.
[ { "docid": "9fabdb1437c754401a182c93afe48f82", "score": "0.0", "text": "public String desc() {\n return description;\n }", "title": "" } ]
[ { "docid": "9bf8ae81c1d0647f9c5c251c5f4ad3fa", "score": "0.75817925", "text": "public String getDescription() {\n\t\t\t\t\t\t\treturn params[1];\n\t\t\t\t\t\t}", "title": "" }, { "docid": "280cfd3c4cd6d0b23ffae187853382c3", "score": "0.72227657", "text": "@Override\n public java.l...
11df354d7315194d926552d87e169b24
Get an instructor by id
[ { "docid": "3352394c4a1272443b30a0f48b60099c", "score": "0.0", "text": "@GetMapping(\"/{id}\")\n public Mono<StudentDto> getStudent(@PathVariable String id) {\n return studentService.getStudent(id);\n }", "title": "" } ]
[ { "docid": "1f2e3fb0386550eb9645e5b4c94f5bea", "score": "0.7440202", "text": "public static com.liferay.live.sb.demo.model.Instructor getInstructor(\n\t\tlong instructorId)\n\t\tthrows com.liferay.portal.kernel.exception.PortalException,\n\t\t\tcom.liferay.portal.kernel.exception.SystemException {\n\t\t...
f8c4a82f24573039d6067c4d75bb099d
Native interface for Vulkan method 149 vkGetPhysicalDeviceDisplayPlanePropertiesKHR
[ { "docid": "cd71f2c88e390aa04186288a48b431e6", "score": "0.8507606", "text": "private static native int vkGetPhysicalDeviceDisplayPlanePropertiesKHR0(\n\t\tlong physicalDevice,\n\t\tint[] pPropertyCount,\n\t\tByteBuffer pProperties);", "title": "" } ]
[ { "docid": "d6fcceb19bed85e8ec14f6cd0e8ebc2b", "score": "0.8143188", "text": "private static native int vkGetPhysicalDeviceDisplayPropertiesKHR0(\n\t\tlong physicalDevice,\n\t\tint[] pPropertyCount,\n\t\tByteBuffer pProperties);", "title": "" }, { "docid": "c0ed4675e79bb2eadb5a035e15a3...
9376107bece0c848a4737ba128a80e83
Find the current news that was clicked on
[ { "docid": "45d02ca61e82c7bf9eff99c16662dbeb", "score": "0.56759334", "text": "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {\n News currentNews = nAdapter.getItem(position);\n\n //TextView url = (TextView) find...
[ { "docid": "7c8e2a54880a214f6e1c1eb11914231c", "score": "0.6109935", "text": "public void clickOnNews() {\n try {\n pillar_News.click();\n } catch (ElementClickInterceptedException exception) {\n System.out.println(exception.toString());\n }\n }", "title...
281ed535765644428dab17f35fffcab0
This method was generated by Apache iBATIS ibator. This method corresponds to the database table WK_CELL_TRAFFIC_PROVINCE_3G
[ { "docid": "5afb13dc8f8b1ec06937c72ca495817e", "score": "0.5206342", "text": "void insert(WkCellTrafficProvince3g record);", "title": "" } ]
[ { "docid": "125a145c44bdac5e4e6a260d03cc22a7", "score": "0.5256092", "text": "void insertSelective(WkCellTrafficProvince3g record);", "title": "" }, { "docid": "7779130436ca4425bb1c1865ff9cb69d", "score": "0.48734674", "text": "public int getTotalTransporations(String zipcode) {\n\t\...
25fc64c0c82025ea2602dd509156ec13
This method was generated by MyBatis Generator. This method corresponds to the database table haiyan_rca_changer_flow
[ { "docid": "36b78ddbebbdfad0f0a773ad614a1a04", "score": "0.0", "text": "public HaiyanRcaChangerFlow withReportDetail(String reportDetail) {\n this.setReportDetail(reportDetail);\n return this;\n }", "title": "" } ]
[ { "docid": "d7fb35c273ada3a50ded897a0c276268", "score": "0.5007534", "text": "private void populateActivityTable()\n\t{\n\t\tList<HistoricActivityInstance> allActivities = getHistoryService().createHistoricActivityInstanceQuery()\n\t\t\t\t.processInstanceId( this.historicProcessInstance.getId() )\n\t\t\...
fcb2e55ae06396c2f7504a17f7560621
public void getCurentLocation(Location location);
[ { "docid": "f3ac84c55c2d1ce9d3a32c6a6b5d3cd0", "score": "0.0", "text": "public void onLocationChanged(Location location);", "title": "" } ]
[ { "docid": "a8ee806ee441c5e4294b5432f0b87305", "score": "0.7724876", "text": "public Location getLocaiton(){return loc;}", "title": "" }, { "docid": "ea3a46650b4c0548572bf33ea3c3d471", "score": "0.76642114", "text": "void retrieveSingleLocationUpdate();", "title": "" }, { ...
293928615f0be1b62e2a765cc0cc32f3
Creates a contextual (presumably stateful) authentication policy based on provided context data.
[ { "docid": "ee7a3db27d9a4715d4a89ca8c90582cb", "score": "0.85245395", "text": "ContextualAuthenticationPolicy<T> createPolicy(T context);", "title": "" } ]
[ { "docid": "9779f23c08d831ece39eb0fd1e332527", "score": "0.7784784", "text": "public interface ContextualAuthenticationPolicyFactory<T> {\n\n /**\n * Creates a contextual (presumably stateful) authentication policy based on provided context data.\n *\n * @param context Context data used t...
8c7fe1c2b0c3caac22f7918e5e30f58f
Tests purchasing an order using digital wallet Programmer: Nicole Makarowski
[ { "docid": "5be4ef69c9658e56f91e470e3da45791", "score": "0.5512583", "text": "@Test(\n groups = {\"Smoke\",\"Checkout\", \"noDataProvider\"},\n priority = 23,\n enabled = true\n )\n public void CK2_Digital_Wallet_Usage() throws InterruptedException, IOException\n ...
[ { "docid": "8ca26e182e667cc586378de5ea2c5b65", "score": "0.7003982", "text": "@Test\n @Ignore\n public void placeOrderTest() {\n // Replace with the public key of your USDC wallet\n final PublicKey usdcPayer = PublicKey.valueOf(\"A71WvME6ZhR4SFG3Ara7zQK5qdRSB97jwTVmB3sr7XiN\");\n\n ...
1a9098965736c65b8bfcc09ed92462de
Add given user to the cache. Membership is not considered.
[ { "docid": "2e8d0a5e73c61bada70db815cb22e23a", "score": "0.0", "text": "public UserOrg create(final UserOrg user) {\n\t\tcache.create(user);\n\t\tgetUser().findAll().put(user.getId(), user);\n\t\treturn user;\n\t}", "title": "" } ]
[ { "docid": "f77e76803e259288355c8c4005e8174a", "score": "0.69498056", "text": "@Override\n public void updateCache(JahiaUser jahiaUser) {\n mUserCache.put(\"k\" + jahiaUser.getUserKey(), new JahiaUserWrapper(jahiaUser));\n mProvidersUserCache.put(\"k\" + jahiaUser.getUserKey(), jahiaUse...
94f90adb3ab1494526e6eddb5f7e7f6f
VERIFICA SI SON DISTINTOS GAMEPLAYERS
[ { "docid": "d5c28c67ad423e2545b4821150c520a4", "score": "0.0", "text": "private boolean wrongGamePlayer(long id, GamePlayer gamePlayer, Player player) {\n Boolean correctGP = gamePlayer.getPlayer().getId() != player.getId();\n return correctGP;\n }", "title": "" } ]
[ { "docid": "f7cc6762c8978287427abb8288fdd8be", "score": "0.65590256", "text": "Player gameWinner();", "title": "" }, { "docid": "d7336aec72a0d21799bafe8c620256c1", "score": "0.6475422", "text": "private void addAwayTeam() {\n\t\tAIPlayer player1 = new AIPlayer(world, new Vector2(this...
cc18f65365a27702a94a88f4b9f020fb
Add this button to a new action row and return the new action row. This is useful if you only want one button and quickly wrap it into an ActionRow to be used with a message.
[ { "docid": "18a8db2dd56d1131158278c1c220ce2d", "score": "0.7633016", "text": "public ActionRowBuilder inActionRow() {\n return new ActionRowBuilder()\n .addComponents(build());\n }", "title": "" } ]
[ { "docid": "d83e21bc39ad1616d1ce1c45ab2d68af", "score": "0.6250856", "text": "IActionItemModel addActionItem();", "title": "" }, { "docid": "6d1d2b8f608fec7be4c2443fb97505c8", "score": "0.61453086", "text": "protected Action deleteRowAction() {\n\t\tAction a = new AbstractAction(\"Ro...
955a815a2a2a33a1a359a65b2e611d88
Setter for boolean flag whether to create missing directories.
[ { "docid": "02919801e7a5449355c1a48dbdb494f5", "score": "0.79519457", "text": "Builder createMissingDirectories(boolean createMissingDirectories);", "title": "" } ]
[ { "docid": "a1559321aff8364e3e977027d1539b20", "score": "0.7362066", "text": "public boolean isCreateMissingDirectories() {\n return createMissingDirectories;\n }", "title": "" }, { "docid": "68bdbe2779cb9f0d31c7fb4778bc89d1", "score": "0.6140624", "text": "@Override\n\tpub...
b8db8b5d7486d3d4eb76fdac2dda3f84
VendingMachineCLI main processing loop Display the main menu and process option chosen It is invoked from the VendingMachineApp program THIS is where most, if not all, of your Vending Machine objects and interactions should be coded Methods should be defined following run() method and invoked from it
[ { "docid": "688f059f5e5daa849657e426d058fa48", "score": "0.6812244", "text": "public void run() throws IOException {\n\n\t\tthis.header();\n\t\tboolean shouldProcess = true; // Loop control variable\n\t\t\n\t\twhile(shouldProcess) { // Loop until user indicates they want to exit\n...
[ { "docid": "4b2a00a484ef01864d2546c9fe166de0", "score": "0.799176", "text": "public static void main(String[] args) throws IOException {\r\n boolean more = true;\r\n in = new Scanner(System.in);\r\n\r\n // load all clients form clients.dat\r\n List<Client> clients = CsvReader...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fd4e409dc21ff0a8d50fdbedbfdf3a51", "score": "0.0", "text": "@Override\r\n \tpublic void setContinuousRendering (boolean isContinuous) {\n\t\t\r\n \t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
507672ea3182f711c5c1d3b58f4da009
This method generates a square that starts at the first point, points to the second point's direction and has the side length of the longer projection.
[ { "docid": "8bab77ef322e240f669f023db41d5dcb", "score": "0.5288013", "text": "public Square(double x1, double x2, double y1, double y2) {\n\t\tside = Math.max(Math.abs(x1 - x2), Math.abs(y1 - y2));\n\t\tif (x1 < x2 && y1 < y2) {\n\t\t\txMin = x1;\n\t\t\tyMin = y1;\n\t\t\txMax = x1 + side;\n\t\t\tyMax = ...
[ { "docid": "48f39cf5167e02b65129503d1cb487f0", "score": "0.59859043", "text": "private void createSquare() {\n squareCoords = new float[] {(centerPoint[0] + radius), (centerPoint[1] - radius), 0.00f, //LT\n (centerPoint[0] + radius), (centerPoint[1] + radius)...
9e2aa3b34e5127d55e5d16b3fec1d06f
Creates a subclass of JScrollPane
[ { "docid": "212a3c7b0272e30217fd3c6a76f54014", "score": "0.7095451", "text": "public BetterTextArea(){ //Use default constuctor of JScrollPane\n\t\t\tsuper();\n\t\t}", "title": "" } ]
[ { "docid": "6a799316ea86a644f543857b587a1d56", "score": "0.7031608", "text": "private JScrollPane getJScrollPane() {\r\n\t\tif (jScrollPane == null) {\r\n\t\t\tjScrollPane = new JScrollPane();\r\n\t\t\tjScrollPane.setBounds(new Rectangle(15, 18, 696, 62));\r\n\t\t\tjScrollPane.setViewportView(getTxaDesc...
5b83bafc4c12df19a82718ace105552d
Given an Iterable, return a new Iterable that only returns values that are an instance of the provided class.
[ { "docid": "79f5a719dc8e1b6d31fc3b8a4076eb72", "score": "0.711805", "text": "public static <T, S> Iterable<S> filterClass(Iterable<T> baseIterable, Class<S> targetClass) {\n final Class<S> finalTargetClass = targetClass;\n\n Iterable<S> classMatch = map(baseIterable, new MapFunction<T, S>(...
[ { "docid": "840aa6c6392cc6e13480a23c156b569e", "score": "0.7174677", "text": "private <T> List<T> filterList(Iterable<?> iterable, Class<T> clazz) {\n List<T> result = new ArrayList<>();\n for (Object object : iterable) {\n if (clazz.isInstance(object)) {\n @Suppr...
48a204ca56c8e8cb54b6205a351ee6fe
Executed when a PieceMessage is received.
[ { "docid": "68083d5c9f6ec92f9b2bbb4e5b0c2507", "score": "0.8486606", "text": "public void onPieceMessage (PieceMessage msg);", "title": "" } ]
[ { "docid": "33e9412a56424d1d775becbe13bb682c", "score": "0.6962985", "text": "public void onMessageReceived(Message message);", "title": "" }, { "docid": "fd4324a25321b156d082040ce35b886d", "score": "0.68765503", "text": "private void runPieceEvent(GameMessage msg) {\n\t\tint player ...
82b8afb7f350451f112918bff8cfa0a5
Assert.assertEquals("I Expected value to be \"It Works\" but it was: " + message, "It works", message);
[ { "docid": "b248862eda159d4454f9a5e7b74e0164", "score": "0.0", "text": "@Override\n public void messageDebug(String message) {\n updateDisplay(message);\n //System.out.println(message);\n return;\n }", "title": "" } ]
[ { "docid": "9202b2f04a447d25c7f4118953329248", "score": "0.73356634", "text": "void assertEquals(String message, String expected, String actual);", "title": "" }, { "docid": "bf371ad5f8d3866267a725311600d413", "score": "0.6897107", "text": "@Test\n public void test() {\n St...
6015a2a7a1cf5a1bb120de0e5bef426f
run failed. Remove our placeholder value.
[ { "docid": "53e0c0f00d095fe210a0b7b87e400b31", "score": "0.5965557", "text": "public void failRun(Fixture fixture, String example) {\n map.remove(getID(fixture, example));\n }", "title": "" } ]
[ { "docid": "3f9a3298a28cfed771be3ad89155558f", "score": "0.569706", "text": "@Override\n\tpublic void unexecute() {\n\t\t\n\t}", "title": "" }, { "docid": "ad0ebe1608b58ea1993fe405ea68b35d", "score": "0.56707096", "text": "public void removeRun (int pos,\r\n ...
abc5b505e115f61409524d1b1659d6e8
Renames the specified src directory in the specified path to NewName Returns SrcDirNotExistent if the src directory does not exist Returns DestDirExists if a directory with NewName exists in the specified path Example usage: RenameDir("/Shahram/CSCI485", "/Shahram/CSCI550") changes "/Shahram/CSCI485" to "/Shahram/CSCI5...
[ { "docid": "15aac3f9ce6966636e9ab01cd03391e2", "score": "0.6595415", "text": "public FSReturnVals RenameDir(String src, String NewName) {\n\t\tbyte[] bold = src.getBytes();\n\t\tint oldLen = bold.length;\n\t\t\n\t\tbyte[] bnew = NewName.getBytes();\n\t\tint newLen = bnew.length;\n\t\t\n\t\tint payloadSi...
[ { "docid": "0cfc273e1eee06210654e9a8eb9939e7", "score": "0.6323529", "text": "public String copyFromOneDirToAnotherAndChangeFilePath(String dir, String targetDir, String dirPath) {\n String changeFilePath = \"\";\n File file = new File(dirPath);\n// File[] fileArr = file.listFiles()...
f888c7e097cfca6b31f36ddcd13025ac
Returns an Iterator over all Vertices in this Graph
[ { "docid": "7ec44392709bfcd6306358e476f1888b", "score": "0.7183922", "text": "public Iterable<Vertex> getVertices() {\r\n return myVertices.values();\r\n }", "title": "" } ]
[ { "docid": "bd7b9b4006337e48cf53bd31e4b29a5d", "score": "0.7865896", "text": "public Iterator getAllVertices() {\r\n return verts_.iterator();\r\n }", "title": "" }, { "docid": "bf5cbea886f09fd0ff921d49a50ab6ab", "score": "0.7670234", "text": "public Iterable<Object> vertic...
bb8af8bb1920222ce45842dc87e4b774
repeated .protocol.ReceiveDescription receive_description = 2;
[ { "docid": "3c7fcda26479c35360ebe6ae6936250c", "score": "0.0", "text": "public Builder addAllReceiveDescription(\n java.lang.Iterable<? extends org.tron.protos.contract.ShieldContract.ReceiveDescription> values) {\n if (receiveDescriptionBuilder_ == null) {\n ensureReceiveDescri...
[ { "docid": "9edd0dd31ba0879abd3771edf59593e4", "score": "0.6846983", "text": "void receive(ConcertDescription concertDescription);", "title": "" }, { "docid": "29ae60ffc67915de1f22ba6b6ef88e23", "score": "0.6449155", "text": "int getReceiveDescriptionCount();", "title": "" }, ...
34837b3f0408100f603049d45b5742a0
if there was the timeslot update before:
[ { "docid": "bd590258cad1ee226c6358cdd5dd39f3", "score": "0.65802294", "text": "public void handleMessage(TimeslotUpdate timeslotUpdate) {\n\t\tif (visualizerBean.getTimeslotUpdate() != null) {\n\t\t\tvisualizerBean.setOldTimeslotUpdate(visualizerBean\n\t\t\t\t\t.getTimeslotUpdate());\n\t\t}\n\n\t\tvisua...
[ { "docid": "8a733deab3c2076f17ad235c7141a4ba", "score": "0.68081164", "text": "boolean finalCheck(int timeSlot) {\n return allocatedTimeSlots.contains(timeSlot);\n }", "title": "" }, { "docid": "0668323e406a1c31996dfca8d62aa831", "score": "0.65854114", "text": "protected bo...
d7fe79bc46c4b162884b8642ebd2ea3e
This method was generated by MyBatis Generator. This method corresponds to the database table t_cpy_inventory
[ { "docid": "ff5090aa36884cfb0e003d453733b83a", "score": "0.0", "text": "public Criteria andConsumablegoodsLegalpersonPropertyEqualToColumn(TCpyInventory.Column column) {\n addCriterion(new StringBuilder(\"consumableGoods_legalPerson_property = \").append(column.getEscapedColumnName()).toStrin...
[ { "docid": "5fe8eb80907f2cb1733758f94ae2731f", "score": "0.6027731", "text": "public int getInventoryId() {\r\n return inventoryId;\r\n }", "title": "" }, { "docid": "b4a9e59c3fed05435217b0305aeb7b49", "score": "0.6003873", "text": "EntityInventoryContainer getInventory();"...
f8c7da6b9eebbed6e9a61ec609e4c39a
A wrong username/password is provided.
[ { "docid": "685d4c3b36fa07d830cb3ee41811f1c9", "score": "0.59661955", "text": "@Test(expected = SQLException.class)\n\tpublic void testConnectionWrongCredentials() throws FileNotFoundException,\n\t\t\tClassNotFoundException, SQLException {\n\t\tDBConnection connection = new DBConnection();\n\t\tconnecti...
[ { "docid": "aebb96515d1d7aa014525d65e40383ed", "score": "0.7197282", "text": "void login(String username, String password) throws BadCredentialsException;", "title": "" }, { "docid": "4a6aab263bd910d6112781c1782fbef0", "score": "0.6885827", "text": "@Test\n\tpublic void invalidUserna...
75d7d593ba7d67df93541d15905829af
This has the same behavior as the endFrame method.
[ { "docid": "1d204c6545c669195d2b6321710b0b94", "score": "0.0", "text": "public void endGroup(LayoutElement element) {\n\t\tendFrame(element);\n\t}", "title": "" } ]
[ { "docid": "65afaa5a96eb4728d51e8626360f1e1c", "score": "0.8872258", "text": "public void endFrame();", "title": "" }, { "docid": "a4626f23030a30dc0e3ddc2ec3f946d2", "score": "0.7434069", "text": "public void ended() {\n\t}", "title": "" }, { "docid": "5edb7c3995d8ea4dc05...
086e3c4bb3031de90ac1bef417a08acb
.forge_abi.Transaction create_asset = 6;
[ { "docid": "de736561862d16946d18b0cdfe9bc335", "score": "0.63102525", "text": "public forge_abi.Type.Transaction getCreateAsset() {\n if (valueCase_ == 6) {\n return (forge_abi.Type.Transaction) value_;\n }\n return forge_abi.Type.Transaction.getDefaultInstance();\n }", "ti...
[ { "docid": "afae4bb5bcbfc88a7c4dc3be1b736f19", "score": "0.8908037", "text": "forge_abi.Type.Transaction getCreateAsset();", "title": "" }, { "docid": "4a180e8032aecaad9d09c72a9b611574", "score": "0.79828846", "text": "forge_abi.Type.TransactionOrBuilder getCreateAssetOrBuilder();", ...
d2ac07c55fe9da20180e59433f9caebf
booleans are stored as 0x00 for 'false' and a nonzero byte for 'true'
[ { "docid": "ac2189da8d2f3a9eb988950b00d5e386", "score": "0.0", "text": "@Test\n public void testByteBufferConversions() {\n assertConversion(false, BooleanType.get(), new byte[] {0x00});\n assertConversion(true, BooleanType.get(), new byte[] {0x01});\n assertThat(Literal.of(false).toByteBuffer...
[ { "docid": "e9512a919da1ee22f81f3b9b895654d7", "score": "0.69937396", "text": "@Test\n public void testBoolean() {\n System.out.println(\"testBoolean\");\n boolean value = false;\n \n byte[] result = KryoUtils.writeBoolean(value);\n boolean readBack = KryoUtils.readBoolean(new ByteArrayI...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "6974a5cad7e8da989097edc8c65fc6fd", "score": "0.0", "text": "private void m60950b(LaunchAdData launchAdData) {\n if (launchAdData != null && launchAdData.adResource != null && launchAdData.adResource.pullRefreshResource != null && launchAdData.adResource.adType == 5) {\n Lis...
[ { "docid": "d4b6ac4603b01c18af516a35fe5903c0", "score": "0.60265493", "text": "protected aaz b(aqu paramaqu)\r\n/* 69: */ {\r\n/* 70:113 */ return new abb(this, paramaqu);\r\n/* 71: */ }", "title": "" }, { "docid": "8bebae9881a572d1f325c1e71a97ff80", "score": "0.5992907"...
d565d2ea1aaf6571decdf7802c893309
/ Helper method to layout the JLabels for the instrument GUI
[ { "docid": "71ad6e1d57bb83971b5125abe8395c54", "score": "0.70407856", "text": "private void layoutInstruments() {\n // Constants that we can use to toggle the position of the instrument GUI\n int bufferDigitalToBottom = 130;\n int bufferDigitalToTop = 50;\n int bufferFrameToB...
[ { "docid": "0ea56fd92d6cc3b9addf9595df0006a2", "score": "0.72187036", "text": "public JPanel labels(){\r\n\t\t//Sets up panel\r\n\t\tlabels = new JPanel();\r\n\t\tlabels.setLayout(new BoxLayout(labels, BoxLayout.PAGE_AXIS));\r\n\t\tlabels.setAlignmentX(Component.LEFT_ALIGNMENT);\r\n\t\tlabels.setAlignme...
20e3d0a2af83a2117d26c374f7004af1
Maps all maze cells to graph as integers, and links neighboring cells:
[ { "docid": "f8910868baf0b3d3eb639757bb2166b9", "score": "0.67876023", "text": "private Graph makeGraph(Maze maze) {\n\t\tGraph g = new Graph(numOfCells);\n\n\t\tfor(Cell[] array : maze.map) {\n\t\t\tfor(Cell c : array) {\n\t\t\t\tif(c != null) {cells.add(c);}\n\t\t\t}\n\t\t}\n\n\t\t//Loops thru cells, a...
[ { "docid": "efc2094cd33b3466e23bc5d489d94364", "score": "0.7009645", "text": "private void initDestList(){\n\t\t\n\t\t//Creates cells for all coordinates of the grid.\n\t\tfor(int i=0; i<HEIGHT; i++){\n\t\t\tfor(int j=0; j<WIDTH; j++){\n\t\t\t\tvisitedMap[i][j]=new Cell(j,i,false,false);\n\t\t\t}\n\t\t}...
ebdfdfed4a3ca7d9cd35b5369052e431
delete the access log before the server starts
[ { "docid": "0ce830c57705ad7de9bc2a96fe97c944", "score": "0.0", "text": "@Configuration\n\tpublic Option[] configure() {\n\t purgeLogDir();\n\t\treturn combine(\n\t\t\t\tconfigureTomcat(),\n\t\t\t\tmavenBundle().groupId(\"org.ops4j.pax.web.samples\")\n\t\t\t\t\t\t.artifactId(\"tomcat-config-fragment\"...
[ { "docid": "558ca69117fa798b423cfe90d05a7ae4", "score": "0.6544823", "text": "public static void clearLogs() {\r\n\t\tString chaine=\"\";\r\n\t\tString fichier=ClassManagement.ssh.shell(\"rm \"+ClassManagement.clusterlist.getdefaultCluster().getRemoteDirectory()+\"/logs/*\");\r\n\t}", "title": "" ...
2b36a45c65c826aaebc995d0ac01d9c4
Set username for endpoint authentication
[ { "docid": "bc152dea6a3d19936369f8a3e6e4adbb", "score": "0.69264054", "text": "@GuardedBy(\"this\")\n public void setUsername(String username);", "title": "" } ]
[ { "docid": "783044360b8b1119aa956ac188db6651", "score": "0.76798767", "text": "public void setUserName(String username);", "title": "" }, { "docid": "77d82c96cf9b7b7a8795cdc0f8c9851e", "score": "0.73312587", "text": "public void setUserName(final String username) \t\t\t{ this.user...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c08ee250d8cb2fc386c557df9b75b795", "score": "0.0", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tloadRedempFrag();\r\n\t\t\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t...
74c65b237fb191aec6bea0f7d5a94cb3
if player does not have a file, create one. else update his/her file. add your codes in "try" block .
[ { "docid": "fc490eb2147b2c643b065a10144b6de5", "score": "0.5602037", "text": "public void savePlayer(Player player1, Player player2, String folder, Board myBoard) {\n try {\n // add your codes in this part\n File file = getPlayerFile(player1.getName(), folder);\n ...
[ { "docid": "f53186ded7a66a45ffae9d92678f2abb", "score": "0.68933475", "text": "public static void addPlayer(Player player){\n try {\n //identify the file\n File file = new File(\"Players.txt\");\n \n //if the file doesn't exist then stop\n if(!file.exists())\n file.crea...
d045c2832386d82ffacaca692fca7b05
Created by Mata on 12/10/2016.
[ { "docid": "0f6f75b76ccaa4f71149f231966e5104", "score": "0.0", "text": "public interface CAcquisitionGrilleImpl {\r\n FileGrille getFileGrille();\r\n AutoGrille getAutoGrille();\r\n ManuelGrille getManualGrille();\r\n PictureGrille getPictureGrille();\r\n}", "title": "" } ]
[ { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.6102511", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.6043069", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": ""...
68d381fc81363194dda16c480d562be9
/ JADX INFO: super call moved to the top of the method (can break code semantics)
[ { "docid": "afa685d952099030442560faf678df58", "score": "0.0", "text": "public NodeService$ListenerNotifyHandler$1(axzl axzl, String str) {\n super(str);\n this.f110983a = axzl;\n }", "title": "" } ]
[ { "docid": "ba8b8dc8306c1c4e51949b4bed1f1b93", "score": "0.7602773", "text": "public void method_3277() {\r\n super();\r\n }", "title": "" }, { "docid": "ec5bb3e4130b7b7e1ca99bcf5962d157", "score": "0.74047977", "text": "public void method_2589() {\r\n super.method_2589()...
6c8317dfdb4ed77b1c15e9cf944b83fd
Initializes this struct with the specified values.
[ { "docid": "f92e6adec0ed745abf85ca21f396358f", "score": "0.0", "text": "public VkConformanceVersion set(\n byte major,\n byte minor,\n byte subminor,\n byte patch\n ) {\n major(major);\n minor(minor);\n subminor(subminor);\n patch(patch);\n\n ...
[ { "docid": "2c0c770d24845b1f28ed6ec4f4dab39a", "score": "0.70802796", "text": "void initValues();", "title": "" }, { "docid": "1aa60b5988fff9a4766e92bd6e19f509", "score": "0.69753647", "text": "@Override\n\tpublic void initializeValues() {\n\t}", "title": "" }, { "docid":...
d54d87aeb573009d8f05254d9a63e6bd
Processes requests for both HTTP GET and POST methods.
[ { "docid": "61283cdc6b46b34b88c31168f961116a", "score": "0.0", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException, SQLException {\r\n response.setContentType(\"text/html;charset=UTF-8\");\r\n ...
[ { "docid": "74cb28c56f2428f7188a13de096d9185", "score": "0.68545765", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n String action = request.getParameter(\"action\");\n\n if (action.eq...
8e06f4117ae4c550da7c87c4f058da2c
Resets the odomoter counter to zero. The robot has an odometer that calculates the distance the robot has moved. Whenever the robot moves forward, the distance that it moves is added to the odometer counter. The odometer reading gives the path length if its setting is 0 at the start of the game.
[ { "docid": "b20c4696d959a49fef83f94ec6e36fb1", "score": "0.7591279", "text": "@Override\r\n\tpublic void resetOdometer() {\r\n\t\t\r\n\t\tthis.odometer = 0;\r\n\t}", "title": "" } ]
[ { "docid": "f08cfec0e9589b8e504fe192274148cf", "score": "0.6460401", "text": "public void clearTripOdometer()\n {\n TripOdometer = 0.0;\n }", "title": "" }, { "docid": "8c472b12d702532bf0d424df3d240c1d", "score": "0.638126", "text": "public void setOdometer(double odomet...